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",
1045 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1047 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1051 SWIGRUNTIMEINLINE
void
1052 SWIG_Python_NullRef(const char *type
)
1055 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1057 PyErr_Format(PyExc_TypeError
, "null reference was received");
1062 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1064 if (PyErr_Occurred()) {
1066 PyObject
*value
= 0;
1067 PyObject
*traceback
= 0;
1068 PyErr_Fetch(&type
, &value
, &traceback
);
1070 PyObject
*old_str
= PyObject_Str(value
);
1074 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1076 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1087 SWIG_Python_ArgFail(int argnum
)
1089 if (PyErr_Occurred()) {
1090 /* add information about failing argument */
1092 sprintf(mesg
, "argument number %d:", argnum
);
1093 return SWIG_Python_AddErrMesg(mesg
, 1);
1100 /* -----------------------------------------------------------------------------
1101 * pointers/data manipulation
1102 * ----------------------------------------------------------------------------- */
1104 /* Convert a pointer value */
1106 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1109 static PyObject
*SWIG_this
= 0;
1111 PyObject
*pyobj
= 0;
1115 if (obj
== Py_None
) {
1120 #ifdef SWIG_COBJECT_TYPES
1121 if (!(PySwigObject_Check(obj
))) {
1123 SWIG_this
= PyString_FromString("this");
1125 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1127 if (!obj
) goto type_error
;
1128 if (!PySwigObject_Check(obj
)) {
1133 vptr
= PySwigObject_AsVoidPtr(obj
);
1134 c
= (const char *) PySwigObject_GetDesc(obj
);
1135 if (newref
) { Py_DECREF(obj
); }
1138 if (!(PyString_Check(obj
))) {
1140 SWIG_this
= PyString_FromString("this");
1142 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1144 if (!obj
) goto type_error
;
1145 if (!PyString_Check(obj
)) {
1150 c
= PyString_AS_STRING(obj
);
1151 /* Pointer values must start with leading underscore */
1152 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1153 if (newref
) { Py_DECREF(obj
); }
1154 if (!c
) goto type_error
;
1160 tc
= SWIG_TypeCheck(c
,ty
);
1161 if (!tc
) goto type_error
;
1162 *ptr
= SWIG_TypeCast(tc
,vptr
);
1167 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1168 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1174 if (pyobj
&& !obj
) {
1176 if (PyCFunction_Check(obj
)) {
1177 /* here we get the method pointer for callbacks */
1178 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1179 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1181 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1182 if (!c
) goto type_error
;
1187 if (flags
& SWIG_POINTER_EXCEPTION
) {
1189 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1191 SWIG_Python_TypeError("C/C++ pointer", obj
);
1197 /* Convert a pointer value, signal an exception on a type mismatch */
1199 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1201 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1203 if (flags
& SWIG_POINTER_EXCEPTION
) {
1204 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1205 SWIG_Python_ArgFail(argnum
);
1211 /* Convert a packed value value */
1213 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1217 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1218 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1220 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1221 c
= PyString_AS_STRING(obj
);
1222 /* Pointer values must start with leading underscore */
1223 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1225 if (!c
) goto type_error
;
1227 tc
= SWIG_TypeCheck(c
,ty
);
1228 if (!tc
) goto type_error
;
1234 if (flags
& SWIG_POINTER_EXCEPTION
) {
1236 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1238 SWIG_Python_TypeError("C/C++ packed data", obj
);
1244 /* Create a new array object */
1245 SWIGRUNTIME PyObject
*
1246 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1252 #ifdef SWIG_COBJECT_TYPES
1253 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1256 char result
[SWIG_BUFFER_SIZE
];
1257 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1258 PyString_FromString(result
) : 0;
1261 if (!robj
|| (robj
== Py_None
)) return robj
;
1262 if (type
->clientdata
) {
1264 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1266 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1270 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1278 SWIGRUNTIME PyObject
*
1279 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1285 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1286 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1289 char result
[SWIG_BUFFER_SIZE
];
1290 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1291 PyString_FromString(result
) : 0;
1297 /* -----------------------------------------------------------------------------*
1299 * -----------------------------------------------------------------------------*/
1301 #ifdef SWIG_LINK_RUNTIME
1302 void *SWIG_ReturnGlobalTypeList(void *);
1305 SWIGRUNTIME swig_type_info
**
1306 SWIG_Python_GetTypeListHandle() {
1307 static void *type_pointer
= (void *)0;
1308 /* first check if module already created */
1309 if (!type_pointer
) {
1310 #ifdef SWIG_LINK_RUNTIME
1311 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1313 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1314 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1315 if (PyErr_Occurred()) {
1317 type_pointer
= (void *)0;
1321 return (swig_type_info
**) type_pointer
;
1325 Search for a swig_type_info structure
1327 SWIGRUNTIMEINLINE swig_type_info
*
1328 SWIG_Python_GetTypeList() {
1329 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1330 return tlh
? *tlh
: (swig_type_info
*)0;
1333 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1340 /* -------- TYPES TABLE (BEGIN) -------- */
1342 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
1343 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
1344 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
1345 #define SWIGTYPE_p_wxPyPanel swig_types[3]
1346 #define SWIGTYPE_p_wxMenu swig_types[4]
1347 #define SWIGTYPE_p_wxFontData swig_types[5]
1348 #define SWIGTYPE_p_wxEvent swig_types[6]
1349 #define SWIGTYPE_p_wxPrintData swig_types[7]
1350 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
1351 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[9]
1352 #define SWIGTYPE_p_wxIconBundle swig_types[10]
1353 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[11]
1354 #define SWIGTYPE_p_wxFindDialogEvent swig_types[12]
1355 #define SWIGTYPE_p_wxPreviewCanvas swig_types[13]
1356 #define SWIGTYPE_p_wxFont swig_types[14]
1357 #define SWIGTYPE_p_wxSplitterEvent swig_types[15]
1358 #define SWIGTYPE_p_wxRegion swig_types[16]
1359 #define SWIGTYPE_ptrdiff_t swig_types[17]
1360 #define SWIGTYPE_std__ptrdiff_t swig_types[18]
1361 #define SWIGTYPE_p_wxFindReplaceData swig_types[19]
1362 #define SWIGTYPE_p_int swig_types[20]
1363 #define SWIGTYPE_p_wxSize swig_types[21]
1364 #define SWIGTYPE_p_wxDC swig_types[22]
1365 #define SWIGTYPE_p_wxIcon swig_types[23]
1366 #define SWIGTYPE_p_wxVisualAttributes swig_types[24]
1367 #define SWIGTYPE_p_wxMDIChildFrame swig_types[25]
1368 #define SWIGTYPE_p_wxColourData swig_types[26]
1369 #define SWIGTYPE_p_wxNotifyEvent swig_types[27]
1370 #define SWIGTYPE_p_wxPyWindow swig_types[28]
1371 #define SWIGTYPE_p_form_ops_t swig_types[29]
1372 #define SWIGTYPE_p_wxSplashScreen swig_types[30]
1373 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[31]
1374 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[32]
1375 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[33]
1376 #define SWIGTYPE_p_wxFileDialog swig_types[34]
1377 #define SWIGTYPE_p_wxTextEntryDialog swig_types[35]
1378 #define SWIGTYPE_p_wxMessageDialog swig_types[36]
1379 #define SWIGTYPE_p_wxProgressDialog swig_types[37]
1380 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[38]
1381 #define SWIGTYPE_p_wxPrinter swig_types[39]
1382 #define SWIGTYPE_p_wxArrayInt swig_types[40]
1383 #define SWIGTYPE_p_wxDuplexMode swig_types[41]
1384 #define SWIGTYPE_p_wxEvtHandler swig_types[42]
1385 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[43]
1386 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[44]
1387 #define SWIGTYPE_p_wxPyVListBox swig_types[45]
1388 #define SWIGTYPE_p_wxRect swig_types[46]
1389 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[47]
1390 #define SWIGTYPE_p_char swig_types[48]
1391 #define SWIGTYPE_p_wxMiniFrame swig_types[49]
1392 #define SWIGTYPE_p_wxFrame swig_types[50]
1393 #define SWIGTYPE_p_wxPyPrintout swig_types[51]
1394 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[52]
1395 #define SWIGTYPE_p_wxScrollWinEvent swig_types[53]
1396 #define SWIGTYPE_p_wxPaperSize swig_types[54]
1397 #define SWIGTYPE_p_wxStatusBar swig_types[55]
1398 #define SWIGTYPE_p_wxMDIParentFrame swig_types[56]
1399 #define SWIGTYPE_p_wxPoint swig_types[57]
1400 #define SWIGTYPE_p_wxObject swig_types[58]
1401 #define SWIGTYPE_p_unsigned_long swig_types[59]
1402 #define SWIGTYPE_p_wxTipWindow swig_types[60]
1403 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[61]
1404 #define SWIGTYPE_p_wxSplitterWindow swig_types[62]
1405 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[63]
1406 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[64]
1407 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[65]
1408 #define SWIGTYPE_p_wxPopupWindow swig_types[66]
1409 #define SWIGTYPE_p_wxSashWindow swig_types[67]
1410 #define SWIGTYPE_p_wxTopLevelWindow swig_types[68]
1411 #define SWIGTYPE_p_wxWindow swig_types[69]
1412 #define SWIGTYPE_p_wxScrolledWindow swig_types[70]
1413 #define SWIGTYPE_p_wxMenuBar swig_types[71]
1414 #define SWIGTYPE_p_wxMDIClientWindow swig_types[72]
1415 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[73]
1416 #define SWIGTYPE_p_wxPrintPreview swig_types[74]
1417 #define SWIGTYPE_p_wxSashEvent swig_types[75]
1418 #define SWIGTYPE_p_wxString swig_types[76]
1419 #define SWIGTYPE_p_wxPyPrintPreview swig_types[77]
1420 #define SWIGTYPE_p_wxDirDialog swig_types[78]
1421 #define SWIGTYPE_p_wxColourDialog swig_types[79]
1422 #define SWIGTYPE_p_wxDialog swig_types[80]
1423 #define SWIGTYPE_p_wxPanel swig_types[81]
1424 #define SWIGTYPE_p_wxFontDialog swig_types[82]
1425 #define SWIGTYPE_p_wxPageSetupDialog swig_types[83]
1426 #define SWIGTYPE_p_wxPrintDialog swig_types[84]
1427 #define SWIGTYPE_p_wxFileSystem swig_types[85]
1428 #define SWIGTYPE_p_wxBitmap swig_types[86]
1429 #define SWIGTYPE_unsigned_int swig_types[87]
1430 #define SWIGTYPE_p_unsigned_int swig_types[88]
1431 #define SWIGTYPE_p_unsigned_char swig_types[89]
1432 #define SWIGTYPE_p_wxCommandEvent swig_types[90]
1433 #define SWIGTYPE_p_wxPreviewControlBar swig_types[91]
1434 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[92]
1435 #define SWIGTYPE_p_wxColour swig_types[93]
1436 #define SWIGTYPE_p_wxToolBar swig_types[94]
1437 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[95]
1438 #define SWIGTYPE_p_wxPrintDialogData swig_types[96]
1439 static swig_type_info
*swig_types
[98];
1441 /* -------- TYPES TABLE (END) -------- */
1444 /*-----------------------------------------------
1445 @(target):= _windows_.so
1446 ------------------------------------------------*/
1447 #define SWIG_init init_windows_
1449 #define SWIG_name "_windows_"
1451 #include "wx/wxPython/wxPython.h"
1452 #include "wx/wxPython/pyclasses.h"
1455 static const wxString
wxPyEmptyString(wxEmptyString
);
1456 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1464 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1467 if (value
< min_value
) {
1469 PyErr_Format(PyExc_OverflowError
,
1470 "value %ld is less than '%s' minimum %ld",
1471 value
, errmsg
, min_value
);
1474 } else if (value
> max_value
) {
1476 PyErr_Format(PyExc_OverflowError
,
1477 "value %ld is greater than '%s' maximum %ld",
1478 value
, errmsg
, max_value
);
1487 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1489 if (PyNumber_Check(obj
)) {
1490 if (val
) *val
= PyInt_AsLong(obj
);
1494 SWIG_type_error("number", obj
);
1500 #if INT_MAX != LONG_MAX
1502 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1504 const char* errmsg
= val
? "int" : (char*)0;
1506 if (SWIG_AsVal_long(obj
, &v
)) {
1507 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1508 if (val
) *val
= (int)(v
);
1517 SWIG_type_error(errmsg
, obj
);
1523 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1525 return SWIG_AsVal_long(obj
,(long*)val
);
1531 SWIG_As_int(PyObject
* obj
)
1534 if (!SWIG_AsVal_int(obj
, &v
)) {
1536 this is needed to make valgrind/purify happier.
1538 memset((void*)&v
, 0, sizeof(int));
1544 SWIGINTERNSHORT
long
1545 SWIG_As_long(PyObject
* obj
)
1548 if (!SWIG_AsVal_long(obj
, &v
)) {
1550 this is needed to make valgrind/purify happier.
1552 memset((void*)&v
, 0, sizeof(long));
1559 SWIG_Check_int(PyObject
* obj
)
1561 return SWIG_AsVal_int(obj
, (int*)0);
1566 SWIG_Check_long(PyObject
* obj
)
1568 return SWIG_AsVal_long(obj
, (long*)0);
1573 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1575 if (obj
== Py_True
) {
1576 if (val
) *val
= true;
1579 if (obj
== Py_False
) {
1580 if (val
) *val
= false;
1584 if (SWIG_AsVal_int(obj
, &res
)) {
1585 if (val
) *val
= res
? true : false;
1591 SWIG_type_error("bool", obj
);
1597 SWIGINTERNSHORT
bool
1598 SWIG_As_bool(PyObject
* obj
)
1601 if (!SWIG_AsVal_bool(obj
, &v
)) {
1603 this is needed to make valgrind/purify happier.
1605 memset((void*)&v
, 0, sizeof(bool));
1612 SWIG_Check_bool(PyObject
* obj
)
1614 return SWIG_AsVal_bool(obj
, (bool*)0);
1618 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1619 #define SWIG_From_int PyInt_FromLong
1623 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1629 } else if (target
== Py_None
) {
1633 if (!PyTuple_Check(target
)) {
1635 target
= PyTuple_New(1);
1636 PyTuple_SetItem(target
, 0, o2
);
1638 o3
= PyTuple_New(1);
1639 PyTuple_SetItem(o3
, 0, o
);
1642 target
= PySequence_Concat(o2
, o3
);
1652 SWIG_AsVal_double(PyObject
*obj
, double* val
)
1654 if (PyNumber_Check(obj
)) {
1655 if (val
) *val
= PyFloat_AsDouble(obj
);
1659 SWIG_type_error("number", obj
);
1665 SWIGINTERNSHORT
double
1666 SWIG_As_double(PyObject
* obj
)
1669 if (!SWIG_AsVal_double(obj
, &v
)) {
1671 this is needed to make valgrind/purify happier.
1673 memset((void*)&v
, 0, sizeof(double));
1680 SWIG_Check_double(PyObject
* obj
)
1682 return SWIG_AsVal_double(obj
, (double*)0);
1686 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1687 #define SWIG_From_double PyFloat_FromDouble
1690 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
1691 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
1692 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
1693 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
1694 static void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow
*self
,bool on
){ /*wxPyRaiseNotImplemented();*/ }
1695 static bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow
const *self
){ /*wxPyRaiseNotImplemented();*/ return false; }
1697 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1698 #define SWIG_From_long PyInt_FromLong
1703 static wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
1705 self
->GetFieldRect(i
, r
);
1708 static const wxString
wxPySplitterNameStr(wxT("splitter"));
1709 static const wxString
wxPySashNameStr(wxT("sashWindow"));
1710 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
1712 #include <wx/popupwin.h>
1715 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
1718 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
1719 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
1720 : wxPopupTransientWindow(parent
, style
) {}
1722 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
1723 DEC_PYCALLBACK__(OnDismiss
);
1724 DEC_PYCALLBACK_BOOL_(CanDismiss
);
1729 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
1730 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
1731 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
1734 #include <wx/tipwin.h>
1736 static wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
1737 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
1740 #include <wx/tipwin.h>
1743 #include <wx/vscroll.h>
1746 class wxPyVScrolledWindow
: public wxVScrolledWindow
1748 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
);
1750 wxPyVScrolledWindow() : wxVScrolledWindow() {}
1752 wxPyVScrolledWindow(wxWindow
*parent
,
1753 wxWindowID id
= wxID_ANY
,
1754 const wxPoint
& pos
= wxDefaultPosition
,
1755 const wxSize
& size
= wxDefaultSize
,
1757 const wxString
& name
= wxPyPanelNameStr
)
1758 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
1761 // Overridable virtuals
1763 // this function must be overridden in the derived class and it should
1764 // return the height of the given line in pixels
1765 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
1768 // this function doesn't have to be overridden but it may be useful to do
1769 // it if calculating the lines heights is a relatively expensive operation
1770 // as it gives the user code a possibility to calculate several of them at
1773 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
1774 // shouldn't rely on the latter being called for all lines in the interval
1775 // specified here. It is also possible that OnGetLineHeight() will be
1776 // called for the lines outside of this interval, so this is really just a
1777 // hint, not a promise.
1779 // finally note that lineMin is inclusive, while lineMax is exclusive, as
1781 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
1784 // when the number of lines changes, we try to estimate the total height
1785 // of all lines which is a rather expensive operation in terms of lines
1786 // access, so if the user code may estimate the average height
1787 // better/faster than we do, it should override this function to implement
1790 // this function should return the best guess for the total height it may
1792 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
1795 // Also expose some other interesting protected methods
1798 // find the index of the line we need to show at the top of the window such
1799 // that the last (fully or partially) visible line is the given one
1800 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
1801 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
1803 // get the total height of the lines between lineMin (inclusive) and
1804 // lineMax (exclusive)
1805 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
1806 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
1812 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
1814 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
1815 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
1816 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
1820 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1823 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1824 SWIG_type_error("unsigned number", obj
);
1827 *val
= (unsigned long)v
;
1832 SWIGINTERNSHORT
unsigned long
1833 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1836 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1838 this is needed to make valgrind/purify happier.
1840 memset((void*)&v
, 0, sizeof(unsigned long));
1847 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1849 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1853 SWIGINTERNSHORT PyObject
*
1854 SWIG_From_unsigned_SS_long(unsigned long value
)
1856 return (value
> LONG_MAX
) ?
1857 PyLong_FromUnsignedLong(value
)
1858 : PyInt_FromLong((long)(value
));
1862 #include <wx/vlbox.h>
1864 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
1866 class wxPyVListBox
: public wxVListBox
1868 DECLARE_ABSTRACT_CLASS(wxPyVListBox
);
1870 wxPyVListBox() : wxVListBox() {}
1872 wxPyVListBox(wxWindow
*parent
,
1873 wxWindowID id
= wxID_ANY
,
1874 const wxPoint
& pos
= wxDefaultPosition
,
1875 const wxSize
& size
= wxDefaultSize
,
1877 const wxString
& name
= wxPyVListBoxNameStr
)
1878 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
1881 // Overridable virtuals
1883 // the derived class must implement this function to actually draw the item
1884 // with the given index on the provided DC
1885 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
1886 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
1889 // the derived class must implement this method to return the height of the
1891 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
1892 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
1895 // this method may be used to draw separators between the lines; note that
1896 // the rectangle may be modified, typically to deflate it a bit before
1897 // passing to OnDrawItem()
1899 // the base class version doesn't do anything
1900 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
1901 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
1904 // this method is used to draw the items background and, maybe, a border
1907 // the base class version implements a reasonable default behaviour which
1908 // consists in drawing the selected item with the standard background
1909 // colour and drawing a border around the item if it is either selected or
1911 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
1912 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
1918 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
1920 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
1921 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
1922 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
1923 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
1926 static PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
1927 unsigned long cookie
= 0;
1928 int selected
= self
->GetFirstSelected(cookie
);
1929 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1930 PyObject
* tup
= PyTuple_New(2);
1931 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
1932 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
1933 wxPyEndBlockThreads(blocked
);
1936 static PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
1937 int selected
= self
->GetNextSelected(cookie
);
1938 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1939 PyObject
* tup
= PyTuple_New(2);
1940 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
1941 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
1942 wxPyEndBlockThreads(blocked
);
1946 #include <wx/htmllbox.h>
1949 class wxPyHtmlListBox
: public wxHtmlListBox
1951 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
);
1953 wxPyHtmlListBox() : wxHtmlListBox() {}
1955 wxPyHtmlListBox(wxWindow
*parent
,
1956 wxWindowID id
= wxID_ANY
,
1957 const wxPoint
& pos
= wxDefaultPosition
,
1958 const wxSize
& size
= wxDefaultSize
,
1960 const wxString
& name
= wxPyVListBoxNameStr
)
1961 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
1964 // Overridable virtuals
1966 // this method must be implemented in the derived class and should return
1967 // the body (i.e. without <html>) of the HTML for the given item
1968 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
1970 // this function may be overridden to decorate HTML returned by OnGetItem()
1971 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
1974 // // this method allows to customize the selection appearance: it may be used
1975 // // to specify the colour of the text which normally has the given colour
1976 // // colFg when it is inside the selection
1978 // // by default, the original colour is not used at all and all text has the
1979 // // same (default for this system) colour inside selection
1980 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
1982 // // this is the same as GetSelectedTextColour() but allows to customize the
1983 // // background colour -- this is even more rarely used as you can change it
1984 // // globally using SetSelectionBackground()
1985 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
1992 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
1994 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
1995 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
2001 #ifndef wxHAS_TASK_BAR_ICON
2002 // implement dummy classes for platforms that don't have it
2004 class wxTaskBarIcon
: public wxEvtHandler
2007 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
2011 class wxTaskBarIconEvent
: public wxEvent
2014 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
2015 { wxPyRaiseNotImplemented(); }
2016 virtual wxEvent
* Clone() const { return NULL
; }
2017 bool IsOk() const { return false; }
2018 bool IsIconInstalled() const { return false; }
2019 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
2020 bool RemoveIcon() { return false; }
2021 bool PopupMenu(wxMenu
*menu
) { return false; }
2025 wxEVT_TASKBAR_MOVE
= 0,
2026 wxEVT_TASKBAR_LEFT_DOWN
= 0,
2027 wxEVT_TASKBAR_LEFT_UP
= 0,
2028 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
2029 wxEVT_TASKBAR_RIGHT_UP
= 0,
2030 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
2031 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
2036 // Otherwise make a class that can virtualize CreatePopupMenu
2037 class wxPyTaskBarIcon
: public wxTaskBarIcon
2039 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
);
2041 wxPyTaskBarIcon() : wxTaskBarIcon()
2044 wxMenu
* CreatePopupMenu() {
2045 wxMenu
*rval
= NULL
;
2047 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2048 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
2051 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2053 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
2058 wxPyEndBlockThreads(blocked
);
2060 rval
= wxTaskBarIcon::CreatePopupMenu();
2067 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
2071 static void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
2075 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
2076 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
2077 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
2078 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
2079 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
2080 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
2081 static PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
2083 self
->GetFilenames(arr
);
2084 return wxArrayString2PyList_helper(arr
);
2086 static PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
2088 self
->GetPaths(arr
);
2089 return wxArrayString2PyList_helper(arr
);
2091 static PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
2092 return wxArrayInt2PyList_helper(self
->GetSelections());
2094 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
){
2095 return new wxSingleChoiceDialog(parent
, message
, caption
,
2096 choices
, choices_array
, NULL
, style
, pos
);
2098 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
2102 // C++ version of Python aware wxWindow
2103 class wxPyWindow
: public wxWindow
2105 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
2107 wxPyWindow() : wxWindow() {}
2108 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
2109 const wxPoint
& pos
= wxDefaultPosition
,
2110 const wxSize
& size
= wxDefaultSize
,
2112 const wxString
& name
= wxPyPanelNameStr
)
2113 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
2115 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
2117 bool DoEraseBackground(wxDC
* dc
) {
2119 return wxWindow::DoEraseBackground(dc
->GetHDC());
2121 dc
->SetBackground(wxBrush(GetBackgroundColour()));
2127 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2128 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2129 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2130 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2132 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2133 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2134 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2136 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2137 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2139 DEC_PYCALLBACK__(InitDialog
);
2140 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2141 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2142 DEC_PYCALLBACK_BOOL_(Validate
);
2144 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2145 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2146 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2148 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2149 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2151 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2152 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2154 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2159 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
2161 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
2162 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
2163 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
2164 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
2166 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
2167 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
2168 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
2170 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
2171 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
2173 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
2174 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
2175 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
2176 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
2178 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
2179 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
2180 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
2182 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
2183 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
2185 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
2186 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
2188 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
2190 // C++ version of Python aware wxPanel
2191 class wxPyPanel
: public wxPanel
2193 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
2195 wxPyPanel() : wxPanel() {}
2196 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
2197 const wxPoint
& pos
= wxDefaultPosition
,
2198 const wxSize
& size
= wxDefaultSize
,
2200 const wxString
& name
= wxPyPanelNameStr
)
2201 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
2203 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
2204 bool DoEraseBackground(wxDC
* dc
) {
2206 return wxWindow::DoEraseBackground(dc
->GetHDC());
2208 dc
->SetBackground(wxBrush(GetBackgroundColour()));
2215 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2216 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2217 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2218 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2220 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2221 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2222 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2224 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2225 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2227 DEC_PYCALLBACK__(InitDialog
);
2228 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2229 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2230 DEC_PYCALLBACK_BOOL_(Validate
);
2232 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2233 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2234 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2236 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2237 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2239 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2240 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2242 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2247 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
2249 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
2250 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
2251 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
2252 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
2254 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
2255 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
2256 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
2258 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
2259 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
2261 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
2262 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
2263 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
2264 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
2266 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
2267 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
2268 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
2270 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
2271 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
2273 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
2274 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
2276 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
2278 // C++ version of Python aware wxScrolledWindow
2279 class wxPyScrolledWindow
: public wxScrolledWindow
2281 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
2283 wxPyScrolledWindow() : wxScrolledWindow() {}
2284 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
2285 const wxPoint
& pos
= wxDefaultPosition
,
2286 const wxSize
& size
= wxDefaultSize
,
2288 const wxString
& name
= wxPyPanelNameStr
)
2289 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
2291 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
2292 bool DoEraseBackground(wxDC
* dc
) {
2294 return wxWindow::DoEraseBackground(dc
->GetHDC());
2296 dc
->SetBackground(wxBrush(GetBackgroundColour()));
2302 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2303 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2304 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2305 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2307 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2308 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2309 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2311 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2312 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2314 DEC_PYCALLBACK__(InitDialog
);
2315 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2316 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2317 DEC_PYCALLBACK_BOOL_(Validate
);
2319 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2320 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2321 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2323 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2324 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2326 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2327 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2329 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2334 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
2336 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
2337 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
2338 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
2339 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
2341 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
2342 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
2343 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
2345 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
2346 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
2348 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
2349 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
2350 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
2351 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
2353 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
2354 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
2355 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
2357 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
2358 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
2360 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
2361 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
2363 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
2366 #include "wx/wxPython/printfw.h"
2369 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
2370 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
2371 static PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
2373 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2374 data
= PyString_FromStringAndSize(self
->GetPrivData(),
2375 self
->GetPrivDataLen());
2376 wxPyEndBlockThreads(blocked
);
2379 static void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
2380 if (! PyString_Check(data
)) {
2381 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
2382 "Expected string object"));
2386 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2387 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
2388 wxPyEndBlockThreads(blocked
);
2392 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
2394 // Since this one would be tough and ugly to do with the Macros...
2395 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
2396 bool hadErr
= false;
2399 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2400 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
2401 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2402 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
2405 val
= PyTuple_GetItem(result
, 0);
2406 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
2409 val
= PyTuple_GetItem(result
, 1);
2410 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
2413 val
= PyTuple_GetItem(result
, 2);
2414 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
2417 val
= PyTuple_GetItem(result
, 3);
2418 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
2425 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
2430 wxPyEndBlockThreads(blocked
);
2432 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
2435 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
2436 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
2440 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
2441 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
2442 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
2443 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
2444 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
2445 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
2446 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
2452 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
2453 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
2454 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
2457 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
2458 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2461 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2462 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2463 PyObject* win = wxPyMake_wxObject(a,false); \
2464 PyObject* dc = wxPyMake_wxObject(&b,false); \
2465 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
2469 wxPyEndBlockThreads(blocked); \
2471 rval = PCLASS::CBNAME(a, b); \
2474 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2475 return PCLASS::CBNAME(a, b); \
2481 class wxPyPrintPreview
: public wxPrintPreview
2483 DECLARE_CLASS(wxPyPrintPreview
)
2485 wxPyPrintPreview(wxPyPrintout
* printout
,
2486 wxPyPrintout
* printoutForPrinting
,
2487 wxPrintDialogData
* data
=NULL
)
2488 : wxPrintPreview(printout
, printoutForPrinting
, data
)
2490 wxPyPrintPreview(wxPyPrintout
* printout
,
2491 wxPyPrintout
* printoutForPrinting
,
2492 wxPrintData
* data
=NULL
)
2493 : wxPrintPreview(printout
, printoutForPrinting
, data
)
2496 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
2497 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
2498 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
2499 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
2500 DEC_PYCALLBACK_VOID_INT(SetZoom
);
2501 DEC_PYCALLBACK_BOOL_BOOL(Print
);
2502 DEC_PYCALLBACK_VOID_(DetermineScaling
);
2507 // Stupid renamed classes... Fix this in 2.5...
2508 #if defined(__WXMSW__)
2509 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
2510 #elif defined(__WXMAC__)
2511 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
2513 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
2516 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
2517 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
2518 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
2519 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
2520 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
2521 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
2522 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
2525 class wxPyPreviewFrame
: public wxPreviewFrame
2527 DECLARE_CLASS(wxPyPreviewFrame
);
2529 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
2530 const wxString
& title
,
2531 const wxPoint
& pos
= wxDefaultPosition
,
2532 const wxSize
& size
= wxDefaultSize
,
2533 long style
= wxDEFAULT_FRAME_STYLE
,
2534 const wxString
& name
= wxPyFrameNameStr
)
2535 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
2538 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
2539 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
2541 DEC_PYCALLBACK_VOID_(Initialize
);
2542 DEC_PYCALLBACK_VOID_(CreateCanvas
);
2543 DEC_PYCALLBACK_VOID_(CreateControlBar
);
2548 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
2550 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
2551 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
2552 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
2555 class wxPyPreviewControlBar
: public wxPreviewControlBar
2557 DECLARE_CLASS(wxPyPreviewControlBar
);
2559 wxPyPreviewControlBar(wxPrintPreview
*preview
,
2562 const wxPoint
& pos
= wxDefaultPosition
,
2563 const wxSize
& size
= wxDefaultSize
,
2565 const wxString
& name
= wxPyPanelNameStr
)
2566 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
2569 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
2571 DEC_PYCALLBACK_VOID_(CreateButtons
);
2572 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
2577 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
2578 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
2579 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
2584 static PyObject
*_wrap_new_Panel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2585 PyObject
*resultobj
;
2586 wxWindow
*arg1
= (wxWindow
*) 0 ;
2587 int arg2
= (int) (int)-1 ;
2588 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2589 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2590 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2591 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2592 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
2593 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
2594 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
2598 bool temp6
= false ;
2599 PyObject
* obj0
= 0 ;
2600 PyObject
* obj1
= 0 ;
2601 PyObject
* obj2
= 0 ;
2602 PyObject
* obj3
= 0 ;
2603 PyObject
* obj4
= 0 ;
2604 PyObject
* obj5
= 0 ;
2606 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
2610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2611 if (SWIG_arg_fail(1)) SWIG_fail
;
2614 arg2
= (int const)(SWIG_As_int(obj1
));
2615 if (SWIG_arg_fail(2)) SWIG_fail
;
2621 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2627 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2632 arg5
= (long)(SWIG_As_long(obj4
));
2633 if (SWIG_arg_fail(5)) SWIG_fail
;
2638 arg6
= wxString_in_helper(obj5
);
2639 if (arg6
== NULL
) SWIG_fail
;
2644 if (!wxPyCheckForApp()) SWIG_fail
;
2645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2646 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
2648 wxPyEndAllowThreads(__tstate
);
2649 if (PyErr_Occurred()) SWIG_fail
;
2651 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
2666 static PyObject
*_wrap_new_PrePanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2667 PyObject
*resultobj
;
2673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
2675 if (!wxPyCheckForApp()) SWIG_fail
;
2676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2677 result
= (wxPanel
*)new wxPanel();
2679 wxPyEndAllowThreads(__tstate
);
2680 if (PyErr_Occurred()) SWIG_fail
;
2682 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
2689 static PyObject
*_wrap_Panel_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2690 PyObject
*resultobj
;
2691 wxPanel
*arg1
= (wxPanel
*) 0 ;
2692 wxWindow
*arg2
= (wxWindow
*) 0 ;
2693 int arg3
= (int) (int)-1 ;
2694 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2695 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2696 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2697 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2698 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
2699 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
2700 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2704 bool temp7
= false ;
2705 PyObject
* obj0
= 0 ;
2706 PyObject
* obj1
= 0 ;
2707 PyObject
* obj2
= 0 ;
2708 PyObject
* obj3
= 0 ;
2709 PyObject
* obj4
= 0 ;
2710 PyObject
* obj5
= 0 ;
2711 PyObject
* obj6
= 0 ;
2713 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2718 if (SWIG_arg_fail(1)) SWIG_fail
;
2719 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2720 if (SWIG_arg_fail(2)) SWIG_fail
;
2723 arg3
= (int const)(SWIG_As_int(obj2
));
2724 if (SWIG_arg_fail(3)) SWIG_fail
;
2730 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2736 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2741 arg6
= (long)(SWIG_As_long(obj5
));
2742 if (SWIG_arg_fail(6)) SWIG_fail
;
2747 arg7
= wxString_in_helper(obj6
);
2748 if (arg7
== NULL
) SWIG_fail
;
2753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2754 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
2756 wxPyEndAllowThreads(__tstate
);
2757 if (PyErr_Occurred()) SWIG_fail
;
2760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2776 static PyObject
*_wrap_Panel_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2777 PyObject
*resultobj
;
2778 wxPanel
*arg1
= (wxPanel
*) 0 ;
2779 PyObject
* obj0
= 0 ;
2781 (char *) "self", NULL
2784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
2785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2786 if (SWIG_arg_fail(1)) SWIG_fail
;
2788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2789 (arg1
)->InitDialog();
2791 wxPyEndAllowThreads(__tstate
);
2792 if (PyErr_Occurred()) SWIG_fail
;
2794 Py_INCREF(Py_None
); resultobj
= Py_None
;
2801 static PyObject
*_wrap_Panel_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2802 PyObject
*resultobj
;
2803 wxPanel
*arg1
= (wxPanel
*) 0 ;
2804 PyObject
* obj0
= 0 ;
2806 (char *) "self", NULL
2809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_SetFocus",kwnames
,&obj0
)) goto fail
;
2810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2811 if (SWIG_arg_fail(1)) SWIG_fail
;
2813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2816 wxPyEndAllowThreads(__tstate
);
2817 if (PyErr_Occurred()) SWIG_fail
;
2819 Py_INCREF(Py_None
); resultobj
= Py_None
;
2826 static PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2827 PyObject
*resultobj
;
2828 wxPanel
*arg1
= (wxPanel
*) 0 ;
2829 PyObject
* obj0
= 0 ;
2831 (char *) "self", NULL
2834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_SetFocusIgnoringChildren",kwnames
,&obj0
)) goto fail
;
2835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2836 if (SWIG_arg_fail(1)) SWIG_fail
;
2838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2839 (arg1
)->SetFocusIgnoringChildren();
2841 wxPyEndAllowThreads(__tstate
);
2842 if (PyErr_Occurred()) SWIG_fail
;
2844 Py_INCREF(Py_None
); resultobj
= Py_None
;
2851 static PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2852 PyObject
*resultobj
;
2853 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
2854 wxVisualAttributes result
;
2855 PyObject
* obj0
= 0 ;
2857 (char *) "variant", NULL
2860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2863 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
2864 if (SWIG_arg_fail(1)) SWIG_fail
;
2868 if (!wxPyCheckForApp()) SWIG_fail
;
2869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2870 result
= wxPanel::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2872 wxPyEndAllowThreads(__tstate
);
2873 if (PyErr_Occurred()) SWIG_fail
;
2876 wxVisualAttributes
* resultptr
;
2877 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
2878 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2886 static PyObject
* Panel_swigregister(PyObject
*, PyObject
*args
) {
2888 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2889 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
2891 return Py_BuildValue((char *)"");
2893 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2894 PyObject
*resultobj
;
2895 wxWindow
*arg1
= (wxWindow
*) 0 ;
2896 int arg2
= (int) (int)-1 ;
2897 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2898 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2899 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2900 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2901 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
2902 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
2903 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
2904 wxScrolledWindow
*result
;
2907 bool temp6
= false ;
2908 PyObject
* obj0
= 0 ;
2909 PyObject
* obj1
= 0 ;
2910 PyObject
* obj2
= 0 ;
2911 PyObject
* obj3
= 0 ;
2912 PyObject
* obj4
= 0 ;
2913 PyObject
* obj5
= 0 ;
2915 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
2919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2920 if (SWIG_arg_fail(1)) SWIG_fail
;
2923 arg2
= (int const)(SWIG_As_int(obj1
));
2924 if (SWIG_arg_fail(2)) SWIG_fail
;
2930 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2936 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2941 arg5
= (long)(SWIG_As_long(obj4
));
2942 if (SWIG_arg_fail(5)) SWIG_fail
;
2947 arg6
= wxString_in_helper(obj5
);
2948 if (arg6
== NULL
) SWIG_fail
;
2953 if (!wxPyCheckForApp()) SWIG_fail
;
2954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2955 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
2957 wxPyEndAllowThreads(__tstate
);
2958 if (PyErr_Occurred()) SWIG_fail
;
2960 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
2975 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2976 PyObject
*resultobj
;
2977 wxScrolledWindow
*result
;
2982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
2984 if (!wxPyCheckForApp()) SWIG_fail
;
2985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2986 result
= (wxScrolledWindow
*)new wxScrolledWindow();
2988 wxPyEndAllowThreads(__tstate
);
2989 if (PyErr_Occurred()) SWIG_fail
;
2991 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
2998 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2999 PyObject
*resultobj
;
3000 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3001 wxWindow
*arg2
= (wxWindow
*) 0 ;
3002 int arg3
= (int) (int)-1 ;
3003 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3004 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3005 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3006 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3007 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
3008 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
3009 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3013 bool temp7
= false ;
3014 PyObject
* obj0
= 0 ;
3015 PyObject
* obj1
= 0 ;
3016 PyObject
* obj2
= 0 ;
3017 PyObject
* obj3
= 0 ;
3018 PyObject
* obj4
= 0 ;
3019 PyObject
* obj5
= 0 ;
3020 PyObject
* obj6
= 0 ;
3022 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3027 if (SWIG_arg_fail(1)) SWIG_fail
;
3028 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3029 if (SWIG_arg_fail(2)) SWIG_fail
;
3032 arg3
= (int const)(SWIG_As_int(obj2
));
3033 if (SWIG_arg_fail(3)) SWIG_fail
;
3039 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3045 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3050 arg6
= (long)(SWIG_As_long(obj5
));
3051 if (SWIG_arg_fail(6)) SWIG_fail
;
3056 arg7
= wxString_in_helper(obj6
);
3057 if (arg7
== NULL
) SWIG_fail
;
3062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3063 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3065 wxPyEndAllowThreads(__tstate
);
3066 if (PyErr_Occurred()) SWIG_fail
;
3069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3085 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3086 PyObject
*resultobj
;
3087 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3092 int arg6
= (int) 0 ;
3093 int arg7
= (int) 0 ;
3094 bool arg8
= (bool) false ;
3095 PyObject
* obj0
= 0 ;
3096 PyObject
* obj1
= 0 ;
3097 PyObject
* obj2
= 0 ;
3098 PyObject
* obj3
= 0 ;
3099 PyObject
* obj4
= 0 ;
3100 PyObject
* obj5
= 0 ;
3101 PyObject
* obj6
= 0 ;
3102 PyObject
* obj7
= 0 ;
3104 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
3107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3109 if (SWIG_arg_fail(1)) SWIG_fail
;
3111 arg2
= (int)(SWIG_As_int(obj1
));
3112 if (SWIG_arg_fail(2)) SWIG_fail
;
3115 arg3
= (int)(SWIG_As_int(obj2
));
3116 if (SWIG_arg_fail(3)) SWIG_fail
;
3119 arg4
= (int)(SWIG_As_int(obj3
));
3120 if (SWIG_arg_fail(4)) SWIG_fail
;
3123 arg5
= (int)(SWIG_As_int(obj4
));
3124 if (SWIG_arg_fail(5)) SWIG_fail
;
3128 arg6
= (int)(SWIG_As_int(obj5
));
3129 if (SWIG_arg_fail(6)) SWIG_fail
;
3134 arg7
= (int)(SWIG_As_int(obj6
));
3135 if (SWIG_arg_fail(7)) SWIG_fail
;
3140 arg8
= (bool)(SWIG_As_bool(obj7
));
3141 if (SWIG_arg_fail(8)) SWIG_fail
;
3145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3146 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
3148 wxPyEndAllowThreads(__tstate
);
3149 if (PyErr_Occurred()) SWIG_fail
;
3151 Py_INCREF(Py_None
); resultobj
= Py_None
;
3158 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3159 PyObject
*resultobj
;
3160 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3163 PyObject
* obj0
= 0 ;
3164 PyObject
* obj1
= 0 ;
3165 PyObject
* obj2
= 0 ;
3167 (char *) "self",(char *) "x",(char *) "y", NULL
3170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3172 if (SWIG_arg_fail(1)) SWIG_fail
;
3174 arg2
= (int)(SWIG_As_int(obj1
));
3175 if (SWIG_arg_fail(2)) SWIG_fail
;
3178 arg3
= (int)(SWIG_As_int(obj2
));
3179 if (SWIG_arg_fail(3)) SWIG_fail
;
3182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3183 (arg1
)->Scroll(arg2
,arg3
);
3185 wxPyEndAllowThreads(__tstate
);
3186 if (PyErr_Occurred()) SWIG_fail
;
3188 Py_INCREF(Py_None
); resultobj
= Py_None
;
3195 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3196 PyObject
*resultobj
;
3197 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3200 PyObject
* obj0
= 0 ;
3201 PyObject
* obj1
= 0 ;
3203 (char *) "self",(char *) "orient", NULL
3206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3208 if (SWIG_arg_fail(1)) SWIG_fail
;
3210 arg2
= (int)(SWIG_As_int(obj1
));
3211 if (SWIG_arg_fail(2)) SWIG_fail
;
3214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3215 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
3217 wxPyEndAllowThreads(__tstate
);
3218 if (PyErr_Occurred()) SWIG_fail
;
3221 resultobj
= SWIG_From_int((int)(result
));
3229 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3230 PyObject
*resultobj
;
3231 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3234 PyObject
* obj0
= 0 ;
3235 PyObject
* obj1
= 0 ;
3236 PyObject
* obj2
= 0 ;
3238 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
3241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3243 if (SWIG_arg_fail(1)) SWIG_fail
;
3245 arg2
= (int)(SWIG_As_int(obj1
));
3246 if (SWIG_arg_fail(2)) SWIG_fail
;
3249 arg3
= (int)(SWIG_As_int(obj2
));
3250 if (SWIG_arg_fail(3)) SWIG_fail
;
3253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3254 (arg1
)->SetScrollPageSize(arg2
,arg3
);
3256 wxPyEndAllowThreads(__tstate
);
3257 if (PyErr_Occurred()) SWIG_fail
;
3259 Py_INCREF(Py_None
); resultobj
= Py_None
;
3266 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3267 PyObject
*resultobj
;
3268 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3271 PyObject
* obj0
= 0 ;
3272 PyObject
* obj1
= 0 ;
3273 PyObject
* obj2
= 0 ;
3275 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
3278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3280 if (SWIG_arg_fail(1)) SWIG_fail
;
3282 arg2
= (int)(SWIG_As_int(obj1
));
3283 if (SWIG_arg_fail(2)) SWIG_fail
;
3286 arg3
= (int)(SWIG_As_int(obj2
));
3287 if (SWIG_arg_fail(3)) SWIG_fail
;
3290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3291 (arg1
)->SetScrollRate(arg2
,arg3
);
3293 wxPyEndAllowThreads(__tstate
);
3294 if (PyErr_Occurred()) SWIG_fail
;
3296 Py_INCREF(Py_None
); resultobj
= Py_None
;
3303 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3304 PyObject
*resultobj
;
3305 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3306 int *arg2
= (int *) 0 ;
3307 int *arg3
= (int *) 0 ;
3312 PyObject
* obj0
= 0 ;
3314 (char *) "self", NULL
3317 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3318 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
3319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
3320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3321 if (SWIG_arg_fail(1)) SWIG_fail
;
3323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3324 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
3326 wxPyEndAllowThreads(__tstate
);
3327 if (PyErr_Occurred()) SWIG_fail
;
3329 Py_INCREF(Py_None
); resultobj
= Py_None
;
3330 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3331 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3332 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
3333 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
3340 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3341 PyObject
*resultobj
;
3342 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3345 PyObject
* obj0
= 0 ;
3346 PyObject
* obj1
= 0 ;
3347 PyObject
* obj2
= 0 ;
3349 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
3352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3354 if (SWIG_arg_fail(1)) SWIG_fail
;
3356 arg2
= (bool)(SWIG_As_bool(obj1
));
3357 if (SWIG_arg_fail(2)) SWIG_fail
;
3360 arg3
= (bool)(SWIG_As_bool(obj2
));
3361 if (SWIG_arg_fail(3)) SWIG_fail
;
3364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3365 (arg1
)->EnableScrolling(arg2
,arg3
);
3367 wxPyEndAllowThreads(__tstate
);
3368 if (PyErr_Occurred()) SWIG_fail
;
3370 Py_INCREF(Py_None
); resultobj
= Py_None
;
3377 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3378 PyObject
*resultobj
;
3379 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3380 int *arg2
= (int *) 0 ;
3381 int *arg3
= (int *) 0 ;
3386 PyObject
* obj0
= 0 ;
3388 (char *) "self", NULL
3391 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3392 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
3393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
3394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3395 if (SWIG_arg_fail(1)) SWIG_fail
;
3397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3398 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
3400 wxPyEndAllowThreads(__tstate
);
3401 if (PyErr_Occurred()) SWIG_fail
;
3403 Py_INCREF(Py_None
); resultobj
= Py_None
;
3404 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3405 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3406 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
3407 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
3414 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3415 PyObject
*resultobj
;
3416 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3419 PyObject
* obj0
= 0 ;
3420 PyObject
* obj1
= 0 ;
3421 PyObject
* obj2
= 0 ;
3423 (char *) "self",(char *) "xs",(char *) "ys", NULL
3426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3428 if (SWIG_arg_fail(1)) SWIG_fail
;
3430 arg2
= (double)(SWIG_As_double(obj1
));
3431 if (SWIG_arg_fail(2)) SWIG_fail
;
3434 arg3
= (double)(SWIG_As_double(obj2
));
3435 if (SWIG_arg_fail(3)) SWIG_fail
;
3438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3439 (arg1
)->SetScale(arg2
,arg3
);
3441 wxPyEndAllowThreads(__tstate
);
3442 if (PyErr_Occurred()) SWIG_fail
;
3444 Py_INCREF(Py_None
); resultobj
= Py_None
;
3451 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3452 PyObject
*resultobj
;
3453 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3455 PyObject
* obj0
= 0 ;
3457 (char *) "self", NULL
3460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
3461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3462 if (SWIG_arg_fail(1)) SWIG_fail
;
3464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3465 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
3467 wxPyEndAllowThreads(__tstate
);
3468 if (PyErr_Occurred()) SWIG_fail
;
3471 resultobj
= SWIG_From_double((double)(result
));
3479 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3480 PyObject
*resultobj
;
3481 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3483 PyObject
* obj0
= 0 ;
3485 (char *) "self", NULL
3488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
3489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3490 if (SWIG_arg_fail(1)) SWIG_fail
;
3492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3493 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
3495 wxPyEndAllowThreads(__tstate
);
3496 if (PyErr_Occurred()) SWIG_fail
;
3499 resultobj
= SWIG_From_double((double)(result
));
3507 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
3508 PyObject
*resultobj
;
3509 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3513 PyObject
* obj0
= 0 ;
3514 PyObject
* obj1
= 0 ;
3516 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
3517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3518 if (SWIG_arg_fail(1)) SWIG_fail
;
3521 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3525 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
3527 wxPyEndAllowThreads(__tstate
);
3528 if (PyErr_Occurred()) SWIG_fail
;
3531 wxPoint
* resultptr
;
3532 resultptr
= new wxPoint((wxPoint
&)(result
));
3533 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3541 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
3542 PyObject
*resultobj
;
3543 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3546 int *arg4
= (int *) 0 ;
3547 int *arg5
= (int *) 0 ;
3552 PyObject
* obj0
= 0 ;
3553 PyObject
* obj1
= 0 ;
3554 PyObject
* obj2
= 0 ;
3556 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
3557 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
3558 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
3559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3560 if (SWIG_arg_fail(1)) SWIG_fail
;
3562 arg2
= (int)(SWIG_As_int(obj1
));
3563 if (SWIG_arg_fail(2)) SWIG_fail
;
3566 arg3
= (int)(SWIG_As_int(obj2
));
3567 if (SWIG_arg_fail(3)) SWIG_fail
;
3570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3571 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
3573 wxPyEndAllowThreads(__tstate
);
3574 if (PyErr_Occurred()) SWIG_fail
;
3576 Py_INCREF(Py_None
); resultobj
= Py_None
;
3577 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
3578 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
3579 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
3580 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
3587 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
3592 argc
= PyObject_Length(args
);
3593 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
3594 argv
[ii
] = PyTuple_GetItem(args
,ii
);
3600 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3609 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
3612 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
3620 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3628 _v
= SWIG_Check_int(argv
[1]);
3630 _v
= SWIG_Check_int(argv
[2]);
3632 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
3638 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
3643 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
3644 PyObject
*resultobj
;
3645 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3649 PyObject
* obj0
= 0 ;
3650 PyObject
* obj1
= 0 ;
3652 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
3653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3654 if (SWIG_arg_fail(1)) SWIG_fail
;
3657 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3661 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
3663 wxPyEndAllowThreads(__tstate
);
3664 if (PyErr_Occurred()) SWIG_fail
;
3667 wxPoint
* resultptr
;
3668 resultptr
= new wxPoint((wxPoint
&)(result
));
3669 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3677 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
3678 PyObject
*resultobj
;
3679 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3682 int *arg4
= (int *) 0 ;
3683 int *arg5
= (int *) 0 ;
3688 PyObject
* obj0
= 0 ;
3689 PyObject
* obj1
= 0 ;
3690 PyObject
* obj2
= 0 ;
3692 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
3693 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
3694 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
3695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3696 if (SWIG_arg_fail(1)) SWIG_fail
;
3698 arg2
= (int)(SWIG_As_int(obj1
));
3699 if (SWIG_arg_fail(2)) SWIG_fail
;
3702 arg3
= (int)(SWIG_As_int(obj2
));
3703 if (SWIG_arg_fail(3)) SWIG_fail
;
3706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3707 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
3709 wxPyEndAllowThreads(__tstate
);
3710 if (PyErr_Occurred()) SWIG_fail
;
3712 Py_INCREF(Py_None
); resultobj
= Py_None
;
3713 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
3714 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
3715 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
3716 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
3723 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
3728 argc
= PyObject_Length(args
);
3729 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
3730 argv
[ii
] = PyTuple_GetItem(args
,ii
);
3736 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3745 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
3748 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
3756 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3764 _v
= SWIG_Check_int(argv
[1]);
3766 _v
= SWIG_Check_int(argv
[2]);
3768 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
3774 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
3779 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3780 PyObject
*resultobj
;
3781 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3782 PyObject
* obj0
= 0 ;
3784 (char *) "self", NULL
3787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
3788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3789 if (SWIG_arg_fail(1)) SWIG_fail
;
3791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3792 (arg1
)->AdjustScrollbars();
3794 wxPyEndAllowThreads(__tstate
);
3795 if (PyErr_Occurred()) SWIG_fail
;
3797 Py_INCREF(Py_None
); resultobj
= Py_None
;
3804 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3805 PyObject
*resultobj
;
3806 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3807 wxScrollWinEvent
*arg2
= 0 ;
3809 PyObject
* obj0
= 0 ;
3810 PyObject
* obj1
= 0 ;
3812 (char *) "self",(char *) "event", NULL
3815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
3816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3817 if (SWIG_arg_fail(1)) SWIG_fail
;
3819 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
3820 if (SWIG_arg_fail(2)) SWIG_fail
;
3822 SWIG_null_ref("wxScrollWinEvent");
3824 if (SWIG_arg_fail(2)) SWIG_fail
;
3827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3828 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
3830 wxPyEndAllowThreads(__tstate
);
3831 if (PyErr_Occurred()) SWIG_fail
;
3834 resultobj
= SWIG_From_int((int)(result
));
3842 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3843 PyObject
*resultobj
;
3844 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3845 wxWindow
*arg2
= (wxWindow
*) 0 ;
3846 PyObject
* obj0
= 0 ;
3847 PyObject
* obj1
= 0 ;
3849 (char *) "self",(char *) "target", NULL
3852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
3853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3854 if (SWIG_arg_fail(1)) SWIG_fail
;
3855 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3856 if (SWIG_arg_fail(2)) SWIG_fail
;
3858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3859 (arg1
)->SetTargetWindow(arg2
);
3861 wxPyEndAllowThreads(__tstate
);
3862 if (PyErr_Occurred()) SWIG_fail
;
3864 Py_INCREF(Py_None
); resultobj
= Py_None
;
3871 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3872 PyObject
*resultobj
;
3873 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3875 PyObject
* obj0
= 0 ;
3877 (char *) "self", NULL
3880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
3881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3882 if (SWIG_arg_fail(1)) SWIG_fail
;
3884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3885 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
3887 wxPyEndAllowThreads(__tstate
);
3888 if (PyErr_Occurred()) SWIG_fail
;
3891 resultobj
= wxPyMake_wxObject(result
, 0);
3899 static PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3900 PyObject
*resultobj
;
3901 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3903 PyObject
* obj0
= 0 ;
3904 PyObject
* obj1
= 0 ;
3906 (char *) "self",(char *) "dc", NULL
3909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
3910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3911 if (SWIG_arg_fail(1)) SWIG_fail
;
3913 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
3914 if (SWIG_arg_fail(2)) SWIG_fail
;
3916 SWIG_null_ref("wxDC");
3918 if (SWIG_arg_fail(2)) SWIG_fail
;
3921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3922 (arg1
)->DoPrepareDC(*arg2
);
3924 wxPyEndAllowThreads(__tstate
);
3925 if (PyErr_Occurred()) SWIG_fail
;
3927 Py_INCREF(Py_None
); resultobj
= Py_None
;
3934 static PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3935 PyObject
*resultobj
;
3936 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3937 wxVisualAttributes result
;
3938 PyObject
* obj0
= 0 ;
3940 (char *) "variant", NULL
3943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3946 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
3947 if (SWIG_arg_fail(1)) SWIG_fail
;
3951 if (!wxPyCheckForApp()) SWIG_fail
;
3952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3953 result
= wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3955 wxPyEndAllowThreads(__tstate
);
3956 if (PyErr_Occurred()) SWIG_fail
;
3959 wxVisualAttributes
* resultptr
;
3960 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
3961 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3969 static PyObject
* ScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
3971 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3972 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
3974 return Py_BuildValue((char *)"");
3976 static int _wrap_FrameNameStr_set(PyObject
*) {
3977 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
3982 static PyObject
*_wrap_FrameNameStr_get(void) {
3987 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
3989 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
3996 static int _wrap_DialogNameStr_set(PyObject
*) {
3997 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
4002 static PyObject
*_wrap_DialogNameStr_get(void) {
4007 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
4009 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
4016 static int _wrap_StatusLineNameStr_set(PyObject
*) {
4017 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
4022 static PyObject
*_wrap_StatusLineNameStr_get(void) {
4027 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
4029 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
4036 static int _wrap_ToolBarNameStr_set(PyObject
*) {
4037 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
4042 static PyObject
*_wrap_ToolBarNameStr_get(void) {
4047 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
4049 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
4056 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4057 PyObject
*resultobj
;
4058 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4059 bool arg2
= (bool) true ;
4060 PyObject
* obj0
= 0 ;
4061 PyObject
* obj1
= 0 ;
4063 (char *) "self",(char *) "maximize", NULL
4066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
4067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4068 if (SWIG_arg_fail(1)) SWIG_fail
;
4071 arg2
= (bool)(SWIG_As_bool(obj1
));
4072 if (SWIG_arg_fail(2)) SWIG_fail
;
4076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4077 (arg1
)->Maximize(arg2
);
4079 wxPyEndAllowThreads(__tstate
);
4080 if (PyErr_Occurred()) SWIG_fail
;
4082 Py_INCREF(Py_None
); resultobj
= Py_None
;
4089 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4090 PyObject
*resultobj
;
4091 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4092 PyObject
* obj0
= 0 ;
4094 (char *) "self", NULL
4097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
4098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4099 if (SWIG_arg_fail(1)) SWIG_fail
;
4101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4104 wxPyEndAllowThreads(__tstate
);
4105 if (PyErr_Occurred()) SWIG_fail
;
4107 Py_INCREF(Py_None
); resultobj
= Py_None
;
4114 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4115 PyObject
*resultobj
;
4116 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4117 bool arg2
= (bool) true ;
4118 PyObject
* obj0
= 0 ;
4119 PyObject
* obj1
= 0 ;
4121 (char *) "self",(char *) "iconize", NULL
4124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
4125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4126 if (SWIG_arg_fail(1)) SWIG_fail
;
4129 arg2
= (bool)(SWIG_As_bool(obj1
));
4130 if (SWIG_arg_fail(2)) SWIG_fail
;
4134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4135 (arg1
)->Iconize(arg2
);
4137 wxPyEndAllowThreads(__tstate
);
4138 if (PyErr_Occurred()) SWIG_fail
;
4140 Py_INCREF(Py_None
); resultobj
= Py_None
;
4147 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4148 PyObject
*resultobj
;
4149 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4151 PyObject
* obj0
= 0 ;
4153 (char *) "self", NULL
4156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
4157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4158 if (SWIG_arg_fail(1)) SWIG_fail
;
4160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4161 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
4163 wxPyEndAllowThreads(__tstate
);
4164 if (PyErr_Occurred()) SWIG_fail
;
4167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4175 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4176 PyObject
*resultobj
;
4177 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4179 PyObject
* obj0
= 0 ;
4181 (char *) "self", NULL
4184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
4185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4186 if (SWIG_arg_fail(1)) SWIG_fail
;
4188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4189 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
4191 wxPyEndAllowThreads(__tstate
);
4192 if (PyErr_Occurred()) SWIG_fail
;
4195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4203 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4204 PyObject
*resultobj
;
4205 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4207 PyObject
* obj0
= 0 ;
4209 (char *) "self", NULL
4212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
4213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4214 if (SWIG_arg_fail(1)) SWIG_fail
;
4216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4217 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
4219 wxPyEndAllowThreads(__tstate
);
4220 if (PyErr_Occurred()) SWIG_fail
;
4224 resultptr
= new wxIcon((wxIcon
&)(result
));
4225 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
4233 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4234 PyObject
*resultobj
;
4235 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4237 PyObject
* obj0
= 0 ;
4238 PyObject
* obj1
= 0 ;
4240 (char *) "self",(char *) "icon", NULL
4243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4245 if (SWIG_arg_fail(1)) SWIG_fail
;
4247 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
4248 if (SWIG_arg_fail(2)) SWIG_fail
;
4250 SWIG_null_ref("wxIcon");
4252 if (SWIG_arg_fail(2)) SWIG_fail
;
4255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4256 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
4258 wxPyEndAllowThreads(__tstate
);
4259 if (PyErr_Occurred()) SWIG_fail
;
4261 Py_INCREF(Py_None
); resultobj
= Py_None
;
4268 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4269 PyObject
*resultobj
;
4270 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4271 wxIconBundle
*arg2
= 0 ;
4272 PyObject
* obj0
= 0 ;
4273 PyObject
* obj1
= 0 ;
4275 (char *) "self",(char *) "icons", NULL
4278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
4279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4280 if (SWIG_arg_fail(1)) SWIG_fail
;
4282 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
4283 if (SWIG_arg_fail(2)) SWIG_fail
;
4285 SWIG_null_ref("wxIconBundle");
4287 if (SWIG_arg_fail(2)) SWIG_fail
;
4290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4291 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
4293 wxPyEndAllowThreads(__tstate
);
4294 if (PyErr_Occurred()) SWIG_fail
;
4296 Py_INCREF(Py_None
); resultobj
= Py_None
;
4303 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4304 PyObject
*resultobj
;
4305 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4307 long arg3
= (long) wxFULLSCREEN_ALL
;
4309 PyObject
* obj0
= 0 ;
4310 PyObject
* obj1
= 0 ;
4311 PyObject
* obj2
= 0 ;
4313 (char *) "self",(char *) "show",(char *) "style", NULL
4316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4318 if (SWIG_arg_fail(1)) SWIG_fail
;
4320 arg2
= (bool)(SWIG_As_bool(obj1
));
4321 if (SWIG_arg_fail(2)) SWIG_fail
;
4325 arg3
= (long)(SWIG_As_long(obj2
));
4326 if (SWIG_arg_fail(3)) SWIG_fail
;
4330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4331 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
4333 wxPyEndAllowThreads(__tstate
);
4334 if (PyErr_Occurred()) SWIG_fail
;
4337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4345 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4346 PyObject
*resultobj
;
4347 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4349 PyObject
* obj0
= 0 ;
4351 (char *) "self", NULL
4354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
4355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4356 if (SWIG_arg_fail(1)) SWIG_fail
;
4358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4359 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
4361 wxPyEndAllowThreads(__tstate
);
4362 if (PyErr_Occurred()) SWIG_fail
;
4365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4373 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4374 PyObject
*resultobj
;
4375 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4376 wxString
*arg2
= 0 ;
4377 bool temp2
= false ;
4378 PyObject
* obj0
= 0 ;
4379 PyObject
* obj1
= 0 ;
4381 (char *) "self",(char *) "title", NULL
4384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
4385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4386 if (SWIG_arg_fail(1)) SWIG_fail
;
4388 arg2
= wxString_in_helper(obj1
);
4389 if (arg2
== NULL
) SWIG_fail
;
4393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4394 (arg1
)->SetTitle((wxString
const &)*arg2
);
4396 wxPyEndAllowThreads(__tstate
);
4397 if (PyErr_Occurred()) SWIG_fail
;
4399 Py_INCREF(Py_None
); resultobj
= Py_None
;
4414 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4415 PyObject
*resultobj
;
4416 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4418 PyObject
* obj0
= 0 ;
4420 (char *) "self", NULL
4423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
4424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4425 if (SWIG_arg_fail(1)) SWIG_fail
;
4427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4428 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
4430 wxPyEndAllowThreads(__tstate
);
4431 if (PyErr_Occurred()) SWIG_fail
;
4435 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4437 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4446 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4447 PyObject
*resultobj
;
4448 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4449 wxRegion
*arg2
= 0 ;
4451 PyObject
* obj0
= 0 ;
4452 PyObject
* obj1
= 0 ;
4454 (char *) "self",(char *) "region", NULL
4457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
4458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4459 if (SWIG_arg_fail(1)) SWIG_fail
;
4461 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
4462 if (SWIG_arg_fail(2)) SWIG_fail
;
4464 SWIG_null_ref("wxRegion");
4466 if (SWIG_arg_fail(2)) SWIG_fail
;
4469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4470 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
4472 wxPyEndAllowThreads(__tstate
);
4473 if (PyErr_Occurred()) SWIG_fail
;
4476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4484 static PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4485 PyObject
*resultobj
;
4486 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4487 int arg2
= (int) wxUSER_ATTENTION_INFO
;
4488 PyObject
* obj0
= 0 ;
4489 PyObject
* obj1
= 0 ;
4491 (char *) "self",(char *) "flags", NULL
4494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) goto fail
;
4495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4496 if (SWIG_arg_fail(1)) SWIG_fail
;
4499 arg2
= (int)(SWIG_As_int(obj1
));
4500 if (SWIG_arg_fail(2)) SWIG_fail
;
4504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4505 (arg1
)->RequestUserAttention(arg2
);
4507 wxPyEndAllowThreads(__tstate
);
4508 if (PyErr_Occurred()) SWIG_fail
;
4510 Py_INCREF(Py_None
); resultobj
= Py_None
;
4517 static PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4518 PyObject
*resultobj
;
4519 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4521 PyObject
* obj0
= 0 ;
4523 (char *) "self", NULL
4526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsActive",kwnames
,&obj0
)) goto fail
;
4527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4528 if (SWIG_arg_fail(1)) SWIG_fail
;
4530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4531 result
= (bool)(arg1
)->IsActive();
4533 wxPyEndAllowThreads(__tstate
);
4534 if (PyErr_Occurred()) SWIG_fail
;
4537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4545 static PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4546 PyObject
*resultobj
;
4547 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4549 PyObject
* obj0
= 0 ;
4550 PyObject
* obj1
= 0 ;
4552 (char *) "self",(char *) "on", NULL
4555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) goto fail
;
4556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4557 if (SWIG_arg_fail(1)) SWIG_fail
;
4559 arg2
= (bool)(SWIG_As_bool(obj1
));
4560 if (SWIG_arg_fail(2)) SWIG_fail
;
4563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4564 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
4566 wxPyEndAllowThreads(__tstate
);
4567 if (PyErr_Occurred()) SWIG_fail
;
4569 Py_INCREF(Py_None
); resultobj
= Py_None
;
4576 static PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4577 PyObject
*resultobj
;
4578 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4580 PyObject
* obj0
= 0 ;
4582 (char *) "self", NULL
4585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames
,&obj0
)) goto fail
;
4586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4587 if (SWIG_arg_fail(1)) SWIG_fail
;
4589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4590 result
= (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow
const *)arg1
);
4592 wxPyEndAllowThreads(__tstate
);
4593 if (PyErr_Occurred()) SWIG_fail
;
4596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4604 static PyObject
* TopLevelWindow_swigregister(PyObject
*, PyObject
*args
) {
4606 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4607 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
4609 return Py_BuildValue((char *)"");
4611 static PyObject
*_wrap_new_Frame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4612 PyObject
*resultobj
;
4613 wxWindow
*arg1
= (wxWindow
*) 0 ;
4614 int arg2
= (int) (int)-1 ;
4615 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4616 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4617 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4618 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4619 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4620 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4621 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4622 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4623 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4625 bool temp3
= false ;
4628 bool temp7
= false ;
4629 PyObject
* obj0
= 0 ;
4630 PyObject
* obj1
= 0 ;
4631 PyObject
* obj2
= 0 ;
4632 PyObject
* obj3
= 0 ;
4633 PyObject
* obj4
= 0 ;
4634 PyObject
* obj5
= 0 ;
4635 PyObject
* obj6
= 0 ;
4637 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4642 if (SWIG_arg_fail(1)) SWIG_fail
;
4645 arg2
= (int const)(SWIG_As_int(obj1
));
4646 if (SWIG_arg_fail(2)) SWIG_fail
;
4651 arg3
= wxString_in_helper(obj2
);
4652 if (arg3
== NULL
) SWIG_fail
;
4659 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4665 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4670 arg6
= (long)(SWIG_As_long(obj5
));
4671 if (SWIG_arg_fail(6)) SWIG_fail
;
4676 arg7
= wxString_in_helper(obj6
);
4677 if (arg7
== NULL
) SWIG_fail
;
4682 if (!wxPyCheckForApp()) SWIG_fail
;
4683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4684 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4686 wxPyEndAllowThreads(__tstate
);
4687 if (PyErr_Occurred()) SWIG_fail
;
4689 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
4712 static PyObject
*_wrap_new_PreFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4713 PyObject
*resultobj
;
4719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
4721 if (!wxPyCheckForApp()) SWIG_fail
;
4722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4723 result
= (wxFrame
*)new wxFrame();
4725 wxPyEndAllowThreads(__tstate
);
4726 if (PyErr_Occurred()) SWIG_fail
;
4728 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
4735 static PyObject
*_wrap_Frame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4736 PyObject
*resultobj
;
4737 wxFrame
*arg1
= (wxFrame
*) 0 ;
4738 wxWindow
*arg2
= (wxWindow
*) 0 ;
4739 int arg3
= (int) (int)-1 ;
4740 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4741 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4742 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4743 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4744 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4745 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4746 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4747 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4748 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4750 bool temp4
= false ;
4753 bool temp8
= false ;
4754 PyObject
* obj0
= 0 ;
4755 PyObject
* obj1
= 0 ;
4756 PyObject
* obj2
= 0 ;
4757 PyObject
* obj3
= 0 ;
4758 PyObject
* obj4
= 0 ;
4759 PyObject
* obj5
= 0 ;
4760 PyObject
* obj6
= 0 ;
4761 PyObject
* obj7
= 0 ;
4763 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4768 if (SWIG_arg_fail(1)) SWIG_fail
;
4769 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4770 if (SWIG_arg_fail(2)) SWIG_fail
;
4773 arg3
= (int const)(SWIG_As_int(obj2
));
4774 if (SWIG_arg_fail(3)) SWIG_fail
;
4779 arg4
= wxString_in_helper(obj3
);
4780 if (arg4
== NULL
) SWIG_fail
;
4787 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4793 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4798 arg7
= (long)(SWIG_As_long(obj6
));
4799 if (SWIG_arg_fail(7)) SWIG_fail
;
4804 arg8
= wxString_in_helper(obj7
);
4805 if (arg8
== NULL
) SWIG_fail
;
4810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4811 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4813 wxPyEndAllowThreads(__tstate
);
4814 if (PyErr_Occurred()) SWIG_fail
;
4817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4841 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4842 PyObject
*resultobj
;
4843 wxFrame
*arg1
= (wxFrame
*) 0 ;
4845 PyObject
* obj0
= 0 ;
4847 (char *) "self", NULL
4850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
4851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4852 if (SWIG_arg_fail(1)) SWIG_fail
;
4854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4855 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
4857 wxPyEndAllowThreads(__tstate
);
4858 if (PyErr_Occurred()) SWIG_fail
;
4861 wxPoint
* resultptr
;
4862 resultptr
= new wxPoint((wxPoint
&)(result
));
4863 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4871 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4872 PyObject
*resultobj
;
4873 wxFrame
*arg1
= (wxFrame
*) 0 ;
4874 PyObject
* obj0
= 0 ;
4876 (char *) "self", NULL
4879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
4880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4881 if (SWIG_arg_fail(1)) SWIG_fail
;
4883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4884 (arg1
)->SendSizeEvent();
4886 wxPyEndAllowThreads(__tstate
);
4887 if (PyErr_Occurred()) SWIG_fail
;
4889 Py_INCREF(Py_None
); resultobj
= Py_None
;
4896 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4897 PyObject
*resultobj
;
4898 wxFrame
*arg1
= (wxFrame
*) 0 ;
4899 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
4900 PyObject
* obj0
= 0 ;
4901 PyObject
* obj1
= 0 ;
4903 (char *) "self",(char *) "menubar", NULL
4906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
4907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4908 if (SWIG_arg_fail(1)) SWIG_fail
;
4909 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
4910 if (SWIG_arg_fail(2)) SWIG_fail
;
4912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4913 (arg1
)->SetMenuBar(arg2
);
4915 wxPyEndAllowThreads(__tstate
);
4916 if (PyErr_Occurred()) SWIG_fail
;
4918 Py_INCREF(Py_None
); resultobj
= Py_None
;
4925 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4926 PyObject
*resultobj
;
4927 wxFrame
*arg1
= (wxFrame
*) 0 ;
4929 PyObject
* obj0
= 0 ;
4931 (char *) "self", NULL
4934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
4935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4936 if (SWIG_arg_fail(1)) SWIG_fail
;
4938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4939 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
4941 wxPyEndAllowThreads(__tstate
);
4942 if (PyErr_Occurred()) SWIG_fail
;
4945 resultobj
= wxPyMake_wxObject(result
, 0);
4953 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4954 PyObject
*resultobj
;
4955 wxFrame
*arg1
= (wxFrame
*) 0 ;
4958 PyObject
* obj0
= 0 ;
4959 PyObject
* obj1
= 0 ;
4961 (char *) "self",(char *) "winid", NULL
4964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
4965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4966 if (SWIG_arg_fail(1)) SWIG_fail
;
4968 arg2
= (int)(SWIG_As_int(obj1
));
4969 if (SWIG_arg_fail(2)) SWIG_fail
;
4972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4973 result
= (bool)(arg1
)->ProcessCommand(arg2
);
4975 wxPyEndAllowThreads(__tstate
);
4976 if (PyErr_Occurred()) SWIG_fail
;
4979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4987 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4988 PyObject
*resultobj
;
4989 wxFrame
*arg1
= (wxFrame
*) 0 ;
4990 int arg2
= (int) 1 ;
4991 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
4992 int arg4
= (int) 0 ;
4993 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
4994 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4995 wxStatusBar
*result
;
4996 bool temp5
= false ;
4997 PyObject
* obj0
= 0 ;
4998 PyObject
* obj1
= 0 ;
4999 PyObject
* obj2
= 0 ;
5000 PyObject
* obj3
= 0 ;
5001 PyObject
* obj4
= 0 ;
5003 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
5006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5008 if (SWIG_arg_fail(1)) SWIG_fail
;
5011 arg2
= (int)(SWIG_As_int(obj1
));
5012 if (SWIG_arg_fail(2)) SWIG_fail
;
5017 arg3
= (long)(SWIG_As_long(obj2
));
5018 if (SWIG_arg_fail(3)) SWIG_fail
;
5023 arg4
= (int)(SWIG_As_int(obj3
));
5024 if (SWIG_arg_fail(4)) SWIG_fail
;
5029 arg5
= wxString_in_helper(obj4
);
5030 if (arg5
== NULL
) SWIG_fail
;
5035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5036 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
5038 wxPyEndAllowThreads(__tstate
);
5039 if (PyErr_Occurred()) SWIG_fail
;
5042 resultobj
= wxPyMake_wxObject(result
, 0);
5058 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5059 PyObject
*resultobj
;
5060 wxFrame
*arg1
= (wxFrame
*) 0 ;
5061 wxStatusBar
*result
;
5062 PyObject
* obj0
= 0 ;
5064 (char *) "self", NULL
5067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
5068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5069 if (SWIG_arg_fail(1)) SWIG_fail
;
5071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5072 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
5074 wxPyEndAllowThreads(__tstate
);
5075 if (PyErr_Occurred()) SWIG_fail
;
5078 resultobj
= wxPyMake_wxObject(result
, 0);
5086 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5087 PyObject
*resultobj
;
5088 wxFrame
*arg1
= (wxFrame
*) 0 ;
5089 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
5090 PyObject
* obj0
= 0 ;
5091 PyObject
* obj1
= 0 ;
5093 (char *) "self",(char *) "statBar", NULL
5096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
5097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5098 if (SWIG_arg_fail(1)) SWIG_fail
;
5099 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
5100 if (SWIG_arg_fail(2)) SWIG_fail
;
5102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5103 (arg1
)->SetStatusBar(arg2
);
5105 wxPyEndAllowThreads(__tstate
);
5106 if (PyErr_Occurred()) SWIG_fail
;
5108 Py_INCREF(Py_None
); resultobj
= Py_None
;
5115 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5116 PyObject
*resultobj
;
5117 wxFrame
*arg1
= (wxFrame
*) 0 ;
5118 wxString
*arg2
= 0 ;
5119 int arg3
= (int) 0 ;
5120 bool temp2
= false ;
5121 PyObject
* obj0
= 0 ;
5122 PyObject
* obj1
= 0 ;
5123 PyObject
* obj2
= 0 ;
5125 (char *) "self",(char *) "text",(char *) "number", NULL
5128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5130 if (SWIG_arg_fail(1)) SWIG_fail
;
5132 arg2
= wxString_in_helper(obj1
);
5133 if (arg2
== NULL
) SWIG_fail
;
5138 arg3
= (int)(SWIG_As_int(obj2
));
5139 if (SWIG_arg_fail(3)) SWIG_fail
;
5143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5144 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5146 wxPyEndAllowThreads(__tstate
);
5147 if (PyErr_Occurred()) SWIG_fail
;
5149 Py_INCREF(Py_None
); resultobj
= Py_None
;
5164 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5165 PyObject
*resultobj
;
5166 wxFrame
*arg1
= (wxFrame
*) 0 ;
5168 int *arg3
= (int *) 0 ;
5169 PyObject
* obj0
= 0 ;
5170 PyObject
* obj1
= 0 ;
5172 (char *) "self",(char *) "widths", NULL
5175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5177 if (SWIG_arg_fail(1)) SWIG_fail
;
5179 arg2
= PyList_Size(obj1
);
5180 arg3
= int_LIST_helper(obj1
);
5181 if (arg3
== NULL
) SWIG_fail
;
5184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5185 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5187 wxPyEndAllowThreads(__tstate
);
5188 if (PyErr_Occurred()) SWIG_fail
;
5190 Py_INCREF(Py_None
); resultobj
= Py_None
;
5192 if (arg3
) delete [] arg3
;
5197 if (arg3
) delete [] arg3
;
5203 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5204 PyObject
*resultobj
;
5205 wxFrame
*arg1
= (wxFrame
*) 0 ;
5206 wxString
*arg2
= 0 ;
5207 int arg3
= (int) 0 ;
5208 bool temp2
= false ;
5209 PyObject
* obj0
= 0 ;
5210 PyObject
* obj1
= 0 ;
5211 PyObject
* obj2
= 0 ;
5213 (char *) "self",(char *) "text",(char *) "number", NULL
5216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5218 if (SWIG_arg_fail(1)) SWIG_fail
;
5220 arg2
= wxString_in_helper(obj1
);
5221 if (arg2
== NULL
) SWIG_fail
;
5226 arg3
= (int)(SWIG_As_int(obj2
));
5227 if (SWIG_arg_fail(3)) SWIG_fail
;
5231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5232 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5234 wxPyEndAllowThreads(__tstate
);
5235 if (PyErr_Occurred()) SWIG_fail
;
5237 Py_INCREF(Py_None
); resultobj
= Py_None
;
5252 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5253 PyObject
*resultobj
;
5254 wxFrame
*arg1
= (wxFrame
*) 0 ;
5255 int arg2
= (int) 0 ;
5256 PyObject
* obj0
= 0 ;
5257 PyObject
* obj1
= 0 ;
5259 (char *) "self",(char *) "number", NULL
5262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5264 if (SWIG_arg_fail(1)) SWIG_fail
;
5267 arg2
= (int)(SWIG_As_int(obj1
));
5268 if (SWIG_arg_fail(2)) SWIG_fail
;
5272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5273 (arg1
)->PopStatusText(arg2
);
5275 wxPyEndAllowThreads(__tstate
);
5276 if (PyErr_Occurred()) SWIG_fail
;
5278 Py_INCREF(Py_None
); resultobj
= Py_None
;
5285 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5286 PyObject
*resultobj
;
5287 wxFrame
*arg1
= (wxFrame
*) 0 ;
5289 PyObject
* obj0
= 0 ;
5290 PyObject
* obj1
= 0 ;
5292 (char *) "self",(char *) "n", NULL
5295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
5296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5297 if (SWIG_arg_fail(1)) SWIG_fail
;
5299 arg2
= (int)(SWIG_As_int(obj1
));
5300 if (SWIG_arg_fail(2)) SWIG_fail
;
5303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5304 (arg1
)->SetStatusBarPane(arg2
);
5306 wxPyEndAllowThreads(__tstate
);
5307 if (PyErr_Occurred()) SWIG_fail
;
5309 Py_INCREF(Py_None
); resultobj
= Py_None
;
5316 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5317 PyObject
*resultobj
;
5318 wxFrame
*arg1
= (wxFrame
*) 0 ;
5320 PyObject
* obj0
= 0 ;
5322 (char *) "self", NULL
5325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
5326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5327 if (SWIG_arg_fail(1)) SWIG_fail
;
5329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5330 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
5332 wxPyEndAllowThreads(__tstate
);
5333 if (PyErr_Occurred()) SWIG_fail
;
5336 resultobj
= SWIG_From_int((int)(result
));
5344 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5345 PyObject
*resultobj
;
5346 wxFrame
*arg1
= (wxFrame
*) 0 ;
5347 long arg2
= (long) -1 ;
5348 int arg3
= (int) -1 ;
5349 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
5350 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5352 bool temp4
= false ;
5353 PyObject
* obj0
= 0 ;
5354 PyObject
* obj1
= 0 ;
5355 PyObject
* obj2
= 0 ;
5356 PyObject
* obj3
= 0 ;
5358 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
5361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5363 if (SWIG_arg_fail(1)) SWIG_fail
;
5366 arg2
= (long)(SWIG_As_long(obj1
));
5367 if (SWIG_arg_fail(2)) SWIG_fail
;
5372 arg3
= (int)(SWIG_As_int(obj2
));
5373 if (SWIG_arg_fail(3)) SWIG_fail
;
5378 arg4
= wxString_in_helper(obj3
);
5379 if (arg4
== NULL
) SWIG_fail
;
5384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5385 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
5387 wxPyEndAllowThreads(__tstate
);
5388 if (PyErr_Occurred()) SWIG_fail
;
5391 resultobj
= wxPyMake_wxObject(result
, 0);
5407 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5408 PyObject
*resultobj
;
5409 wxFrame
*arg1
= (wxFrame
*) 0 ;
5411 PyObject
* obj0
= 0 ;
5413 (char *) "self", NULL
5416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
5417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5418 if (SWIG_arg_fail(1)) SWIG_fail
;
5420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5421 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
5423 wxPyEndAllowThreads(__tstate
);
5424 if (PyErr_Occurred()) SWIG_fail
;
5427 resultobj
= wxPyMake_wxObject(result
, 0);
5435 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5436 PyObject
*resultobj
;
5437 wxFrame
*arg1
= (wxFrame
*) 0 ;
5438 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
5439 PyObject
* obj0
= 0 ;
5440 PyObject
* obj1
= 0 ;
5442 (char *) "self",(char *) "toolbar", NULL
5445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
5446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5447 if (SWIG_arg_fail(1)) SWIG_fail
;
5448 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
5449 if (SWIG_arg_fail(2)) SWIG_fail
;
5451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5452 (arg1
)->SetToolBar(arg2
);
5454 wxPyEndAllowThreads(__tstate
);
5455 if (PyErr_Occurred()) SWIG_fail
;
5457 Py_INCREF(Py_None
); resultobj
= Py_None
;
5464 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5465 PyObject
*resultobj
;
5466 wxFrame
*arg1
= (wxFrame
*) 0 ;
5467 wxString
*arg2
= 0 ;
5469 bool temp2
= false ;
5470 PyObject
* obj0
= 0 ;
5471 PyObject
* obj1
= 0 ;
5472 PyObject
* obj2
= 0 ;
5474 (char *) "self",(char *) "text",(char *) "show", NULL
5477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5479 if (SWIG_arg_fail(1)) SWIG_fail
;
5481 arg2
= wxString_in_helper(obj1
);
5482 if (arg2
== NULL
) SWIG_fail
;
5486 arg3
= (bool)(SWIG_As_bool(obj2
));
5487 if (SWIG_arg_fail(3)) SWIG_fail
;
5490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5491 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
5493 wxPyEndAllowThreads(__tstate
);
5494 if (PyErr_Occurred()) SWIG_fail
;
5496 Py_INCREF(Py_None
); resultobj
= Py_None
;
5511 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5512 PyObject
*resultobj
;
5513 wxFrame
*arg1
= (wxFrame
*) 0 ;
5514 wxMenu
*arg2
= (wxMenu
*) NULL
;
5515 PyObject
* obj0
= 0 ;
5516 PyObject
* obj1
= 0 ;
5518 (char *) "self",(char *) "menu", NULL
5521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
5522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5523 if (SWIG_arg_fail(1)) SWIG_fail
;
5525 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
5526 if (SWIG_arg_fail(2)) SWIG_fail
;
5529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5530 (arg1
)->DoMenuUpdates(arg2
);
5532 wxPyEndAllowThreads(__tstate
);
5533 if (PyErr_Occurred()) SWIG_fail
;
5535 Py_INCREF(Py_None
); resultobj
= Py_None
;
5542 static PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5543 PyObject
*resultobj
;
5544 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5545 wxVisualAttributes result
;
5546 PyObject
* obj0
= 0 ;
5548 (char *) "variant", NULL
5551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5554 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
5555 if (SWIG_arg_fail(1)) SWIG_fail
;
5559 if (!wxPyCheckForApp()) SWIG_fail
;
5560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5561 result
= wxFrame::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5563 wxPyEndAllowThreads(__tstate
);
5564 if (PyErr_Occurred()) SWIG_fail
;
5567 wxVisualAttributes
* resultptr
;
5568 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
5569 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5577 static PyObject
* Frame_swigregister(PyObject
*, PyObject
*args
) {
5579 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5580 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
5582 return Py_BuildValue((char *)"");
5584 static PyObject
*_wrap_new_Dialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5585 PyObject
*resultobj
;
5586 wxWindow
*arg1
= (wxWindow
*) 0 ;
5587 int arg2
= (int) (int)-1 ;
5588 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5589 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5590 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5591 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5592 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5593 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5594 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
5595 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
5596 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5598 bool temp3
= false ;
5601 bool temp7
= false ;
5602 PyObject
* obj0
= 0 ;
5603 PyObject
* obj1
= 0 ;
5604 PyObject
* obj2
= 0 ;
5605 PyObject
* obj3
= 0 ;
5606 PyObject
* obj4
= 0 ;
5607 PyObject
* obj5
= 0 ;
5608 PyObject
* obj6
= 0 ;
5610 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5615 if (SWIG_arg_fail(1)) SWIG_fail
;
5618 arg2
= (int const)(SWIG_As_int(obj1
));
5619 if (SWIG_arg_fail(2)) SWIG_fail
;
5624 arg3
= wxString_in_helper(obj2
);
5625 if (arg3
== NULL
) SWIG_fail
;
5632 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5638 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5643 arg6
= (long)(SWIG_As_long(obj5
));
5644 if (SWIG_arg_fail(6)) SWIG_fail
;
5649 arg7
= wxString_in_helper(obj6
);
5650 if (arg7
== NULL
) SWIG_fail
;
5655 if (!wxPyCheckForApp()) SWIG_fail
;
5656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5657 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5659 wxPyEndAllowThreads(__tstate
);
5660 if (PyErr_Occurred()) SWIG_fail
;
5662 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
5685 static PyObject
*_wrap_new_PreDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5686 PyObject
*resultobj
;
5692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
5694 if (!wxPyCheckForApp()) SWIG_fail
;
5695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5696 result
= (wxDialog
*)new wxDialog();
5698 wxPyEndAllowThreads(__tstate
);
5699 if (PyErr_Occurred()) SWIG_fail
;
5701 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
5708 static PyObject
*_wrap_Dialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5709 PyObject
*resultobj
;
5710 wxDialog
*arg1
= (wxDialog
*) 0 ;
5711 wxWindow
*arg2
= (wxWindow
*) 0 ;
5712 int arg3
= (int) (int)-1 ;
5713 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5714 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5715 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5716 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5717 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5718 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5719 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
5720 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
5721 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5723 bool temp4
= false ;
5726 bool temp8
= false ;
5727 PyObject
* obj0
= 0 ;
5728 PyObject
* obj1
= 0 ;
5729 PyObject
* obj2
= 0 ;
5730 PyObject
* obj3
= 0 ;
5731 PyObject
* obj4
= 0 ;
5732 PyObject
* obj5
= 0 ;
5733 PyObject
* obj6
= 0 ;
5734 PyObject
* obj7
= 0 ;
5736 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5741 if (SWIG_arg_fail(1)) SWIG_fail
;
5742 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5743 if (SWIG_arg_fail(2)) SWIG_fail
;
5746 arg3
= (int const)(SWIG_As_int(obj2
));
5747 if (SWIG_arg_fail(3)) SWIG_fail
;
5752 arg4
= wxString_in_helper(obj3
);
5753 if (arg4
== NULL
) SWIG_fail
;
5760 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5766 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5771 arg7
= (long)(SWIG_As_long(obj6
));
5772 if (SWIG_arg_fail(7)) SWIG_fail
;
5777 arg8
= wxString_in_helper(obj7
);
5778 if (arg8
== NULL
) SWIG_fail
;
5783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5784 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5786 wxPyEndAllowThreads(__tstate
);
5787 if (PyErr_Occurred()) SWIG_fail
;
5790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5814 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5815 PyObject
*resultobj
;
5816 wxDialog
*arg1
= (wxDialog
*) 0 ;
5818 PyObject
* obj0
= 0 ;
5819 PyObject
* obj1
= 0 ;
5821 (char *) "self",(char *) "returnCode", NULL
5824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
5825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5826 if (SWIG_arg_fail(1)) SWIG_fail
;
5828 arg2
= (int)(SWIG_As_int(obj1
));
5829 if (SWIG_arg_fail(2)) SWIG_fail
;
5832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5833 (arg1
)->SetReturnCode(arg2
);
5835 wxPyEndAllowThreads(__tstate
);
5836 if (PyErr_Occurred()) SWIG_fail
;
5838 Py_INCREF(Py_None
); resultobj
= Py_None
;
5845 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5846 PyObject
*resultobj
;
5847 wxDialog
*arg1
= (wxDialog
*) 0 ;
5849 PyObject
* obj0
= 0 ;
5851 (char *) "self", NULL
5854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
5855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5856 if (SWIG_arg_fail(1)) SWIG_fail
;
5858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5859 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
5861 wxPyEndAllowThreads(__tstate
);
5862 if (PyErr_Occurred()) SWIG_fail
;
5865 resultobj
= SWIG_From_int((int)(result
));
5873 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5874 PyObject
*resultobj
;
5875 wxDialog
*arg1
= (wxDialog
*) 0 ;
5876 wxString
*arg2
= 0 ;
5878 bool temp2
= false ;
5879 PyObject
* obj0
= 0 ;
5880 PyObject
* obj1
= 0 ;
5882 (char *) "self",(char *) "message", NULL
5885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
5886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5887 if (SWIG_arg_fail(1)) SWIG_fail
;
5889 arg2
= wxString_in_helper(obj1
);
5890 if (arg2
== NULL
) SWIG_fail
;
5894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5895 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
5897 wxPyEndAllowThreads(__tstate
);
5898 if (PyErr_Occurred()) SWIG_fail
;
5901 resultobj
= wxPyMake_wxObject(result
, 0);
5917 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5918 PyObject
*resultobj
;
5919 wxDialog
*arg1
= (wxDialog
*) 0 ;
5922 PyObject
* obj0
= 0 ;
5923 PyObject
* obj1
= 0 ;
5925 (char *) "self",(char *) "flags", NULL
5928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
5929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5930 if (SWIG_arg_fail(1)) SWIG_fail
;
5932 arg2
= (long)(SWIG_As_long(obj1
));
5933 if (SWIG_arg_fail(2)) SWIG_fail
;
5936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5937 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
5939 wxPyEndAllowThreads(__tstate
);
5940 if (PyErr_Occurred()) SWIG_fail
;
5943 resultobj
= wxPyMake_wxObject(result
, 0);
5951 static PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5952 PyObject
*resultobj
;
5953 wxDialog
*arg1
= (wxDialog
*) 0 ;
5955 wxStdDialogButtonSizer
*result
;
5956 PyObject
* obj0
= 0 ;
5957 PyObject
* obj1
= 0 ;
5959 (char *) "self",(char *) "flags", NULL
5962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
5963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5964 if (SWIG_arg_fail(1)) SWIG_fail
;
5966 arg2
= (long)(SWIG_As_long(obj1
));
5967 if (SWIG_arg_fail(2)) SWIG_fail
;
5970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5971 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
5973 wxPyEndAllowThreads(__tstate
);
5974 if (PyErr_Occurred()) SWIG_fail
;
5976 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0);
5983 static PyObject
*_wrap_Dialog_IsModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5984 PyObject
*resultobj
;
5985 wxDialog
*arg1
= (wxDialog
*) 0 ;
5987 PyObject
* obj0
= 0 ;
5989 (char *) "self", NULL
5992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
5993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5994 if (SWIG_arg_fail(1)) SWIG_fail
;
5996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5997 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
5999 wxPyEndAllowThreads(__tstate
);
6000 if (PyErr_Occurred()) SWIG_fail
;
6003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6011 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6012 PyObject
*resultobj
;
6013 wxDialog
*arg1
= (wxDialog
*) 0 ;
6015 PyObject
* obj0
= 0 ;
6017 (char *) "self", NULL
6020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
6021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6022 if (SWIG_arg_fail(1)) SWIG_fail
;
6024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6025 result
= (int)(arg1
)->ShowModal();
6027 wxPyEndAllowThreads(__tstate
);
6028 if (PyErr_Occurred()) SWIG_fail
;
6031 resultobj
= SWIG_From_int((int)(result
));
6039 static PyObject
*_wrap_Dialog_EndModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6040 PyObject
*resultobj
;
6041 wxDialog
*arg1
= (wxDialog
*) 0 ;
6043 PyObject
* obj0
= 0 ;
6044 PyObject
* obj1
= 0 ;
6046 (char *) "self",(char *) "retCode", NULL
6049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
6050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6051 if (SWIG_arg_fail(1)) SWIG_fail
;
6053 arg2
= (int)(SWIG_As_int(obj1
));
6054 if (SWIG_arg_fail(2)) SWIG_fail
;
6057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6058 (arg1
)->EndModal(arg2
);
6060 wxPyEndAllowThreads(__tstate
);
6061 if (PyErr_Occurred()) SWIG_fail
;
6063 Py_INCREF(Py_None
); resultobj
= Py_None
;
6070 static PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6071 PyObject
*resultobj
;
6072 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6073 wxVisualAttributes result
;
6074 PyObject
* obj0
= 0 ;
6076 (char *) "variant", NULL
6079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6082 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6083 if (SWIG_arg_fail(1)) SWIG_fail
;
6087 if (!wxPyCheckForApp()) SWIG_fail
;
6088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6089 result
= wxDialog::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6091 wxPyEndAllowThreads(__tstate
);
6092 if (PyErr_Occurred()) SWIG_fail
;
6095 wxVisualAttributes
* resultptr
;
6096 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6097 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6105 static PyObject
* Dialog_swigregister(PyObject
*, PyObject
*args
) {
6107 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6108 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
6110 return Py_BuildValue((char *)"");
6112 static PyObject
*_wrap_new_MiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6113 PyObject
*resultobj
;
6114 wxWindow
*arg1
= (wxWindow
*) 0 ;
6115 int arg2
= (int) (int)-1 ;
6116 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6117 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6118 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6119 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6120 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6121 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6122 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6123 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6124 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6125 wxMiniFrame
*result
;
6126 bool temp3
= false ;
6129 bool temp7
= false ;
6130 PyObject
* obj0
= 0 ;
6131 PyObject
* obj1
= 0 ;
6132 PyObject
* obj2
= 0 ;
6133 PyObject
* obj3
= 0 ;
6134 PyObject
* obj4
= 0 ;
6135 PyObject
* obj5
= 0 ;
6136 PyObject
* obj6
= 0 ;
6138 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6143 if (SWIG_arg_fail(1)) SWIG_fail
;
6146 arg2
= (int const)(SWIG_As_int(obj1
));
6147 if (SWIG_arg_fail(2)) SWIG_fail
;
6152 arg3
= wxString_in_helper(obj2
);
6153 if (arg3
== NULL
) SWIG_fail
;
6160 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6166 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6171 arg6
= (long)(SWIG_As_long(obj5
));
6172 if (SWIG_arg_fail(6)) SWIG_fail
;
6177 arg7
= wxString_in_helper(obj6
);
6178 if (arg7
== NULL
) SWIG_fail
;
6183 if (!wxPyCheckForApp()) SWIG_fail
;
6184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6185 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6187 wxPyEndAllowThreads(__tstate
);
6188 if (PyErr_Occurred()) SWIG_fail
;
6190 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
6213 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6214 PyObject
*resultobj
;
6215 wxMiniFrame
*result
;
6220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
6222 if (!wxPyCheckForApp()) SWIG_fail
;
6223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6224 result
= (wxMiniFrame
*)new wxMiniFrame();
6226 wxPyEndAllowThreads(__tstate
);
6227 if (PyErr_Occurred()) SWIG_fail
;
6229 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
6236 static PyObject
*_wrap_MiniFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6237 PyObject
*resultobj
;
6238 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
6239 wxWindow
*arg2
= (wxWindow
*) 0 ;
6240 int arg3
= (int) (int)-1 ;
6241 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6242 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6243 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6244 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6245 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6246 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6247 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6248 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6249 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6251 bool temp4
= false ;
6254 bool temp8
= false ;
6255 PyObject
* obj0
= 0 ;
6256 PyObject
* obj1
= 0 ;
6257 PyObject
* obj2
= 0 ;
6258 PyObject
* obj3
= 0 ;
6259 PyObject
* obj4
= 0 ;
6260 PyObject
* obj5
= 0 ;
6261 PyObject
* obj6
= 0 ;
6262 PyObject
* obj7
= 0 ;
6264 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_EXCEPTION
| 0);
6269 if (SWIG_arg_fail(1)) SWIG_fail
;
6270 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6271 if (SWIG_arg_fail(2)) SWIG_fail
;
6274 arg3
= (int const)(SWIG_As_int(obj2
));
6275 if (SWIG_arg_fail(3)) SWIG_fail
;
6280 arg4
= wxString_in_helper(obj3
);
6281 if (arg4
== NULL
) SWIG_fail
;
6288 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6294 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6299 arg7
= (long)(SWIG_As_long(obj6
));
6300 if (SWIG_arg_fail(7)) SWIG_fail
;
6305 arg8
= wxString_in_helper(obj7
);
6306 if (arg8
== NULL
) SWIG_fail
;
6311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6312 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6314 wxPyEndAllowThreads(__tstate
);
6315 if (PyErr_Occurred()) SWIG_fail
;
6318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6342 static PyObject
* MiniFrame_swigregister(PyObject
*, PyObject
*args
) {
6344 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6345 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
6347 return Py_BuildValue((char *)"");
6349 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6350 PyObject
*resultobj
;
6351 wxBitmap
*arg1
= 0 ;
6352 wxWindow
*arg2
= (wxWindow
*) 0 ;
6354 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6355 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6356 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6357 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6358 long arg6
= (long) wxNO_BORDER
;
6359 wxSplashScreenWindow
*result
;
6362 PyObject
* obj0
= 0 ;
6363 PyObject
* obj1
= 0 ;
6364 PyObject
* obj2
= 0 ;
6365 PyObject
* obj3
= 0 ;
6366 PyObject
* obj4
= 0 ;
6367 PyObject
* obj5
= 0 ;
6369 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6375 if (SWIG_arg_fail(1)) SWIG_fail
;
6377 SWIG_null_ref("wxBitmap");
6379 if (SWIG_arg_fail(1)) SWIG_fail
;
6381 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6382 if (SWIG_arg_fail(2)) SWIG_fail
;
6384 arg3
= (int)(SWIG_As_int(obj2
));
6385 if (SWIG_arg_fail(3)) SWIG_fail
;
6390 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6396 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6401 arg6
= (long)(SWIG_As_long(obj5
));
6402 if (SWIG_arg_fail(6)) SWIG_fail
;
6406 if (!wxPyCheckForApp()) SWIG_fail
;
6407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6408 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
6410 wxPyEndAllowThreads(__tstate
);
6411 if (PyErr_Occurred()) SWIG_fail
;
6413 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
6420 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6421 PyObject
*resultobj
;
6422 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
6423 wxBitmap
*arg2
= 0 ;
6424 PyObject
* obj0
= 0 ;
6425 PyObject
* obj1
= 0 ;
6427 (char *) "self",(char *) "bitmap", NULL
6430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
6431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_EXCEPTION
| 0);
6432 if (SWIG_arg_fail(1)) SWIG_fail
;
6434 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6435 if (SWIG_arg_fail(2)) SWIG_fail
;
6437 SWIG_null_ref("wxBitmap");
6439 if (SWIG_arg_fail(2)) SWIG_fail
;
6442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6443 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
6445 wxPyEndAllowThreads(__tstate
);
6446 if (PyErr_Occurred()) SWIG_fail
;
6448 Py_INCREF(Py_None
); resultobj
= Py_None
;
6455 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6456 PyObject
*resultobj
;
6457 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
6459 PyObject
* obj0
= 0 ;
6461 (char *) "self", NULL
6464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
6465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_EXCEPTION
| 0);
6466 if (SWIG_arg_fail(1)) SWIG_fail
;
6468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6470 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
6471 result
= (wxBitmap
*) &_result_ref
;
6474 wxPyEndAllowThreads(__tstate
);
6475 if (PyErr_Occurred()) SWIG_fail
;
6478 wxBitmap
* resultptr
= new wxBitmap(*result
);
6479 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
6487 static PyObject
* SplashScreenWindow_swigregister(PyObject
*, PyObject
*args
) {
6489 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6490 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
6492 return Py_BuildValue((char *)"");
6494 static PyObject
*_wrap_new_SplashScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6495 PyObject
*resultobj
;
6496 wxBitmap
*arg1
= 0 ;
6499 wxWindow
*arg4
= (wxWindow
*) 0 ;
6500 int arg5
= (int) -1 ;
6501 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
6502 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
6503 wxSize
const &arg7_defvalue
= wxDefaultSize
;
6504 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
6505 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
6506 wxSplashScreen
*result
;
6509 PyObject
* obj0
= 0 ;
6510 PyObject
* obj1
= 0 ;
6511 PyObject
* obj2
= 0 ;
6512 PyObject
* obj3
= 0 ;
6513 PyObject
* obj4
= 0 ;
6514 PyObject
* obj5
= 0 ;
6515 PyObject
* obj6
= 0 ;
6516 PyObject
* obj7
= 0 ;
6518 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6524 if (SWIG_arg_fail(1)) SWIG_fail
;
6526 SWIG_null_ref("wxBitmap");
6528 if (SWIG_arg_fail(1)) SWIG_fail
;
6531 arg2
= (long)(SWIG_As_long(obj1
));
6532 if (SWIG_arg_fail(2)) SWIG_fail
;
6535 arg3
= (int)(SWIG_As_int(obj2
));
6536 if (SWIG_arg_fail(3)) SWIG_fail
;
6538 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6539 if (SWIG_arg_fail(4)) SWIG_fail
;
6542 arg5
= (int)(SWIG_As_int(obj4
));
6543 if (SWIG_arg_fail(5)) SWIG_fail
;
6549 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
6555 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
6560 arg8
= (long)(SWIG_As_long(obj7
));
6561 if (SWIG_arg_fail(8)) SWIG_fail
;
6565 if (!wxPyCheckForApp()) SWIG_fail
;
6566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6567 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
6569 wxPyEndAllowThreads(__tstate
);
6570 if (PyErr_Occurred()) SWIG_fail
;
6572 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
6579 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6580 PyObject
*resultobj
;
6581 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6583 PyObject
* obj0
= 0 ;
6585 (char *) "self", NULL
6588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
6589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6590 if (SWIG_arg_fail(1)) SWIG_fail
;
6592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6593 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
6595 wxPyEndAllowThreads(__tstate
);
6596 if (PyErr_Occurred()) SWIG_fail
;
6599 resultobj
= SWIG_From_long((long)(result
));
6607 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6608 PyObject
*resultobj
;
6609 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6610 wxSplashScreenWindow
*result
;
6611 PyObject
* obj0
= 0 ;
6613 (char *) "self", NULL
6616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
6617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6618 if (SWIG_arg_fail(1)) SWIG_fail
;
6620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6621 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
6623 wxPyEndAllowThreads(__tstate
);
6624 if (PyErr_Occurred()) SWIG_fail
;
6626 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
6633 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6634 PyObject
*resultobj
;
6635 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6637 PyObject
* obj0
= 0 ;
6639 (char *) "self", NULL
6642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
6643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6644 if (SWIG_arg_fail(1)) SWIG_fail
;
6646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6647 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
6649 wxPyEndAllowThreads(__tstate
);
6650 if (PyErr_Occurred()) SWIG_fail
;
6653 resultobj
= SWIG_From_int((int)(result
));
6661 static PyObject
* SplashScreen_swigregister(PyObject
*, PyObject
*args
) {
6663 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6664 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
6666 return Py_BuildValue((char *)"");
6668 static PyObject
*_wrap_new_StatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6669 PyObject
*resultobj
;
6670 wxWindow
*arg1
= (wxWindow
*) 0 ;
6671 int arg2
= (int) -1 ;
6672 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
6673 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
6674 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6675 wxStatusBar
*result
;
6676 bool temp4
= false ;
6677 PyObject
* obj0
= 0 ;
6678 PyObject
* obj1
= 0 ;
6679 PyObject
* obj2
= 0 ;
6680 PyObject
* obj3
= 0 ;
6682 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6687 if (SWIG_arg_fail(1)) SWIG_fail
;
6690 arg2
= (int)(SWIG_As_int(obj1
));
6691 if (SWIG_arg_fail(2)) SWIG_fail
;
6696 arg3
= (long)(SWIG_As_long(obj2
));
6697 if (SWIG_arg_fail(3)) SWIG_fail
;
6702 arg4
= wxString_in_helper(obj3
);
6703 if (arg4
== NULL
) SWIG_fail
;
6708 if (!wxPyCheckForApp()) SWIG_fail
;
6709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6710 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
6712 wxPyEndAllowThreads(__tstate
);
6713 if (PyErr_Occurred()) SWIG_fail
;
6715 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
6730 static PyObject
*_wrap_new_PreStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6731 PyObject
*resultobj
;
6732 wxStatusBar
*result
;
6737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
6739 if (!wxPyCheckForApp()) SWIG_fail
;
6740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6741 result
= (wxStatusBar
*)new wxStatusBar();
6743 wxPyEndAllowThreads(__tstate
);
6744 if (PyErr_Occurred()) SWIG_fail
;
6746 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
6753 static PyObject
*_wrap_StatusBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6754 PyObject
*resultobj
;
6755 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6756 wxWindow
*arg2
= (wxWindow
*) 0 ;
6757 int arg3
= (int) -1 ;
6758 long arg4
= (long) wxST_SIZEGRIP
;
6759 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6760 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6762 bool temp5
= false ;
6763 PyObject
* obj0
= 0 ;
6764 PyObject
* obj1
= 0 ;
6765 PyObject
* obj2
= 0 ;
6766 PyObject
* obj3
= 0 ;
6767 PyObject
* obj4
= 0 ;
6769 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6774 if (SWIG_arg_fail(1)) SWIG_fail
;
6775 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6776 if (SWIG_arg_fail(2)) SWIG_fail
;
6779 arg3
= (int)(SWIG_As_int(obj2
));
6780 if (SWIG_arg_fail(3)) SWIG_fail
;
6785 arg4
= (long)(SWIG_As_long(obj3
));
6786 if (SWIG_arg_fail(4)) SWIG_fail
;
6791 arg5
= wxString_in_helper(obj4
);
6792 if (arg5
== NULL
) SWIG_fail
;
6797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6798 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6800 wxPyEndAllowThreads(__tstate
);
6801 if (PyErr_Occurred()) SWIG_fail
;
6804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6820 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6821 PyObject
*resultobj
;
6822 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6823 int arg2
= (int) 1 ;
6824 PyObject
* obj0
= 0 ;
6825 PyObject
* obj1
= 0 ;
6827 (char *) "self",(char *) "number", NULL
6830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
6831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6832 if (SWIG_arg_fail(1)) SWIG_fail
;
6835 arg2
= (int)(SWIG_As_int(obj1
));
6836 if (SWIG_arg_fail(2)) SWIG_fail
;
6840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6841 (arg1
)->SetFieldsCount(arg2
);
6843 wxPyEndAllowThreads(__tstate
);
6844 if (PyErr_Occurred()) SWIG_fail
;
6846 Py_INCREF(Py_None
); resultobj
= Py_None
;
6853 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6854 PyObject
*resultobj
;
6855 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6857 PyObject
* obj0
= 0 ;
6859 (char *) "self", NULL
6862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
6863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6864 if (SWIG_arg_fail(1)) SWIG_fail
;
6866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6867 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
6869 wxPyEndAllowThreads(__tstate
);
6870 if (PyErr_Occurred()) SWIG_fail
;
6873 resultobj
= SWIG_From_int((int)(result
));
6881 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6882 PyObject
*resultobj
;
6883 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6884 wxString
*arg2
= 0 ;
6885 int arg3
= (int) 0 ;
6886 bool temp2
= false ;
6887 PyObject
* obj0
= 0 ;
6888 PyObject
* obj1
= 0 ;
6889 PyObject
* obj2
= 0 ;
6891 (char *) "self",(char *) "text",(char *) "number", NULL
6894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6896 if (SWIG_arg_fail(1)) SWIG_fail
;
6898 arg2
= wxString_in_helper(obj1
);
6899 if (arg2
== NULL
) SWIG_fail
;
6904 arg3
= (int)(SWIG_As_int(obj2
));
6905 if (SWIG_arg_fail(3)) SWIG_fail
;
6909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6910 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6912 wxPyEndAllowThreads(__tstate
);
6913 if (PyErr_Occurred()) SWIG_fail
;
6915 Py_INCREF(Py_None
); resultobj
= Py_None
;
6930 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6931 PyObject
*resultobj
;
6932 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6933 int arg2
= (int) 0 ;
6935 PyObject
* obj0
= 0 ;
6936 PyObject
* obj1
= 0 ;
6938 (char *) "self",(char *) "number", NULL
6941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
6942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6943 if (SWIG_arg_fail(1)) SWIG_fail
;
6946 arg2
= (int)(SWIG_As_int(obj1
));
6947 if (SWIG_arg_fail(2)) SWIG_fail
;
6951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6952 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
6954 wxPyEndAllowThreads(__tstate
);
6955 if (PyErr_Occurred()) SWIG_fail
;
6959 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6961 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6970 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6971 PyObject
*resultobj
;
6972 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6973 wxString
*arg2
= 0 ;
6974 int arg3
= (int) 0 ;
6975 bool temp2
= false ;
6976 PyObject
* obj0
= 0 ;
6977 PyObject
* obj1
= 0 ;
6978 PyObject
* obj2
= 0 ;
6980 (char *) "self",(char *) "text",(char *) "number", NULL
6983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6985 if (SWIG_arg_fail(1)) SWIG_fail
;
6987 arg2
= wxString_in_helper(obj1
);
6988 if (arg2
== NULL
) SWIG_fail
;
6993 arg3
= (int)(SWIG_As_int(obj2
));
6994 if (SWIG_arg_fail(3)) SWIG_fail
;
6998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6999 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
7001 wxPyEndAllowThreads(__tstate
);
7002 if (PyErr_Occurred()) SWIG_fail
;
7004 Py_INCREF(Py_None
); resultobj
= Py_None
;
7019 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7020 PyObject
*resultobj
;
7021 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7022 int arg2
= (int) 0 ;
7023 PyObject
* obj0
= 0 ;
7024 PyObject
* obj1
= 0 ;
7026 (char *) "self",(char *) "number", NULL
7029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
7030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7031 if (SWIG_arg_fail(1)) SWIG_fail
;
7034 arg2
= (int)(SWIG_As_int(obj1
));
7035 if (SWIG_arg_fail(2)) SWIG_fail
;
7039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7040 (arg1
)->PopStatusText(arg2
);
7042 wxPyEndAllowThreads(__tstate
);
7043 if (PyErr_Occurred()) SWIG_fail
;
7045 Py_INCREF(Py_None
); resultobj
= Py_None
;
7052 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7053 PyObject
*resultobj
;
7054 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7056 int *arg3
= (int *) 0 ;
7057 PyObject
* obj0
= 0 ;
7058 PyObject
* obj1
= 0 ;
7060 (char *) "self",(char *) "widths", NULL
7063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
7064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7065 if (SWIG_arg_fail(1)) SWIG_fail
;
7067 arg2
= PyList_Size(obj1
);
7068 arg3
= int_LIST_helper(obj1
);
7069 if (arg3
== NULL
) SWIG_fail
;
7072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7073 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
7075 wxPyEndAllowThreads(__tstate
);
7076 if (PyErr_Occurred()) SWIG_fail
;
7078 Py_INCREF(Py_None
); resultobj
= Py_None
;
7080 if (arg3
) delete [] arg3
;
7085 if (arg3
) delete [] arg3
;
7091 static PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7092 PyObject
*resultobj
;
7093 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7095 int *arg3
= (int *) 0 ;
7096 PyObject
* obj0
= 0 ;
7097 PyObject
* obj1
= 0 ;
7099 (char *) "self",(char *) "styles", NULL
7102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) goto fail
;
7103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7104 if (SWIG_arg_fail(1)) SWIG_fail
;
7106 arg2
= PyList_Size(obj1
);
7107 arg3
= int_LIST_helper(obj1
);
7108 if (arg3
== NULL
) SWIG_fail
;
7111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7112 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
7114 wxPyEndAllowThreads(__tstate
);
7115 if (PyErr_Occurred()) SWIG_fail
;
7117 Py_INCREF(Py_None
); resultobj
= Py_None
;
7119 if (arg3
) delete [] arg3
;
7124 if (arg3
) delete [] arg3
;
7130 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7131 PyObject
*resultobj
;
7132 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7135 PyObject
* obj0
= 0 ;
7136 PyObject
* obj1
= 0 ;
7138 (char *) "self",(char *) "i", NULL
7141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7143 if (SWIG_arg_fail(1)) SWIG_fail
;
7145 arg2
= (int)(SWIG_As_int(obj1
));
7146 if (SWIG_arg_fail(2)) SWIG_fail
;
7149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7150 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
7152 wxPyEndAllowThreads(__tstate
);
7153 if (PyErr_Occurred()) SWIG_fail
;
7157 resultptr
= new wxRect((wxRect
&)(result
));
7158 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7166 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7167 PyObject
*resultobj
;
7168 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7170 PyObject
* obj0
= 0 ;
7171 PyObject
* obj1
= 0 ;
7173 (char *) "self",(char *) "height", NULL
7176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
7177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7178 if (SWIG_arg_fail(1)) SWIG_fail
;
7180 arg2
= (int)(SWIG_As_int(obj1
));
7181 if (SWIG_arg_fail(2)) SWIG_fail
;
7184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7185 (arg1
)->SetMinHeight(arg2
);
7187 wxPyEndAllowThreads(__tstate
);
7188 if (PyErr_Occurred()) SWIG_fail
;
7190 Py_INCREF(Py_None
); resultobj
= Py_None
;
7197 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7198 PyObject
*resultobj
;
7199 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7201 PyObject
* obj0
= 0 ;
7203 (char *) "self", NULL
7206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
7207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7208 if (SWIG_arg_fail(1)) SWIG_fail
;
7210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7211 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
7213 wxPyEndAllowThreads(__tstate
);
7214 if (PyErr_Occurred()) SWIG_fail
;
7217 resultobj
= SWIG_From_int((int)(result
));
7225 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7226 PyObject
*resultobj
;
7227 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7229 PyObject
* obj0
= 0 ;
7231 (char *) "self", NULL
7234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
7235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7236 if (SWIG_arg_fail(1)) SWIG_fail
;
7238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7239 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
7241 wxPyEndAllowThreads(__tstate
);
7242 if (PyErr_Occurred()) SWIG_fail
;
7245 resultobj
= SWIG_From_int((int)(result
));
7253 static PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7254 PyObject
*resultobj
;
7255 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7256 wxVisualAttributes result
;
7257 PyObject
* obj0
= 0 ;
7259 (char *) "variant", NULL
7262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
7265 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
7266 if (SWIG_arg_fail(1)) SWIG_fail
;
7270 if (!wxPyCheckForApp()) SWIG_fail
;
7271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7272 result
= wxStatusBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
7274 wxPyEndAllowThreads(__tstate
);
7275 if (PyErr_Occurred()) SWIG_fail
;
7278 wxVisualAttributes
* resultptr
;
7279 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
7280 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
7288 static PyObject
* StatusBar_swigregister(PyObject
*, PyObject
*args
) {
7290 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7291 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
7293 return Py_BuildValue((char *)"");
7295 static int _wrap_SplitterNameStr_set(PyObject
*) {
7296 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
7301 static PyObject
*_wrap_SplitterNameStr_get(void) {
7306 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
7308 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
7315 static PyObject
*_wrap_new_SplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7316 PyObject
*resultobj
;
7317 wxWindow
*arg1
= (wxWindow
*) 0 ;
7318 int arg2
= (int) -1 ;
7319 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7320 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7321 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7322 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7323 long arg5
= (long) wxSP_3D
;
7324 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
7325 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7326 wxSplitterWindow
*result
;
7329 bool temp6
= false ;
7330 PyObject
* obj0
= 0 ;
7331 PyObject
* obj1
= 0 ;
7332 PyObject
* obj2
= 0 ;
7333 PyObject
* obj3
= 0 ;
7334 PyObject
* obj4
= 0 ;
7335 PyObject
* obj5
= 0 ;
7337 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7342 if (SWIG_arg_fail(1)) SWIG_fail
;
7345 arg2
= (int)(SWIG_As_int(obj1
));
7346 if (SWIG_arg_fail(2)) SWIG_fail
;
7352 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7358 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7363 arg5
= (long)(SWIG_As_long(obj4
));
7364 if (SWIG_arg_fail(5)) SWIG_fail
;
7369 arg6
= wxString_in_helper(obj5
);
7370 if (arg6
== NULL
) SWIG_fail
;
7375 if (!wxPyCheckForApp()) SWIG_fail
;
7376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7377 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7379 wxPyEndAllowThreads(__tstate
);
7380 if (PyErr_Occurred()) SWIG_fail
;
7382 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
7397 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7398 PyObject
*resultobj
;
7399 wxSplitterWindow
*result
;
7404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
7406 if (!wxPyCheckForApp()) SWIG_fail
;
7407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7408 result
= (wxSplitterWindow
*)new wxSplitterWindow();
7410 wxPyEndAllowThreads(__tstate
);
7411 if (PyErr_Occurred()) SWIG_fail
;
7413 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
7420 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7421 PyObject
*resultobj
;
7422 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7423 wxWindow
*arg2
= (wxWindow
*) 0 ;
7424 int arg3
= (int) -1 ;
7425 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7426 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7427 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7428 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7429 long arg6
= (long) wxSP_3D
;
7430 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
7431 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7435 bool temp7
= false ;
7436 PyObject
* obj0
= 0 ;
7437 PyObject
* obj1
= 0 ;
7438 PyObject
* obj2
= 0 ;
7439 PyObject
* obj3
= 0 ;
7440 PyObject
* obj4
= 0 ;
7441 PyObject
* obj5
= 0 ;
7442 PyObject
* obj6
= 0 ;
7444 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7449 if (SWIG_arg_fail(1)) SWIG_fail
;
7450 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7451 if (SWIG_arg_fail(2)) SWIG_fail
;
7454 arg3
= (int)(SWIG_As_int(obj2
));
7455 if (SWIG_arg_fail(3)) SWIG_fail
;
7461 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7467 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7472 arg6
= (long)(SWIG_As_long(obj5
));
7473 if (SWIG_arg_fail(6)) SWIG_fail
;
7478 arg7
= wxString_in_helper(obj6
);
7479 if (arg7
== NULL
) SWIG_fail
;
7484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7485 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7487 wxPyEndAllowThreads(__tstate
);
7488 if (PyErr_Occurred()) SWIG_fail
;
7491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7507 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7508 PyObject
*resultobj
;
7509 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7511 PyObject
* obj0
= 0 ;
7513 (char *) "self", NULL
7516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
7517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7518 if (SWIG_arg_fail(1)) SWIG_fail
;
7520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7521 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
7523 wxPyEndAllowThreads(__tstate
);
7524 if (PyErr_Occurred()) SWIG_fail
;
7527 resultobj
= wxPyMake_wxObject(result
, 0);
7535 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7536 PyObject
*resultobj
;
7537 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7539 PyObject
* obj0
= 0 ;
7541 (char *) "self", NULL
7544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
7545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7546 if (SWIG_arg_fail(1)) SWIG_fail
;
7548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7549 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
7551 wxPyEndAllowThreads(__tstate
);
7552 if (PyErr_Occurred()) SWIG_fail
;
7555 resultobj
= wxPyMake_wxObject(result
, 0);
7563 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7564 PyObject
*resultobj
;
7565 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7567 PyObject
* obj0
= 0 ;
7568 PyObject
* obj1
= 0 ;
7570 (char *) "self",(char *) "mode", NULL
7573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
7574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7575 if (SWIG_arg_fail(1)) SWIG_fail
;
7577 arg2
= (int)(SWIG_As_int(obj1
));
7578 if (SWIG_arg_fail(2)) SWIG_fail
;
7581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7582 (arg1
)->SetSplitMode(arg2
);
7584 wxPyEndAllowThreads(__tstate
);
7585 if (PyErr_Occurred()) SWIG_fail
;
7587 Py_INCREF(Py_None
); resultobj
= Py_None
;
7594 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7595 PyObject
*resultobj
;
7596 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7598 PyObject
* obj0
= 0 ;
7600 (char *) "self", NULL
7603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
7604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7605 if (SWIG_arg_fail(1)) SWIG_fail
;
7607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7608 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
7610 wxPyEndAllowThreads(__tstate
);
7611 if (PyErr_Occurred()) SWIG_fail
;
7613 resultobj
= SWIG_From_int((result
));
7620 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7621 PyObject
*resultobj
;
7622 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7623 wxWindow
*arg2
= (wxWindow
*) 0 ;
7624 PyObject
* obj0
= 0 ;
7625 PyObject
* obj1
= 0 ;
7627 (char *) "self",(char *) "window", NULL
7630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
7631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7632 if (SWIG_arg_fail(1)) SWIG_fail
;
7633 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7634 if (SWIG_arg_fail(2)) SWIG_fail
;
7636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7637 (arg1
)->Initialize(arg2
);
7639 wxPyEndAllowThreads(__tstate
);
7640 if (PyErr_Occurred()) SWIG_fail
;
7642 Py_INCREF(Py_None
); resultobj
= Py_None
;
7649 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7650 PyObject
*resultobj
;
7651 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7652 wxWindow
*arg2
= (wxWindow
*) 0 ;
7653 wxWindow
*arg3
= (wxWindow
*) 0 ;
7654 int arg4
= (int) 0 ;
7656 PyObject
* obj0
= 0 ;
7657 PyObject
* obj1
= 0 ;
7658 PyObject
* obj2
= 0 ;
7659 PyObject
* obj3
= 0 ;
7661 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7666 if (SWIG_arg_fail(1)) SWIG_fail
;
7667 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7668 if (SWIG_arg_fail(2)) SWIG_fail
;
7669 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7670 if (SWIG_arg_fail(3)) SWIG_fail
;
7673 arg4
= (int)(SWIG_As_int(obj3
));
7674 if (SWIG_arg_fail(4)) SWIG_fail
;
7678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7679 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
7681 wxPyEndAllowThreads(__tstate
);
7682 if (PyErr_Occurred()) SWIG_fail
;
7685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7693 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7694 PyObject
*resultobj
;
7695 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7696 wxWindow
*arg2
= (wxWindow
*) 0 ;
7697 wxWindow
*arg3
= (wxWindow
*) 0 ;
7698 int arg4
= (int) 0 ;
7700 PyObject
* obj0
= 0 ;
7701 PyObject
* obj1
= 0 ;
7702 PyObject
* obj2
= 0 ;
7703 PyObject
* obj3
= 0 ;
7705 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7710 if (SWIG_arg_fail(1)) SWIG_fail
;
7711 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7712 if (SWIG_arg_fail(2)) SWIG_fail
;
7713 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7714 if (SWIG_arg_fail(3)) SWIG_fail
;
7717 arg4
= (int)(SWIG_As_int(obj3
));
7718 if (SWIG_arg_fail(4)) SWIG_fail
;
7722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7723 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
7725 wxPyEndAllowThreads(__tstate
);
7726 if (PyErr_Occurred()) SWIG_fail
;
7729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7737 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7738 PyObject
*resultobj
;
7739 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7740 wxWindow
*arg2
= (wxWindow
*) NULL
;
7742 PyObject
* obj0
= 0 ;
7743 PyObject
* obj1
= 0 ;
7745 (char *) "self",(char *) "toRemove", NULL
7748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
7749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7750 if (SWIG_arg_fail(1)) SWIG_fail
;
7752 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7753 if (SWIG_arg_fail(2)) SWIG_fail
;
7756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7757 result
= (bool)(arg1
)->Unsplit(arg2
);
7759 wxPyEndAllowThreads(__tstate
);
7760 if (PyErr_Occurred()) SWIG_fail
;
7763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7771 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7772 PyObject
*resultobj
;
7773 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7774 wxWindow
*arg2
= (wxWindow
*) 0 ;
7775 wxWindow
*arg3
= (wxWindow
*) 0 ;
7777 PyObject
* obj0
= 0 ;
7778 PyObject
* obj1
= 0 ;
7779 PyObject
* obj2
= 0 ;
7781 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
7784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7786 if (SWIG_arg_fail(1)) SWIG_fail
;
7787 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7788 if (SWIG_arg_fail(2)) SWIG_fail
;
7789 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7790 if (SWIG_arg_fail(3)) SWIG_fail
;
7792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7793 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
7795 wxPyEndAllowThreads(__tstate
);
7796 if (PyErr_Occurred()) SWIG_fail
;
7799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7807 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7808 PyObject
*resultobj
;
7809 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7810 PyObject
* obj0
= 0 ;
7812 (char *) "self", NULL
7815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
7816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7817 if (SWIG_arg_fail(1)) SWIG_fail
;
7819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7820 (arg1
)->UpdateSize();
7822 wxPyEndAllowThreads(__tstate
);
7823 if (PyErr_Occurred()) SWIG_fail
;
7825 Py_INCREF(Py_None
); resultobj
= Py_None
;
7832 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7833 PyObject
*resultobj
;
7834 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7836 PyObject
* obj0
= 0 ;
7838 (char *) "self", NULL
7841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
7842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7843 if (SWIG_arg_fail(1)) SWIG_fail
;
7845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7846 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
7848 wxPyEndAllowThreads(__tstate
);
7849 if (PyErr_Occurred()) SWIG_fail
;
7852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7860 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7861 PyObject
*resultobj
;
7862 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7864 PyObject
* obj0
= 0 ;
7865 PyObject
* obj1
= 0 ;
7867 (char *) "self",(char *) "width", NULL
7870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7872 if (SWIG_arg_fail(1)) SWIG_fail
;
7874 arg2
= (int)(SWIG_As_int(obj1
));
7875 if (SWIG_arg_fail(2)) SWIG_fail
;
7878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7879 (arg1
)->SetSashSize(arg2
);
7881 wxPyEndAllowThreads(__tstate
);
7882 if (PyErr_Occurred()) SWIG_fail
;
7884 Py_INCREF(Py_None
); resultobj
= Py_None
;
7891 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7892 PyObject
*resultobj
;
7893 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7895 PyObject
* obj0
= 0 ;
7896 PyObject
* obj1
= 0 ;
7898 (char *) "self",(char *) "width", NULL
7901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7903 if (SWIG_arg_fail(1)) SWIG_fail
;
7905 arg2
= (int)(SWIG_As_int(obj1
));
7906 if (SWIG_arg_fail(2)) SWIG_fail
;
7909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7910 (arg1
)->SetBorderSize(arg2
);
7912 wxPyEndAllowThreads(__tstate
);
7913 if (PyErr_Occurred()) SWIG_fail
;
7915 Py_INCREF(Py_None
); resultobj
= Py_None
;
7922 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7923 PyObject
*resultobj
;
7924 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7926 PyObject
* obj0
= 0 ;
7928 (char *) "self", NULL
7931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
7932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7933 if (SWIG_arg_fail(1)) SWIG_fail
;
7935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7936 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
7938 wxPyEndAllowThreads(__tstate
);
7939 if (PyErr_Occurred()) SWIG_fail
;
7942 resultobj
= SWIG_From_int((int)(result
));
7950 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7951 PyObject
*resultobj
;
7952 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7954 PyObject
* obj0
= 0 ;
7956 (char *) "self", NULL
7959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
7960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7961 if (SWIG_arg_fail(1)) SWIG_fail
;
7963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7964 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
7966 wxPyEndAllowThreads(__tstate
);
7967 if (PyErr_Occurred()) SWIG_fail
;
7970 resultobj
= SWIG_From_int((int)(result
));
7978 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7979 PyObject
*resultobj
;
7980 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7982 bool arg3
= (bool) true ;
7983 PyObject
* obj0
= 0 ;
7984 PyObject
* obj1
= 0 ;
7985 PyObject
* obj2
= 0 ;
7987 (char *) "self",(char *) "position",(char *) "redraw", NULL
7990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7992 if (SWIG_arg_fail(1)) SWIG_fail
;
7994 arg2
= (int)(SWIG_As_int(obj1
));
7995 if (SWIG_arg_fail(2)) SWIG_fail
;
7999 arg3
= (bool)(SWIG_As_bool(obj2
));
8000 if (SWIG_arg_fail(3)) SWIG_fail
;
8004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8005 (arg1
)->SetSashPosition(arg2
,arg3
);
8007 wxPyEndAllowThreads(__tstate
);
8008 if (PyErr_Occurred()) SWIG_fail
;
8010 Py_INCREF(Py_None
); resultobj
= Py_None
;
8017 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8018 PyObject
*resultobj
;
8019 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8021 PyObject
* obj0
= 0 ;
8023 (char *) "self", NULL
8026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
8027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8028 if (SWIG_arg_fail(1)) SWIG_fail
;
8030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8031 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
8033 wxPyEndAllowThreads(__tstate
);
8034 if (PyErr_Occurred()) SWIG_fail
;
8037 resultobj
= SWIG_From_int((int)(result
));
8045 static PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8046 PyObject
*resultobj
;
8047 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8049 PyObject
* obj0
= 0 ;
8050 PyObject
* obj1
= 0 ;
8052 (char *) "self",(char *) "gravity", NULL
8055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) goto fail
;
8056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8057 if (SWIG_arg_fail(1)) SWIG_fail
;
8059 arg2
= (double)(SWIG_As_double(obj1
));
8060 if (SWIG_arg_fail(2)) SWIG_fail
;
8063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8064 (arg1
)->SetSashGravity(arg2
);
8066 wxPyEndAllowThreads(__tstate
);
8067 if (PyErr_Occurred()) SWIG_fail
;
8069 Py_INCREF(Py_None
); resultobj
= Py_None
;
8076 static PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8077 PyObject
*resultobj
;
8078 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8080 PyObject
* obj0
= 0 ;
8082 (char *) "self", NULL
8085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashGravity",kwnames
,&obj0
)) goto fail
;
8086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8087 if (SWIG_arg_fail(1)) SWIG_fail
;
8089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8090 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
8092 wxPyEndAllowThreads(__tstate
);
8093 if (PyErr_Occurred()) SWIG_fail
;
8096 resultobj
= SWIG_From_double((double)(result
));
8104 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8105 PyObject
*resultobj
;
8106 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8108 PyObject
* obj0
= 0 ;
8109 PyObject
* obj1
= 0 ;
8111 (char *) "self",(char *) "min", NULL
8114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8116 if (SWIG_arg_fail(1)) SWIG_fail
;
8118 arg2
= (int)(SWIG_As_int(obj1
));
8119 if (SWIG_arg_fail(2)) SWIG_fail
;
8122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8123 (arg1
)->SetMinimumPaneSize(arg2
);
8125 wxPyEndAllowThreads(__tstate
);
8126 if (PyErr_Occurred()) SWIG_fail
;
8128 Py_INCREF(Py_None
); resultobj
= Py_None
;
8135 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8136 PyObject
*resultobj
;
8137 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8139 PyObject
* obj0
= 0 ;
8141 (char *) "self", NULL
8144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
8145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8146 if (SWIG_arg_fail(1)) SWIG_fail
;
8148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8149 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
8151 wxPyEndAllowThreads(__tstate
);
8152 if (PyErr_Occurred()) SWIG_fail
;
8155 resultobj
= SWIG_From_int((int)(result
));
8163 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8164 PyObject
*resultobj
;
8165 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8168 int arg4
= (int) 5 ;
8170 PyObject
* obj0
= 0 ;
8171 PyObject
* obj1
= 0 ;
8172 PyObject
* obj2
= 0 ;
8173 PyObject
* obj3
= 0 ;
8175 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
8178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8180 if (SWIG_arg_fail(1)) SWIG_fail
;
8182 arg2
= (int)(SWIG_As_int(obj1
));
8183 if (SWIG_arg_fail(2)) SWIG_fail
;
8186 arg3
= (int)(SWIG_As_int(obj2
));
8187 if (SWIG_arg_fail(3)) SWIG_fail
;
8191 arg4
= (int)(SWIG_As_int(obj3
));
8192 if (SWIG_arg_fail(4)) SWIG_fail
;
8196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8197 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
8199 wxPyEndAllowThreads(__tstate
);
8200 if (PyErr_Occurred()) SWIG_fail
;
8203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8211 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8212 PyObject
*resultobj
;
8213 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8214 PyObject
* obj0
= 0 ;
8216 (char *) "self", NULL
8219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
8220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8221 if (SWIG_arg_fail(1)) SWIG_fail
;
8223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8224 (arg1
)->SizeWindows();
8226 wxPyEndAllowThreads(__tstate
);
8227 if (PyErr_Occurred()) SWIG_fail
;
8229 Py_INCREF(Py_None
); resultobj
= Py_None
;
8236 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8237 PyObject
*resultobj
;
8238 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8240 PyObject
* obj0
= 0 ;
8241 PyObject
* obj1
= 0 ;
8243 (char *) "self",(char *) "needUpdating", NULL
8246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
8247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8248 if (SWIG_arg_fail(1)) SWIG_fail
;
8250 arg2
= (bool)(SWIG_As_bool(obj1
));
8251 if (SWIG_arg_fail(2)) SWIG_fail
;
8254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8255 (arg1
)->SetNeedUpdating(arg2
);
8257 wxPyEndAllowThreads(__tstate
);
8258 if (PyErr_Occurred()) SWIG_fail
;
8260 Py_INCREF(Py_None
); resultobj
= Py_None
;
8267 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8268 PyObject
*resultobj
;
8269 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8271 PyObject
* obj0
= 0 ;
8273 (char *) "self", NULL
8276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
8277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8278 if (SWIG_arg_fail(1)) SWIG_fail
;
8280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8281 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
8283 wxPyEndAllowThreads(__tstate
);
8284 if (PyErr_Occurred()) SWIG_fail
;
8287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8295 static PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8296 PyObject
*resultobj
;
8297 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8298 wxVisualAttributes result
;
8299 PyObject
* obj0
= 0 ;
8301 (char *) "variant", NULL
8304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
8307 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
8308 if (SWIG_arg_fail(1)) SWIG_fail
;
8312 if (!wxPyCheckForApp()) SWIG_fail
;
8313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8314 result
= wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
8316 wxPyEndAllowThreads(__tstate
);
8317 if (PyErr_Occurred()) SWIG_fail
;
8320 wxVisualAttributes
* resultptr
;
8321 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
8322 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
8330 static PyObject
* SplitterWindow_swigregister(PyObject
*, PyObject
*args
) {
8332 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8333 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
8335 return Py_BuildValue((char *)"");
8337 static PyObject
*_wrap_new_SplitterEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8338 PyObject
*resultobj
;
8339 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
8340 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
8341 wxSplitterEvent
*result
;
8342 PyObject
* obj0
= 0 ;
8343 PyObject
* obj1
= 0 ;
8345 (char *) "type",(char *) "splitter", NULL
8348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
8351 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
8352 if (SWIG_arg_fail(1)) SWIG_fail
;
8356 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8357 if (SWIG_arg_fail(2)) SWIG_fail
;
8360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8361 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
8363 wxPyEndAllowThreads(__tstate
);
8364 if (PyErr_Occurred()) SWIG_fail
;
8366 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
8373 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8374 PyObject
*resultobj
;
8375 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8377 PyObject
* obj0
= 0 ;
8378 PyObject
* obj1
= 0 ;
8380 (char *) "self",(char *) "pos", NULL
8383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
8384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8385 if (SWIG_arg_fail(1)) SWIG_fail
;
8387 arg2
= (int)(SWIG_As_int(obj1
));
8388 if (SWIG_arg_fail(2)) SWIG_fail
;
8391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8392 (arg1
)->SetSashPosition(arg2
);
8394 wxPyEndAllowThreads(__tstate
);
8395 if (PyErr_Occurred()) SWIG_fail
;
8397 Py_INCREF(Py_None
); resultobj
= Py_None
;
8404 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8405 PyObject
*resultobj
;
8406 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8408 PyObject
* obj0
= 0 ;
8410 (char *) "self", NULL
8413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
8414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8415 if (SWIG_arg_fail(1)) SWIG_fail
;
8417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8418 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
8420 wxPyEndAllowThreads(__tstate
);
8421 if (PyErr_Occurred()) SWIG_fail
;
8424 resultobj
= SWIG_From_int((int)(result
));
8432 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8433 PyObject
*resultobj
;
8434 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8436 PyObject
* obj0
= 0 ;
8438 (char *) "self", NULL
8441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
8442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8443 if (SWIG_arg_fail(1)) SWIG_fail
;
8445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8446 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
8448 wxPyEndAllowThreads(__tstate
);
8449 if (PyErr_Occurred()) SWIG_fail
;
8452 resultobj
= wxPyMake_wxObject(result
, 0);
8460 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8461 PyObject
*resultobj
;
8462 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8464 PyObject
* obj0
= 0 ;
8466 (char *) "self", NULL
8469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
8470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8471 if (SWIG_arg_fail(1)) SWIG_fail
;
8473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8474 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
8476 wxPyEndAllowThreads(__tstate
);
8477 if (PyErr_Occurred()) SWIG_fail
;
8480 resultobj
= SWIG_From_int((int)(result
));
8488 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8489 PyObject
*resultobj
;
8490 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8492 PyObject
* obj0
= 0 ;
8494 (char *) "self", NULL
8497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
8498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8499 if (SWIG_arg_fail(1)) SWIG_fail
;
8501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8502 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
8504 wxPyEndAllowThreads(__tstate
);
8505 if (PyErr_Occurred()) SWIG_fail
;
8508 resultobj
= SWIG_From_int((int)(result
));
8516 static PyObject
* SplitterEvent_swigregister(PyObject
*, PyObject
*args
) {
8518 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8519 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
8521 return Py_BuildValue((char *)"");
8523 static int _wrap_SashNameStr_set(PyObject
*) {
8524 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
8529 static PyObject
*_wrap_SashNameStr_get(void) {
8534 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
8536 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
8543 static int _wrap_SashLayoutNameStr_set(PyObject
*) {
8544 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
8549 static PyObject
*_wrap_SashLayoutNameStr_get(void) {
8554 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
8556 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
8563 static PyObject
*_wrap_new_SashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8564 PyObject
*resultobj
;
8565 wxWindow
*arg1
= (wxWindow
*) 0 ;
8566 int arg2
= (int) -1 ;
8567 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8568 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8569 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8570 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8571 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8572 wxString
const &arg6_defvalue
= wxPySashNameStr
;
8573 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8574 wxSashWindow
*result
;
8577 bool temp6
= false ;
8578 PyObject
* obj0
= 0 ;
8579 PyObject
* obj1
= 0 ;
8580 PyObject
* obj2
= 0 ;
8581 PyObject
* obj3
= 0 ;
8582 PyObject
* obj4
= 0 ;
8583 PyObject
* obj5
= 0 ;
8585 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8590 if (SWIG_arg_fail(1)) SWIG_fail
;
8593 arg2
= (int)(SWIG_As_int(obj1
));
8594 if (SWIG_arg_fail(2)) SWIG_fail
;
8600 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8606 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8611 arg5
= (long)(SWIG_As_long(obj4
));
8612 if (SWIG_arg_fail(5)) SWIG_fail
;
8617 arg6
= wxString_in_helper(obj5
);
8618 if (arg6
== NULL
) SWIG_fail
;
8623 if (!wxPyCheckForApp()) SWIG_fail
;
8624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8625 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8627 wxPyEndAllowThreads(__tstate
);
8628 if (PyErr_Occurred()) SWIG_fail
;
8630 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
8645 static PyObject
*_wrap_new_PreSashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8646 PyObject
*resultobj
;
8647 wxSashWindow
*result
;
8652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
8654 if (!wxPyCheckForApp()) SWIG_fail
;
8655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8656 result
= (wxSashWindow
*)new wxSashWindow();
8658 wxPyEndAllowThreads(__tstate
);
8659 if (PyErr_Occurred()) SWIG_fail
;
8661 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
8668 static PyObject
*_wrap_SashWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8669 PyObject
*resultobj
;
8670 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8671 wxWindow
*arg2
= (wxWindow
*) 0 ;
8672 int arg3
= (int) -1 ;
8673 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8674 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8675 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8676 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8677 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8678 wxString
const &arg7_defvalue
= wxPySashNameStr
;
8679 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8683 bool temp7
= false ;
8684 PyObject
* obj0
= 0 ;
8685 PyObject
* obj1
= 0 ;
8686 PyObject
* obj2
= 0 ;
8687 PyObject
* obj3
= 0 ;
8688 PyObject
* obj4
= 0 ;
8689 PyObject
* obj5
= 0 ;
8690 PyObject
* obj6
= 0 ;
8692 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8697 if (SWIG_arg_fail(1)) SWIG_fail
;
8698 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8699 if (SWIG_arg_fail(2)) SWIG_fail
;
8702 arg3
= (int)(SWIG_As_int(obj2
));
8703 if (SWIG_arg_fail(3)) SWIG_fail
;
8709 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8715 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8720 arg6
= (long)(SWIG_As_long(obj5
));
8721 if (SWIG_arg_fail(6)) SWIG_fail
;
8726 arg7
= wxString_in_helper(obj6
);
8727 if (arg7
== NULL
) SWIG_fail
;
8732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8733 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8735 wxPyEndAllowThreads(__tstate
);
8736 if (PyErr_Occurred()) SWIG_fail
;
8739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8755 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8756 PyObject
*resultobj
;
8757 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8758 wxSashEdgePosition arg2
;
8760 PyObject
* obj0
= 0 ;
8761 PyObject
* obj1
= 0 ;
8762 PyObject
* obj2
= 0 ;
8764 (char *) "self",(char *) "edge",(char *) "sash", NULL
8767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8769 if (SWIG_arg_fail(1)) SWIG_fail
;
8771 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8772 if (SWIG_arg_fail(2)) SWIG_fail
;
8775 arg3
= (bool)(SWIG_As_bool(obj2
));
8776 if (SWIG_arg_fail(3)) SWIG_fail
;
8779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8780 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
8782 wxPyEndAllowThreads(__tstate
);
8783 if (PyErr_Occurred()) SWIG_fail
;
8785 Py_INCREF(Py_None
); resultobj
= Py_None
;
8792 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8793 PyObject
*resultobj
;
8794 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8795 wxSashEdgePosition arg2
;
8797 PyObject
* obj0
= 0 ;
8798 PyObject
* obj1
= 0 ;
8800 (char *) "self",(char *) "edge", NULL
8803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
8804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8805 if (SWIG_arg_fail(1)) SWIG_fail
;
8807 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8808 if (SWIG_arg_fail(2)) SWIG_fail
;
8811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8812 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
8814 wxPyEndAllowThreads(__tstate
);
8815 if (PyErr_Occurred()) SWIG_fail
;
8818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8826 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8827 PyObject
*resultobj
;
8828 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8829 wxSashEdgePosition arg2
;
8831 PyObject
* obj0
= 0 ;
8832 PyObject
* obj1
= 0 ;
8833 PyObject
* obj2
= 0 ;
8835 (char *) "self",(char *) "edge",(char *) "border", NULL
8838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8840 if (SWIG_arg_fail(1)) SWIG_fail
;
8842 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8843 if (SWIG_arg_fail(2)) SWIG_fail
;
8846 arg3
= (bool)(SWIG_As_bool(obj2
));
8847 if (SWIG_arg_fail(3)) SWIG_fail
;
8850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8851 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
8853 wxPyEndAllowThreads(__tstate
);
8854 if (PyErr_Occurred()) SWIG_fail
;
8856 Py_INCREF(Py_None
); resultobj
= Py_None
;
8863 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8864 PyObject
*resultobj
;
8865 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8866 wxSashEdgePosition arg2
;
8868 PyObject
* obj0
= 0 ;
8869 PyObject
* obj1
= 0 ;
8871 (char *) "self",(char *) "edge", NULL
8874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
8875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8876 if (SWIG_arg_fail(1)) SWIG_fail
;
8878 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8879 if (SWIG_arg_fail(2)) SWIG_fail
;
8882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8883 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
8885 wxPyEndAllowThreads(__tstate
);
8886 if (PyErr_Occurred()) SWIG_fail
;
8889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8897 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8898 PyObject
*resultobj
;
8899 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8900 wxSashEdgePosition arg2
;
8902 PyObject
* obj0
= 0 ;
8903 PyObject
* obj1
= 0 ;
8905 (char *) "self",(char *) "edge", NULL
8908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
8909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8910 if (SWIG_arg_fail(1)) SWIG_fail
;
8912 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8913 if (SWIG_arg_fail(2)) SWIG_fail
;
8916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8917 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
8919 wxPyEndAllowThreads(__tstate
);
8920 if (PyErr_Occurred()) SWIG_fail
;
8923 resultobj
= SWIG_From_int((int)(result
));
8931 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8932 PyObject
*resultobj
;
8933 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8935 PyObject
* obj0
= 0 ;
8936 PyObject
* obj1
= 0 ;
8938 (char *) "self",(char *) "width", NULL
8941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8943 if (SWIG_arg_fail(1)) SWIG_fail
;
8945 arg2
= (int)(SWIG_As_int(obj1
));
8946 if (SWIG_arg_fail(2)) SWIG_fail
;
8949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8950 (arg1
)->SetDefaultBorderSize(arg2
);
8952 wxPyEndAllowThreads(__tstate
);
8953 if (PyErr_Occurred()) SWIG_fail
;
8955 Py_INCREF(Py_None
); resultobj
= Py_None
;
8962 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8963 PyObject
*resultobj
;
8964 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8966 PyObject
* obj0
= 0 ;
8968 (char *) "self", NULL
8971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
8972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8973 if (SWIG_arg_fail(1)) SWIG_fail
;
8975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8976 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
8978 wxPyEndAllowThreads(__tstate
);
8979 if (PyErr_Occurred()) SWIG_fail
;
8982 resultobj
= SWIG_From_int((int)(result
));
8990 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8991 PyObject
*resultobj
;
8992 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8994 PyObject
* obj0
= 0 ;
8995 PyObject
* obj1
= 0 ;
8997 (char *) "self",(char *) "width", NULL
9000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9002 if (SWIG_arg_fail(1)) SWIG_fail
;
9004 arg2
= (int)(SWIG_As_int(obj1
));
9005 if (SWIG_arg_fail(2)) SWIG_fail
;
9008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9009 (arg1
)->SetExtraBorderSize(arg2
);
9011 wxPyEndAllowThreads(__tstate
);
9012 if (PyErr_Occurred()) SWIG_fail
;
9014 Py_INCREF(Py_None
); resultobj
= Py_None
;
9021 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9022 PyObject
*resultobj
;
9023 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9025 PyObject
* obj0
= 0 ;
9027 (char *) "self", NULL
9030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
9031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9032 if (SWIG_arg_fail(1)) SWIG_fail
;
9034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9035 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
9037 wxPyEndAllowThreads(__tstate
);
9038 if (PyErr_Occurred()) SWIG_fail
;
9041 resultobj
= SWIG_From_int((int)(result
));
9049 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9050 PyObject
*resultobj
;
9051 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9053 PyObject
* obj0
= 0 ;
9054 PyObject
* obj1
= 0 ;
9056 (char *) "self",(char *) "min", NULL
9059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
9060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9061 if (SWIG_arg_fail(1)) SWIG_fail
;
9063 arg2
= (int)(SWIG_As_int(obj1
));
9064 if (SWIG_arg_fail(2)) SWIG_fail
;
9067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9068 (arg1
)->SetMinimumSizeX(arg2
);
9070 wxPyEndAllowThreads(__tstate
);
9071 if (PyErr_Occurred()) SWIG_fail
;
9073 Py_INCREF(Py_None
); resultobj
= Py_None
;
9080 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9081 PyObject
*resultobj
;
9082 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9084 PyObject
* obj0
= 0 ;
9085 PyObject
* obj1
= 0 ;
9087 (char *) "self",(char *) "min", NULL
9090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
9091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9092 if (SWIG_arg_fail(1)) SWIG_fail
;
9094 arg2
= (int)(SWIG_As_int(obj1
));
9095 if (SWIG_arg_fail(2)) SWIG_fail
;
9098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9099 (arg1
)->SetMinimumSizeY(arg2
);
9101 wxPyEndAllowThreads(__tstate
);
9102 if (PyErr_Occurred()) SWIG_fail
;
9104 Py_INCREF(Py_None
); resultobj
= Py_None
;
9111 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9112 PyObject
*resultobj
;
9113 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9115 PyObject
* obj0
= 0 ;
9117 (char *) "self", NULL
9120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
9121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9122 if (SWIG_arg_fail(1)) SWIG_fail
;
9124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9125 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
9127 wxPyEndAllowThreads(__tstate
);
9128 if (PyErr_Occurred()) SWIG_fail
;
9131 resultobj
= SWIG_From_int((int)(result
));
9139 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9140 PyObject
*resultobj
;
9141 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9143 PyObject
* obj0
= 0 ;
9145 (char *) "self", NULL
9148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
9149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9150 if (SWIG_arg_fail(1)) SWIG_fail
;
9152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9153 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
9155 wxPyEndAllowThreads(__tstate
);
9156 if (PyErr_Occurred()) SWIG_fail
;
9159 resultobj
= SWIG_From_int((int)(result
));
9167 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9168 PyObject
*resultobj
;
9169 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9171 PyObject
* obj0
= 0 ;
9172 PyObject
* obj1
= 0 ;
9174 (char *) "self",(char *) "max", NULL
9177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
9178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9179 if (SWIG_arg_fail(1)) SWIG_fail
;
9181 arg2
= (int)(SWIG_As_int(obj1
));
9182 if (SWIG_arg_fail(2)) SWIG_fail
;
9185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9186 (arg1
)->SetMaximumSizeX(arg2
);
9188 wxPyEndAllowThreads(__tstate
);
9189 if (PyErr_Occurred()) SWIG_fail
;
9191 Py_INCREF(Py_None
); resultobj
= Py_None
;
9198 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9199 PyObject
*resultobj
;
9200 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9202 PyObject
* obj0
= 0 ;
9203 PyObject
* obj1
= 0 ;
9205 (char *) "self",(char *) "max", NULL
9208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
9209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9210 if (SWIG_arg_fail(1)) SWIG_fail
;
9212 arg2
= (int)(SWIG_As_int(obj1
));
9213 if (SWIG_arg_fail(2)) SWIG_fail
;
9216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9217 (arg1
)->SetMaximumSizeY(arg2
);
9219 wxPyEndAllowThreads(__tstate
);
9220 if (PyErr_Occurred()) SWIG_fail
;
9222 Py_INCREF(Py_None
); resultobj
= Py_None
;
9229 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9230 PyObject
*resultobj
;
9231 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9233 PyObject
* obj0
= 0 ;
9235 (char *) "self", NULL
9238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
9239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9240 if (SWIG_arg_fail(1)) SWIG_fail
;
9242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9243 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
9245 wxPyEndAllowThreads(__tstate
);
9246 if (PyErr_Occurred()) SWIG_fail
;
9249 resultobj
= SWIG_From_int((int)(result
));
9257 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9258 PyObject
*resultobj
;
9259 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9261 PyObject
* obj0
= 0 ;
9263 (char *) "self", NULL
9266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
9267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9268 if (SWIG_arg_fail(1)) SWIG_fail
;
9270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9271 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
9273 wxPyEndAllowThreads(__tstate
);
9274 if (PyErr_Occurred()) SWIG_fail
;
9277 resultobj
= SWIG_From_int((int)(result
));
9285 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9286 PyObject
*resultobj
;
9287 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9290 int arg4
= (int) 2 ;
9291 wxSashEdgePosition result
;
9292 PyObject
* obj0
= 0 ;
9293 PyObject
* obj1
= 0 ;
9294 PyObject
* obj2
= 0 ;
9295 PyObject
* obj3
= 0 ;
9297 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
9300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9302 if (SWIG_arg_fail(1)) SWIG_fail
;
9304 arg2
= (int)(SWIG_As_int(obj1
));
9305 if (SWIG_arg_fail(2)) SWIG_fail
;
9308 arg3
= (int)(SWIG_As_int(obj2
));
9309 if (SWIG_arg_fail(3)) SWIG_fail
;
9313 arg4
= (int)(SWIG_As_int(obj3
));
9314 if (SWIG_arg_fail(4)) SWIG_fail
;
9318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9319 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
9321 wxPyEndAllowThreads(__tstate
);
9322 if (PyErr_Occurred()) SWIG_fail
;
9324 resultobj
= SWIG_From_int((result
));
9331 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9332 PyObject
*resultobj
;
9333 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9334 PyObject
* obj0
= 0 ;
9336 (char *) "self", NULL
9339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
9340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9341 if (SWIG_arg_fail(1)) SWIG_fail
;
9343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9344 (arg1
)->SizeWindows();
9346 wxPyEndAllowThreads(__tstate
);
9347 if (PyErr_Occurred()) SWIG_fail
;
9349 Py_INCREF(Py_None
); resultobj
= Py_None
;
9356 static PyObject
* SashWindow_swigregister(PyObject
*, PyObject
*args
) {
9358 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9359 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
9361 return Py_BuildValue((char *)"");
9363 static PyObject
*_wrap_new_SashEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9364 PyObject
*resultobj
;
9365 int arg1
= (int) 0 ;
9366 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
9367 wxSashEvent
*result
;
9368 PyObject
* obj0
= 0 ;
9369 PyObject
* obj1
= 0 ;
9371 (char *) "id",(char *) "edge", NULL
9374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
9377 arg1
= (int)(SWIG_As_int(obj0
));
9378 if (SWIG_arg_fail(1)) SWIG_fail
;
9383 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
9384 if (SWIG_arg_fail(2)) SWIG_fail
;
9388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9389 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
9391 wxPyEndAllowThreads(__tstate
);
9392 if (PyErr_Occurred()) SWIG_fail
;
9394 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
9401 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9402 PyObject
*resultobj
;
9403 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9404 wxSashEdgePosition arg2
;
9405 PyObject
* obj0
= 0 ;
9406 PyObject
* obj1
= 0 ;
9408 (char *) "self",(char *) "edge", NULL
9411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
9412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9413 if (SWIG_arg_fail(1)) SWIG_fail
;
9415 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
9416 if (SWIG_arg_fail(2)) SWIG_fail
;
9419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9420 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
9422 wxPyEndAllowThreads(__tstate
);
9423 if (PyErr_Occurred()) SWIG_fail
;
9425 Py_INCREF(Py_None
); resultobj
= Py_None
;
9432 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9433 PyObject
*resultobj
;
9434 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9435 wxSashEdgePosition result
;
9436 PyObject
* obj0
= 0 ;
9438 (char *) "self", NULL
9441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
9442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9443 if (SWIG_arg_fail(1)) SWIG_fail
;
9445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9446 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
9448 wxPyEndAllowThreads(__tstate
);
9449 if (PyErr_Occurred()) SWIG_fail
;
9451 resultobj
= SWIG_From_int((result
));
9458 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9459 PyObject
*resultobj
;
9460 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9463 PyObject
* obj0
= 0 ;
9464 PyObject
* obj1
= 0 ;
9466 (char *) "self",(char *) "rect", NULL
9469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
9470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9471 if (SWIG_arg_fail(1)) SWIG_fail
;
9474 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9478 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
9480 wxPyEndAllowThreads(__tstate
);
9481 if (PyErr_Occurred()) SWIG_fail
;
9483 Py_INCREF(Py_None
); resultobj
= Py_None
;
9490 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9491 PyObject
*resultobj
;
9492 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9494 PyObject
* obj0
= 0 ;
9496 (char *) "self", NULL
9499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
9500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9501 if (SWIG_arg_fail(1)) SWIG_fail
;
9503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9504 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
9506 wxPyEndAllowThreads(__tstate
);
9507 if (PyErr_Occurred()) SWIG_fail
;
9511 resultptr
= new wxRect((wxRect
&)(result
));
9512 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
9520 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9521 PyObject
*resultobj
;
9522 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9523 wxSashDragStatus arg2
;
9524 PyObject
* obj0
= 0 ;
9525 PyObject
* obj1
= 0 ;
9527 (char *) "self",(char *) "status", NULL
9530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
9531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9532 if (SWIG_arg_fail(1)) SWIG_fail
;
9534 arg2
= (wxSashDragStatus
)(SWIG_As_int(obj1
));
9535 if (SWIG_arg_fail(2)) SWIG_fail
;
9538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9539 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
9541 wxPyEndAllowThreads(__tstate
);
9542 if (PyErr_Occurred()) SWIG_fail
;
9544 Py_INCREF(Py_None
); resultobj
= Py_None
;
9551 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9552 PyObject
*resultobj
;
9553 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9554 wxSashDragStatus result
;
9555 PyObject
* obj0
= 0 ;
9557 (char *) "self", NULL
9560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
9561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9562 if (SWIG_arg_fail(1)) SWIG_fail
;
9564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9565 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
9567 wxPyEndAllowThreads(__tstate
);
9568 if (PyErr_Occurred()) SWIG_fail
;
9570 resultobj
= SWIG_From_int((result
));
9577 static PyObject
* SashEvent_swigregister(PyObject
*, PyObject
*args
) {
9579 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9580 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
9582 return Py_BuildValue((char *)"");
9584 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9585 PyObject
*resultobj
;
9586 int arg1
= (int) 0 ;
9587 wxQueryLayoutInfoEvent
*result
;
9588 PyObject
* obj0
= 0 ;
9593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
9596 arg1
= (int)(SWIG_As_int(obj0
));
9597 if (SWIG_arg_fail(1)) SWIG_fail
;
9601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9602 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
9604 wxPyEndAllowThreads(__tstate
);
9605 if (PyErr_Occurred()) SWIG_fail
;
9607 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
9614 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9615 PyObject
*resultobj
;
9616 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9618 PyObject
* obj0
= 0 ;
9619 PyObject
* obj1
= 0 ;
9621 (char *) "self",(char *) "length", NULL
9624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
9625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9626 if (SWIG_arg_fail(1)) SWIG_fail
;
9628 arg2
= (int)(SWIG_As_int(obj1
));
9629 if (SWIG_arg_fail(2)) SWIG_fail
;
9632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9633 (arg1
)->SetRequestedLength(arg2
);
9635 wxPyEndAllowThreads(__tstate
);
9636 if (PyErr_Occurred()) SWIG_fail
;
9638 Py_INCREF(Py_None
); resultobj
= Py_None
;
9645 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9646 PyObject
*resultobj
;
9647 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9649 PyObject
* obj0
= 0 ;
9651 (char *) "self", NULL
9654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
9655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9656 if (SWIG_arg_fail(1)) SWIG_fail
;
9658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9659 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
9661 wxPyEndAllowThreads(__tstate
);
9662 if (PyErr_Occurred()) SWIG_fail
;
9665 resultobj
= SWIG_From_int((int)(result
));
9673 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9674 PyObject
*resultobj
;
9675 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9677 PyObject
* obj0
= 0 ;
9678 PyObject
* obj1
= 0 ;
9680 (char *) "self",(char *) "flags", NULL
9683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
9684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9685 if (SWIG_arg_fail(1)) SWIG_fail
;
9687 arg2
= (int)(SWIG_As_int(obj1
));
9688 if (SWIG_arg_fail(2)) SWIG_fail
;
9691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9692 (arg1
)->SetFlags(arg2
);
9694 wxPyEndAllowThreads(__tstate
);
9695 if (PyErr_Occurred()) SWIG_fail
;
9697 Py_INCREF(Py_None
); resultobj
= Py_None
;
9704 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9705 PyObject
*resultobj
;
9706 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9708 PyObject
* obj0
= 0 ;
9710 (char *) "self", NULL
9713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
9714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9715 if (SWIG_arg_fail(1)) SWIG_fail
;
9717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9718 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
9720 wxPyEndAllowThreads(__tstate
);
9721 if (PyErr_Occurred()) SWIG_fail
;
9724 resultobj
= SWIG_From_int((int)(result
));
9732 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9733 PyObject
*resultobj
;
9734 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9737 PyObject
* obj0
= 0 ;
9738 PyObject
* obj1
= 0 ;
9740 (char *) "self",(char *) "size", NULL
9743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9745 if (SWIG_arg_fail(1)) SWIG_fail
;
9748 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9752 (arg1
)->SetSize((wxSize
const &)*arg2
);
9754 wxPyEndAllowThreads(__tstate
);
9755 if (PyErr_Occurred()) SWIG_fail
;
9757 Py_INCREF(Py_None
); resultobj
= Py_None
;
9764 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9765 PyObject
*resultobj
;
9766 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9768 PyObject
* obj0
= 0 ;
9770 (char *) "self", NULL
9773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
9774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9775 if (SWIG_arg_fail(1)) SWIG_fail
;
9777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9778 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
9780 wxPyEndAllowThreads(__tstate
);
9781 if (PyErr_Occurred()) SWIG_fail
;
9785 resultptr
= new wxSize((wxSize
&)(result
));
9786 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
9794 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9795 PyObject
*resultobj
;
9796 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9797 wxLayoutOrientation arg2
;
9798 PyObject
* obj0
= 0 ;
9799 PyObject
* obj1
= 0 ;
9801 (char *) "self",(char *) "orient", NULL
9804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
9805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9806 if (SWIG_arg_fail(1)) SWIG_fail
;
9808 arg2
= (wxLayoutOrientation
)(SWIG_As_int(obj1
));
9809 if (SWIG_arg_fail(2)) SWIG_fail
;
9812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9813 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
9815 wxPyEndAllowThreads(__tstate
);
9816 if (PyErr_Occurred()) SWIG_fail
;
9818 Py_INCREF(Py_None
); resultobj
= Py_None
;
9825 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9826 PyObject
*resultobj
;
9827 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9828 wxLayoutOrientation result
;
9829 PyObject
* obj0
= 0 ;
9831 (char *) "self", NULL
9834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
9835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9836 if (SWIG_arg_fail(1)) SWIG_fail
;
9838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9839 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
9841 wxPyEndAllowThreads(__tstate
);
9842 if (PyErr_Occurred()) SWIG_fail
;
9844 resultobj
= SWIG_From_int((result
));
9851 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9852 PyObject
*resultobj
;
9853 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9854 wxLayoutAlignment arg2
;
9855 PyObject
* obj0
= 0 ;
9856 PyObject
* obj1
= 0 ;
9858 (char *) "self",(char *) "align", NULL
9861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
9862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9863 if (SWIG_arg_fail(1)) SWIG_fail
;
9865 arg2
= (wxLayoutAlignment
)(SWIG_As_int(obj1
));
9866 if (SWIG_arg_fail(2)) SWIG_fail
;
9869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9870 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
9872 wxPyEndAllowThreads(__tstate
);
9873 if (PyErr_Occurred()) SWIG_fail
;
9875 Py_INCREF(Py_None
); resultobj
= Py_None
;
9882 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9883 PyObject
*resultobj
;
9884 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9885 wxLayoutAlignment result
;
9886 PyObject
* obj0
= 0 ;
9888 (char *) "self", NULL
9891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
9892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9893 if (SWIG_arg_fail(1)) SWIG_fail
;
9895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9896 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
9898 wxPyEndAllowThreads(__tstate
);
9899 if (PyErr_Occurred()) SWIG_fail
;
9901 resultobj
= SWIG_From_int((result
));
9908 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*, PyObject
*args
) {
9910 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9911 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
9913 return Py_BuildValue((char *)"");
9915 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9916 PyObject
*resultobj
;
9917 int arg1
= (int) 0 ;
9918 wxCalculateLayoutEvent
*result
;
9919 PyObject
* obj0
= 0 ;
9924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
9927 arg1
= (int)(SWIG_As_int(obj0
));
9928 if (SWIG_arg_fail(1)) SWIG_fail
;
9932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9933 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
9935 wxPyEndAllowThreads(__tstate
);
9936 if (PyErr_Occurred()) SWIG_fail
;
9938 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
9945 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9946 PyObject
*resultobj
;
9947 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
9949 PyObject
* obj0
= 0 ;
9950 PyObject
* obj1
= 0 ;
9952 (char *) "self",(char *) "flags", NULL
9955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
9956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
9957 if (SWIG_arg_fail(1)) SWIG_fail
;
9959 arg2
= (int)(SWIG_As_int(obj1
));
9960 if (SWIG_arg_fail(2)) SWIG_fail
;
9963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9964 (arg1
)->SetFlags(arg2
);
9966 wxPyEndAllowThreads(__tstate
);
9967 if (PyErr_Occurred()) SWIG_fail
;
9969 Py_INCREF(Py_None
); resultobj
= Py_None
;
9976 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9977 PyObject
*resultobj
;
9978 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
9980 PyObject
* obj0
= 0 ;
9982 (char *) "self", NULL
9985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
9986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
9987 if (SWIG_arg_fail(1)) SWIG_fail
;
9989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9990 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
9992 wxPyEndAllowThreads(__tstate
);
9993 if (PyErr_Occurred()) SWIG_fail
;
9996 resultobj
= SWIG_From_int((int)(result
));
10004 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10005 PyObject
*resultobj
;
10006 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10009 PyObject
* obj0
= 0 ;
10010 PyObject
* obj1
= 0 ;
10011 char *kwnames
[] = {
10012 (char *) "self",(char *) "rect", NULL
10015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10017 if (SWIG_arg_fail(1)) SWIG_fail
;
10020 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10024 (arg1
)->SetRect((wxRect
const &)*arg2
);
10026 wxPyEndAllowThreads(__tstate
);
10027 if (PyErr_Occurred()) SWIG_fail
;
10029 Py_INCREF(Py_None
); resultobj
= Py_None
;
10036 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10037 PyObject
*resultobj
;
10038 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10040 PyObject
* obj0
= 0 ;
10041 char *kwnames
[] = {
10042 (char *) "self", NULL
10045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
10046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10047 if (SWIG_arg_fail(1)) SWIG_fail
;
10049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10050 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
10052 wxPyEndAllowThreads(__tstate
);
10053 if (PyErr_Occurred()) SWIG_fail
;
10056 wxRect
* resultptr
;
10057 resultptr
= new wxRect((wxRect
&)(result
));
10058 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
10066 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*, PyObject
*args
) {
10068 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10069 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
10071 return Py_BuildValue((char *)"");
10073 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10074 PyObject
*resultobj
;
10075 wxWindow
*arg1
= (wxWindow
*) 0 ;
10076 int arg2
= (int) -1 ;
10077 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10078 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10079 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10080 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10081 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10082 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
10083 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10084 wxSashLayoutWindow
*result
;
10087 bool temp6
= false ;
10088 PyObject
* obj0
= 0 ;
10089 PyObject
* obj1
= 0 ;
10090 PyObject
* obj2
= 0 ;
10091 PyObject
* obj3
= 0 ;
10092 PyObject
* obj4
= 0 ;
10093 PyObject
* obj5
= 0 ;
10094 char *kwnames
[] = {
10095 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10100 if (SWIG_arg_fail(1)) SWIG_fail
;
10103 arg2
= (int)(SWIG_As_int(obj1
));
10104 if (SWIG_arg_fail(2)) SWIG_fail
;
10110 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10116 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10121 arg5
= (long)(SWIG_As_long(obj4
));
10122 if (SWIG_arg_fail(5)) SWIG_fail
;
10127 arg6
= wxString_in_helper(obj5
);
10128 if (arg6
== NULL
) SWIG_fail
;
10133 if (!wxPyCheckForApp()) SWIG_fail
;
10134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10135 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10137 wxPyEndAllowThreads(__tstate
);
10138 if (PyErr_Occurred()) SWIG_fail
;
10140 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
10155 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10156 PyObject
*resultobj
;
10157 wxSashLayoutWindow
*result
;
10158 char *kwnames
[] = {
10162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
10164 if (!wxPyCheckForApp()) SWIG_fail
;
10165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10166 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
10168 wxPyEndAllowThreads(__tstate
);
10169 if (PyErr_Occurred()) SWIG_fail
;
10171 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
10178 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10179 PyObject
*resultobj
;
10180 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10181 wxWindow
*arg2
= (wxWindow
*) 0 ;
10182 int arg3
= (int) -1 ;
10183 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10184 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10185 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10186 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10187 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10188 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
10189 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10193 bool temp7
= false ;
10194 PyObject
* obj0
= 0 ;
10195 PyObject
* obj1
= 0 ;
10196 PyObject
* obj2
= 0 ;
10197 PyObject
* obj3
= 0 ;
10198 PyObject
* obj4
= 0 ;
10199 PyObject
* obj5
= 0 ;
10200 PyObject
* obj6
= 0 ;
10201 char *kwnames
[] = {
10202 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10207 if (SWIG_arg_fail(1)) SWIG_fail
;
10208 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10209 if (SWIG_arg_fail(2)) SWIG_fail
;
10212 arg3
= (int)(SWIG_As_int(obj2
));
10213 if (SWIG_arg_fail(3)) SWIG_fail
;
10219 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10225 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10230 arg6
= (long)(SWIG_As_long(obj5
));
10231 if (SWIG_arg_fail(6)) SWIG_fail
;
10236 arg7
= wxString_in_helper(obj6
);
10237 if (arg7
== NULL
) SWIG_fail
;
10242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10243 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10245 wxPyEndAllowThreads(__tstate
);
10246 if (PyErr_Occurred()) SWIG_fail
;
10249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10265 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10266 PyObject
*resultobj
;
10267 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10268 wxLayoutAlignment result
;
10269 PyObject
* obj0
= 0 ;
10270 char *kwnames
[] = {
10271 (char *) "self", NULL
10274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
10275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10276 if (SWIG_arg_fail(1)) SWIG_fail
;
10278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10279 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
10281 wxPyEndAllowThreads(__tstate
);
10282 if (PyErr_Occurred()) SWIG_fail
;
10284 resultobj
= SWIG_From_int((result
));
10291 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10292 PyObject
*resultobj
;
10293 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10294 wxLayoutOrientation result
;
10295 PyObject
* obj0
= 0 ;
10296 char *kwnames
[] = {
10297 (char *) "self", NULL
10300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
10301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10302 if (SWIG_arg_fail(1)) SWIG_fail
;
10304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10305 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
10307 wxPyEndAllowThreads(__tstate
);
10308 if (PyErr_Occurred()) SWIG_fail
;
10310 resultobj
= SWIG_From_int((result
));
10317 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10318 PyObject
*resultobj
;
10319 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10320 wxLayoutAlignment arg2
;
10321 PyObject
* obj0
= 0 ;
10322 PyObject
* obj1
= 0 ;
10323 char *kwnames
[] = {
10324 (char *) "self",(char *) "alignment", NULL
10327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
10328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10329 if (SWIG_arg_fail(1)) SWIG_fail
;
10331 arg2
= (wxLayoutAlignment
)(SWIG_As_int(obj1
));
10332 if (SWIG_arg_fail(2)) SWIG_fail
;
10335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10336 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
10338 wxPyEndAllowThreads(__tstate
);
10339 if (PyErr_Occurred()) SWIG_fail
;
10341 Py_INCREF(Py_None
); resultobj
= Py_None
;
10348 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10349 PyObject
*resultobj
;
10350 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10353 PyObject
* obj0
= 0 ;
10354 PyObject
* obj1
= 0 ;
10355 char *kwnames
[] = {
10356 (char *) "self",(char *) "size", NULL
10359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10361 if (SWIG_arg_fail(1)) SWIG_fail
;
10364 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10368 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
10370 wxPyEndAllowThreads(__tstate
);
10371 if (PyErr_Occurred()) SWIG_fail
;
10373 Py_INCREF(Py_None
); resultobj
= Py_None
;
10380 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10381 PyObject
*resultobj
;
10382 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10383 wxLayoutOrientation arg2
;
10384 PyObject
* obj0
= 0 ;
10385 PyObject
* obj1
= 0 ;
10386 char *kwnames
[] = {
10387 (char *) "self",(char *) "orientation", NULL
10390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
10391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10392 if (SWIG_arg_fail(1)) SWIG_fail
;
10394 arg2
= (wxLayoutOrientation
)(SWIG_As_int(obj1
));
10395 if (SWIG_arg_fail(2)) SWIG_fail
;
10398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10399 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
10401 wxPyEndAllowThreads(__tstate
);
10402 if (PyErr_Occurred()) SWIG_fail
;
10404 Py_INCREF(Py_None
); resultobj
= Py_None
;
10411 static PyObject
* SashLayoutWindow_swigregister(PyObject
*, PyObject
*args
) {
10413 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10414 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
10416 return Py_BuildValue((char *)"");
10418 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10419 PyObject
*resultobj
;
10420 wxLayoutAlgorithm
*result
;
10421 char *kwnames
[] = {
10425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
10427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10428 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
10430 wxPyEndAllowThreads(__tstate
);
10431 if (PyErr_Occurred()) SWIG_fail
;
10433 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
10440 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10441 PyObject
*resultobj
;
10442 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10443 PyObject
* obj0
= 0 ;
10444 char *kwnames
[] = {
10445 (char *) "self", NULL
10448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
10449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10450 if (SWIG_arg_fail(1)) SWIG_fail
;
10452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10455 wxPyEndAllowThreads(__tstate
);
10456 if (PyErr_Occurred()) SWIG_fail
;
10458 Py_INCREF(Py_None
); resultobj
= Py_None
;
10465 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10466 PyObject
*resultobj
;
10467 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10468 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
10469 wxRect
*arg3
= (wxRect
*) NULL
;
10471 PyObject
* obj0
= 0 ;
10472 PyObject
* obj1
= 0 ;
10473 PyObject
* obj2
= 0 ;
10474 char *kwnames
[] = {
10475 (char *) "self",(char *) "frame",(char *) "rect", NULL
10478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10480 if (SWIG_arg_fail(1)) SWIG_fail
;
10481 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
10482 if (SWIG_arg_fail(2)) SWIG_fail
;
10484 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
10485 if (SWIG_arg_fail(3)) SWIG_fail
;
10488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10489 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
10491 wxPyEndAllowThreads(__tstate
);
10492 if (PyErr_Occurred()) SWIG_fail
;
10495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10503 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10504 PyObject
*resultobj
;
10505 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10506 wxFrame
*arg2
= (wxFrame
*) 0 ;
10507 wxWindow
*arg3
= (wxWindow
*) NULL
;
10509 PyObject
* obj0
= 0 ;
10510 PyObject
* obj1
= 0 ;
10511 PyObject
* obj2
= 0 ;
10512 char *kwnames
[] = {
10513 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
10516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10518 if (SWIG_arg_fail(1)) SWIG_fail
;
10519 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
10520 if (SWIG_arg_fail(2)) SWIG_fail
;
10522 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10523 if (SWIG_arg_fail(3)) SWIG_fail
;
10526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10527 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
10529 wxPyEndAllowThreads(__tstate
);
10530 if (PyErr_Occurred()) SWIG_fail
;
10533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10541 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10542 PyObject
*resultobj
;
10543 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10544 wxWindow
*arg2
= (wxWindow
*) 0 ;
10545 wxWindow
*arg3
= (wxWindow
*) NULL
;
10547 PyObject
* obj0
= 0 ;
10548 PyObject
* obj1
= 0 ;
10549 PyObject
* obj2
= 0 ;
10550 char *kwnames
[] = {
10551 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
10554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10556 if (SWIG_arg_fail(1)) SWIG_fail
;
10557 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10558 if (SWIG_arg_fail(2)) SWIG_fail
;
10560 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10561 if (SWIG_arg_fail(3)) SWIG_fail
;
10564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10565 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
10567 wxPyEndAllowThreads(__tstate
);
10568 if (PyErr_Occurred()) SWIG_fail
;
10571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10579 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*, PyObject
*args
) {
10581 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10582 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
10584 return Py_BuildValue((char *)"");
10586 static PyObject
*_wrap_new_PopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10587 PyObject
*resultobj
;
10588 wxWindow
*arg1
= (wxWindow
*) 0 ;
10589 int arg2
= (int) wxBORDER_NONE
;
10590 wxPopupWindow
*result
;
10591 PyObject
* obj0
= 0 ;
10592 PyObject
* obj1
= 0 ;
10593 char *kwnames
[] = {
10594 (char *) "parent",(char *) "flags", NULL
10597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
10598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10599 if (SWIG_arg_fail(1)) SWIG_fail
;
10602 arg2
= (int)(SWIG_As_int(obj1
));
10603 if (SWIG_arg_fail(2)) SWIG_fail
;
10607 if (!wxPyCheckForApp()) SWIG_fail
;
10608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10609 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
10611 wxPyEndAllowThreads(__tstate
);
10612 if (PyErr_Occurred()) SWIG_fail
;
10614 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
10621 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10622 PyObject
*resultobj
;
10623 wxPopupWindow
*result
;
10624 char *kwnames
[] = {
10628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
10630 if (!wxPyCheckForApp()) SWIG_fail
;
10631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10632 result
= (wxPopupWindow
*)new wxPopupWindow();
10634 wxPyEndAllowThreads(__tstate
);
10635 if (PyErr_Occurred()) SWIG_fail
;
10637 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
10644 static PyObject
*_wrap_PopupWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10645 PyObject
*resultobj
;
10646 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
10647 wxWindow
*arg2
= (wxWindow
*) 0 ;
10648 int arg3
= (int) wxBORDER_NONE
;
10650 PyObject
* obj0
= 0 ;
10651 PyObject
* obj1
= 0 ;
10652 PyObject
* obj2
= 0 ;
10653 char *kwnames
[] = {
10654 (char *) "self",(char *) "parent",(char *) "flags", NULL
10657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_EXCEPTION
| 0);
10659 if (SWIG_arg_fail(1)) SWIG_fail
;
10660 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10661 if (SWIG_arg_fail(2)) SWIG_fail
;
10664 arg3
= (int)(SWIG_As_int(obj2
));
10665 if (SWIG_arg_fail(3)) SWIG_fail
;
10669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10670 result
= (bool)(arg1
)->Create(arg2
,arg3
);
10672 wxPyEndAllowThreads(__tstate
);
10673 if (PyErr_Occurred()) SWIG_fail
;
10676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10684 static PyObject
*_wrap_PopupWindow_Position(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10685 PyObject
*resultobj
;
10686 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
10687 wxPoint
*arg2
= 0 ;
10691 PyObject
* obj0
= 0 ;
10692 PyObject
* obj1
= 0 ;
10693 PyObject
* obj2
= 0 ;
10694 char *kwnames
[] = {
10695 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
10698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_EXCEPTION
| 0);
10700 if (SWIG_arg_fail(1)) SWIG_fail
;
10703 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10707 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
10710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10711 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
10713 wxPyEndAllowThreads(__tstate
);
10714 if (PyErr_Occurred()) SWIG_fail
;
10716 Py_INCREF(Py_None
); resultobj
= Py_None
;
10723 static PyObject
* PopupWindow_swigregister(PyObject
*, PyObject
*args
) {
10725 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10726 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
10728 return Py_BuildValue((char *)"");
10730 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10731 PyObject
*resultobj
;
10732 wxWindow
*arg1
= (wxWindow
*) 0 ;
10733 int arg2
= (int) wxBORDER_NONE
;
10734 wxPyPopupTransientWindow
*result
;
10735 PyObject
* obj0
= 0 ;
10736 PyObject
* obj1
= 0 ;
10737 char *kwnames
[] = {
10738 (char *) "parent",(char *) "style", NULL
10741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
10742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10743 if (SWIG_arg_fail(1)) SWIG_fail
;
10746 arg2
= (int)(SWIG_As_int(obj1
));
10747 if (SWIG_arg_fail(2)) SWIG_fail
;
10751 if (!wxPyCheckForApp()) SWIG_fail
;
10752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10753 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
10755 wxPyEndAllowThreads(__tstate
);
10756 if (PyErr_Occurred()) SWIG_fail
;
10758 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
10765 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10766 PyObject
*resultobj
;
10767 wxPyPopupTransientWindow
*result
;
10768 char *kwnames
[] = {
10772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
10774 if (!wxPyCheckForApp()) SWIG_fail
;
10775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10776 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
10778 wxPyEndAllowThreads(__tstate
);
10779 if (PyErr_Occurred()) SWIG_fail
;
10781 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
10788 static PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10789 PyObject
*resultobj
;
10790 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
10791 PyObject
*arg2
= (PyObject
*) 0 ;
10792 PyObject
*arg3
= (PyObject
*) 0 ;
10793 PyObject
* obj0
= 0 ;
10794 PyObject
* obj1
= 0 ;
10795 PyObject
* obj2
= 0 ;
10796 char *kwnames
[] = {
10797 (char *) "self",(char *) "self",(char *) "_class", NULL
10800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_EXCEPTION
| 0);
10802 if (SWIG_arg_fail(1)) SWIG_fail
;
10806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10807 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10809 wxPyEndAllowThreads(__tstate
);
10810 if (PyErr_Occurred()) SWIG_fail
;
10812 Py_INCREF(Py_None
); resultobj
= Py_None
;
10819 static PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10820 PyObject
*resultobj
;
10821 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
10822 wxWindow
*arg2
= (wxWindow
*) NULL
;
10823 PyObject
* obj0
= 0 ;
10824 PyObject
* obj1
= 0 ;
10825 char *kwnames
[] = {
10826 (char *) "self",(char *) "focus", NULL
10829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) goto fail
;
10830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_EXCEPTION
| 0);
10831 if (SWIG_arg_fail(1)) SWIG_fail
;
10833 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10834 if (SWIG_arg_fail(2)) SWIG_fail
;
10837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10838 (arg1
)->Popup(arg2
);
10840 wxPyEndAllowThreads(__tstate
);
10841 if (PyErr_Occurred()) SWIG_fail
;
10843 Py_INCREF(Py_None
); resultobj
= Py_None
;
10850 static PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10851 PyObject
*resultobj
;
10852 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
10853 PyObject
* obj0
= 0 ;
10854 char *kwnames
[] = {
10855 (char *) "self", NULL
10858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PopupTransientWindow_Dismiss",kwnames
,&obj0
)) goto fail
;
10859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_EXCEPTION
| 0);
10860 if (SWIG_arg_fail(1)) SWIG_fail
;
10862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10865 wxPyEndAllowThreads(__tstate
);
10866 if (PyErr_Occurred()) SWIG_fail
;
10868 Py_INCREF(Py_None
); resultobj
= Py_None
;
10875 static PyObject
* PopupTransientWindow_swigregister(PyObject
*, PyObject
*args
) {
10877 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10878 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
10880 return Py_BuildValue((char *)"");
10882 static PyObject
*_wrap_new_TipWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10883 PyObject
*resultobj
;
10884 wxWindow
*arg1
= (wxWindow
*) 0 ;
10885 wxString
*arg2
= 0 ;
10886 int arg3
= (int) 100 ;
10887 wxRect
*arg4
= (wxRect
*) NULL
;
10888 wxTipWindow
*result
;
10889 bool temp2
= false ;
10890 PyObject
* obj0
= 0 ;
10891 PyObject
* obj1
= 0 ;
10892 PyObject
* obj2
= 0 ;
10893 PyObject
* obj3
= 0 ;
10894 char *kwnames
[] = {
10895 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
10898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10900 if (SWIG_arg_fail(1)) SWIG_fail
;
10902 arg2
= wxString_in_helper(obj1
);
10903 if (arg2
== NULL
) SWIG_fail
;
10908 arg3
= (int)(SWIG_As_int(obj2
));
10909 if (SWIG_arg_fail(3)) SWIG_fail
;
10913 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
10914 if (SWIG_arg_fail(4)) SWIG_fail
;
10917 if (!wxPyCheckForApp()) SWIG_fail
;
10918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10919 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
10921 wxPyEndAllowThreads(__tstate
);
10922 if (PyErr_Occurred()) SWIG_fail
;
10924 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
10939 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10940 PyObject
*resultobj
;
10941 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
10944 PyObject
* obj0
= 0 ;
10945 PyObject
* obj1
= 0 ;
10946 char *kwnames
[] = {
10947 (char *) "self",(char *) "rectBound", NULL
10950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_EXCEPTION
| 0);
10952 if (SWIG_arg_fail(1)) SWIG_fail
;
10955 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10959 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
10961 wxPyEndAllowThreads(__tstate
);
10962 if (PyErr_Occurred()) SWIG_fail
;
10964 Py_INCREF(Py_None
); resultobj
= Py_None
;
10971 static PyObject
*_wrap_TipWindow_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10972 PyObject
*resultobj
;
10973 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
10974 PyObject
* obj0
= 0 ;
10975 char *kwnames
[] = {
10976 (char *) "self", NULL
10979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
10980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_EXCEPTION
| 0);
10981 if (SWIG_arg_fail(1)) SWIG_fail
;
10983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10986 wxPyEndAllowThreads(__tstate
);
10987 if (PyErr_Occurred()) SWIG_fail
;
10989 Py_INCREF(Py_None
); resultobj
= Py_None
;
10996 static PyObject
* TipWindow_swigregister(PyObject
*, PyObject
*args
) {
10998 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10999 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
11001 return Py_BuildValue((char *)"");
11003 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11004 PyObject
*resultobj
;
11005 wxWindow
*arg1
= (wxWindow
*) 0 ;
11006 int arg2
= (int) wxID_ANY
;
11007 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11008 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11009 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11010 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11011 long arg5
= (long) 0 ;
11012 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
11013 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11014 wxPyVScrolledWindow
*result
;
11017 bool temp6
= false ;
11018 PyObject
* obj0
= 0 ;
11019 PyObject
* obj1
= 0 ;
11020 PyObject
* obj2
= 0 ;
11021 PyObject
* obj3
= 0 ;
11022 PyObject
* obj4
= 0 ;
11023 PyObject
* obj5
= 0 ;
11024 char *kwnames
[] = {
11025 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11030 if (SWIG_arg_fail(1)) SWIG_fail
;
11033 arg2
= (int)(SWIG_As_int(obj1
));
11034 if (SWIG_arg_fail(2)) SWIG_fail
;
11040 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11046 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11051 arg5
= (long)(SWIG_As_long(obj4
));
11052 if (SWIG_arg_fail(5)) SWIG_fail
;
11057 arg6
= wxString_in_helper(obj5
);
11058 if (arg6
== NULL
) SWIG_fail
;
11063 if (!wxPyCheckForApp()) SWIG_fail
;
11064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11065 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
11067 wxPyEndAllowThreads(__tstate
);
11068 if (PyErr_Occurred()) SWIG_fail
;
11070 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
11085 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11086 PyObject
*resultobj
;
11087 wxPyVScrolledWindow
*result
;
11088 char *kwnames
[] = {
11092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
11094 if (!wxPyCheckForApp()) SWIG_fail
;
11095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11096 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
11098 wxPyEndAllowThreads(__tstate
);
11099 if (PyErr_Occurred()) SWIG_fail
;
11101 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
11108 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11109 PyObject
*resultobj
;
11110 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11111 PyObject
*arg2
= (PyObject
*) 0 ;
11112 PyObject
*arg3
= (PyObject
*) 0 ;
11113 PyObject
* obj0
= 0 ;
11114 PyObject
* obj1
= 0 ;
11115 PyObject
* obj2
= 0 ;
11116 char *kwnames
[] = {
11117 (char *) "self",(char *) "self",(char *) "_class", NULL
11120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11122 if (SWIG_arg_fail(1)) SWIG_fail
;
11126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11127 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11129 wxPyEndAllowThreads(__tstate
);
11130 if (PyErr_Occurred()) SWIG_fail
;
11132 Py_INCREF(Py_None
); resultobj
= Py_None
;
11139 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11140 PyObject
*resultobj
;
11141 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11142 wxWindow
*arg2
= (wxWindow
*) 0 ;
11143 int arg3
= (int) wxID_ANY
;
11144 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11145 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11146 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11147 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11148 long arg6
= (long) 0 ;
11149 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
11150 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11154 bool temp7
= false ;
11155 PyObject
* obj0
= 0 ;
11156 PyObject
* obj1
= 0 ;
11157 PyObject
* obj2
= 0 ;
11158 PyObject
* obj3
= 0 ;
11159 PyObject
* obj4
= 0 ;
11160 PyObject
* obj5
= 0 ;
11161 PyObject
* obj6
= 0 ;
11162 char *kwnames
[] = {
11163 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11168 if (SWIG_arg_fail(1)) SWIG_fail
;
11169 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11170 if (SWIG_arg_fail(2)) SWIG_fail
;
11173 arg3
= (int)(SWIG_As_int(obj2
));
11174 if (SWIG_arg_fail(3)) SWIG_fail
;
11180 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11186 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11191 arg6
= (long)(SWIG_As_long(obj5
));
11192 if (SWIG_arg_fail(6)) SWIG_fail
;
11197 arg7
= wxString_in_helper(obj6
);
11198 if (arg7
== NULL
) SWIG_fail
;
11203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11204 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11206 wxPyEndAllowThreads(__tstate
);
11207 if (PyErr_Occurred()) SWIG_fail
;
11210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11226 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11227 PyObject
*resultobj
;
11228 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11230 PyObject
* obj0
= 0 ;
11231 PyObject
* obj1
= 0 ;
11232 char *kwnames
[] = {
11233 (char *) "self",(char *) "count", NULL
11236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11238 if (SWIG_arg_fail(1)) SWIG_fail
;
11240 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11241 if (SWIG_arg_fail(2)) SWIG_fail
;
11244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11245 (arg1
)->SetLineCount(arg2
);
11247 wxPyEndAllowThreads(__tstate
);
11248 if (PyErr_Occurred()) SWIG_fail
;
11250 Py_INCREF(Py_None
); resultobj
= Py_None
;
11257 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11258 PyObject
*resultobj
;
11259 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11262 PyObject
* obj0
= 0 ;
11263 PyObject
* obj1
= 0 ;
11264 char *kwnames
[] = {
11265 (char *) "self",(char *) "line", NULL
11268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
11269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11270 if (SWIG_arg_fail(1)) SWIG_fail
;
11272 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11273 if (SWIG_arg_fail(2)) SWIG_fail
;
11276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11277 result
= (bool)(arg1
)->ScrollToLine(arg2
);
11279 wxPyEndAllowThreads(__tstate
);
11280 if (PyErr_Occurred()) SWIG_fail
;
11283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11291 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11292 PyObject
*resultobj
;
11293 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11296 PyObject
* obj0
= 0 ;
11297 PyObject
* obj1
= 0 ;
11298 char *kwnames
[] = {
11299 (char *) "self",(char *) "lines", NULL
11302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
11303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11304 if (SWIG_arg_fail(1)) SWIG_fail
;
11306 arg2
= (int)(SWIG_As_int(obj1
));
11307 if (SWIG_arg_fail(2)) SWIG_fail
;
11310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11311 result
= (bool)(arg1
)->ScrollLines(arg2
);
11313 wxPyEndAllowThreads(__tstate
);
11314 if (PyErr_Occurred()) SWIG_fail
;
11317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11325 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11326 PyObject
*resultobj
;
11327 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11330 PyObject
* obj0
= 0 ;
11331 PyObject
* obj1
= 0 ;
11332 char *kwnames
[] = {
11333 (char *) "self",(char *) "pages", NULL
11336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
11337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11338 if (SWIG_arg_fail(1)) SWIG_fail
;
11340 arg2
= (int)(SWIG_As_int(obj1
));
11341 if (SWIG_arg_fail(2)) SWIG_fail
;
11344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11345 result
= (bool)(arg1
)->ScrollPages(arg2
);
11347 wxPyEndAllowThreads(__tstate
);
11348 if (PyErr_Occurred()) SWIG_fail
;
11351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11359 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11360 PyObject
*resultobj
;
11361 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11363 PyObject
* obj0
= 0 ;
11364 PyObject
* obj1
= 0 ;
11365 char *kwnames
[] = {
11366 (char *) "self",(char *) "line", NULL
11369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
11370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11371 if (SWIG_arg_fail(1)) SWIG_fail
;
11373 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11374 if (SWIG_arg_fail(2)) SWIG_fail
;
11377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11378 (arg1
)->RefreshLine(arg2
);
11380 wxPyEndAllowThreads(__tstate
);
11381 if (PyErr_Occurred()) SWIG_fail
;
11383 Py_INCREF(Py_None
); resultobj
= Py_None
;
11390 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11391 PyObject
*resultobj
;
11392 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11395 PyObject
* obj0
= 0 ;
11396 PyObject
* obj1
= 0 ;
11397 PyObject
* obj2
= 0 ;
11398 char *kwnames
[] = {
11399 (char *) "self",(char *) "from",(char *) "to", NULL
11402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11404 if (SWIG_arg_fail(1)) SWIG_fail
;
11406 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11407 if (SWIG_arg_fail(2)) SWIG_fail
;
11410 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
11411 if (SWIG_arg_fail(3)) SWIG_fail
;
11414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11415 (arg1
)->RefreshLines(arg2
,arg3
);
11417 wxPyEndAllowThreads(__tstate
);
11418 if (PyErr_Occurred()) SWIG_fail
;
11420 Py_INCREF(Py_None
); resultobj
= Py_None
;
11427 static PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11428 PyObject
*resultobj
;
11429 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11433 PyObject
* obj0
= 0 ;
11434 PyObject
* obj1
= 0 ;
11435 PyObject
* obj2
= 0 ;
11436 char *kwnames
[] = {
11437 (char *) "self",(char *) "x",(char *) "y", NULL
11440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11442 if (SWIG_arg_fail(1)) SWIG_fail
;
11444 arg2
= (int)(SWIG_As_int(obj1
));
11445 if (SWIG_arg_fail(2)) SWIG_fail
;
11448 arg3
= (int)(SWIG_As_int(obj2
));
11449 if (SWIG_arg_fail(3)) SWIG_fail
;
11452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11453 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
11455 wxPyEndAllowThreads(__tstate
);
11456 if (PyErr_Occurred()) SWIG_fail
;
11459 resultobj
= SWIG_From_int((int)(result
));
11467 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11468 PyObject
*resultobj
;
11469 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11470 wxPoint
*arg2
= 0 ;
11473 PyObject
* obj0
= 0 ;
11474 PyObject
* obj1
= 0 ;
11475 char *kwnames
[] = {
11476 (char *) "self",(char *) "pt", NULL
11479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
11480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11481 if (SWIG_arg_fail(1)) SWIG_fail
;
11484 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11488 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
11490 wxPyEndAllowThreads(__tstate
);
11491 if (PyErr_Occurred()) SWIG_fail
;
11494 resultobj
= SWIG_From_int((int)(result
));
11502 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11503 PyObject
*resultobj
;
11504 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11505 PyObject
* obj0
= 0 ;
11506 char *kwnames
[] = {
11507 (char *) "self", NULL
11510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
11511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11512 if (SWIG_arg_fail(1)) SWIG_fail
;
11514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11515 (arg1
)->RefreshAll();
11517 wxPyEndAllowThreads(__tstate
);
11518 if (PyErr_Occurred()) SWIG_fail
;
11520 Py_INCREF(Py_None
); resultobj
= Py_None
;
11527 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11528 PyObject
*resultobj
;
11529 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11531 PyObject
* obj0
= 0 ;
11532 char *kwnames
[] = {
11533 (char *) "self", NULL
11536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
11537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11538 if (SWIG_arg_fail(1)) SWIG_fail
;
11540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11541 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
11543 wxPyEndAllowThreads(__tstate
);
11544 if (PyErr_Occurred()) SWIG_fail
;
11547 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11555 static PyObject
*_wrap_VScrolledWindow_GetVisibleBegin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11556 PyObject
*resultobj
;
11557 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11559 PyObject
* obj0
= 0 ;
11560 char *kwnames
[] = {
11561 (char *) "self", NULL
11564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetVisibleBegin",kwnames
,&obj0
)) goto fail
;
11565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11566 if (SWIG_arg_fail(1)) SWIG_fail
;
11568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11569 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleBegin();
11571 wxPyEndAllowThreads(__tstate
);
11572 if (PyErr_Occurred()) SWIG_fail
;
11575 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11583 static PyObject
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11584 PyObject
*resultobj
;
11585 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11587 PyObject
* obj0
= 0 ;
11588 char *kwnames
[] = {
11589 (char *) "self", NULL
11592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetVisibleEnd",kwnames
,&obj0
)) goto fail
;
11593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11594 if (SWIG_arg_fail(1)) SWIG_fail
;
11596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11597 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleEnd();
11599 wxPyEndAllowThreads(__tstate
);
11600 if (PyErr_Occurred()) SWIG_fail
;
11603 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11611 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11612 PyObject
*resultobj
;
11613 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11616 PyObject
* obj0
= 0 ;
11617 PyObject
* obj1
= 0 ;
11618 char *kwnames
[] = {
11619 (char *) "self",(char *) "line", NULL
11622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
11623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11624 if (SWIG_arg_fail(1)) SWIG_fail
;
11626 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11627 if (SWIG_arg_fail(2)) SWIG_fail
;
11630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11631 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
11633 wxPyEndAllowThreads(__tstate
);
11634 if (PyErr_Occurred()) SWIG_fail
;
11637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11645 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11646 PyObject
*resultobj
;
11647 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11649 PyObject
* obj0
= 0 ;
11650 char *kwnames
[] = {
11651 (char *) "self", NULL
11654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
11655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11656 if (SWIG_arg_fail(1)) SWIG_fail
;
11658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11659 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
11661 wxPyEndAllowThreads(__tstate
);
11662 if (PyErr_Occurred()) SWIG_fail
;
11665 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11673 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11674 PyObject
*resultobj
;
11675 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11677 PyObject
* obj0
= 0 ;
11678 char *kwnames
[] = {
11679 (char *) "self", NULL
11682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
11683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11684 if (SWIG_arg_fail(1)) SWIG_fail
;
11686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11687 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
11689 wxPyEndAllowThreads(__tstate
);
11690 if (PyErr_Occurred()) SWIG_fail
;
11693 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11701 static PyObject
* VScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
11703 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11704 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
11706 return Py_BuildValue((char *)"");
11708 static int _wrap_VListBoxNameStr_set(PyObject
*) {
11709 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
11714 static PyObject
*_wrap_VListBoxNameStr_get(void) {
11719 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
11721 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
11728 static PyObject
*_wrap_new_VListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11729 PyObject
*resultobj
;
11730 wxWindow
*arg1
= (wxWindow
*) 0 ;
11731 int arg2
= (int) wxID_ANY
;
11732 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11733 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11734 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11735 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11736 long arg5
= (long) 0 ;
11737 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
11738 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11739 wxPyVListBox
*result
;
11742 bool temp6
= false ;
11743 PyObject
* obj0
= 0 ;
11744 PyObject
* obj1
= 0 ;
11745 PyObject
* obj2
= 0 ;
11746 PyObject
* obj3
= 0 ;
11747 PyObject
* obj4
= 0 ;
11748 PyObject
* obj5
= 0 ;
11749 char *kwnames
[] = {
11750 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11755 if (SWIG_arg_fail(1)) SWIG_fail
;
11758 arg2
= (int)(SWIG_As_int(obj1
));
11759 if (SWIG_arg_fail(2)) SWIG_fail
;
11765 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11771 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11776 arg5
= (long)(SWIG_As_long(obj4
));
11777 if (SWIG_arg_fail(5)) SWIG_fail
;
11782 arg6
= wxString_in_helper(obj5
);
11783 if (arg6
== NULL
) SWIG_fail
;
11788 if (!wxPyCheckForApp()) SWIG_fail
;
11789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11790 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
11792 wxPyEndAllowThreads(__tstate
);
11793 if (PyErr_Occurred()) SWIG_fail
;
11795 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
11810 static PyObject
*_wrap_new_PreVListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11811 PyObject
*resultobj
;
11812 wxPyVListBox
*result
;
11813 char *kwnames
[] = {
11817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
11819 if (!wxPyCheckForApp()) SWIG_fail
;
11820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11821 result
= (wxPyVListBox
*)new wxPyVListBox();
11823 wxPyEndAllowThreads(__tstate
);
11824 if (PyErr_Occurred()) SWIG_fail
;
11826 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
11833 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11834 PyObject
*resultobj
;
11835 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11836 PyObject
*arg2
= (PyObject
*) 0 ;
11837 PyObject
*arg3
= (PyObject
*) 0 ;
11838 PyObject
* obj0
= 0 ;
11839 PyObject
* obj1
= 0 ;
11840 PyObject
* obj2
= 0 ;
11841 char *kwnames
[] = {
11842 (char *) "self",(char *) "self",(char *) "_class", NULL
11845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11847 if (SWIG_arg_fail(1)) SWIG_fail
;
11851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11852 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11854 wxPyEndAllowThreads(__tstate
);
11855 if (PyErr_Occurred()) SWIG_fail
;
11857 Py_INCREF(Py_None
); resultobj
= Py_None
;
11864 static PyObject
*_wrap_VListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11865 PyObject
*resultobj
;
11866 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11867 wxWindow
*arg2
= (wxWindow
*) 0 ;
11868 int arg3
= (int) wxID_ANY
;
11869 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11870 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11871 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11872 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11873 long arg6
= (long) 0 ;
11874 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
11875 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11879 bool temp7
= false ;
11880 PyObject
* obj0
= 0 ;
11881 PyObject
* obj1
= 0 ;
11882 PyObject
* obj2
= 0 ;
11883 PyObject
* obj3
= 0 ;
11884 PyObject
* obj4
= 0 ;
11885 PyObject
* obj5
= 0 ;
11886 PyObject
* obj6
= 0 ;
11887 char *kwnames
[] = {
11888 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11893 if (SWIG_arg_fail(1)) SWIG_fail
;
11894 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11895 if (SWIG_arg_fail(2)) SWIG_fail
;
11898 arg3
= (int)(SWIG_As_int(obj2
));
11899 if (SWIG_arg_fail(3)) SWIG_fail
;
11905 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11911 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11916 arg6
= (long)(SWIG_As_long(obj5
));
11917 if (SWIG_arg_fail(6)) SWIG_fail
;
11922 arg7
= wxString_in_helper(obj6
);
11923 if (arg7
== NULL
) SWIG_fail
;
11928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11929 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11931 wxPyEndAllowThreads(__tstate
);
11932 if (PyErr_Occurred()) SWIG_fail
;
11935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11951 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11952 PyObject
*resultobj
;
11953 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11955 PyObject
* obj0
= 0 ;
11956 char *kwnames
[] = {
11957 (char *) "self", NULL
11960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
11961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11962 if (SWIG_arg_fail(1)) SWIG_fail
;
11964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11965 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
11967 wxPyEndAllowThreads(__tstate
);
11968 if (PyErr_Occurred()) SWIG_fail
;
11971 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11979 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11980 PyObject
*resultobj
;
11981 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11983 PyObject
* obj0
= 0 ;
11984 char *kwnames
[] = {
11985 (char *) "self", NULL
11988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
11989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11990 if (SWIG_arg_fail(1)) SWIG_fail
;
11992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11993 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
11995 wxPyEndAllowThreads(__tstate
);
11996 if (PyErr_Occurred()) SWIG_fail
;
11999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12007 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12008 PyObject
*resultobj
;
12009 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12011 PyObject
* obj0
= 0 ;
12012 char *kwnames
[] = {
12013 (char *) "self", NULL
12016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
12017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12018 if (SWIG_arg_fail(1)) SWIG_fail
;
12020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12021 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
12023 wxPyEndAllowThreads(__tstate
);
12024 if (PyErr_Occurred()) SWIG_fail
;
12027 resultobj
= SWIG_From_int((int)(result
));
12035 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12036 PyObject
*resultobj
;
12037 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12040 PyObject
* obj0
= 0 ;
12041 PyObject
* obj1
= 0 ;
12042 char *kwnames
[] = {
12043 (char *) "self",(char *) "item", NULL
12046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
12047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12048 if (SWIG_arg_fail(1)) SWIG_fail
;
12050 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12051 if (SWIG_arg_fail(2)) SWIG_fail
;
12054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12055 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
12057 wxPyEndAllowThreads(__tstate
);
12058 if (PyErr_Occurred()) SWIG_fail
;
12061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12069 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12070 PyObject
*resultobj
;
12071 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12074 PyObject
* obj0
= 0 ;
12075 PyObject
* obj1
= 0 ;
12076 char *kwnames
[] = {
12077 (char *) "self",(char *) "item", NULL
12080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
12081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12082 if (SWIG_arg_fail(1)) SWIG_fail
;
12084 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12085 if (SWIG_arg_fail(2)) SWIG_fail
;
12088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12089 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
12091 wxPyEndAllowThreads(__tstate
);
12092 if (PyErr_Occurred()) SWIG_fail
;
12095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12103 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12104 PyObject
*resultobj
;
12105 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12107 PyObject
* obj0
= 0 ;
12108 char *kwnames
[] = {
12109 (char *) "self", NULL
12112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
12113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12114 if (SWIG_arg_fail(1)) SWIG_fail
;
12116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12117 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
12119 wxPyEndAllowThreads(__tstate
);
12120 if (PyErr_Occurred()) SWIG_fail
;
12123 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
12131 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12132 PyObject
*resultobj
;
12133 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12135 PyObject
* obj0
= 0 ;
12136 char *kwnames
[] = {
12137 (char *) "self", NULL
12140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
12141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12142 if (SWIG_arg_fail(1)) SWIG_fail
;
12144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12145 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
12147 wxPyEndAllowThreads(__tstate
);
12148 if (PyErr_Occurred()) SWIG_fail
;
12150 resultobj
= result
;
12157 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12158 PyObject
*resultobj
;
12159 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12160 unsigned long arg2
;
12162 PyObject
* obj0
= 0 ;
12163 PyObject
* obj1
= 0 ;
12164 char *kwnames
[] = {
12165 (char *) "self",(char *) "cookie", NULL
12168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
12169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12170 if (SWIG_arg_fail(1)) SWIG_fail
;
12172 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
12173 if (SWIG_arg_fail(2)) SWIG_fail
;
12176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12177 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
12179 wxPyEndAllowThreads(__tstate
);
12180 if (PyErr_Occurred()) SWIG_fail
;
12182 resultobj
= result
;
12189 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12190 PyObject
*resultobj
;
12191 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12193 PyObject
* obj0
= 0 ;
12194 char *kwnames
[] = {
12195 (char *) "self", NULL
12198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
12199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12200 if (SWIG_arg_fail(1)) SWIG_fail
;
12202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12203 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
12205 wxPyEndAllowThreads(__tstate
);
12206 if (PyErr_Occurred()) SWIG_fail
;
12209 wxPoint
* resultptr
;
12210 resultptr
= new wxPoint((wxPoint
&)(result
));
12211 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
12219 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12220 PyObject
*resultobj
;
12221 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12223 PyObject
* obj0
= 0 ;
12224 char *kwnames
[] = {
12225 (char *) "self", NULL
12228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
12229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12230 if (SWIG_arg_fail(1)) SWIG_fail
;
12232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12234 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
12235 result
= (wxColour
*) &_result_ref
;
12238 wxPyEndAllowThreads(__tstate
);
12239 if (PyErr_Occurred()) SWIG_fail
;
12241 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
12248 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12249 PyObject
*resultobj
;
12250 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12252 PyObject
* obj0
= 0 ;
12253 PyObject
* obj1
= 0 ;
12254 char *kwnames
[] = {
12255 (char *) "self",(char *) "count", NULL
12258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
12259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12260 if (SWIG_arg_fail(1)) SWIG_fail
;
12262 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12263 if (SWIG_arg_fail(2)) SWIG_fail
;
12266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12267 (arg1
)->SetItemCount(arg2
);
12269 wxPyEndAllowThreads(__tstate
);
12270 if (PyErr_Occurred()) SWIG_fail
;
12272 Py_INCREF(Py_None
); resultobj
= Py_None
;
12279 static PyObject
*_wrap_VListBox_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12280 PyObject
*resultobj
;
12281 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12282 PyObject
* obj0
= 0 ;
12283 char *kwnames
[] = {
12284 (char *) "self", NULL
12287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
12288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12289 if (SWIG_arg_fail(1)) SWIG_fail
;
12291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12294 wxPyEndAllowThreads(__tstate
);
12295 if (PyErr_Occurred()) SWIG_fail
;
12297 Py_INCREF(Py_None
); resultobj
= Py_None
;
12304 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12305 PyObject
*resultobj
;
12306 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12308 PyObject
* obj0
= 0 ;
12309 PyObject
* obj1
= 0 ;
12310 char *kwnames
[] = {
12311 (char *) "self",(char *) "selection", NULL
12314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12316 if (SWIG_arg_fail(1)) SWIG_fail
;
12318 arg2
= (int)(SWIG_As_int(obj1
));
12319 if (SWIG_arg_fail(2)) SWIG_fail
;
12322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12323 (arg1
)->SetSelection(arg2
);
12325 wxPyEndAllowThreads(__tstate
);
12326 if (PyErr_Occurred()) SWIG_fail
;
12328 Py_INCREF(Py_None
); resultobj
= Py_None
;
12335 static PyObject
*_wrap_VListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12336 PyObject
*resultobj
;
12337 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12339 bool arg3
= (bool) true ;
12341 PyObject
* obj0
= 0 ;
12342 PyObject
* obj1
= 0 ;
12343 PyObject
* obj2
= 0 ;
12344 char *kwnames
[] = {
12345 (char *) "self",(char *) "item",(char *) "select", NULL
12348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) 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
;
12357 arg3
= (bool)(SWIG_As_bool(obj2
));
12358 if (SWIG_arg_fail(3)) SWIG_fail
;
12362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12363 result
= (bool)(arg1
)->Select(arg2
,arg3
);
12365 wxPyEndAllowThreads(__tstate
);
12366 if (PyErr_Occurred()) SWIG_fail
;
12369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12377 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12378 PyObject
*resultobj
;
12379 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12383 PyObject
* obj0
= 0 ;
12384 PyObject
* obj1
= 0 ;
12385 PyObject
* obj2
= 0 ;
12386 char *kwnames
[] = {
12387 (char *) "self",(char *) "from",(char *) "to", NULL
12390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12392 if (SWIG_arg_fail(1)) SWIG_fail
;
12394 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12395 if (SWIG_arg_fail(2)) SWIG_fail
;
12398 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
12399 if (SWIG_arg_fail(3)) SWIG_fail
;
12402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12403 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
12405 wxPyEndAllowThreads(__tstate
);
12406 if (PyErr_Occurred()) SWIG_fail
;
12409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12417 static PyObject
*_wrap_VListBox_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12418 PyObject
*resultobj
;
12419 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12421 PyObject
* obj0
= 0 ;
12422 PyObject
* obj1
= 0 ;
12423 char *kwnames
[] = {
12424 (char *) "self",(char *) "item", NULL
12427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
12428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12429 if (SWIG_arg_fail(1)) SWIG_fail
;
12431 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12432 if (SWIG_arg_fail(2)) SWIG_fail
;
12435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12436 (arg1
)->Toggle(arg2
);
12438 wxPyEndAllowThreads(__tstate
);
12439 if (PyErr_Occurred()) SWIG_fail
;
12441 Py_INCREF(Py_None
); resultobj
= Py_None
;
12448 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12449 PyObject
*resultobj
;
12450 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12452 PyObject
* obj0
= 0 ;
12453 char *kwnames
[] = {
12454 (char *) "self", NULL
12457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
12458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12459 if (SWIG_arg_fail(1)) SWIG_fail
;
12461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12462 result
= (bool)(arg1
)->SelectAll();
12464 wxPyEndAllowThreads(__tstate
);
12465 if (PyErr_Occurred()) SWIG_fail
;
12468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12476 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12477 PyObject
*resultobj
;
12478 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12480 PyObject
* obj0
= 0 ;
12481 char *kwnames
[] = {
12482 (char *) "self", NULL
12485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
12486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12487 if (SWIG_arg_fail(1)) SWIG_fail
;
12489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12490 result
= (bool)(arg1
)->DeselectAll();
12492 wxPyEndAllowThreads(__tstate
);
12493 if (PyErr_Occurred()) SWIG_fail
;
12496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12504 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12505 PyObject
*resultobj
;
12506 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12507 wxPoint
*arg2
= 0 ;
12509 PyObject
* obj0
= 0 ;
12510 PyObject
* obj1
= 0 ;
12511 char *kwnames
[] = {
12512 (char *) "self",(char *) "pt", NULL
12515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
12516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12517 if (SWIG_arg_fail(1)) SWIG_fail
;
12520 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12524 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
12526 wxPyEndAllowThreads(__tstate
);
12527 if (PyErr_Occurred()) SWIG_fail
;
12529 Py_INCREF(Py_None
); resultobj
= Py_None
;
12536 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12537 PyObject
*resultobj
;
12538 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12541 PyObject
* obj0
= 0 ;
12542 PyObject
* obj1
= 0 ;
12543 PyObject
* obj2
= 0 ;
12544 char *kwnames
[] = {
12545 (char *) "self",(char *) "x",(char *) "y", NULL
12548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12550 if (SWIG_arg_fail(1)) SWIG_fail
;
12552 arg2
= (int)(SWIG_As_int(obj1
));
12553 if (SWIG_arg_fail(2)) SWIG_fail
;
12556 arg3
= (int)(SWIG_As_int(obj2
));
12557 if (SWIG_arg_fail(3)) SWIG_fail
;
12560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12561 (arg1
)->SetMargins(arg2
,arg3
);
12563 wxPyEndAllowThreads(__tstate
);
12564 if (PyErr_Occurred()) SWIG_fail
;
12566 Py_INCREF(Py_None
); resultobj
= Py_None
;
12573 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12574 PyObject
*resultobj
;
12575 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12576 wxColour
*arg2
= 0 ;
12578 PyObject
* obj0
= 0 ;
12579 PyObject
* obj1
= 0 ;
12580 char *kwnames
[] = {
12581 (char *) "self",(char *) "col", NULL
12584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
12585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12586 if (SWIG_arg_fail(1)) SWIG_fail
;
12589 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12593 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
12595 wxPyEndAllowThreads(__tstate
);
12596 if (PyErr_Occurred()) SWIG_fail
;
12598 Py_INCREF(Py_None
); resultobj
= Py_None
;
12605 static PyObject
* VListBox_swigregister(PyObject
*, PyObject
*args
) {
12607 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12608 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
12610 return Py_BuildValue((char *)"");
12612 static PyObject
*_wrap_new_HtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12613 PyObject
*resultobj
;
12614 wxWindow
*arg1
= (wxWindow
*) 0 ;
12615 int arg2
= (int) wxID_ANY
;
12616 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12617 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12618 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12619 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12620 long arg5
= (long) 0 ;
12621 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
12622 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12623 wxPyHtmlListBox
*result
;
12626 bool temp6
= false ;
12627 PyObject
* obj0
= 0 ;
12628 PyObject
* obj1
= 0 ;
12629 PyObject
* obj2
= 0 ;
12630 PyObject
* obj3
= 0 ;
12631 PyObject
* obj4
= 0 ;
12632 PyObject
* obj5
= 0 ;
12633 char *kwnames
[] = {
12634 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12639 if (SWIG_arg_fail(1)) SWIG_fail
;
12642 arg2
= (int)(SWIG_As_int(obj1
));
12643 if (SWIG_arg_fail(2)) SWIG_fail
;
12649 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12655 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12660 arg5
= (long)(SWIG_As_long(obj4
));
12661 if (SWIG_arg_fail(5)) SWIG_fail
;
12666 arg6
= wxString_in_helper(obj5
);
12667 if (arg6
== NULL
) SWIG_fail
;
12672 if (!wxPyCheckForApp()) SWIG_fail
;
12673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12674 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12676 wxPyEndAllowThreads(__tstate
);
12677 if (PyErr_Occurred()) SWIG_fail
;
12679 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
12694 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12695 PyObject
*resultobj
;
12696 wxPyHtmlListBox
*result
;
12697 char *kwnames
[] = {
12701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
12703 if (!wxPyCheckForApp()) SWIG_fail
;
12704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12705 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
12707 wxPyEndAllowThreads(__tstate
);
12708 if (PyErr_Occurred()) SWIG_fail
;
12710 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
12717 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12718 PyObject
*resultobj
;
12719 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12720 PyObject
*arg2
= (PyObject
*) 0 ;
12721 PyObject
*arg3
= (PyObject
*) 0 ;
12722 PyObject
* obj0
= 0 ;
12723 PyObject
* obj1
= 0 ;
12724 PyObject
* obj2
= 0 ;
12725 char *kwnames
[] = {
12726 (char *) "self",(char *) "self",(char *) "_class", NULL
12729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12731 if (SWIG_arg_fail(1)) SWIG_fail
;
12735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12736 (arg1
)->_setCallbackInfo(arg2
,arg3
);
12738 wxPyEndAllowThreads(__tstate
);
12739 if (PyErr_Occurred()) SWIG_fail
;
12741 Py_INCREF(Py_None
); resultobj
= Py_None
;
12748 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12749 PyObject
*resultobj
;
12750 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12751 wxWindow
*arg2
= (wxWindow
*) 0 ;
12752 int arg3
= (int) wxID_ANY
;
12753 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12754 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12755 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12756 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12757 long arg6
= (long) 0 ;
12758 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
12759 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12763 bool temp7
= false ;
12764 PyObject
* obj0
= 0 ;
12765 PyObject
* obj1
= 0 ;
12766 PyObject
* obj2
= 0 ;
12767 PyObject
* obj3
= 0 ;
12768 PyObject
* obj4
= 0 ;
12769 PyObject
* obj5
= 0 ;
12770 PyObject
* obj6
= 0 ;
12771 char *kwnames
[] = {
12772 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12777 if (SWIG_arg_fail(1)) SWIG_fail
;
12778 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12779 if (SWIG_arg_fail(2)) SWIG_fail
;
12782 arg3
= (int)(SWIG_As_int(obj2
));
12783 if (SWIG_arg_fail(3)) SWIG_fail
;
12789 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12795 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12800 arg6
= (long)(SWIG_As_long(obj5
));
12801 if (SWIG_arg_fail(6)) SWIG_fail
;
12806 arg7
= wxString_in_helper(obj6
);
12807 if (arg7
== NULL
) SWIG_fail
;
12812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12813 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12815 wxPyEndAllowThreads(__tstate
);
12816 if (PyErr_Occurred()) SWIG_fail
;
12819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12835 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12836 PyObject
*resultobj
;
12837 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12838 PyObject
* obj0
= 0 ;
12839 char *kwnames
[] = {
12840 (char *) "self", NULL
12843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
12844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12845 if (SWIG_arg_fail(1)) SWIG_fail
;
12847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12848 (arg1
)->RefreshAll();
12850 wxPyEndAllowThreads(__tstate
);
12851 if (PyErr_Occurred()) SWIG_fail
;
12853 Py_INCREF(Py_None
); resultobj
= Py_None
;
12860 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12861 PyObject
*resultobj
;
12862 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12864 PyObject
* obj0
= 0 ;
12865 PyObject
* obj1
= 0 ;
12866 char *kwnames
[] = {
12867 (char *) "self",(char *) "count", NULL
12870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
12871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12872 if (SWIG_arg_fail(1)) SWIG_fail
;
12874 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12875 if (SWIG_arg_fail(2)) SWIG_fail
;
12878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12879 (arg1
)->SetItemCount(arg2
);
12881 wxPyEndAllowThreads(__tstate
);
12882 if (PyErr_Occurred()) SWIG_fail
;
12884 Py_INCREF(Py_None
); resultobj
= Py_None
;
12891 static PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12892 PyObject
*resultobj
;
12893 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12894 wxFileSystem
*result
;
12895 PyObject
* obj0
= 0 ;
12896 char *kwnames
[] = {
12897 (char *) "self", NULL
12900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_GetFileSystem",kwnames
,&obj0
)) goto fail
;
12901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12902 if (SWIG_arg_fail(1)) SWIG_fail
;
12904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12906 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
12907 result
= (wxFileSystem
*) &_result_ref
;
12910 wxPyEndAllowThreads(__tstate
);
12911 if (PyErr_Occurred()) SWIG_fail
;
12913 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileSystem
, 0);
12920 static PyObject
* HtmlListBox_swigregister(PyObject
*, PyObject
*args
) {
12922 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12923 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
12925 return Py_BuildValue((char *)"");
12927 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12928 PyObject
*resultobj
;
12929 wxPyTaskBarIcon
*result
;
12930 char *kwnames
[] = {
12934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
12936 if (!wxPyCheckForApp()) SWIG_fail
;
12937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12938 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
12940 wxPyEndAllowThreads(__tstate
);
12941 if (PyErr_Occurred()) SWIG_fail
;
12943 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTaskBarIcon
, 1);
12950 static PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12951 PyObject
*resultobj
;
12952 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12953 PyObject
*arg2
= (PyObject
*) 0 ;
12954 PyObject
*arg3
= (PyObject
*) 0 ;
12956 PyObject
* obj0
= 0 ;
12957 PyObject
* obj1
= 0 ;
12958 PyObject
* obj2
= 0 ;
12959 PyObject
* obj3
= 0 ;
12960 char *kwnames
[] = {
12961 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
12964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12966 if (SWIG_arg_fail(1)) SWIG_fail
;
12970 arg4
= (int)(SWIG_As_int(obj3
));
12971 if (SWIG_arg_fail(4)) SWIG_fail
;
12974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12975 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
12977 wxPyEndAllowThreads(__tstate
);
12978 if (PyErr_Occurred()) SWIG_fail
;
12980 Py_INCREF(Py_None
); resultobj
= Py_None
;
12987 static PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12988 PyObject
*resultobj
;
12989 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12990 PyObject
* obj0
= 0 ;
12991 char *kwnames
[] = {
12992 (char *) "self", NULL
12995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_Destroy",kwnames
,&obj0
)) goto fail
;
12996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12997 if (SWIG_arg_fail(1)) SWIG_fail
;
12999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13000 wxPyTaskBarIcon_Destroy(arg1
);
13002 wxPyEndAllowThreads(__tstate
);
13003 if (PyErr_Occurred()) SWIG_fail
;
13005 Py_INCREF(Py_None
); resultobj
= Py_None
;
13012 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13013 PyObject
*resultobj
;
13014 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13016 PyObject
* obj0
= 0 ;
13017 char *kwnames
[] = {
13018 (char *) "self", NULL
13021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
13022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13023 if (SWIG_arg_fail(1)) SWIG_fail
;
13025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13026 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
13028 wxPyEndAllowThreads(__tstate
);
13029 if (PyErr_Occurred()) SWIG_fail
;
13032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13040 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13041 PyObject
*resultobj
;
13042 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13044 PyObject
* obj0
= 0 ;
13045 char *kwnames
[] = {
13046 (char *) "self", NULL
13049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
13050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13051 if (SWIG_arg_fail(1)) SWIG_fail
;
13053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13054 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
13056 wxPyEndAllowThreads(__tstate
);
13057 if (PyErr_Occurred()) SWIG_fail
;
13060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13068 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13069 PyObject
*resultobj
;
13070 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13072 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13073 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13075 bool temp3
= false ;
13076 PyObject
* obj0
= 0 ;
13077 PyObject
* obj1
= 0 ;
13078 PyObject
* obj2
= 0 ;
13079 char *kwnames
[] = {
13080 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
13083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13085 if (SWIG_arg_fail(1)) SWIG_fail
;
13087 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
13088 if (SWIG_arg_fail(2)) SWIG_fail
;
13089 if (arg2
== NULL
) {
13090 SWIG_null_ref("wxIcon");
13092 if (SWIG_arg_fail(2)) SWIG_fail
;
13096 arg3
= wxString_in_helper(obj2
);
13097 if (arg3
== NULL
) SWIG_fail
;
13102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13103 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
13105 wxPyEndAllowThreads(__tstate
);
13106 if (PyErr_Occurred()) SWIG_fail
;
13109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13125 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13126 PyObject
*resultobj
;
13127 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13129 PyObject
* obj0
= 0 ;
13130 char *kwnames
[] = {
13131 (char *) "self", NULL
13134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
13135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13136 if (SWIG_arg_fail(1)) SWIG_fail
;
13138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13139 result
= (bool)(arg1
)->RemoveIcon();
13141 wxPyEndAllowThreads(__tstate
);
13142 if (PyErr_Occurred()) SWIG_fail
;
13145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13153 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13154 PyObject
*resultobj
;
13155 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13156 wxMenu
*arg2
= (wxMenu
*) 0 ;
13158 PyObject
* obj0
= 0 ;
13159 PyObject
* obj1
= 0 ;
13160 char *kwnames
[] = {
13161 (char *) "self",(char *) "menu", NULL
13164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
13165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13166 if (SWIG_arg_fail(1)) SWIG_fail
;
13167 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
13168 if (SWIG_arg_fail(2)) SWIG_fail
;
13170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13171 result
= (bool)(arg1
)->PopupMenu(arg2
);
13173 wxPyEndAllowThreads(__tstate
);
13174 if (PyErr_Occurred()) SWIG_fail
;
13177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13185 static PyObject
* TaskBarIcon_swigregister(PyObject
*, PyObject
*args
) {
13187 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13188 SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon
, obj
);
13190 return Py_BuildValue((char *)"");
13192 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13193 PyObject
*resultobj
;
13195 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
13196 wxTaskBarIconEvent
*result
;
13197 PyObject
* obj0
= 0 ;
13198 PyObject
* obj1
= 0 ;
13199 char *kwnames
[] = {
13200 (char *) "evtType",(char *) "tbIcon", NULL
13203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13205 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
13206 if (SWIG_arg_fail(1)) SWIG_fail
;
13208 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13209 if (SWIG_arg_fail(2)) SWIG_fail
;
13211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13212 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
13214 wxPyEndAllowThreads(__tstate
);
13215 if (PyErr_Occurred()) SWIG_fail
;
13217 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
13224 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*, PyObject
*args
) {
13226 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13227 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
13229 return Py_BuildValue((char *)"");
13231 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
13232 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
13237 static PyObject
*_wrap_FileSelectorPromptStr_get(void) {
13242 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
13244 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
13251 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
13252 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
13257 static PyObject
*_wrap_DirSelectorPromptStr_get(void) {
13262 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
13264 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
13271 static int _wrap_DirDialogNameStr_set(PyObject
*) {
13272 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
13277 static PyObject
*_wrap_DirDialogNameStr_get(void) {
13282 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
13284 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
13291 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
13292 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
13297 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get(void) {
13302 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
13304 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
13311 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*) {
13312 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
13317 static PyObject
*_wrap_GetTextFromUserPromptStr_get(void) {
13322 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
13324 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
13331 static int _wrap_MessageBoxCaptionStr_set(PyObject
*) {
13332 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
13337 static PyObject
*_wrap_MessageBoxCaptionStr_get(void) {
13342 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
13344 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
13351 static PyObject
*_wrap_new_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13352 PyObject
*resultobj
;
13353 wxColourData
*result
;
13354 char *kwnames
[] = {
13358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
13360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13361 result
= (wxColourData
*)new wxColourData();
13363 wxPyEndAllowThreads(__tstate
);
13364 if (PyErr_Occurred()) SWIG_fail
;
13366 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
13373 static PyObject
*_wrap_delete_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13374 PyObject
*resultobj
;
13375 wxColourData
*arg1
= (wxColourData
*) 0 ;
13376 PyObject
* obj0
= 0 ;
13377 char *kwnames
[] = {
13378 (char *) "self", NULL
13381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
13382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13383 if (SWIG_arg_fail(1)) SWIG_fail
;
13385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13388 wxPyEndAllowThreads(__tstate
);
13389 if (PyErr_Occurred()) SWIG_fail
;
13391 Py_INCREF(Py_None
); resultobj
= Py_None
;
13398 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13399 PyObject
*resultobj
;
13400 wxColourData
*arg1
= (wxColourData
*) 0 ;
13402 PyObject
* obj0
= 0 ;
13403 char *kwnames
[] = {
13404 (char *) "self", NULL
13407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
13408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13409 if (SWIG_arg_fail(1)) SWIG_fail
;
13411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13412 result
= (bool)(arg1
)->GetChooseFull();
13414 wxPyEndAllowThreads(__tstate
);
13415 if (PyErr_Occurred()) SWIG_fail
;
13418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13426 static PyObject
*_wrap_ColourData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13427 PyObject
*resultobj
;
13428 wxColourData
*arg1
= (wxColourData
*) 0 ;
13430 PyObject
* obj0
= 0 ;
13431 char *kwnames
[] = {
13432 (char *) "self", NULL
13435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
13436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13437 if (SWIG_arg_fail(1)) SWIG_fail
;
13439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13440 result
= (arg1
)->GetColour();
13442 wxPyEndAllowThreads(__tstate
);
13443 if (PyErr_Occurred()) SWIG_fail
;
13446 wxColour
* resultptr
;
13447 resultptr
= new wxColour((wxColour
&)(result
));
13448 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13456 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13457 PyObject
*resultobj
;
13458 wxColourData
*arg1
= (wxColourData
*) 0 ;
13461 PyObject
* obj0
= 0 ;
13462 PyObject
* obj1
= 0 ;
13463 char *kwnames
[] = {
13464 (char *) "self",(char *) "i", NULL
13467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13469 if (SWIG_arg_fail(1)) SWIG_fail
;
13471 arg2
= (int)(SWIG_As_int(obj1
));
13472 if (SWIG_arg_fail(2)) SWIG_fail
;
13475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13476 result
= (arg1
)->GetCustomColour(arg2
);
13478 wxPyEndAllowThreads(__tstate
);
13479 if (PyErr_Occurred()) SWIG_fail
;
13482 wxColour
* resultptr
;
13483 resultptr
= new wxColour((wxColour
&)(result
));
13484 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13492 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13493 PyObject
*resultobj
;
13494 wxColourData
*arg1
= (wxColourData
*) 0 ;
13496 PyObject
* obj0
= 0 ;
13497 PyObject
* obj1
= 0 ;
13498 char *kwnames
[] = {
13499 (char *) "self",(char *) "flag", NULL
13502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
13503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13504 if (SWIG_arg_fail(1)) SWIG_fail
;
13506 arg2
= (int)(SWIG_As_int(obj1
));
13507 if (SWIG_arg_fail(2)) SWIG_fail
;
13510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13511 (arg1
)->SetChooseFull(arg2
);
13513 wxPyEndAllowThreads(__tstate
);
13514 if (PyErr_Occurred()) SWIG_fail
;
13516 Py_INCREF(Py_None
); resultobj
= Py_None
;
13523 static PyObject
*_wrap_ColourData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13524 PyObject
*resultobj
;
13525 wxColourData
*arg1
= (wxColourData
*) 0 ;
13526 wxColour
*arg2
= 0 ;
13528 PyObject
* obj0
= 0 ;
13529 PyObject
* obj1
= 0 ;
13530 char *kwnames
[] = {
13531 (char *) "self",(char *) "colour", NULL
13534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13536 if (SWIG_arg_fail(1)) SWIG_fail
;
13539 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13543 (arg1
)->SetColour((wxColour
const &)*arg2
);
13545 wxPyEndAllowThreads(__tstate
);
13546 if (PyErr_Occurred()) SWIG_fail
;
13548 Py_INCREF(Py_None
); resultobj
= Py_None
;
13555 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13556 PyObject
*resultobj
;
13557 wxColourData
*arg1
= (wxColourData
*) 0 ;
13559 wxColour
*arg3
= 0 ;
13561 PyObject
* obj0
= 0 ;
13562 PyObject
* obj1
= 0 ;
13563 PyObject
* obj2
= 0 ;
13564 char *kwnames
[] = {
13565 (char *) "self",(char *) "i",(char *) "colour", NULL
13568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13570 if (SWIG_arg_fail(1)) SWIG_fail
;
13572 arg2
= (int)(SWIG_As_int(obj1
));
13573 if (SWIG_arg_fail(2)) SWIG_fail
;
13577 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
13580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13581 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
13583 wxPyEndAllowThreads(__tstate
);
13584 if (PyErr_Occurred()) SWIG_fail
;
13586 Py_INCREF(Py_None
); resultobj
= Py_None
;
13593 static PyObject
* ColourData_swigregister(PyObject
*, PyObject
*args
) {
13595 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13596 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
13598 return Py_BuildValue((char *)"");
13600 static PyObject
*_wrap_new_ColourDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13601 PyObject
*resultobj
;
13602 wxWindow
*arg1
= (wxWindow
*) 0 ;
13603 wxColourData
*arg2
= (wxColourData
*) NULL
;
13604 wxColourDialog
*result
;
13605 PyObject
* obj0
= 0 ;
13606 PyObject
* obj1
= 0 ;
13607 char *kwnames
[] = {
13608 (char *) "parent",(char *) "data", NULL
13611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
13612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13613 if (SWIG_arg_fail(1)) SWIG_fail
;
13615 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13616 if (SWIG_arg_fail(2)) SWIG_fail
;
13619 if (!wxPyCheckForApp()) SWIG_fail
;
13620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13621 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
13623 wxPyEndAllowThreads(__tstate
);
13624 if (PyErr_Occurred()) SWIG_fail
;
13626 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
13633 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13634 PyObject
*resultobj
;
13635 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
13636 wxColourData
*result
;
13637 PyObject
* obj0
= 0 ;
13638 char *kwnames
[] = {
13639 (char *) "self", NULL
13642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
13643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_EXCEPTION
| 0);
13644 if (SWIG_arg_fail(1)) SWIG_fail
;
13646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13648 wxColourData
&_result_ref
= (arg1
)->GetColourData();
13649 result
= (wxColourData
*) &_result_ref
;
13652 wxPyEndAllowThreads(__tstate
);
13653 if (PyErr_Occurred()) SWIG_fail
;
13655 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
13662 static PyObject
* ColourDialog_swigregister(PyObject
*, PyObject
*args
) {
13664 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13665 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
13667 return Py_BuildValue((char *)"");
13669 static PyObject
*_wrap_new_DirDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13670 PyObject
*resultobj
;
13671 wxWindow
*arg1
= (wxWindow
*) 0 ;
13672 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
13673 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13674 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13675 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13676 long arg4
= (long) 0 ;
13677 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13678 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13679 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13680 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13681 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
13682 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13683 wxDirDialog
*result
;
13684 bool temp2
= false ;
13685 bool temp3
= false ;
13688 bool temp7
= false ;
13689 PyObject
* obj0
= 0 ;
13690 PyObject
* obj1
= 0 ;
13691 PyObject
* obj2
= 0 ;
13692 PyObject
* obj3
= 0 ;
13693 PyObject
* obj4
= 0 ;
13694 PyObject
* obj5
= 0 ;
13695 PyObject
* obj6
= 0 ;
13696 char *kwnames
[] = {
13697 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
13700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13702 if (SWIG_arg_fail(1)) SWIG_fail
;
13705 arg2
= wxString_in_helper(obj1
);
13706 if (arg2
== NULL
) SWIG_fail
;
13712 arg3
= wxString_in_helper(obj2
);
13713 if (arg3
== NULL
) SWIG_fail
;
13719 arg4
= (long)(SWIG_As_long(obj3
));
13720 if (SWIG_arg_fail(4)) SWIG_fail
;
13726 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13732 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13737 arg7
= wxString_in_helper(obj6
);
13738 if (arg7
== NULL
) SWIG_fail
;
13743 if (!wxPyCheckForApp()) SWIG_fail
;
13744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13745 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
13747 wxPyEndAllowThreads(__tstate
);
13748 if (PyErr_Occurred()) SWIG_fail
;
13750 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
13781 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13782 PyObject
*resultobj
;
13783 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13785 PyObject
* obj0
= 0 ;
13786 char *kwnames
[] = {
13787 (char *) "self", NULL
13790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
13791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13792 if (SWIG_arg_fail(1)) SWIG_fail
;
13794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13795 result
= (arg1
)->GetPath();
13797 wxPyEndAllowThreads(__tstate
);
13798 if (PyErr_Occurred()) SWIG_fail
;
13802 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13804 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13813 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13814 PyObject
*resultobj
;
13815 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13817 PyObject
* obj0
= 0 ;
13818 char *kwnames
[] = {
13819 (char *) "self", NULL
13822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
13823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13824 if (SWIG_arg_fail(1)) SWIG_fail
;
13826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13827 result
= (arg1
)->GetMessage();
13829 wxPyEndAllowThreads(__tstate
);
13830 if (PyErr_Occurred()) SWIG_fail
;
13834 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13836 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13845 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13846 PyObject
*resultobj
;
13847 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13849 PyObject
* obj0
= 0 ;
13850 char *kwnames
[] = {
13851 (char *) "self", NULL
13854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
13855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13856 if (SWIG_arg_fail(1)) SWIG_fail
;
13858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13859 result
= (long)(arg1
)->GetStyle();
13861 wxPyEndAllowThreads(__tstate
);
13862 if (PyErr_Occurred()) SWIG_fail
;
13865 resultobj
= SWIG_From_long((long)(result
));
13873 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13874 PyObject
*resultobj
;
13875 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13876 wxString
*arg2
= 0 ;
13877 bool temp2
= false ;
13878 PyObject
* obj0
= 0 ;
13879 PyObject
* obj1
= 0 ;
13880 char *kwnames
[] = {
13881 (char *) "self",(char *) "message", NULL
13884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
13885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13886 if (SWIG_arg_fail(1)) SWIG_fail
;
13888 arg2
= wxString_in_helper(obj1
);
13889 if (arg2
== NULL
) SWIG_fail
;
13893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13894 (arg1
)->SetMessage((wxString
const &)*arg2
);
13896 wxPyEndAllowThreads(__tstate
);
13897 if (PyErr_Occurred()) SWIG_fail
;
13899 Py_INCREF(Py_None
); resultobj
= Py_None
;
13914 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13915 PyObject
*resultobj
;
13916 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13917 wxString
*arg2
= 0 ;
13918 bool temp2
= false ;
13919 PyObject
* obj0
= 0 ;
13920 PyObject
* obj1
= 0 ;
13921 char *kwnames
[] = {
13922 (char *) "self",(char *) "path", NULL
13925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
13926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13927 if (SWIG_arg_fail(1)) SWIG_fail
;
13929 arg2
= wxString_in_helper(obj1
);
13930 if (arg2
== NULL
) SWIG_fail
;
13934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13935 (arg1
)->SetPath((wxString
const &)*arg2
);
13937 wxPyEndAllowThreads(__tstate
);
13938 if (PyErr_Occurred()) SWIG_fail
;
13940 Py_INCREF(Py_None
); resultobj
= Py_None
;
13955 static PyObject
* DirDialog_swigregister(PyObject
*, PyObject
*args
) {
13957 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13958 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
13960 return Py_BuildValue((char *)"");
13962 static PyObject
*_wrap_new_FileDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13963 PyObject
*resultobj
;
13964 wxWindow
*arg1
= (wxWindow
*) 0 ;
13965 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
13966 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13967 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13968 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13969 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13970 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13971 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
13972 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
13973 long arg6
= (long) 0 ;
13974 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
13975 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
13976 wxFileDialog
*result
;
13977 bool temp2
= false ;
13978 bool temp3
= false ;
13979 bool temp4
= false ;
13980 bool temp5
= false ;
13982 PyObject
* obj0
= 0 ;
13983 PyObject
* obj1
= 0 ;
13984 PyObject
* obj2
= 0 ;
13985 PyObject
* obj3
= 0 ;
13986 PyObject
* obj4
= 0 ;
13987 PyObject
* obj5
= 0 ;
13988 PyObject
* obj6
= 0 ;
13989 char *kwnames
[] = {
13990 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
13993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13995 if (SWIG_arg_fail(1)) SWIG_fail
;
13998 arg2
= wxString_in_helper(obj1
);
13999 if (arg2
== NULL
) SWIG_fail
;
14005 arg3
= wxString_in_helper(obj2
);
14006 if (arg3
== NULL
) SWIG_fail
;
14012 arg4
= wxString_in_helper(obj3
);
14013 if (arg4
== NULL
) SWIG_fail
;
14019 arg5
= wxString_in_helper(obj4
);
14020 if (arg5
== NULL
) SWIG_fail
;
14026 arg6
= (long)(SWIG_As_long(obj5
));
14027 if (SWIG_arg_fail(6)) SWIG_fail
;
14033 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
14037 if (!wxPyCheckForApp()) SWIG_fail
;
14038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14039 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
14041 wxPyEndAllowThreads(__tstate
);
14042 if (PyErr_Occurred()) SWIG_fail
;
14044 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
14083 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14084 PyObject
*resultobj
;
14085 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14086 wxString
*arg2
= 0 ;
14087 bool temp2
= false ;
14088 PyObject
* obj0
= 0 ;
14089 PyObject
* obj1
= 0 ;
14090 char *kwnames
[] = {
14091 (char *) "self",(char *) "message", NULL
14094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
14095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14096 if (SWIG_arg_fail(1)) SWIG_fail
;
14098 arg2
= wxString_in_helper(obj1
);
14099 if (arg2
== NULL
) SWIG_fail
;
14103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14104 (arg1
)->SetMessage((wxString
const &)*arg2
);
14106 wxPyEndAllowThreads(__tstate
);
14107 if (PyErr_Occurred()) SWIG_fail
;
14109 Py_INCREF(Py_None
); resultobj
= Py_None
;
14124 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14125 PyObject
*resultobj
;
14126 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14127 wxString
*arg2
= 0 ;
14128 bool temp2
= false ;
14129 PyObject
* obj0
= 0 ;
14130 PyObject
* obj1
= 0 ;
14131 char *kwnames
[] = {
14132 (char *) "self",(char *) "path", NULL
14135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
14136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14137 if (SWIG_arg_fail(1)) SWIG_fail
;
14139 arg2
= wxString_in_helper(obj1
);
14140 if (arg2
== NULL
) SWIG_fail
;
14144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14145 (arg1
)->SetPath((wxString
const &)*arg2
);
14147 wxPyEndAllowThreads(__tstate
);
14148 if (PyErr_Occurred()) SWIG_fail
;
14150 Py_INCREF(Py_None
); resultobj
= Py_None
;
14165 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14166 PyObject
*resultobj
;
14167 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14168 wxString
*arg2
= 0 ;
14169 bool temp2
= false ;
14170 PyObject
* obj0
= 0 ;
14171 PyObject
* obj1
= 0 ;
14172 char *kwnames
[] = {
14173 (char *) "self",(char *) "dir", NULL
14176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
14177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14178 if (SWIG_arg_fail(1)) SWIG_fail
;
14180 arg2
= wxString_in_helper(obj1
);
14181 if (arg2
== NULL
) SWIG_fail
;
14185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14186 (arg1
)->SetDirectory((wxString
const &)*arg2
);
14188 wxPyEndAllowThreads(__tstate
);
14189 if (PyErr_Occurred()) SWIG_fail
;
14191 Py_INCREF(Py_None
); resultobj
= Py_None
;
14206 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14207 PyObject
*resultobj
;
14208 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14209 wxString
*arg2
= 0 ;
14210 bool temp2
= false ;
14211 PyObject
* obj0
= 0 ;
14212 PyObject
* obj1
= 0 ;
14213 char *kwnames
[] = {
14214 (char *) "self",(char *) "name", NULL
14217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
14218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14219 if (SWIG_arg_fail(1)) SWIG_fail
;
14221 arg2
= wxString_in_helper(obj1
);
14222 if (arg2
== NULL
) SWIG_fail
;
14226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14227 (arg1
)->SetFilename((wxString
const &)*arg2
);
14229 wxPyEndAllowThreads(__tstate
);
14230 if (PyErr_Occurred()) SWIG_fail
;
14232 Py_INCREF(Py_None
); resultobj
= Py_None
;
14247 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14248 PyObject
*resultobj
;
14249 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14250 wxString
*arg2
= 0 ;
14251 bool temp2
= false ;
14252 PyObject
* obj0
= 0 ;
14253 PyObject
* obj1
= 0 ;
14254 char *kwnames
[] = {
14255 (char *) "self",(char *) "wildCard", NULL
14258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
14259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14260 if (SWIG_arg_fail(1)) SWIG_fail
;
14262 arg2
= wxString_in_helper(obj1
);
14263 if (arg2
== NULL
) SWIG_fail
;
14267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14268 (arg1
)->SetWildcard((wxString
const &)*arg2
);
14270 wxPyEndAllowThreads(__tstate
);
14271 if (PyErr_Occurred()) SWIG_fail
;
14273 Py_INCREF(Py_None
); resultobj
= Py_None
;
14288 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14289 PyObject
*resultobj
;
14290 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14292 PyObject
* obj0
= 0 ;
14293 PyObject
* obj1
= 0 ;
14294 char *kwnames
[] = {
14295 (char *) "self",(char *) "style", NULL
14298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
14299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14300 if (SWIG_arg_fail(1)) SWIG_fail
;
14302 arg2
= (long)(SWIG_As_long(obj1
));
14303 if (SWIG_arg_fail(2)) SWIG_fail
;
14306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14307 (arg1
)->SetStyle(arg2
);
14309 wxPyEndAllowThreads(__tstate
);
14310 if (PyErr_Occurred()) SWIG_fail
;
14312 Py_INCREF(Py_None
); resultobj
= Py_None
;
14319 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14320 PyObject
*resultobj
;
14321 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14323 PyObject
* obj0
= 0 ;
14324 PyObject
* obj1
= 0 ;
14325 char *kwnames
[] = {
14326 (char *) "self",(char *) "filterIndex", NULL
14329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
14330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14331 if (SWIG_arg_fail(1)) SWIG_fail
;
14333 arg2
= (int)(SWIG_As_int(obj1
));
14334 if (SWIG_arg_fail(2)) SWIG_fail
;
14337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14338 (arg1
)->SetFilterIndex(arg2
);
14340 wxPyEndAllowThreads(__tstate
);
14341 if (PyErr_Occurred()) SWIG_fail
;
14343 Py_INCREF(Py_None
); resultobj
= Py_None
;
14350 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14351 PyObject
*resultobj
;
14352 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14354 PyObject
* obj0
= 0 ;
14355 char *kwnames
[] = {
14356 (char *) "self", NULL
14359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
14360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14361 if (SWIG_arg_fail(1)) SWIG_fail
;
14363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14364 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
14366 wxPyEndAllowThreads(__tstate
);
14367 if (PyErr_Occurred()) SWIG_fail
;
14371 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14373 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14382 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14383 PyObject
*resultobj
;
14384 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14386 PyObject
* obj0
= 0 ;
14387 char *kwnames
[] = {
14388 (char *) "self", NULL
14391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
14392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14393 if (SWIG_arg_fail(1)) SWIG_fail
;
14395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14396 result
= ((wxFileDialog
const *)arg1
)->GetPath();
14398 wxPyEndAllowThreads(__tstate
);
14399 if (PyErr_Occurred()) SWIG_fail
;
14403 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14405 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14414 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14415 PyObject
*resultobj
;
14416 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14418 PyObject
* obj0
= 0 ;
14419 char *kwnames
[] = {
14420 (char *) "self", NULL
14423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
14424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14425 if (SWIG_arg_fail(1)) SWIG_fail
;
14427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14428 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
14430 wxPyEndAllowThreads(__tstate
);
14431 if (PyErr_Occurred()) SWIG_fail
;
14435 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14437 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14446 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14447 PyObject
*resultobj
;
14448 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14450 PyObject
* obj0
= 0 ;
14451 char *kwnames
[] = {
14452 (char *) "self", NULL
14455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
14456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14457 if (SWIG_arg_fail(1)) SWIG_fail
;
14459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14460 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
14462 wxPyEndAllowThreads(__tstate
);
14463 if (PyErr_Occurred()) SWIG_fail
;
14467 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14469 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14478 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14479 PyObject
*resultobj
;
14480 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14482 PyObject
* obj0
= 0 ;
14483 char *kwnames
[] = {
14484 (char *) "self", NULL
14487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
14488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14489 if (SWIG_arg_fail(1)) SWIG_fail
;
14491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14492 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
14494 wxPyEndAllowThreads(__tstate
);
14495 if (PyErr_Occurred()) SWIG_fail
;
14499 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14501 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14510 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14511 PyObject
*resultobj
;
14512 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14514 PyObject
* obj0
= 0 ;
14515 char *kwnames
[] = {
14516 (char *) "self", NULL
14519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
14520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14521 if (SWIG_arg_fail(1)) SWIG_fail
;
14523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14524 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
14526 wxPyEndAllowThreads(__tstate
);
14527 if (PyErr_Occurred()) SWIG_fail
;
14530 resultobj
= SWIG_From_long((long)(result
));
14538 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14539 PyObject
*resultobj
;
14540 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14542 PyObject
* obj0
= 0 ;
14543 char *kwnames
[] = {
14544 (char *) "self", NULL
14547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
14548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14549 if (SWIG_arg_fail(1)) SWIG_fail
;
14551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14552 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
14554 wxPyEndAllowThreads(__tstate
);
14555 if (PyErr_Occurred()) SWIG_fail
;
14558 resultobj
= SWIG_From_int((int)(result
));
14566 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14567 PyObject
*resultobj
;
14568 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14570 PyObject
* obj0
= 0 ;
14571 char *kwnames
[] = {
14572 (char *) "self", NULL
14575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
14576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14577 if (SWIG_arg_fail(1)) SWIG_fail
;
14579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14580 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
14582 wxPyEndAllowThreads(__tstate
);
14583 if (PyErr_Occurred()) SWIG_fail
;
14585 resultobj
= result
;
14592 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14593 PyObject
*resultobj
;
14594 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14596 PyObject
* obj0
= 0 ;
14597 char *kwnames
[] = {
14598 (char *) "self", NULL
14601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
14602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14603 if (SWIG_arg_fail(1)) SWIG_fail
;
14605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14606 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
14608 wxPyEndAllowThreads(__tstate
);
14609 if (PyErr_Occurred()) SWIG_fail
;
14611 resultobj
= result
;
14618 static PyObject
* FileDialog_swigregister(PyObject
*, PyObject
*args
) {
14620 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14621 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
14623 return Py_BuildValue((char *)"");
14625 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14626 PyObject
*resultobj
;
14627 wxWindow
*arg1
= (wxWindow
*) 0 ;
14628 wxString
*arg2
= 0 ;
14629 wxString
*arg3
= 0 ;
14630 int arg4
= (int) 0 ;
14631 wxString
*arg5
= (wxString
*) NULL
;
14632 long arg6
= (long) wxCHOICEDLG_STYLE
;
14633 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14634 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14635 wxMultiChoiceDialog
*result
;
14636 bool temp2
= false ;
14637 bool temp3
= false ;
14639 PyObject
* obj0
= 0 ;
14640 PyObject
* obj1
= 0 ;
14641 PyObject
* obj2
= 0 ;
14642 PyObject
* obj3
= 0 ;
14643 PyObject
* obj4
= 0 ;
14644 PyObject
* obj5
= 0 ;
14645 char *kwnames
[] = {
14646 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14651 if (SWIG_arg_fail(1)) SWIG_fail
;
14653 arg2
= wxString_in_helper(obj1
);
14654 if (arg2
== NULL
) SWIG_fail
;
14658 arg3
= wxString_in_helper(obj2
);
14659 if (arg3
== NULL
) SWIG_fail
;
14664 arg4
= PyList_Size(obj3
);
14665 arg5
= wxString_LIST_helper(obj3
);
14666 if (arg5
== NULL
) SWIG_fail
;
14671 arg6
= (long)(SWIG_As_long(obj4
));
14672 if (SWIG_arg_fail(6)) SWIG_fail
;
14678 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
14682 if (!wxPyCheckForApp()) SWIG_fail
;
14683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14684 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
14686 wxPyEndAllowThreads(__tstate
);
14687 if (PyErr_Occurred()) SWIG_fail
;
14689 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
14699 if (arg5
) delete [] arg5
;
14712 if (arg5
) delete [] arg5
;
14718 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14719 PyObject
*resultobj
;
14720 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
14721 wxArrayInt
*arg2
= 0 ;
14722 bool temp2
= false ;
14723 PyObject
* obj0
= 0 ;
14724 PyObject
* obj1
= 0 ;
14725 char *kwnames
[] = {
14726 (char *) "self",(char *) "selections", NULL
14729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
14730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14731 if (SWIG_arg_fail(1)) SWIG_fail
;
14733 if (! PySequence_Check(obj1
)) {
14734 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
14737 arg2
= new wxArrayInt
;
14739 int i
, len
=PySequence_Length(obj1
);
14740 for (i
=0; i
<len
; i
++) {
14741 PyObject
* item
= PySequence_GetItem(obj1
, i
);
14742 PyObject
* number
= PyNumber_Int(item
);
14743 arg2
->Add(PyInt_AS_LONG(number
));
14749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14750 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
14752 wxPyEndAllowThreads(__tstate
);
14753 if (PyErr_Occurred()) SWIG_fail
;
14755 Py_INCREF(Py_None
); resultobj
= Py_None
;
14757 if (temp2
) delete arg2
;
14762 if (temp2
) delete arg2
;
14768 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14769 PyObject
*resultobj
;
14770 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
14772 PyObject
* obj0
= 0 ;
14773 char *kwnames
[] = {
14774 (char *) "self", NULL
14777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
14778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14779 if (SWIG_arg_fail(1)) SWIG_fail
;
14781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14782 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
14784 wxPyEndAllowThreads(__tstate
);
14785 if (PyErr_Occurred()) SWIG_fail
;
14787 resultobj
= result
;
14794 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
14796 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14797 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
14799 return Py_BuildValue((char *)"");
14801 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14802 PyObject
*resultobj
;
14803 wxWindow
*arg1
= (wxWindow
*) 0 ;
14804 wxString
*arg2
= 0 ;
14805 wxString
*arg3
= 0 ;
14807 wxString
*arg5
= (wxString
*) 0 ;
14808 long arg6
= (long) wxCHOICEDLG_STYLE
;
14809 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14810 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14811 wxSingleChoiceDialog
*result
;
14812 bool temp2
= false ;
14813 bool temp3
= false ;
14815 PyObject
* obj0
= 0 ;
14816 PyObject
* obj1
= 0 ;
14817 PyObject
* obj2
= 0 ;
14818 PyObject
* obj3
= 0 ;
14819 PyObject
* obj4
= 0 ;
14820 PyObject
* obj5
= 0 ;
14821 char *kwnames
[] = {
14822 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14827 if (SWIG_arg_fail(1)) SWIG_fail
;
14829 arg2
= wxString_in_helper(obj1
);
14830 if (arg2
== NULL
) SWIG_fail
;
14834 arg3
= wxString_in_helper(obj2
);
14835 if (arg3
== NULL
) SWIG_fail
;
14839 arg4
= PyList_Size(obj3
);
14840 arg5
= wxString_LIST_helper(obj3
);
14841 if (arg5
== NULL
) SWIG_fail
;
14845 arg6
= (long)(SWIG_As_long(obj4
));
14846 if (SWIG_arg_fail(6)) SWIG_fail
;
14852 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
14856 if (!wxPyCheckForApp()) SWIG_fail
;
14857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14858 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
14860 wxPyEndAllowThreads(__tstate
);
14861 if (PyErr_Occurred()) SWIG_fail
;
14863 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
14873 if (arg5
) delete [] arg5
;
14886 if (arg5
) delete [] arg5
;
14892 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14893 PyObject
*resultobj
;
14894 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
14896 PyObject
* obj0
= 0 ;
14897 char *kwnames
[] = {
14898 (char *) "self", NULL
14901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
14902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14903 if (SWIG_arg_fail(1)) SWIG_fail
;
14905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14906 result
= (int)(arg1
)->GetSelection();
14908 wxPyEndAllowThreads(__tstate
);
14909 if (PyErr_Occurred()) SWIG_fail
;
14912 resultobj
= SWIG_From_int((int)(result
));
14920 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14921 PyObject
*resultobj
;
14922 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
14924 PyObject
* obj0
= 0 ;
14925 char *kwnames
[] = {
14926 (char *) "self", NULL
14929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
14930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14931 if (SWIG_arg_fail(1)) SWIG_fail
;
14933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14934 result
= (arg1
)->GetStringSelection();
14936 wxPyEndAllowThreads(__tstate
);
14937 if (PyErr_Occurred()) SWIG_fail
;
14941 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14943 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14952 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14953 PyObject
*resultobj
;
14954 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
14956 PyObject
* obj0
= 0 ;
14957 PyObject
* obj1
= 0 ;
14958 char *kwnames
[] = {
14959 (char *) "self",(char *) "sel", NULL
14962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14964 if (SWIG_arg_fail(1)) SWIG_fail
;
14966 arg2
= (int)(SWIG_As_int(obj1
));
14967 if (SWIG_arg_fail(2)) SWIG_fail
;
14970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14971 (arg1
)->SetSelection(arg2
);
14973 wxPyEndAllowThreads(__tstate
);
14974 if (PyErr_Occurred()) SWIG_fail
;
14976 Py_INCREF(Py_None
); resultobj
= Py_None
;
14983 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
14985 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14986 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
14988 return Py_BuildValue((char *)"");
14990 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14991 PyObject
*resultobj
;
14992 wxWindow
*arg1
= (wxWindow
*) 0 ;
14993 wxString
*arg2
= 0 ;
14994 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
14995 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14996 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14997 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14998 long arg5
= (long) wxTextEntryDialogStyle
;
14999 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
15000 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
15001 wxTextEntryDialog
*result
;
15002 bool temp2
= false ;
15003 bool temp3
= false ;
15004 bool temp4
= false ;
15006 PyObject
* obj0
= 0 ;
15007 PyObject
* obj1
= 0 ;
15008 PyObject
* obj2
= 0 ;
15009 PyObject
* obj3
= 0 ;
15010 PyObject
* obj4
= 0 ;
15011 PyObject
* obj5
= 0 ;
15012 char *kwnames
[] = {
15013 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
15016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15018 if (SWIG_arg_fail(1)) SWIG_fail
;
15020 arg2
= wxString_in_helper(obj1
);
15021 if (arg2
== NULL
) SWIG_fail
;
15026 arg3
= wxString_in_helper(obj2
);
15027 if (arg3
== NULL
) SWIG_fail
;
15033 arg4
= wxString_in_helper(obj3
);
15034 if (arg4
== NULL
) SWIG_fail
;
15040 arg5
= (long)(SWIG_As_long(obj4
));
15041 if (SWIG_arg_fail(5)) SWIG_fail
;
15047 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
15051 if (!wxPyCheckForApp()) SWIG_fail
;
15052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15053 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
15055 wxPyEndAllowThreads(__tstate
);
15056 if (PyErr_Occurred()) SWIG_fail
;
15058 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
15089 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15090 PyObject
*resultobj
;
15091 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
15093 PyObject
* obj0
= 0 ;
15094 char *kwnames
[] = {
15095 (char *) "self", NULL
15098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
15099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_EXCEPTION
| 0);
15100 if (SWIG_arg_fail(1)) SWIG_fail
;
15102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15103 result
= (arg1
)->GetValue();
15105 wxPyEndAllowThreads(__tstate
);
15106 if (PyErr_Occurred()) SWIG_fail
;
15110 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15112 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15121 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15122 PyObject
*resultobj
;
15123 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
15124 wxString
*arg2
= 0 ;
15125 bool temp2
= false ;
15126 PyObject
* obj0
= 0 ;
15127 PyObject
* obj1
= 0 ;
15128 char *kwnames
[] = {
15129 (char *) "self",(char *) "value", NULL
15132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
15133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_EXCEPTION
| 0);
15134 if (SWIG_arg_fail(1)) SWIG_fail
;
15136 arg2
= wxString_in_helper(obj1
);
15137 if (arg2
== NULL
) SWIG_fail
;
15141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15142 (arg1
)->SetValue((wxString
const &)*arg2
);
15144 wxPyEndAllowThreads(__tstate
);
15145 if (PyErr_Occurred()) SWIG_fail
;
15147 Py_INCREF(Py_None
); resultobj
= Py_None
;
15162 static PyObject
* TextEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
15164 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15165 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
15167 return Py_BuildValue((char *)"");
15169 static int _wrap_GetPasswordFromUserPromptStr_set(PyObject
*) {
15170 PyErr_SetString(PyExc_TypeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
15175 static PyObject
*_wrap_GetPasswordFromUserPromptStr_get(void) {
15180 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
15182 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
15189 static PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15190 PyObject
*resultobj
;
15191 wxWindow
*arg1
= (wxWindow
*) 0 ;
15192 wxString
*arg2
= 0 ;
15193 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
15194 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15195 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15196 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15197 long arg5
= (long) wxTextEntryDialogStyle
;
15198 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
15199 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
15200 wxPasswordEntryDialog
*result
;
15201 bool temp2
= false ;
15202 bool temp3
= false ;
15203 bool temp4
= false ;
15205 PyObject
* obj0
= 0 ;
15206 PyObject
* obj1
= 0 ;
15207 PyObject
* obj2
= 0 ;
15208 PyObject
* obj3
= 0 ;
15209 PyObject
* obj4
= 0 ;
15210 PyObject
* obj5
= 0 ;
15211 char *kwnames
[] = {
15212 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
15215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15217 if (SWIG_arg_fail(1)) SWIG_fail
;
15219 arg2
= wxString_in_helper(obj1
);
15220 if (arg2
== NULL
) SWIG_fail
;
15225 arg3
= wxString_in_helper(obj2
);
15226 if (arg3
== NULL
) SWIG_fail
;
15232 arg4
= wxString_in_helper(obj3
);
15233 if (arg4
== NULL
) SWIG_fail
;
15239 arg5
= (long)(SWIG_As_long(obj4
));
15240 if (SWIG_arg_fail(5)) SWIG_fail
;
15246 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
15250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15251 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
15253 wxPyEndAllowThreads(__tstate
);
15254 if (PyErr_Occurred()) SWIG_fail
;
15256 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPasswordEntryDialog
, 1);
15287 static PyObject
* PasswordEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
15289 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15290 SWIG_TypeClientData(SWIGTYPE_p_wxPasswordEntryDialog
, obj
);
15292 return Py_BuildValue((char *)"");
15294 static PyObject
*_wrap_new_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15295 PyObject
*resultobj
;
15296 wxFontData
*result
;
15297 char *kwnames
[] = {
15301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
15303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15304 result
= (wxFontData
*)new wxFontData();
15306 wxPyEndAllowThreads(__tstate
);
15307 if (PyErr_Occurred()) SWIG_fail
;
15309 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
15316 static PyObject
*_wrap_delete_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15317 PyObject
*resultobj
;
15318 wxFontData
*arg1
= (wxFontData
*) 0 ;
15319 PyObject
* obj0
= 0 ;
15320 char *kwnames
[] = {
15321 (char *) "self", NULL
15324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
15325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15326 if (SWIG_arg_fail(1)) SWIG_fail
;
15328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15331 wxPyEndAllowThreads(__tstate
);
15332 if (PyErr_Occurred()) SWIG_fail
;
15334 Py_INCREF(Py_None
); resultobj
= Py_None
;
15341 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15342 PyObject
*resultobj
;
15343 wxFontData
*arg1
= (wxFontData
*) 0 ;
15345 PyObject
* obj0
= 0 ;
15346 PyObject
* obj1
= 0 ;
15347 char *kwnames
[] = {
15348 (char *) "self",(char *) "enable", NULL
15351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
15352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15353 if (SWIG_arg_fail(1)) SWIG_fail
;
15355 arg2
= (bool)(SWIG_As_bool(obj1
));
15356 if (SWIG_arg_fail(2)) SWIG_fail
;
15359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15360 (arg1
)->EnableEffects(arg2
);
15362 wxPyEndAllowThreads(__tstate
);
15363 if (PyErr_Occurred()) SWIG_fail
;
15365 Py_INCREF(Py_None
); resultobj
= Py_None
;
15372 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15373 PyObject
*resultobj
;
15374 wxFontData
*arg1
= (wxFontData
*) 0 ;
15376 PyObject
* obj0
= 0 ;
15377 char *kwnames
[] = {
15378 (char *) "self", NULL
15381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
15382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15383 if (SWIG_arg_fail(1)) SWIG_fail
;
15385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15386 result
= (bool)(arg1
)->GetAllowSymbols();
15388 wxPyEndAllowThreads(__tstate
);
15389 if (PyErr_Occurred()) SWIG_fail
;
15392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15400 static PyObject
*_wrap_FontData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15401 PyObject
*resultobj
;
15402 wxFontData
*arg1
= (wxFontData
*) 0 ;
15404 PyObject
* obj0
= 0 ;
15405 char *kwnames
[] = {
15406 (char *) "self", NULL
15409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
15410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15411 if (SWIG_arg_fail(1)) SWIG_fail
;
15413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15414 result
= (arg1
)->GetColour();
15416 wxPyEndAllowThreads(__tstate
);
15417 if (PyErr_Occurred()) SWIG_fail
;
15420 wxColour
* resultptr
;
15421 resultptr
= new wxColour((wxColour
&)(result
));
15422 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
15430 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15431 PyObject
*resultobj
;
15432 wxFontData
*arg1
= (wxFontData
*) 0 ;
15434 PyObject
* obj0
= 0 ;
15435 char *kwnames
[] = {
15436 (char *) "self", NULL
15439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
15440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15441 if (SWIG_arg_fail(1)) SWIG_fail
;
15443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15444 result
= (arg1
)->GetChosenFont();
15446 wxPyEndAllowThreads(__tstate
);
15447 if (PyErr_Occurred()) SWIG_fail
;
15450 wxFont
* resultptr
;
15451 resultptr
= new wxFont((wxFont
&)(result
));
15452 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
15460 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15461 PyObject
*resultobj
;
15462 wxFontData
*arg1
= (wxFontData
*) 0 ;
15464 PyObject
* obj0
= 0 ;
15465 char *kwnames
[] = {
15466 (char *) "self", NULL
15469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
15470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15471 if (SWIG_arg_fail(1)) SWIG_fail
;
15473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15474 result
= (bool)(arg1
)->GetEnableEffects();
15476 wxPyEndAllowThreads(__tstate
);
15477 if (PyErr_Occurred()) SWIG_fail
;
15480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15488 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15489 PyObject
*resultobj
;
15490 wxFontData
*arg1
= (wxFontData
*) 0 ;
15492 PyObject
* obj0
= 0 ;
15493 char *kwnames
[] = {
15494 (char *) "self", NULL
15497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
15498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15499 if (SWIG_arg_fail(1)) SWIG_fail
;
15501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15502 result
= (arg1
)->GetInitialFont();
15504 wxPyEndAllowThreads(__tstate
);
15505 if (PyErr_Occurred()) SWIG_fail
;
15508 wxFont
* resultptr
;
15509 resultptr
= new wxFont((wxFont
&)(result
));
15510 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
15518 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15519 PyObject
*resultobj
;
15520 wxFontData
*arg1
= (wxFontData
*) 0 ;
15522 PyObject
* obj0
= 0 ;
15523 char *kwnames
[] = {
15524 (char *) "self", NULL
15527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
15528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15529 if (SWIG_arg_fail(1)) SWIG_fail
;
15531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15532 result
= (bool)(arg1
)->GetShowHelp();
15534 wxPyEndAllowThreads(__tstate
);
15535 if (PyErr_Occurred()) SWIG_fail
;
15538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15546 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15547 PyObject
*resultobj
;
15548 wxFontData
*arg1
= (wxFontData
*) 0 ;
15550 PyObject
* obj0
= 0 ;
15551 PyObject
* obj1
= 0 ;
15552 char *kwnames
[] = {
15553 (char *) "self",(char *) "allowSymbols", NULL
15556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
15557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15558 if (SWIG_arg_fail(1)) SWIG_fail
;
15560 arg2
= (bool)(SWIG_As_bool(obj1
));
15561 if (SWIG_arg_fail(2)) SWIG_fail
;
15564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15565 (arg1
)->SetAllowSymbols(arg2
);
15567 wxPyEndAllowThreads(__tstate
);
15568 if (PyErr_Occurred()) SWIG_fail
;
15570 Py_INCREF(Py_None
); resultobj
= Py_None
;
15577 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15578 PyObject
*resultobj
;
15579 wxFontData
*arg1
= (wxFontData
*) 0 ;
15581 PyObject
* obj0
= 0 ;
15582 PyObject
* obj1
= 0 ;
15583 char *kwnames
[] = {
15584 (char *) "self",(char *) "font", NULL
15587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15589 if (SWIG_arg_fail(1)) SWIG_fail
;
15591 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15592 if (SWIG_arg_fail(2)) SWIG_fail
;
15593 if (arg2
== NULL
) {
15594 SWIG_null_ref("wxFont");
15596 if (SWIG_arg_fail(2)) SWIG_fail
;
15599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15600 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
15602 wxPyEndAllowThreads(__tstate
);
15603 if (PyErr_Occurred()) SWIG_fail
;
15605 Py_INCREF(Py_None
); resultobj
= Py_None
;
15612 static PyObject
*_wrap_FontData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15613 PyObject
*resultobj
;
15614 wxFontData
*arg1
= (wxFontData
*) 0 ;
15615 wxColour
*arg2
= 0 ;
15617 PyObject
* obj0
= 0 ;
15618 PyObject
* obj1
= 0 ;
15619 char *kwnames
[] = {
15620 (char *) "self",(char *) "colour", NULL
15623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15625 if (SWIG_arg_fail(1)) SWIG_fail
;
15628 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15632 (arg1
)->SetColour((wxColour
const &)*arg2
);
15634 wxPyEndAllowThreads(__tstate
);
15635 if (PyErr_Occurred()) SWIG_fail
;
15637 Py_INCREF(Py_None
); resultobj
= Py_None
;
15644 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15645 PyObject
*resultobj
;
15646 wxFontData
*arg1
= (wxFontData
*) 0 ;
15648 PyObject
* obj0
= 0 ;
15649 PyObject
* obj1
= 0 ;
15650 char *kwnames
[] = {
15651 (char *) "self",(char *) "font", NULL
15654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15656 if (SWIG_arg_fail(1)) SWIG_fail
;
15658 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15659 if (SWIG_arg_fail(2)) SWIG_fail
;
15660 if (arg2
== NULL
) {
15661 SWIG_null_ref("wxFont");
15663 if (SWIG_arg_fail(2)) SWIG_fail
;
15666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15667 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
15669 wxPyEndAllowThreads(__tstate
);
15670 if (PyErr_Occurred()) SWIG_fail
;
15672 Py_INCREF(Py_None
); resultobj
= Py_None
;
15679 static PyObject
*_wrap_FontData_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15680 PyObject
*resultobj
;
15681 wxFontData
*arg1
= (wxFontData
*) 0 ;
15684 PyObject
* obj0
= 0 ;
15685 PyObject
* obj1
= 0 ;
15686 PyObject
* obj2
= 0 ;
15687 char *kwnames
[] = {
15688 (char *) "self",(char *) "min",(char *) "max", NULL
15691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15693 if (SWIG_arg_fail(1)) SWIG_fail
;
15695 arg2
= (int)(SWIG_As_int(obj1
));
15696 if (SWIG_arg_fail(2)) SWIG_fail
;
15699 arg3
= (int)(SWIG_As_int(obj2
));
15700 if (SWIG_arg_fail(3)) SWIG_fail
;
15703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15704 (arg1
)->SetRange(arg2
,arg3
);
15706 wxPyEndAllowThreads(__tstate
);
15707 if (PyErr_Occurred()) SWIG_fail
;
15709 Py_INCREF(Py_None
); resultobj
= Py_None
;
15716 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15717 PyObject
*resultobj
;
15718 wxFontData
*arg1
= (wxFontData
*) 0 ;
15720 PyObject
* obj0
= 0 ;
15721 PyObject
* obj1
= 0 ;
15722 char *kwnames
[] = {
15723 (char *) "self",(char *) "showHelp", NULL
15726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15728 if (SWIG_arg_fail(1)) SWIG_fail
;
15730 arg2
= (bool)(SWIG_As_bool(obj1
));
15731 if (SWIG_arg_fail(2)) SWIG_fail
;
15734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15735 (arg1
)->SetShowHelp(arg2
);
15737 wxPyEndAllowThreads(__tstate
);
15738 if (PyErr_Occurred()) SWIG_fail
;
15740 Py_INCREF(Py_None
); resultobj
= Py_None
;
15747 static PyObject
* FontData_swigregister(PyObject
*, PyObject
*args
) {
15749 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15750 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
15752 return Py_BuildValue((char *)"");
15754 static PyObject
*_wrap_new_FontDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15755 PyObject
*resultobj
;
15756 wxWindow
*arg1
= (wxWindow
*) 0 ;
15757 wxFontData
*arg2
= 0 ;
15758 wxFontDialog
*result
;
15759 PyObject
* obj0
= 0 ;
15760 PyObject
* obj1
= 0 ;
15761 char *kwnames
[] = {
15762 (char *) "parent",(char *) "data", NULL
15765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
15766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15767 if (SWIG_arg_fail(1)) SWIG_fail
;
15769 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15770 if (SWIG_arg_fail(2)) SWIG_fail
;
15771 if (arg2
== NULL
) {
15772 SWIG_null_ref("wxFontData");
15774 if (SWIG_arg_fail(2)) SWIG_fail
;
15777 if (!wxPyCheckForApp()) SWIG_fail
;
15778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15779 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
15781 wxPyEndAllowThreads(__tstate
);
15782 if (PyErr_Occurred()) SWIG_fail
;
15784 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
15791 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15792 PyObject
*resultobj
;
15793 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
15794 wxFontData
*result
;
15795 PyObject
* obj0
= 0 ;
15796 char *kwnames
[] = {
15797 (char *) "self", NULL
15800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
15801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_EXCEPTION
| 0);
15802 if (SWIG_arg_fail(1)) SWIG_fail
;
15804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15806 wxFontData
&_result_ref
= (arg1
)->GetFontData();
15807 result
= (wxFontData
*) &_result_ref
;
15810 wxPyEndAllowThreads(__tstate
);
15811 if (PyErr_Occurred()) SWIG_fail
;
15813 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
15820 static PyObject
* FontDialog_swigregister(PyObject
*, PyObject
*args
) {
15822 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15823 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
15825 return Py_BuildValue((char *)"");
15827 static PyObject
*_wrap_new_MessageDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15828 PyObject
*resultobj
;
15829 wxWindow
*arg1
= (wxWindow
*) 0 ;
15830 wxString
*arg2
= 0 ;
15831 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
15832 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15833 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
15834 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15835 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15836 wxMessageDialog
*result
;
15837 bool temp2
= false ;
15838 bool temp3
= false ;
15840 PyObject
* obj0
= 0 ;
15841 PyObject
* obj1
= 0 ;
15842 PyObject
* obj2
= 0 ;
15843 PyObject
* obj3
= 0 ;
15844 PyObject
* obj4
= 0 ;
15845 char *kwnames
[] = {
15846 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
15849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15851 if (SWIG_arg_fail(1)) SWIG_fail
;
15853 arg2
= wxString_in_helper(obj1
);
15854 if (arg2
== NULL
) SWIG_fail
;
15859 arg3
= wxString_in_helper(obj2
);
15860 if (arg3
== NULL
) SWIG_fail
;
15866 arg4
= (long)(SWIG_As_long(obj3
));
15867 if (SWIG_arg_fail(4)) SWIG_fail
;
15873 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15877 if (!wxPyCheckForApp()) SWIG_fail
;
15878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15879 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
15881 wxPyEndAllowThreads(__tstate
);
15882 if (PyErr_Occurred()) SWIG_fail
;
15884 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
15907 static PyObject
* MessageDialog_swigregister(PyObject
*, PyObject
*args
) {
15909 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15910 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
15912 return Py_BuildValue((char *)"");
15914 static PyObject
*_wrap_new_ProgressDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15915 PyObject
*resultobj
;
15916 wxString
*arg1
= 0 ;
15917 wxString
*arg2
= 0 ;
15918 int arg3
= (int) 100 ;
15919 wxWindow
*arg4
= (wxWindow
*) NULL
;
15920 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
15921 wxProgressDialog
*result
;
15922 bool temp1
= false ;
15923 bool temp2
= false ;
15924 PyObject
* obj0
= 0 ;
15925 PyObject
* obj1
= 0 ;
15926 PyObject
* obj2
= 0 ;
15927 PyObject
* obj3
= 0 ;
15928 PyObject
* obj4
= 0 ;
15929 char *kwnames
[] = {
15930 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
15933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15935 arg1
= wxString_in_helper(obj0
);
15936 if (arg1
== NULL
) SWIG_fail
;
15940 arg2
= wxString_in_helper(obj1
);
15941 if (arg2
== NULL
) SWIG_fail
;
15946 arg3
= (int)(SWIG_As_int(obj2
));
15947 if (SWIG_arg_fail(3)) SWIG_fail
;
15951 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15952 if (SWIG_arg_fail(4)) SWIG_fail
;
15956 arg5
= (int)(SWIG_As_int(obj4
));
15957 if (SWIG_arg_fail(5)) SWIG_fail
;
15961 if (!wxPyCheckForApp()) SWIG_fail
;
15962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15963 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
15965 wxPyEndAllowThreads(__tstate
);
15966 if (PyErr_Occurred()) SWIG_fail
;
15968 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
15991 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15992 PyObject
*resultobj
;
15993 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
15995 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15996 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15998 bool temp3
= false ;
15999 PyObject
* obj0
= 0 ;
16000 PyObject
* obj1
= 0 ;
16001 PyObject
* obj2
= 0 ;
16002 char *kwnames
[] = {
16003 (char *) "self",(char *) "value",(char *) "newmsg", NULL
16006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_EXCEPTION
| 0);
16008 if (SWIG_arg_fail(1)) SWIG_fail
;
16010 arg2
= (int)(SWIG_As_int(obj1
));
16011 if (SWIG_arg_fail(2)) SWIG_fail
;
16015 arg3
= wxString_in_helper(obj2
);
16016 if (arg3
== NULL
) SWIG_fail
;
16021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16022 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
16024 wxPyEndAllowThreads(__tstate
);
16025 if (PyErr_Occurred()) SWIG_fail
;
16028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16044 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16045 PyObject
*resultobj
;
16046 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
16047 PyObject
* obj0
= 0 ;
16048 char *kwnames
[] = {
16049 (char *) "self", NULL
16052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
16053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_EXCEPTION
| 0);
16054 if (SWIG_arg_fail(1)) SWIG_fail
;
16056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16059 wxPyEndAllowThreads(__tstate
);
16060 if (PyErr_Occurred()) SWIG_fail
;
16062 Py_INCREF(Py_None
); resultobj
= Py_None
;
16069 static PyObject
* ProgressDialog_swigregister(PyObject
*, PyObject
*args
) {
16071 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16072 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
16074 return Py_BuildValue((char *)"");
16076 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16077 PyObject
*resultobj
;
16078 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16079 int arg2
= (int) 0 ;
16080 wxFindDialogEvent
*result
;
16081 PyObject
* obj0
= 0 ;
16082 PyObject
* obj1
= 0 ;
16083 char *kwnames
[] = {
16084 (char *) "commandType",(char *) "id", NULL
16087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16090 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16091 if (SWIG_arg_fail(1)) SWIG_fail
;
16096 arg2
= (int)(SWIG_As_int(obj1
));
16097 if (SWIG_arg_fail(2)) SWIG_fail
;
16101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16102 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
16104 wxPyEndAllowThreads(__tstate
);
16105 if (PyErr_Occurred()) SWIG_fail
;
16107 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
16114 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16115 PyObject
*resultobj
;
16116 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16118 PyObject
* obj0
= 0 ;
16119 char *kwnames
[] = {
16120 (char *) "self", NULL
16123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
16124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16125 if (SWIG_arg_fail(1)) SWIG_fail
;
16127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16128 result
= (int)(arg1
)->GetFlags();
16130 wxPyEndAllowThreads(__tstate
);
16131 if (PyErr_Occurred()) SWIG_fail
;
16134 resultobj
= SWIG_From_int((int)(result
));
16142 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16143 PyObject
*resultobj
;
16144 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16146 PyObject
* obj0
= 0 ;
16147 char *kwnames
[] = {
16148 (char *) "self", NULL
16151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
16152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16153 if (SWIG_arg_fail(1)) SWIG_fail
;
16155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16157 wxString
const &_result_ref
= (arg1
)->GetFindString();
16158 result
= (wxString
*) &_result_ref
;
16161 wxPyEndAllowThreads(__tstate
);
16162 if (PyErr_Occurred()) SWIG_fail
;
16166 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16168 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16177 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16178 PyObject
*resultobj
;
16179 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16181 PyObject
* obj0
= 0 ;
16182 char *kwnames
[] = {
16183 (char *) "self", NULL
16186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
16187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16188 if (SWIG_arg_fail(1)) SWIG_fail
;
16190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16192 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
16193 result
= (wxString
*) &_result_ref
;
16196 wxPyEndAllowThreads(__tstate
);
16197 if (PyErr_Occurred()) SWIG_fail
;
16201 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16203 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16212 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16213 PyObject
*resultobj
;
16214 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16215 wxFindReplaceDialog
*result
;
16216 PyObject
* obj0
= 0 ;
16217 char *kwnames
[] = {
16218 (char *) "self", NULL
16221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
16222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16223 if (SWIG_arg_fail(1)) SWIG_fail
;
16225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16226 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
16228 wxPyEndAllowThreads(__tstate
);
16229 if (PyErr_Occurred()) SWIG_fail
;
16231 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
16238 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16239 PyObject
*resultobj
;
16240 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16242 PyObject
* obj0
= 0 ;
16243 PyObject
* obj1
= 0 ;
16244 char *kwnames
[] = {
16245 (char *) "self",(char *) "flags", NULL
16248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
16249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16250 if (SWIG_arg_fail(1)) SWIG_fail
;
16252 arg2
= (int)(SWIG_As_int(obj1
));
16253 if (SWIG_arg_fail(2)) SWIG_fail
;
16256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16257 (arg1
)->SetFlags(arg2
);
16259 wxPyEndAllowThreads(__tstate
);
16260 if (PyErr_Occurred()) SWIG_fail
;
16262 Py_INCREF(Py_None
); resultobj
= Py_None
;
16269 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16270 PyObject
*resultobj
;
16271 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16272 wxString
*arg2
= 0 ;
16273 bool temp2
= false ;
16274 PyObject
* obj0
= 0 ;
16275 PyObject
* obj1
= 0 ;
16276 char *kwnames
[] = {
16277 (char *) "self",(char *) "str", NULL
16280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
16281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16282 if (SWIG_arg_fail(1)) SWIG_fail
;
16284 arg2
= wxString_in_helper(obj1
);
16285 if (arg2
== NULL
) SWIG_fail
;
16289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16290 (arg1
)->SetFindString((wxString
const &)*arg2
);
16292 wxPyEndAllowThreads(__tstate
);
16293 if (PyErr_Occurred()) SWIG_fail
;
16295 Py_INCREF(Py_None
); resultobj
= Py_None
;
16310 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16311 PyObject
*resultobj
;
16312 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16313 wxString
*arg2
= 0 ;
16314 bool temp2
= false ;
16315 PyObject
* obj0
= 0 ;
16316 PyObject
* obj1
= 0 ;
16317 char *kwnames
[] = {
16318 (char *) "self",(char *) "str", NULL
16321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
16322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16323 if (SWIG_arg_fail(1)) SWIG_fail
;
16325 arg2
= wxString_in_helper(obj1
);
16326 if (arg2
== NULL
) SWIG_fail
;
16330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16331 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
16333 wxPyEndAllowThreads(__tstate
);
16334 if (PyErr_Occurred()) SWIG_fail
;
16336 Py_INCREF(Py_None
); resultobj
= Py_None
;
16351 static PyObject
* FindDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
16353 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16354 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
16356 return Py_BuildValue((char *)"");
16358 static PyObject
*_wrap_new_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16359 PyObject
*resultobj
;
16360 int arg1
= (int) 0 ;
16361 wxFindReplaceData
*result
;
16362 PyObject
* obj0
= 0 ;
16363 char *kwnames
[] = {
16364 (char *) "flags", NULL
16367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
16370 arg1
= (int)(SWIG_As_int(obj0
));
16371 if (SWIG_arg_fail(1)) SWIG_fail
;
16375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16376 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
16378 wxPyEndAllowThreads(__tstate
);
16379 if (PyErr_Occurred()) SWIG_fail
;
16381 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
16388 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16389 PyObject
*resultobj
;
16390 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16391 PyObject
* obj0
= 0 ;
16392 char *kwnames
[] = {
16393 (char *) "self", NULL
16396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
16397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16398 if (SWIG_arg_fail(1)) SWIG_fail
;
16400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16403 wxPyEndAllowThreads(__tstate
);
16404 if (PyErr_Occurred()) SWIG_fail
;
16406 Py_INCREF(Py_None
); resultobj
= Py_None
;
16413 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16414 PyObject
*resultobj
;
16415 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16417 PyObject
* obj0
= 0 ;
16418 char *kwnames
[] = {
16419 (char *) "self", NULL
16422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
16423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16424 if (SWIG_arg_fail(1)) SWIG_fail
;
16426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16428 wxString
const &_result_ref
= (arg1
)->GetFindString();
16429 result
= (wxString
*) &_result_ref
;
16432 wxPyEndAllowThreads(__tstate
);
16433 if (PyErr_Occurred()) SWIG_fail
;
16437 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16439 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16448 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16449 PyObject
*resultobj
;
16450 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16452 PyObject
* obj0
= 0 ;
16453 char *kwnames
[] = {
16454 (char *) "self", NULL
16457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
16458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16459 if (SWIG_arg_fail(1)) SWIG_fail
;
16461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16463 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
16464 result
= (wxString
*) &_result_ref
;
16467 wxPyEndAllowThreads(__tstate
);
16468 if (PyErr_Occurred()) SWIG_fail
;
16472 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16474 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16483 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16484 PyObject
*resultobj
;
16485 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16487 PyObject
* obj0
= 0 ;
16488 char *kwnames
[] = {
16489 (char *) "self", NULL
16492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
16493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16494 if (SWIG_arg_fail(1)) SWIG_fail
;
16496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16497 result
= (int)(arg1
)->GetFlags();
16499 wxPyEndAllowThreads(__tstate
);
16500 if (PyErr_Occurred()) SWIG_fail
;
16503 resultobj
= SWIG_From_int((int)(result
));
16511 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16512 PyObject
*resultobj
;
16513 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16515 PyObject
* obj0
= 0 ;
16516 PyObject
* obj1
= 0 ;
16517 char *kwnames
[] = {
16518 (char *) "self",(char *) "flags", NULL
16521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
16522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16523 if (SWIG_arg_fail(1)) SWIG_fail
;
16525 arg2
= (int)(SWIG_As_int(obj1
));
16526 if (SWIG_arg_fail(2)) SWIG_fail
;
16529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16530 (arg1
)->SetFlags(arg2
);
16532 wxPyEndAllowThreads(__tstate
);
16533 if (PyErr_Occurred()) SWIG_fail
;
16535 Py_INCREF(Py_None
); resultobj
= Py_None
;
16542 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16543 PyObject
*resultobj
;
16544 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16545 wxString
*arg2
= 0 ;
16546 bool temp2
= false ;
16547 PyObject
* obj0
= 0 ;
16548 PyObject
* obj1
= 0 ;
16549 char *kwnames
[] = {
16550 (char *) "self",(char *) "str", NULL
16553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
16554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16555 if (SWIG_arg_fail(1)) SWIG_fail
;
16557 arg2
= wxString_in_helper(obj1
);
16558 if (arg2
== NULL
) SWIG_fail
;
16562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16563 (arg1
)->SetFindString((wxString
const &)*arg2
);
16565 wxPyEndAllowThreads(__tstate
);
16566 if (PyErr_Occurred()) SWIG_fail
;
16568 Py_INCREF(Py_None
); resultobj
= Py_None
;
16583 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16584 PyObject
*resultobj
;
16585 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16586 wxString
*arg2
= 0 ;
16587 bool temp2
= false ;
16588 PyObject
* obj0
= 0 ;
16589 PyObject
* obj1
= 0 ;
16590 char *kwnames
[] = {
16591 (char *) "self",(char *) "str", NULL
16594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
16595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16596 if (SWIG_arg_fail(1)) SWIG_fail
;
16598 arg2
= wxString_in_helper(obj1
);
16599 if (arg2
== NULL
) SWIG_fail
;
16603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16604 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
16606 wxPyEndAllowThreads(__tstate
);
16607 if (PyErr_Occurred()) SWIG_fail
;
16609 Py_INCREF(Py_None
); resultobj
= Py_None
;
16624 static PyObject
* FindReplaceData_swigregister(PyObject
*, PyObject
*args
) {
16626 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16627 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
16629 return Py_BuildValue((char *)"");
16631 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16632 PyObject
*resultobj
;
16633 wxWindow
*arg1
= (wxWindow
*) 0 ;
16634 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
16635 wxString
*arg3
= 0 ;
16636 int arg4
= (int) 0 ;
16637 wxFindReplaceDialog
*result
;
16638 bool temp3
= false ;
16639 PyObject
* obj0
= 0 ;
16640 PyObject
* obj1
= 0 ;
16641 PyObject
* obj2
= 0 ;
16642 PyObject
* obj3
= 0 ;
16643 char *kwnames
[] = {
16644 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16649 if (SWIG_arg_fail(1)) SWIG_fail
;
16650 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16651 if (SWIG_arg_fail(2)) SWIG_fail
;
16653 arg3
= wxString_in_helper(obj2
);
16654 if (arg3
== NULL
) SWIG_fail
;
16659 arg4
= (int)(SWIG_As_int(obj3
));
16660 if (SWIG_arg_fail(4)) SWIG_fail
;
16664 if (!wxPyCheckForApp()) SWIG_fail
;
16665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16666 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
16668 wxPyEndAllowThreads(__tstate
);
16669 if (PyErr_Occurred()) SWIG_fail
;
16671 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
16686 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16687 PyObject
*resultobj
;
16688 wxFindReplaceDialog
*result
;
16689 char *kwnames
[] = {
16693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
16695 if (!wxPyCheckForApp()) SWIG_fail
;
16696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16697 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
16699 wxPyEndAllowThreads(__tstate
);
16700 if (PyErr_Occurred()) SWIG_fail
;
16702 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
16709 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16710 PyObject
*resultobj
;
16711 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
16712 wxWindow
*arg2
= (wxWindow
*) 0 ;
16713 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
16714 wxString
*arg4
= 0 ;
16715 int arg5
= (int) 0 ;
16717 bool temp4
= false ;
16718 PyObject
* obj0
= 0 ;
16719 PyObject
* obj1
= 0 ;
16720 PyObject
* obj2
= 0 ;
16721 PyObject
* obj3
= 0 ;
16722 PyObject
* obj4
= 0 ;
16723 char *kwnames
[] = {
16724 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
16729 if (SWIG_arg_fail(1)) SWIG_fail
;
16730 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16731 if (SWIG_arg_fail(2)) SWIG_fail
;
16732 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16733 if (SWIG_arg_fail(3)) SWIG_fail
;
16735 arg4
= wxString_in_helper(obj3
);
16736 if (arg4
== NULL
) SWIG_fail
;
16741 arg5
= (int)(SWIG_As_int(obj4
));
16742 if (SWIG_arg_fail(5)) SWIG_fail
;
16746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16747 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
16749 wxPyEndAllowThreads(__tstate
);
16750 if (PyErr_Occurred()) SWIG_fail
;
16753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16769 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16770 PyObject
*resultobj
;
16771 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
16772 wxFindReplaceData
*result
;
16773 PyObject
* obj0
= 0 ;
16774 char *kwnames
[] = {
16775 (char *) "self", NULL
16778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
16779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
16780 if (SWIG_arg_fail(1)) SWIG_fail
;
16782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16783 result
= (wxFindReplaceData
*)(arg1
)->GetData();
16785 wxPyEndAllowThreads(__tstate
);
16786 if (PyErr_Occurred()) SWIG_fail
;
16788 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
16795 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16796 PyObject
*resultobj
;
16797 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
16798 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
16799 PyObject
* obj0
= 0 ;
16800 PyObject
* obj1
= 0 ;
16801 char *kwnames
[] = {
16802 (char *) "self",(char *) "data", NULL
16805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
16806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
16807 if (SWIG_arg_fail(1)) SWIG_fail
;
16808 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16809 if (SWIG_arg_fail(2)) SWIG_fail
;
16811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16812 (arg1
)->SetData(arg2
);
16814 wxPyEndAllowThreads(__tstate
);
16815 if (PyErr_Occurred()) SWIG_fail
;
16817 Py_INCREF(Py_None
); resultobj
= Py_None
;
16824 static PyObject
* FindReplaceDialog_swigregister(PyObject
*, PyObject
*args
) {
16826 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16827 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
16829 return Py_BuildValue((char *)"");
16831 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16832 PyObject
*resultobj
;
16833 wxWindow
*arg1
= (wxWindow
*) 0 ;
16834 int arg2
= (int) (int)-1 ;
16835 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16836 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16837 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16838 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16839 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16840 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16841 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
16842 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
16843 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16844 wxMDIParentFrame
*result
;
16845 bool temp3
= false ;
16848 bool temp7
= false ;
16849 PyObject
* obj0
= 0 ;
16850 PyObject
* obj1
= 0 ;
16851 PyObject
* obj2
= 0 ;
16852 PyObject
* obj3
= 0 ;
16853 PyObject
* obj4
= 0 ;
16854 PyObject
* obj5
= 0 ;
16855 PyObject
* obj6
= 0 ;
16856 char *kwnames
[] = {
16857 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16862 if (SWIG_arg_fail(1)) SWIG_fail
;
16865 arg2
= (int const)(SWIG_As_int(obj1
));
16866 if (SWIG_arg_fail(2)) SWIG_fail
;
16871 arg3
= wxString_in_helper(obj2
);
16872 if (arg3
== NULL
) SWIG_fail
;
16879 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16885 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16890 arg6
= (long)(SWIG_As_long(obj5
));
16891 if (SWIG_arg_fail(6)) SWIG_fail
;
16896 arg7
= wxString_in_helper(obj6
);
16897 if (arg7
== NULL
) SWIG_fail
;
16902 if (!wxPyCheckForApp()) SWIG_fail
;
16903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16904 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
16906 wxPyEndAllowThreads(__tstate
);
16907 if (PyErr_Occurred()) SWIG_fail
;
16909 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
16932 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16933 PyObject
*resultobj
;
16934 wxMDIParentFrame
*result
;
16935 char *kwnames
[] = {
16939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
16941 if (!wxPyCheckForApp()) SWIG_fail
;
16942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16943 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
16945 wxPyEndAllowThreads(__tstate
);
16946 if (PyErr_Occurred()) SWIG_fail
;
16948 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
16955 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16956 PyObject
*resultobj
;
16957 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
16958 wxWindow
*arg2
= (wxWindow
*) 0 ;
16959 int arg3
= (int) (int)-1 ;
16960 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16961 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16962 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16963 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16964 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16965 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16966 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
16967 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
16968 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16970 bool temp4
= false ;
16973 bool temp8
= false ;
16974 PyObject
* obj0
= 0 ;
16975 PyObject
* obj1
= 0 ;
16976 PyObject
* obj2
= 0 ;
16977 PyObject
* obj3
= 0 ;
16978 PyObject
* obj4
= 0 ;
16979 PyObject
* obj5
= 0 ;
16980 PyObject
* obj6
= 0 ;
16981 PyObject
* obj7
= 0 ;
16982 char *kwnames
[] = {
16983 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
16987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
16988 if (SWIG_arg_fail(1)) SWIG_fail
;
16989 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16990 if (SWIG_arg_fail(2)) SWIG_fail
;
16993 arg3
= (int const)(SWIG_As_int(obj2
));
16994 if (SWIG_arg_fail(3)) SWIG_fail
;
16999 arg4
= wxString_in_helper(obj3
);
17000 if (arg4
== NULL
) SWIG_fail
;
17007 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17013 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17018 arg7
= (long)(SWIG_As_long(obj6
));
17019 if (SWIG_arg_fail(7)) SWIG_fail
;
17024 arg8
= wxString_in_helper(obj7
);
17025 if (arg8
== NULL
) SWIG_fail
;
17030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17031 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
17033 wxPyEndAllowThreads(__tstate
);
17034 if (PyErr_Occurred()) SWIG_fail
;
17037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17061 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17062 PyObject
*resultobj
;
17063 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17064 PyObject
* obj0
= 0 ;
17065 char *kwnames
[] = {
17066 (char *) "self", NULL
17069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
17070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17071 if (SWIG_arg_fail(1)) SWIG_fail
;
17073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17074 (arg1
)->ActivateNext();
17076 wxPyEndAllowThreads(__tstate
);
17077 if (PyErr_Occurred()) SWIG_fail
;
17079 Py_INCREF(Py_None
); resultobj
= Py_None
;
17086 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17087 PyObject
*resultobj
;
17088 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17089 PyObject
* obj0
= 0 ;
17090 char *kwnames
[] = {
17091 (char *) "self", NULL
17094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
17095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17096 if (SWIG_arg_fail(1)) SWIG_fail
;
17098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17099 (arg1
)->ActivatePrevious();
17101 wxPyEndAllowThreads(__tstate
);
17102 if (PyErr_Occurred()) SWIG_fail
;
17104 Py_INCREF(Py_None
); resultobj
= Py_None
;
17111 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17112 PyObject
*resultobj
;
17113 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17114 PyObject
* obj0
= 0 ;
17115 char *kwnames
[] = {
17116 (char *) "self", NULL
17119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",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 (arg1
)->ArrangeIcons();
17126 wxPyEndAllowThreads(__tstate
);
17127 if (PyErr_Occurred()) SWIG_fail
;
17129 Py_INCREF(Py_None
); resultobj
= Py_None
;
17136 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17137 PyObject
*resultobj
;
17138 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17139 PyObject
* obj0
= 0 ;
17140 char *kwnames
[] = {
17141 (char *) "self", NULL
17144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
17145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17146 if (SWIG_arg_fail(1)) SWIG_fail
;
17148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17151 wxPyEndAllowThreads(__tstate
);
17152 if (PyErr_Occurred()) SWIG_fail
;
17154 Py_INCREF(Py_None
); resultobj
= Py_None
;
17161 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17162 PyObject
*resultobj
;
17163 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17164 wxMDIChildFrame
*result
;
17165 PyObject
* obj0
= 0 ;
17166 char *kwnames
[] = {
17167 (char *) "self", NULL
17170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
17171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17172 if (SWIG_arg_fail(1)) SWIG_fail
;
17174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17175 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
17177 wxPyEndAllowThreads(__tstate
);
17178 if (PyErr_Occurred()) SWIG_fail
;
17181 resultobj
= wxPyMake_wxObject(result
, 0);
17189 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17190 PyObject
*resultobj
;
17191 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17192 wxMDIClientWindow
*result
;
17193 PyObject
* obj0
= 0 ;
17194 char *kwnames
[] = {
17195 (char *) "self", NULL
17198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
17199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17200 if (SWIG_arg_fail(1)) SWIG_fail
;
17202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17203 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
17205 wxPyEndAllowThreads(__tstate
);
17206 if (PyErr_Occurred()) SWIG_fail
;
17209 resultobj
= wxPyMake_wxObject(result
, 0);
17217 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17218 PyObject
*resultobj
;
17219 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17221 PyObject
* obj0
= 0 ;
17222 char *kwnames
[] = {
17223 (char *) "self", NULL
17226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
17227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17228 if (SWIG_arg_fail(1)) SWIG_fail
;
17230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17231 result
= (wxWindow
*)(arg1
)->GetToolBar();
17233 wxPyEndAllowThreads(__tstate
);
17234 if (PyErr_Occurred()) SWIG_fail
;
17237 resultobj
= wxPyMake_wxObject(result
, 0);
17245 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17246 PyObject
*resultobj
;
17247 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17248 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
17249 PyObject
* obj0
= 0 ;
17250 PyObject
* obj1
= 0 ;
17251 char *kwnames
[] = {
17252 (char *) "self",(char *) "orient", NULL
17255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) goto fail
;
17256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17257 if (SWIG_arg_fail(1)) SWIG_fail
;
17260 arg2
= (wxOrientation
)(SWIG_As_int(obj1
));
17261 if (SWIG_arg_fail(2)) SWIG_fail
;
17265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17266 (arg1
)->Tile((wxOrientation
)arg2
);
17268 wxPyEndAllowThreads(__tstate
);
17269 if (PyErr_Occurred()) SWIG_fail
;
17271 Py_INCREF(Py_None
); resultobj
= Py_None
;
17278 static PyObject
* MDIParentFrame_swigregister(PyObject
*, PyObject
*args
) {
17280 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17281 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
17283 return Py_BuildValue((char *)"");
17285 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17286 PyObject
*resultobj
;
17287 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17288 int arg2
= (int) (int)-1 ;
17289 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17290 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17291 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17292 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17293 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17294 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17295 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
17296 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
17297 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17298 wxMDIChildFrame
*result
;
17299 bool temp3
= false ;
17302 bool temp7
= false ;
17303 PyObject
* obj0
= 0 ;
17304 PyObject
* obj1
= 0 ;
17305 PyObject
* obj2
= 0 ;
17306 PyObject
* obj3
= 0 ;
17307 PyObject
* obj4
= 0 ;
17308 PyObject
* obj5
= 0 ;
17309 PyObject
* obj6
= 0 ;
17310 char *kwnames
[] = {
17311 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17316 if (SWIG_arg_fail(1)) SWIG_fail
;
17319 arg2
= (int const)(SWIG_As_int(obj1
));
17320 if (SWIG_arg_fail(2)) SWIG_fail
;
17325 arg3
= wxString_in_helper(obj2
);
17326 if (arg3
== NULL
) SWIG_fail
;
17333 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17339 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17344 arg6
= (long)(SWIG_As_long(obj5
));
17345 if (SWIG_arg_fail(6)) SWIG_fail
;
17350 arg7
= wxString_in_helper(obj6
);
17351 if (arg7
== NULL
) SWIG_fail
;
17356 if (!wxPyCheckForApp()) SWIG_fail
;
17357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17358 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17360 wxPyEndAllowThreads(__tstate
);
17361 if (PyErr_Occurred()) SWIG_fail
;
17363 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
17386 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17387 PyObject
*resultobj
;
17388 wxMDIChildFrame
*result
;
17389 char *kwnames
[] = {
17393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
17395 if (!wxPyCheckForApp()) SWIG_fail
;
17396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17397 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
17399 wxPyEndAllowThreads(__tstate
);
17400 if (PyErr_Occurred()) SWIG_fail
;
17402 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
17409 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17410 PyObject
*resultobj
;
17411 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17412 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
17413 int arg3
= (int) (int)-1 ;
17414 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17415 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17416 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17417 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17418 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17419 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17420 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
17421 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
17422 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17424 bool temp4
= false ;
17427 bool temp8
= false ;
17428 PyObject
* obj0
= 0 ;
17429 PyObject
* obj1
= 0 ;
17430 PyObject
* obj2
= 0 ;
17431 PyObject
* obj3
= 0 ;
17432 PyObject
* obj4
= 0 ;
17433 PyObject
* obj5
= 0 ;
17434 PyObject
* obj6
= 0 ;
17435 PyObject
* obj7
= 0 ;
17436 char *kwnames
[] = {
17437 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17442 if (SWIG_arg_fail(1)) SWIG_fail
;
17443 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17444 if (SWIG_arg_fail(2)) SWIG_fail
;
17447 arg3
= (int const)(SWIG_As_int(obj2
));
17448 if (SWIG_arg_fail(3)) SWIG_fail
;
17453 arg4
= wxString_in_helper(obj3
);
17454 if (arg4
== NULL
) SWIG_fail
;
17461 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17467 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17472 arg7
= (long)(SWIG_As_long(obj6
));
17473 if (SWIG_arg_fail(7)) SWIG_fail
;
17478 arg8
= wxString_in_helper(obj7
);
17479 if (arg8
== NULL
) SWIG_fail
;
17484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17485 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
17487 wxPyEndAllowThreads(__tstate
);
17488 if (PyErr_Occurred()) SWIG_fail
;
17491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17515 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17516 PyObject
*resultobj
;
17517 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17518 PyObject
* obj0
= 0 ;
17519 char *kwnames
[] = {
17520 (char *) "self", NULL
17523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
17524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17525 if (SWIG_arg_fail(1)) SWIG_fail
;
17527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17528 (arg1
)->Activate();
17530 wxPyEndAllowThreads(__tstate
);
17531 if (PyErr_Occurred()) SWIG_fail
;
17533 Py_INCREF(Py_None
); resultobj
= Py_None
;
17540 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17541 PyObject
*resultobj
;
17542 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17543 bool arg2
= (bool) true ;
17544 PyObject
* obj0
= 0 ;
17545 PyObject
* obj1
= 0 ;
17546 char *kwnames
[] = {
17547 (char *) "self",(char *) "maximize", NULL
17550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
17551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17552 if (SWIG_arg_fail(1)) SWIG_fail
;
17555 arg2
= (bool)(SWIG_As_bool(obj1
));
17556 if (SWIG_arg_fail(2)) SWIG_fail
;
17560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17561 (arg1
)->Maximize(arg2
);
17563 wxPyEndAllowThreads(__tstate
);
17564 if (PyErr_Occurred()) SWIG_fail
;
17566 Py_INCREF(Py_None
); resultobj
= Py_None
;
17573 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17574 PyObject
*resultobj
;
17575 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17576 PyObject
* obj0
= 0 ;
17577 char *kwnames
[] = {
17578 (char *) "self", NULL
17581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
17582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17583 if (SWIG_arg_fail(1)) SWIG_fail
;
17585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17588 wxPyEndAllowThreads(__tstate
);
17589 if (PyErr_Occurred()) SWIG_fail
;
17591 Py_INCREF(Py_None
); resultobj
= Py_None
;
17598 static PyObject
* MDIChildFrame_swigregister(PyObject
*, PyObject
*args
) {
17600 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17601 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
17603 return Py_BuildValue((char *)"");
17605 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17606 PyObject
*resultobj
;
17607 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17608 long arg2
= (long) 0 ;
17609 wxMDIClientWindow
*result
;
17610 PyObject
* obj0
= 0 ;
17611 PyObject
* obj1
= 0 ;
17612 char *kwnames
[] = {
17613 (char *) "parent",(char *) "style", NULL
17616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
17617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17618 if (SWIG_arg_fail(1)) SWIG_fail
;
17621 arg2
= (long)(SWIG_As_long(obj1
));
17622 if (SWIG_arg_fail(2)) SWIG_fail
;
17626 if (!wxPyCheckForApp()) SWIG_fail
;
17627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17628 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
17630 wxPyEndAllowThreads(__tstate
);
17631 if (PyErr_Occurred()) SWIG_fail
;
17633 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
17640 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17641 PyObject
*resultobj
;
17642 wxMDIClientWindow
*result
;
17643 char *kwnames
[] = {
17647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
17649 if (!wxPyCheckForApp()) SWIG_fail
;
17650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17651 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
17653 wxPyEndAllowThreads(__tstate
);
17654 if (PyErr_Occurred()) SWIG_fail
;
17656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
17663 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17664 PyObject
*resultobj
;
17665 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
17666 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
17667 long arg3
= (long) 0 ;
17669 PyObject
* obj0
= 0 ;
17670 PyObject
* obj1
= 0 ;
17671 PyObject
* obj2
= 0 ;
17672 char *kwnames
[] = {
17673 (char *) "self",(char *) "parent",(char *) "style", NULL
17676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_EXCEPTION
| 0);
17678 if (SWIG_arg_fail(1)) SWIG_fail
;
17679 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17680 if (SWIG_arg_fail(2)) SWIG_fail
;
17683 arg3
= (long)(SWIG_As_long(obj2
));
17684 if (SWIG_arg_fail(3)) SWIG_fail
;
17688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17689 result
= (bool)(arg1
)->Create(arg2
,arg3
);
17691 wxPyEndAllowThreads(__tstate
);
17692 if (PyErr_Occurred()) SWIG_fail
;
17695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17703 static PyObject
* MDIClientWindow_swigregister(PyObject
*, PyObject
*args
) {
17705 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17706 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
17708 return Py_BuildValue((char *)"");
17710 static PyObject
*_wrap_new_PyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17711 PyObject
*resultobj
;
17712 wxWindow
*arg1
= (wxWindow
*) 0 ;
17713 int arg2
= (int) (int)-1 ;
17714 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17715 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17716 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17717 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17718 long arg5
= (long) 0 ;
17719 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
17720 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17721 wxPyWindow
*result
;
17724 bool temp6
= false ;
17725 PyObject
* obj0
= 0 ;
17726 PyObject
* obj1
= 0 ;
17727 PyObject
* obj2
= 0 ;
17728 PyObject
* obj3
= 0 ;
17729 PyObject
* obj4
= 0 ;
17730 PyObject
* obj5
= 0 ;
17731 char *kwnames
[] = {
17732 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17737 if (SWIG_arg_fail(1)) SWIG_fail
;
17740 arg2
= (int const)(SWIG_As_int(obj1
));
17741 if (SWIG_arg_fail(2)) SWIG_fail
;
17747 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17753 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17758 arg5
= (long)(SWIG_As_long(obj4
));
17759 if (SWIG_arg_fail(5)) SWIG_fail
;
17764 arg6
= wxString_in_helper(obj5
);
17765 if (arg6
== NULL
) SWIG_fail
;
17770 if (!wxPyCheckForApp()) SWIG_fail
;
17771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17772 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17774 wxPyEndAllowThreads(__tstate
);
17775 if (PyErr_Occurred()) SWIG_fail
;
17777 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
17792 static PyObject
*_wrap_new_PrePyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17793 PyObject
*resultobj
;
17794 wxPyWindow
*result
;
17795 char *kwnames
[] = {
17799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
17801 if (!wxPyCheckForApp()) SWIG_fail
;
17802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17803 result
= (wxPyWindow
*)new wxPyWindow();
17805 wxPyEndAllowThreads(__tstate
);
17806 if (PyErr_Occurred()) SWIG_fail
;
17808 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
17815 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17816 PyObject
*resultobj
;
17817 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17818 PyObject
*arg2
= (PyObject
*) 0 ;
17819 PyObject
*arg3
= (PyObject
*) 0 ;
17820 PyObject
* obj0
= 0 ;
17821 PyObject
* obj1
= 0 ;
17822 PyObject
* obj2
= 0 ;
17823 char *kwnames
[] = {
17824 (char *) "self",(char *) "self",(char *) "_class", NULL
17827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17829 if (SWIG_arg_fail(1)) SWIG_fail
;
17833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17834 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17836 wxPyEndAllowThreads(__tstate
);
17837 if (PyErr_Occurred()) SWIG_fail
;
17839 Py_INCREF(Py_None
); resultobj
= Py_None
;
17846 static PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17847 PyObject
*resultobj
;
17848 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17851 PyObject
* obj0
= 0 ;
17852 PyObject
* obj1
= 0 ;
17853 char *kwnames
[] = {
17854 (char *) "self",(char *) "size", NULL
17857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17859 if (SWIG_arg_fail(1)) SWIG_fail
;
17862 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17866 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
17868 wxPyEndAllowThreads(__tstate
);
17869 if (PyErr_Occurred()) SWIG_fail
;
17871 Py_INCREF(Py_None
); resultobj
= Py_None
;
17878 static PyObject
*_wrap_PyWindow_DoEraseBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17879 PyObject
*resultobj
;
17880 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17881 wxDC
*arg2
= (wxDC
*) 0 ;
17883 PyObject
* obj0
= 0 ;
17884 PyObject
* obj1
= 0 ;
17885 char *kwnames
[] = {
17886 (char *) "self",(char *) "dc", NULL
17889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
17890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17891 if (SWIG_arg_fail(1)) SWIG_fail
;
17892 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17893 if (SWIG_arg_fail(2)) SWIG_fail
;
17895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17896 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
17898 wxPyEndAllowThreads(__tstate
);
17899 if (PyErr_Occurred()) SWIG_fail
;
17902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17910 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17911 PyObject
*resultobj
;
17912 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17917 PyObject
* obj0
= 0 ;
17918 PyObject
* obj1
= 0 ;
17919 PyObject
* obj2
= 0 ;
17920 PyObject
* obj3
= 0 ;
17921 PyObject
* obj4
= 0 ;
17922 char *kwnames
[] = {
17923 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17928 if (SWIG_arg_fail(1)) SWIG_fail
;
17930 arg2
= (int)(SWIG_As_int(obj1
));
17931 if (SWIG_arg_fail(2)) SWIG_fail
;
17934 arg3
= (int)(SWIG_As_int(obj2
));
17935 if (SWIG_arg_fail(3)) SWIG_fail
;
17938 arg4
= (int)(SWIG_As_int(obj3
));
17939 if (SWIG_arg_fail(4)) SWIG_fail
;
17942 arg5
= (int)(SWIG_As_int(obj4
));
17943 if (SWIG_arg_fail(5)) SWIG_fail
;
17946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17947 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
17949 wxPyEndAllowThreads(__tstate
);
17950 if (PyErr_Occurred()) SWIG_fail
;
17952 Py_INCREF(Py_None
); resultobj
= Py_None
;
17959 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17960 PyObject
*resultobj
;
17961 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17966 int arg6
= (int) wxSIZE_AUTO
;
17967 PyObject
* obj0
= 0 ;
17968 PyObject
* obj1
= 0 ;
17969 PyObject
* obj2
= 0 ;
17970 PyObject
* obj3
= 0 ;
17971 PyObject
* obj4
= 0 ;
17972 PyObject
* obj5
= 0 ;
17973 char *kwnames
[] = {
17974 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17979 if (SWIG_arg_fail(1)) SWIG_fail
;
17981 arg2
= (int)(SWIG_As_int(obj1
));
17982 if (SWIG_arg_fail(2)) SWIG_fail
;
17985 arg3
= (int)(SWIG_As_int(obj2
));
17986 if (SWIG_arg_fail(3)) SWIG_fail
;
17989 arg4
= (int)(SWIG_As_int(obj3
));
17990 if (SWIG_arg_fail(4)) SWIG_fail
;
17993 arg5
= (int)(SWIG_As_int(obj4
));
17994 if (SWIG_arg_fail(5)) SWIG_fail
;
17998 arg6
= (int)(SWIG_As_int(obj5
));
17999 if (SWIG_arg_fail(6)) SWIG_fail
;
18003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18004 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
18006 wxPyEndAllowThreads(__tstate
);
18007 if (PyErr_Occurred()) SWIG_fail
;
18009 Py_INCREF(Py_None
); resultobj
= Py_None
;
18016 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18017 PyObject
*resultobj
;
18018 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18021 PyObject
* obj0
= 0 ;
18022 PyObject
* obj1
= 0 ;
18023 PyObject
* obj2
= 0 ;
18024 char *kwnames
[] = {
18025 (char *) "self",(char *) "width",(char *) "height", NULL
18028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18030 if (SWIG_arg_fail(1)) SWIG_fail
;
18032 arg2
= (int)(SWIG_As_int(obj1
));
18033 if (SWIG_arg_fail(2)) SWIG_fail
;
18036 arg3
= (int)(SWIG_As_int(obj2
));
18037 if (SWIG_arg_fail(3)) SWIG_fail
;
18040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18041 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
18043 wxPyEndAllowThreads(__tstate
);
18044 if (PyErr_Occurred()) SWIG_fail
;
18046 Py_INCREF(Py_None
); resultobj
= Py_None
;
18053 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18054 PyObject
*resultobj
;
18055 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18058 PyObject
* obj0
= 0 ;
18059 PyObject
* obj1
= 0 ;
18060 PyObject
* obj2
= 0 ;
18061 char *kwnames
[] = {
18062 (char *) "self",(char *) "x",(char *) "y", NULL
18065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18067 if (SWIG_arg_fail(1)) SWIG_fail
;
18069 arg2
= (int)(SWIG_As_int(obj1
));
18070 if (SWIG_arg_fail(2)) SWIG_fail
;
18073 arg3
= (int)(SWIG_As_int(obj2
));
18074 if (SWIG_arg_fail(3)) SWIG_fail
;
18077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18078 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
18080 wxPyEndAllowThreads(__tstate
);
18081 if (PyErr_Occurred()) SWIG_fail
;
18083 Py_INCREF(Py_None
); resultobj
= Py_None
;
18090 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18091 PyObject
*resultobj
;
18092 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18093 int *arg2
= (int *) 0 ;
18094 int *arg3
= (int *) 0 ;
18099 PyObject
* obj0
= 0 ;
18100 char *kwnames
[] = {
18101 (char *) "self", NULL
18104 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18105 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
18107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18108 if (SWIG_arg_fail(1)) SWIG_fail
;
18110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18111 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
18113 wxPyEndAllowThreads(__tstate
);
18114 if (PyErr_Occurred()) SWIG_fail
;
18116 Py_INCREF(Py_None
); resultobj
= Py_None
;
18117 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18118 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18119 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18120 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18127 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18128 PyObject
*resultobj
;
18129 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18130 int *arg2
= (int *) 0 ;
18131 int *arg3
= (int *) 0 ;
18136 PyObject
* obj0
= 0 ;
18137 char *kwnames
[] = {
18138 (char *) "self", NULL
18141 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18142 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
18144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18145 if (SWIG_arg_fail(1)) SWIG_fail
;
18147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18148 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
18150 wxPyEndAllowThreads(__tstate
);
18151 if (PyErr_Occurred()) SWIG_fail
;
18153 Py_INCREF(Py_None
); resultobj
= Py_None
;
18154 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18155 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18156 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18157 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18164 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18165 PyObject
*resultobj
;
18166 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18167 int *arg2
= (int *) 0 ;
18168 int *arg3
= (int *) 0 ;
18173 PyObject
* obj0
= 0 ;
18174 char *kwnames
[] = {
18175 (char *) "self", NULL
18178 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18179 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
18181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18182 if (SWIG_arg_fail(1)) SWIG_fail
;
18184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18185 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
18187 wxPyEndAllowThreads(__tstate
);
18188 if (PyErr_Occurred()) SWIG_fail
;
18190 Py_INCREF(Py_None
); resultobj
= Py_None
;
18191 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18192 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18193 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18194 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18201 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18202 PyObject
*resultobj
;
18203 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18205 PyObject
* obj0
= 0 ;
18206 char *kwnames
[] = {
18207 (char *) "self", NULL
18210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
18211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18212 if (SWIG_arg_fail(1)) SWIG_fail
;
18214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18215 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
18217 wxPyEndAllowThreads(__tstate
);
18218 if (PyErr_Occurred()) SWIG_fail
;
18221 wxSize
* resultptr
;
18222 resultptr
= new wxSize((wxSize
&)(result
));
18223 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18231 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18232 PyObject
*resultobj
;
18233 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18235 PyObject
* obj0
= 0 ;
18236 char *kwnames
[] = {
18237 (char *) "self", NULL
18240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
18241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18242 if (SWIG_arg_fail(1)) SWIG_fail
;
18244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18245 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
18247 wxPyEndAllowThreads(__tstate
);
18248 if (PyErr_Occurred()) SWIG_fail
;
18251 wxSize
* resultptr
;
18252 resultptr
= new wxSize((wxSize
&)(result
));
18253 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18261 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18262 PyObject
*resultobj
;
18263 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18264 PyObject
* obj0
= 0 ;
18265 char *kwnames
[] = {
18266 (char *) "self", NULL
18269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
18270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18271 if (SWIG_arg_fail(1)) SWIG_fail
;
18273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18274 (arg1
)->base_InitDialog();
18276 wxPyEndAllowThreads(__tstate
);
18277 if (PyErr_Occurred()) SWIG_fail
;
18279 Py_INCREF(Py_None
); resultobj
= Py_None
;
18286 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18287 PyObject
*resultobj
;
18288 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18290 PyObject
* obj0
= 0 ;
18291 char *kwnames
[] = {
18292 (char *) "self", NULL
18295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
18296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18297 if (SWIG_arg_fail(1)) SWIG_fail
;
18299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18300 result
= (bool)(arg1
)->base_TransferDataToWindow();
18302 wxPyEndAllowThreads(__tstate
);
18303 if (PyErr_Occurred()) SWIG_fail
;
18306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18314 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18315 PyObject
*resultobj
;
18316 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18318 PyObject
* obj0
= 0 ;
18319 char *kwnames
[] = {
18320 (char *) "self", NULL
18323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
18324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18325 if (SWIG_arg_fail(1)) SWIG_fail
;
18327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18328 result
= (bool)(arg1
)->base_TransferDataFromWindow();
18330 wxPyEndAllowThreads(__tstate
);
18331 if (PyErr_Occurred()) SWIG_fail
;
18334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18342 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18343 PyObject
*resultobj
;
18344 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18346 PyObject
* obj0
= 0 ;
18347 char *kwnames
[] = {
18348 (char *) "self", NULL
18351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
18352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18353 if (SWIG_arg_fail(1)) SWIG_fail
;
18355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18356 result
= (bool)(arg1
)->base_Validate();
18358 wxPyEndAllowThreads(__tstate
);
18359 if (PyErr_Occurred()) SWIG_fail
;
18362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18370 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18371 PyObject
*resultobj
;
18372 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18374 PyObject
* obj0
= 0 ;
18375 char *kwnames
[] = {
18376 (char *) "self", NULL
18379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
18380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18381 if (SWIG_arg_fail(1)) SWIG_fail
;
18383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18384 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
18386 wxPyEndAllowThreads(__tstate
);
18387 if (PyErr_Occurred()) SWIG_fail
;
18390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18398 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18399 PyObject
*resultobj
;
18400 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18402 PyObject
* obj0
= 0 ;
18403 char *kwnames
[] = {
18404 (char *) "self", NULL
18407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
18408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18409 if (SWIG_arg_fail(1)) SWIG_fail
;
18411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18412 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
18414 wxPyEndAllowThreads(__tstate
);
18415 if (PyErr_Occurred()) SWIG_fail
;
18418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18426 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18427 PyObject
*resultobj
;
18428 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18430 PyObject
* obj0
= 0 ;
18431 char *kwnames
[] = {
18432 (char *) "self", NULL
18435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
18436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18437 if (SWIG_arg_fail(1)) SWIG_fail
;
18439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18440 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
18442 wxPyEndAllowThreads(__tstate
);
18443 if (PyErr_Occurred()) SWIG_fail
;
18446 wxSize
* resultptr
;
18447 resultptr
= new wxSize((wxSize
&)(result
));
18448 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18456 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18457 PyObject
*resultobj
;
18458 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18459 wxWindow
*arg2
= (wxWindow
*) 0 ;
18460 PyObject
* obj0
= 0 ;
18461 PyObject
* obj1
= 0 ;
18462 char *kwnames
[] = {
18463 (char *) "self",(char *) "child", NULL
18466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18468 if (SWIG_arg_fail(1)) SWIG_fail
;
18469 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18470 if (SWIG_arg_fail(2)) SWIG_fail
;
18472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18473 (arg1
)->base_AddChild(arg2
);
18475 wxPyEndAllowThreads(__tstate
);
18476 if (PyErr_Occurred()) SWIG_fail
;
18478 Py_INCREF(Py_None
); resultobj
= Py_None
;
18485 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18486 PyObject
*resultobj
;
18487 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18488 wxWindow
*arg2
= (wxWindow
*) 0 ;
18489 PyObject
* obj0
= 0 ;
18490 PyObject
* obj1
= 0 ;
18491 char *kwnames
[] = {
18492 (char *) "self",(char *) "child", NULL
18495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18497 if (SWIG_arg_fail(1)) SWIG_fail
;
18498 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18499 if (SWIG_arg_fail(2)) SWIG_fail
;
18501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18502 (arg1
)->base_RemoveChild(arg2
);
18504 wxPyEndAllowThreads(__tstate
);
18505 if (PyErr_Occurred()) SWIG_fail
;
18507 Py_INCREF(Py_None
); resultobj
= Py_None
;
18514 static PyObject
*_wrap_PyWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18515 PyObject
*resultobj
;
18516 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18518 PyObject
* obj0
= 0 ;
18519 char *kwnames
[] = {
18520 (char *) "self", NULL
18523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
18524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18525 if (SWIG_arg_fail(1)) SWIG_fail
;
18527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18528 result
= (bool)((wxPyWindow
const *)arg1
)->base_ShouldInheritColours();
18530 wxPyEndAllowThreads(__tstate
);
18531 if (PyErr_Occurred()) SWIG_fail
;
18534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18542 static PyObject
*_wrap_PyWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18543 PyObject
*resultobj
;
18544 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18545 wxVisualAttributes result
;
18546 PyObject
* obj0
= 0 ;
18547 char *kwnames
[] = {
18548 (char *) "self", NULL
18551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
18552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18553 if (SWIG_arg_fail(1)) SWIG_fail
;
18555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18556 result
= (arg1
)->base_GetDefaultAttributes();
18558 wxPyEndAllowThreads(__tstate
);
18559 if (PyErr_Occurred()) SWIG_fail
;
18562 wxVisualAttributes
* resultptr
;
18563 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
18564 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
18572 static PyObject
* PyWindow_swigregister(PyObject
*, PyObject
*args
) {
18574 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18575 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
18577 return Py_BuildValue((char *)"");
18579 static PyObject
*_wrap_new_PyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18580 PyObject
*resultobj
;
18581 wxWindow
*arg1
= (wxWindow
*) 0 ;
18582 int arg2
= (int) (int)-1 ;
18583 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18584 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18585 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18586 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18587 long arg5
= (long) 0 ;
18588 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
18589 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18593 bool temp6
= false ;
18594 PyObject
* obj0
= 0 ;
18595 PyObject
* obj1
= 0 ;
18596 PyObject
* obj2
= 0 ;
18597 PyObject
* obj3
= 0 ;
18598 PyObject
* obj4
= 0 ;
18599 PyObject
* obj5
= 0 ;
18600 char *kwnames
[] = {
18601 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18606 if (SWIG_arg_fail(1)) SWIG_fail
;
18609 arg2
= (int const)(SWIG_As_int(obj1
));
18610 if (SWIG_arg_fail(2)) SWIG_fail
;
18616 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18622 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18627 arg5
= (long)(SWIG_As_long(obj4
));
18628 if (SWIG_arg_fail(5)) SWIG_fail
;
18633 arg6
= wxString_in_helper(obj5
);
18634 if (arg6
== NULL
) SWIG_fail
;
18639 if (!wxPyCheckForApp()) SWIG_fail
;
18640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18641 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18643 wxPyEndAllowThreads(__tstate
);
18644 if (PyErr_Occurred()) SWIG_fail
;
18646 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
18661 static PyObject
*_wrap_new_PrePyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18662 PyObject
*resultobj
;
18664 char *kwnames
[] = {
18668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
18670 if (!wxPyCheckForApp()) SWIG_fail
;
18671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18672 result
= (wxPyPanel
*)new wxPyPanel();
18674 wxPyEndAllowThreads(__tstate
);
18675 if (PyErr_Occurred()) SWIG_fail
;
18677 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
18684 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18685 PyObject
*resultobj
;
18686 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18687 PyObject
*arg2
= (PyObject
*) 0 ;
18688 PyObject
*arg3
= (PyObject
*) 0 ;
18689 PyObject
* obj0
= 0 ;
18690 PyObject
* obj1
= 0 ;
18691 PyObject
* obj2
= 0 ;
18692 char *kwnames
[] = {
18693 (char *) "self",(char *) "self",(char *) "_class", NULL
18696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18698 if (SWIG_arg_fail(1)) SWIG_fail
;
18702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18703 (arg1
)->_setCallbackInfo(arg2
,arg3
);
18705 wxPyEndAllowThreads(__tstate
);
18706 if (PyErr_Occurred()) SWIG_fail
;
18708 Py_INCREF(Py_None
); resultobj
= Py_None
;
18715 static PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18716 PyObject
*resultobj
;
18717 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18720 PyObject
* obj0
= 0 ;
18721 PyObject
* obj1
= 0 ;
18722 char *kwnames
[] = {
18723 (char *) "self",(char *) "size", NULL
18726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18728 if (SWIG_arg_fail(1)) SWIG_fail
;
18731 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18735 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
18737 wxPyEndAllowThreads(__tstate
);
18738 if (PyErr_Occurred()) SWIG_fail
;
18740 Py_INCREF(Py_None
); resultobj
= Py_None
;
18747 static PyObject
*_wrap_PyPanel_DoEraseBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18748 PyObject
*resultobj
;
18749 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18750 wxDC
*arg2
= (wxDC
*) 0 ;
18752 PyObject
* obj0
= 0 ;
18753 PyObject
* obj1
= 0 ;
18754 char *kwnames
[] = {
18755 (char *) "self",(char *) "dc", NULL
18758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
18759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18760 if (SWIG_arg_fail(1)) SWIG_fail
;
18761 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
18762 if (SWIG_arg_fail(2)) SWIG_fail
;
18764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18765 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
18767 wxPyEndAllowThreads(__tstate
);
18768 if (PyErr_Occurred()) SWIG_fail
;
18771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18779 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18780 PyObject
*resultobj
;
18781 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18786 PyObject
* obj0
= 0 ;
18787 PyObject
* obj1
= 0 ;
18788 PyObject
* obj2
= 0 ;
18789 PyObject
* obj3
= 0 ;
18790 PyObject
* obj4
= 0 ;
18791 char *kwnames
[] = {
18792 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18797 if (SWIG_arg_fail(1)) SWIG_fail
;
18799 arg2
= (int)(SWIG_As_int(obj1
));
18800 if (SWIG_arg_fail(2)) SWIG_fail
;
18803 arg3
= (int)(SWIG_As_int(obj2
));
18804 if (SWIG_arg_fail(3)) SWIG_fail
;
18807 arg4
= (int)(SWIG_As_int(obj3
));
18808 if (SWIG_arg_fail(4)) SWIG_fail
;
18811 arg5
= (int)(SWIG_As_int(obj4
));
18812 if (SWIG_arg_fail(5)) SWIG_fail
;
18815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18816 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
18818 wxPyEndAllowThreads(__tstate
);
18819 if (PyErr_Occurred()) SWIG_fail
;
18821 Py_INCREF(Py_None
); resultobj
= Py_None
;
18828 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18829 PyObject
*resultobj
;
18830 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18835 int arg6
= (int) wxSIZE_AUTO
;
18836 PyObject
* obj0
= 0 ;
18837 PyObject
* obj1
= 0 ;
18838 PyObject
* obj2
= 0 ;
18839 PyObject
* obj3
= 0 ;
18840 PyObject
* obj4
= 0 ;
18841 PyObject
* obj5
= 0 ;
18842 char *kwnames
[] = {
18843 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
18846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18848 if (SWIG_arg_fail(1)) SWIG_fail
;
18850 arg2
= (int)(SWIG_As_int(obj1
));
18851 if (SWIG_arg_fail(2)) SWIG_fail
;
18854 arg3
= (int)(SWIG_As_int(obj2
));
18855 if (SWIG_arg_fail(3)) SWIG_fail
;
18858 arg4
= (int)(SWIG_As_int(obj3
));
18859 if (SWIG_arg_fail(4)) SWIG_fail
;
18862 arg5
= (int)(SWIG_As_int(obj4
));
18863 if (SWIG_arg_fail(5)) SWIG_fail
;
18867 arg6
= (int)(SWIG_As_int(obj5
));
18868 if (SWIG_arg_fail(6)) SWIG_fail
;
18872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18873 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
18875 wxPyEndAllowThreads(__tstate
);
18876 if (PyErr_Occurred()) SWIG_fail
;
18878 Py_INCREF(Py_None
); resultobj
= Py_None
;
18885 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18886 PyObject
*resultobj
;
18887 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18890 PyObject
* obj0
= 0 ;
18891 PyObject
* obj1
= 0 ;
18892 PyObject
* obj2
= 0 ;
18893 char *kwnames
[] = {
18894 (char *) "self",(char *) "width",(char *) "height", NULL
18897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18899 if (SWIG_arg_fail(1)) SWIG_fail
;
18901 arg2
= (int)(SWIG_As_int(obj1
));
18902 if (SWIG_arg_fail(2)) SWIG_fail
;
18905 arg3
= (int)(SWIG_As_int(obj2
));
18906 if (SWIG_arg_fail(3)) SWIG_fail
;
18909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18910 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
18912 wxPyEndAllowThreads(__tstate
);
18913 if (PyErr_Occurred()) SWIG_fail
;
18915 Py_INCREF(Py_None
); resultobj
= Py_None
;
18922 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18923 PyObject
*resultobj
;
18924 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18927 PyObject
* obj0
= 0 ;
18928 PyObject
* obj1
= 0 ;
18929 PyObject
* obj2
= 0 ;
18930 char *kwnames
[] = {
18931 (char *) "self",(char *) "x",(char *) "y", NULL
18934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18936 if (SWIG_arg_fail(1)) SWIG_fail
;
18938 arg2
= (int)(SWIG_As_int(obj1
));
18939 if (SWIG_arg_fail(2)) SWIG_fail
;
18942 arg3
= (int)(SWIG_As_int(obj2
));
18943 if (SWIG_arg_fail(3)) SWIG_fail
;
18946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18947 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
18949 wxPyEndAllowThreads(__tstate
);
18950 if (PyErr_Occurred()) SWIG_fail
;
18952 Py_INCREF(Py_None
); resultobj
= Py_None
;
18959 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18960 PyObject
*resultobj
;
18961 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18962 int *arg2
= (int *) 0 ;
18963 int *arg3
= (int *) 0 ;
18968 PyObject
* obj0
= 0 ;
18969 char *kwnames
[] = {
18970 (char *) "self", NULL
18973 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18974 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
18976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18977 if (SWIG_arg_fail(1)) SWIG_fail
;
18979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18980 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
18982 wxPyEndAllowThreads(__tstate
);
18983 if (PyErr_Occurred()) SWIG_fail
;
18985 Py_INCREF(Py_None
); resultobj
= Py_None
;
18986 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18987 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18988 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18989 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18996 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18997 PyObject
*resultobj
;
18998 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18999 int *arg2
= (int *) 0 ;
19000 int *arg3
= (int *) 0 ;
19005 PyObject
* obj0
= 0 ;
19006 char *kwnames
[] = {
19007 (char *) "self", NULL
19010 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19011 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
19013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19014 if (SWIG_arg_fail(1)) SWIG_fail
;
19016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19017 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
19019 wxPyEndAllowThreads(__tstate
);
19020 if (PyErr_Occurred()) SWIG_fail
;
19022 Py_INCREF(Py_None
); resultobj
= Py_None
;
19023 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19024 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19025 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19026 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19033 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19034 PyObject
*resultobj
;
19035 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19036 int *arg2
= (int *) 0 ;
19037 int *arg3
= (int *) 0 ;
19042 PyObject
* obj0
= 0 ;
19043 char *kwnames
[] = {
19044 (char *) "self", NULL
19047 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19048 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
19050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19051 if (SWIG_arg_fail(1)) SWIG_fail
;
19053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19054 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
19056 wxPyEndAllowThreads(__tstate
);
19057 if (PyErr_Occurred()) SWIG_fail
;
19059 Py_INCREF(Py_None
); resultobj
= Py_None
;
19060 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19061 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19062 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19063 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19070 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19071 PyObject
*resultobj
;
19072 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19074 PyObject
* obj0
= 0 ;
19075 char *kwnames
[] = {
19076 (char *) "self", NULL
19079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
19080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19081 if (SWIG_arg_fail(1)) SWIG_fail
;
19083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19084 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
19086 wxPyEndAllowThreads(__tstate
);
19087 if (PyErr_Occurred()) SWIG_fail
;
19090 wxSize
* resultptr
;
19091 resultptr
= new wxSize((wxSize
&)(result
));
19092 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19100 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19101 PyObject
*resultobj
;
19102 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19104 PyObject
* obj0
= 0 ;
19105 char *kwnames
[] = {
19106 (char *) "self", NULL
19109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
19110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19111 if (SWIG_arg_fail(1)) SWIG_fail
;
19113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19114 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
19116 wxPyEndAllowThreads(__tstate
);
19117 if (PyErr_Occurred()) SWIG_fail
;
19120 wxSize
* resultptr
;
19121 resultptr
= new wxSize((wxSize
&)(result
));
19122 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19130 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19131 PyObject
*resultobj
;
19132 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19133 PyObject
* obj0
= 0 ;
19134 char *kwnames
[] = {
19135 (char *) "self", NULL
19138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
19139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19140 if (SWIG_arg_fail(1)) SWIG_fail
;
19142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19143 (arg1
)->base_InitDialog();
19145 wxPyEndAllowThreads(__tstate
);
19146 if (PyErr_Occurred()) SWIG_fail
;
19148 Py_INCREF(Py_None
); resultobj
= Py_None
;
19155 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19156 PyObject
*resultobj
;
19157 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19159 PyObject
* obj0
= 0 ;
19160 char *kwnames
[] = {
19161 (char *) "self", NULL
19164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
19165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19166 if (SWIG_arg_fail(1)) SWIG_fail
;
19168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19169 result
= (bool)(arg1
)->base_TransferDataToWindow();
19171 wxPyEndAllowThreads(__tstate
);
19172 if (PyErr_Occurred()) SWIG_fail
;
19175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19183 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19184 PyObject
*resultobj
;
19185 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19187 PyObject
* obj0
= 0 ;
19188 char *kwnames
[] = {
19189 (char *) "self", NULL
19192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
19193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19194 if (SWIG_arg_fail(1)) SWIG_fail
;
19196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19197 result
= (bool)(arg1
)->base_TransferDataFromWindow();
19199 wxPyEndAllowThreads(__tstate
);
19200 if (PyErr_Occurred()) SWIG_fail
;
19203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19211 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19212 PyObject
*resultobj
;
19213 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19215 PyObject
* obj0
= 0 ;
19216 char *kwnames
[] = {
19217 (char *) "self", NULL
19220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
19221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19222 if (SWIG_arg_fail(1)) SWIG_fail
;
19224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19225 result
= (bool)(arg1
)->base_Validate();
19227 wxPyEndAllowThreads(__tstate
);
19228 if (PyErr_Occurred()) SWIG_fail
;
19231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19239 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19240 PyObject
*resultobj
;
19241 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19243 PyObject
* obj0
= 0 ;
19244 char *kwnames
[] = {
19245 (char *) "self", NULL
19248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
19249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19250 if (SWIG_arg_fail(1)) SWIG_fail
;
19252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19253 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
19255 wxPyEndAllowThreads(__tstate
);
19256 if (PyErr_Occurred()) SWIG_fail
;
19259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19267 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19268 PyObject
*resultobj
;
19269 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19271 PyObject
* obj0
= 0 ;
19272 char *kwnames
[] = {
19273 (char *) "self", NULL
19276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
19277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19278 if (SWIG_arg_fail(1)) SWIG_fail
;
19280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19281 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
19283 wxPyEndAllowThreads(__tstate
);
19284 if (PyErr_Occurred()) SWIG_fail
;
19287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19295 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19296 PyObject
*resultobj
;
19297 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19299 PyObject
* obj0
= 0 ;
19300 char *kwnames
[] = {
19301 (char *) "self", NULL
19304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
19305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19306 if (SWIG_arg_fail(1)) SWIG_fail
;
19308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19309 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
19311 wxPyEndAllowThreads(__tstate
);
19312 if (PyErr_Occurred()) SWIG_fail
;
19315 wxSize
* resultptr
;
19316 resultptr
= new wxSize((wxSize
&)(result
));
19317 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19325 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19326 PyObject
*resultobj
;
19327 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19328 wxWindow
*arg2
= (wxWindow
*) 0 ;
19329 PyObject
* obj0
= 0 ;
19330 PyObject
* obj1
= 0 ;
19331 char *kwnames
[] = {
19332 (char *) "self",(char *) "child", NULL
19335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
19336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19337 if (SWIG_arg_fail(1)) SWIG_fail
;
19338 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19339 if (SWIG_arg_fail(2)) SWIG_fail
;
19341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19342 (arg1
)->base_AddChild(arg2
);
19344 wxPyEndAllowThreads(__tstate
);
19345 if (PyErr_Occurred()) SWIG_fail
;
19347 Py_INCREF(Py_None
); resultobj
= Py_None
;
19354 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19355 PyObject
*resultobj
;
19356 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19357 wxWindow
*arg2
= (wxWindow
*) 0 ;
19358 PyObject
* obj0
= 0 ;
19359 PyObject
* obj1
= 0 ;
19360 char *kwnames
[] = {
19361 (char *) "self",(char *) "child", NULL
19364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
19365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19366 if (SWIG_arg_fail(1)) SWIG_fail
;
19367 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19368 if (SWIG_arg_fail(2)) SWIG_fail
;
19370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19371 (arg1
)->base_RemoveChild(arg2
);
19373 wxPyEndAllowThreads(__tstate
);
19374 if (PyErr_Occurred()) SWIG_fail
;
19376 Py_INCREF(Py_None
); resultobj
= Py_None
;
19383 static PyObject
*_wrap_PyPanel_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19384 PyObject
*resultobj
;
19385 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19387 PyObject
* obj0
= 0 ;
19388 char *kwnames
[] = {
19389 (char *) "self", NULL
19392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
19393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19394 if (SWIG_arg_fail(1)) SWIG_fail
;
19396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19397 result
= (bool)((wxPyPanel
const *)arg1
)->base_ShouldInheritColours();
19399 wxPyEndAllowThreads(__tstate
);
19400 if (PyErr_Occurred()) SWIG_fail
;
19403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19411 static PyObject
*_wrap_PyPanel_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19412 PyObject
*resultobj
;
19413 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19414 wxVisualAttributes result
;
19415 PyObject
* obj0
= 0 ;
19416 char *kwnames
[] = {
19417 (char *) "self", NULL
19420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
19421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19422 if (SWIG_arg_fail(1)) SWIG_fail
;
19424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19425 result
= (arg1
)->base_GetDefaultAttributes();
19427 wxPyEndAllowThreads(__tstate
);
19428 if (PyErr_Occurred()) SWIG_fail
;
19431 wxVisualAttributes
* resultptr
;
19432 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
19433 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
19441 static PyObject
* PyPanel_swigregister(PyObject
*, PyObject
*args
) {
19443 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19444 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
19446 return Py_BuildValue((char *)"");
19448 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19449 PyObject
*resultobj
;
19450 wxWindow
*arg1
= (wxWindow
*) 0 ;
19451 int arg2
= (int) (int)-1 ;
19452 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19453 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19454 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19455 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19456 long arg5
= (long) 0 ;
19457 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
19458 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
19459 wxPyScrolledWindow
*result
;
19462 bool temp6
= false ;
19463 PyObject
* obj0
= 0 ;
19464 PyObject
* obj1
= 0 ;
19465 PyObject
* obj2
= 0 ;
19466 PyObject
* obj3
= 0 ;
19467 PyObject
* obj4
= 0 ;
19468 PyObject
* obj5
= 0 ;
19469 char *kwnames
[] = {
19470 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19475 if (SWIG_arg_fail(1)) SWIG_fail
;
19478 arg2
= (int const)(SWIG_As_int(obj1
));
19479 if (SWIG_arg_fail(2)) SWIG_fail
;
19485 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19491 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19496 arg5
= (long)(SWIG_As_long(obj4
));
19497 if (SWIG_arg_fail(5)) SWIG_fail
;
19502 arg6
= wxString_in_helper(obj5
);
19503 if (arg6
== NULL
) SWIG_fail
;
19508 if (!wxPyCheckForApp()) SWIG_fail
;
19509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19510 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
19512 wxPyEndAllowThreads(__tstate
);
19513 if (PyErr_Occurred()) SWIG_fail
;
19515 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
19530 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19531 PyObject
*resultobj
;
19532 wxPyScrolledWindow
*result
;
19533 char *kwnames
[] = {
19537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
19539 if (!wxPyCheckForApp()) SWIG_fail
;
19540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19541 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
19543 wxPyEndAllowThreads(__tstate
);
19544 if (PyErr_Occurred()) SWIG_fail
;
19546 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
19553 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19554 PyObject
*resultobj
;
19555 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19556 PyObject
*arg2
= (PyObject
*) 0 ;
19557 PyObject
*arg3
= (PyObject
*) 0 ;
19558 PyObject
* obj0
= 0 ;
19559 PyObject
* obj1
= 0 ;
19560 PyObject
* obj2
= 0 ;
19561 char *kwnames
[] = {
19562 (char *) "self",(char *) "self",(char *) "_class", NULL
19565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19567 if (SWIG_arg_fail(1)) SWIG_fail
;
19571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19572 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19574 wxPyEndAllowThreads(__tstate
);
19575 if (PyErr_Occurred()) SWIG_fail
;
19577 Py_INCREF(Py_None
); resultobj
= Py_None
;
19584 static PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19585 PyObject
*resultobj
;
19586 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19589 PyObject
* obj0
= 0 ;
19590 PyObject
* obj1
= 0 ;
19591 char *kwnames
[] = {
19592 (char *) "self",(char *) "size", NULL
19595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19597 if (SWIG_arg_fail(1)) SWIG_fail
;
19600 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19604 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
19606 wxPyEndAllowThreads(__tstate
);
19607 if (PyErr_Occurred()) SWIG_fail
;
19609 Py_INCREF(Py_None
); resultobj
= Py_None
;
19616 static PyObject
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19617 PyObject
*resultobj
;
19618 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19619 wxDC
*arg2
= (wxDC
*) 0 ;
19621 PyObject
* obj0
= 0 ;
19622 PyObject
* obj1
= 0 ;
19623 char *kwnames
[] = {
19624 (char *) "self",(char *) "dc", NULL
19627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
19628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19629 if (SWIG_arg_fail(1)) SWIG_fail
;
19630 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
19631 if (SWIG_arg_fail(2)) SWIG_fail
;
19633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19634 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
19636 wxPyEndAllowThreads(__tstate
);
19637 if (PyErr_Occurred()) SWIG_fail
;
19640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19648 static PyObject
*_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19649 PyObject
*resultobj
;
19650 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19655 PyObject
* obj0
= 0 ;
19656 PyObject
* obj1
= 0 ;
19657 PyObject
* obj2
= 0 ;
19658 PyObject
* obj3
= 0 ;
19659 PyObject
* obj4
= 0 ;
19660 char *kwnames
[] = {
19661 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19666 if (SWIG_arg_fail(1)) SWIG_fail
;
19668 arg2
= (int)(SWIG_As_int(obj1
));
19669 if (SWIG_arg_fail(2)) SWIG_fail
;
19672 arg3
= (int)(SWIG_As_int(obj2
));
19673 if (SWIG_arg_fail(3)) SWIG_fail
;
19676 arg4
= (int)(SWIG_As_int(obj3
));
19677 if (SWIG_arg_fail(4)) SWIG_fail
;
19680 arg5
= (int)(SWIG_As_int(obj4
));
19681 if (SWIG_arg_fail(5)) SWIG_fail
;
19684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19685 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
19687 wxPyEndAllowThreads(__tstate
);
19688 if (PyErr_Occurred()) SWIG_fail
;
19690 Py_INCREF(Py_None
); resultobj
= Py_None
;
19697 static PyObject
*_wrap_PyScrolledWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19698 PyObject
*resultobj
;
19699 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19704 int arg6
= (int) wxSIZE_AUTO
;
19705 PyObject
* obj0
= 0 ;
19706 PyObject
* obj1
= 0 ;
19707 PyObject
* obj2
= 0 ;
19708 PyObject
* obj3
= 0 ;
19709 PyObject
* obj4
= 0 ;
19710 PyObject
* obj5
= 0 ;
19711 char *kwnames
[] = {
19712 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19717 if (SWIG_arg_fail(1)) SWIG_fail
;
19719 arg2
= (int)(SWIG_As_int(obj1
));
19720 if (SWIG_arg_fail(2)) SWIG_fail
;
19723 arg3
= (int)(SWIG_As_int(obj2
));
19724 if (SWIG_arg_fail(3)) SWIG_fail
;
19727 arg4
= (int)(SWIG_As_int(obj3
));
19728 if (SWIG_arg_fail(4)) SWIG_fail
;
19731 arg5
= (int)(SWIG_As_int(obj4
));
19732 if (SWIG_arg_fail(5)) SWIG_fail
;
19736 arg6
= (int)(SWIG_As_int(obj5
));
19737 if (SWIG_arg_fail(6)) SWIG_fail
;
19741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19742 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
19744 wxPyEndAllowThreads(__tstate
);
19745 if (PyErr_Occurred()) SWIG_fail
;
19747 Py_INCREF(Py_None
); resultobj
= Py_None
;
19754 static PyObject
*_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19755 PyObject
*resultobj
;
19756 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19759 PyObject
* obj0
= 0 ;
19760 PyObject
* obj1
= 0 ;
19761 PyObject
* obj2
= 0 ;
19762 char *kwnames
[] = {
19763 (char *) "self",(char *) "width",(char *) "height", NULL
19766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19768 if (SWIG_arg_fail(1)) SWIG_fail
;
19770 arg2
= (int)(SWIG_As_int(obj1
));
19771 if (SWIG_arg_fail(2)) SWIG_fail
;
19774 arg3
= (int)(SWIG_As_int(obj2
));
19775 if (SWIG_arg_fail(3)) SWIG_fail
;
19778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19779 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
19781 wxPyEndAllowThreads(__tstate
);
19782 if (PyErr_Occurred()) SWIG_fail
;
19784 Py_INCREF(Py_None
); resultobj
= Py_None
;
19791 static PyObject
*_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19792 PyObject
*resultobj
;
19793 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19796 PyObject
* obj0
= 0 ;
19797 PyObject
* obj1
= 0 ;
19798 PyObject
* obj2
= 0 ;
19799 char *kwnames
[] = {
19800 (char *) "self",(char *) "x",(char *) "y", NULL
19803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19805 if (SWIG_arg_fail(1)) SWIG_fail
;
19807 arg2
= (int)(SWIG_As_int(obj1
));
19808 if (SWIG_arg_fail(2)) SWIG_fail
;
19811 arg3
= (int)(SWIG_As_int(obj2
));
19812 if (SWIG_arg_fail(3)) SWIG_fail
;
19815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19816 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
19818 wxPyEndAllowThreads(__tstate
);
19819 if (PyErr_Occurred()) SWIG_fail
;
19821 Py_INCREF(Py_None
); resultobj
= Py_None
;
19828 static PyObject
*_wrap_PyScrolledWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19829 PyObject
*resultobj
;
19830 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19831 int *arg2
= (int *) 0 ;
19832 int *arg3
= (int *) 0 ;
19837 PyObject
* obj0
= 0 ;
19838 char *kwnames
[] = {
19839 (char *) "self", NULL
19842 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19843 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
19845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19846 if (SWIG_arg_fail(1)) SWIG_fail
;
19848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19849 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
19851 wxPyEndAllowThreads(__tstate
);
19852 if (PyErr_Occurred()) SWIG_fail
;
19854 Py_INCREF(Py_None
); resultobj
= Py_None
;
19855 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19856 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19857 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19858 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19865 static PyObject
*_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19866 PyObject
*resultobj
;
19867 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19868 int *arg2
= (int *) 0 ;
19869 int *arg3
= (int *) 0 ;
19874 PyObject
* obj0
= 0 ;
19875 char *kwnames
[] = {
19876 (char *) "self", NULL
19879 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19880 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
19882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19883 if (SWIG_arg_fail(1)) SWIG_fail
;
19885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19886 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
19888 wxPyEndAllowThreads(__tstate
);
19889 if (PyErr_Occurred()) SWIG_fail
;
19891 Py_INCREF(Py_None
); resultobj
= Py_None
;
19892 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19893 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19894 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19895 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19902 static PyObject
*_wrap_PyScrolledWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19903 PyObject
*resultobj
;
19904 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19905 int *arg2
= (int *) 0 ;
19906 int *arg3
= (int *) 0 ;
19911 PyObject
* obj0
= 0 ;
19912 char *kwnames
[] = {
19913 (char *) "self", NULL
19916 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19917 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
19919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19920 if (SWIG_arg_fail(1)) SWIG_fail
;
19922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19923 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
19925 wxPyEndAllowThreads(__tstate
);
19926 if (PyErr_Occurred()) SWIG_fail
;
19928 Py_INCREF(Py_None
); resultobj
= Py_None
;
19929 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19930 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19931 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19932 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19939 static PyObject
*_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19940 PyObject
*resultobj
;
19941 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19943 PyObject
* obj0
= 0 ;
19944 char *kwnames
[] = {
19945 (char *) "self", NULL
19948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
19949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19950 if (SWIG_arg_fail(1)) SWIG_fail
;
19952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19953 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetVirtualSize();
19955 wxPyEndAllowThreads(__tstate
);
19956 if (PyErr_Occurred()) SWIG_fail
;
19959 wxSize
* resultptr
;
19960 resultptr
= new wxSize((wxSize
&)(result
));
19961 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19969 static PyObject
*_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19970 PyObject
*resultobj
;
19971 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19973 PyObject
* obj0
= 0 ;
19974 char *kwnames
[] = {
19975 (char *) "self", NULL
19978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
19979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19980 if (SWIG_arg_fail(1)) SWIG_fail
;
19982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19983 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetBestSize();
19985 wxPyEndAllowThreads(__tstate
);
19986 if (PyErr_Occurred()) SWIG_fail
;
19989 wxSize
* resultptr
;
19990 resultptr
= new wxSize((wxSize
&)(result
));
19991 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19999 static PyObject
*_wrap_PyScrolledWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20000 PyObject
*resultobj
;
20001 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20002 PyObject
* obj0
= 0 ;
20003 char *kwnames
[] = {
20004 (char *) "self", NULL
20007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
20008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20009 if (SWIG_arg_fail(1)) SWIG_fail
;
20011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20012 (arg1
)->base_InitDialog();
20014 wxPyEndAllowThreads(__tstate
);
20015 if (PyErr_Occurred()) SWIG_fail
;
20017 Py_INCREF(Py_None
); resultobj
= Py_None
;
20024 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20025 PyObject
*resultobj
;
20026 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20028 PyObject
* obj0
= 0 ;
20029 char *kwnames
[] = {
20030 (char *) "self", NULL
20033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
20034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20035 if (SWIG_arg_fail(1)) SWIG_fail
;
20037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20038 result
= (bool)(arg1
)->base_TransferDataToWindow();
20040 wxPyEndAllowThreads(__tstate
);
20041 if (PyErr_Occurred()) SWIG_fail
;
20044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20052 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20053 PyObject
*resultobj
;
20054 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20056 PyObject
* obj0
= 0 ;
20057 char *kwnames
[] = {
20058 (char *) "self", NULL
20061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
20062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20063 if (SWIG_arg_fail(1)) SWIG_fail
;
20065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20066 result
= (bool)(arg1
)->base_TransferDataFromWindow();
20068 wxPyEndAllowThreads(__tstate
);
20069 if (PyErr_Occurred()) SWIG_fail
;
20072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20080 static PyObject
*_wrap_PyScrolledWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20081 PyObject
*resultobj
;
20082 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20084 PyObject
* obj0
= 0 ;
20085 char *kwnames
[] = {
20086 (char *) "self", NULL
20089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
20090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20091 if (SWIG_arg_fail(1)) SWIG_fail
;
20093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20094 result
= (bool)(arg1
)->base_Validate();
20096 wxPyEndAllowThreads(__tstate
);
20097 if (PyErr_Occurred()) SWIG_fail
;
20100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20108 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20109 PyObject
*resultobj
;
20110 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20112 PyObject
* obj0
= 0 ;
20113 char *kwnames
[] = {
20114 (char *) "self", NULL
20117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
20118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20119 if (SWIG_arg_fail(1)) SWIG_fail
;
20121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20122 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocus();
20124 wxPyEndAllowThreads(__tstate
);
20125 if (PyErr_Occurred()) SWIG_fail
;
20128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20136 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20137 PyObject
*resultobj
;
20138 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20140 PyObject
* obj0
= 0 ;
20141 char *kwnames
[] = {
20142 (char *) "self", NULL
20145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
20146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20147 if (SWIG_arg_fail(1)) SWIG_fail
;
20149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20150 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
20152 wxPyEndAllowThreads(__tstate
);
20153 if (PyErr_Occurred()) SWIG_fail
;
20156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20164 static PyObject
*_wrap_PyScrolledWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20165 PyObject
*resultobj
;
20166 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20168 PyObject
* obj0
= 0 ;
20169 char *kwnames
[] = {
20170 (char *) "self", NULL
20173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
20174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20175 if (SWIG_arg_fail(1)) SWIG_fail
;
20177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20178 result
= ((wxPyScrolledWindow
const *)arg1
)->base_GetMaxSize();
20180 wxPyEndAllowThreads(__tstate
);
20181 if (PyErr_Occurred()) SWIG_fail
;
20184 wxSize
* resultptr
;
20185 resultptr
= new wxSize((wxSize
&)(result
));
20186 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20194 static PyObject
*_wrap_PyScrolledWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20195 PyObject
*resultobj
;
20196 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20197 wxWindow
*arg2
= (wxWindow
*) 0 ;
20198 PyObject
* obj0
= 0 ;
20199 PyObject
* obj1
= 0 ;
20200 char *kwnames
[] = {
20201 (char *) "self",(char *) "child", NULL
20204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
20205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20206 if (SWIG_arg_fail(1)) SWIG_fail
;
20207 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20208 if (SWIG_arg_fail(2)) SWIG_fail
;
20210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20211 (arg1
)->base_AddChild(arg2
);
20213 wxPyEndAllowThreads(__tstate
);
20214 if (PyErr_Occurred()) SWIG_fail
;
20216 Py_INCREF(Py_None
); resultobj
= Py_None
;
20223 static PyObject
*_wrap_PyScrolledWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20224 PyObject
*resultobj
;
20225 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20226 wxWindow
*arg2
= (wxWindow
*) 0 ;
20227 PyObject
* obj0
= 0 ;
20228 PyObject
* obj1
= 0 ;
20229 char *kwnames
[] = {
20230 (char *) "self",(char *) "child", NULL
20233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
20234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20235 if (SWIG_arg_fail(1)) SWIG_fail
;
20236 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20237 if (SWIG_arg_fail(2)) SWIG_fail
;
20239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20240 (arg1
)->base_RemoveChild(arg2
);
20242 wxPyEndAllowThreads(__tstate
);
20243 if (PyErr_Occurred()) SWIG_fail
;
20245 Py_INCREF(Py_None
); resultobj
= Py_None
;
20252 static PyObject
*_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20253 PyObject
*resultobj
;
20254 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20256 PyObject
* obj0
= 0 ;
20257 char *kwnames
[] = {
20258 (char *) "self", NULL
20261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
20262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20263 if (SWIG_arg_fail(1)) SWIG_fail
;
20265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20266 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_ShouldInheritColours();
20268 wxPyEndAllowThreads(__tstate
);
20269 if (PyErr_Occurred()) SWIG_fail
;
20272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20280 static PyObject
*_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20281 PyObject
*resultobj
;
20282 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20283 wxVisualAttributes result
;
20284 PyObject
* obj0
= 0 ;
20285 char *kwnames
[] = {
20286 (char *) "self", NULL
20289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
20290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20291 if (SWIG_arg_fail(1)) SWIG_fail
;
20293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20294 result
= (arg1
)->base_GetDefaultAttributes();
20296 wxPyEndAllowThreads(__tstate
);
20297 if (PyErr_Occurred()) SWIG_fail
;
20300 wxVisualAttributes
* resultptr
;
20301 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
20302 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
20310 static PyObject
* PyScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
20312 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20313 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
20315 return Py_BuildValue((char *)"");
20317 static int _wrap_PrintoutTitleStr_set(PyObject
*) {
20318 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
20323 static PyObject
*_wrap_PrintoutTitleStr_get(void) {
20328 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
20330 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
20337 static int _wrap_PreviewCanvasNameStr_set(PyObject
*) {
20338 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
20343 static PyObject
*_wrap_PreviewCanvasNameStr_get(void) {
20348 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
20350 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
20357 static PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*, PyObject
*args
) {
20358 PyObject
*resultobj
;
20359 wxPrintData
*result
;
20361 if(!PyArg_ParseTuple(args
,(char *)":new_PrintData")) goto fail
;
20363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20364 result
= (wxPrintData
*)new wxPrintData();
20366 wxPyEndAllowThreads(__tstate
);
20367 if (PyErr_Occurred()) SWIG_fail
;
20369 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
20376 static PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*, PyObject
*args
) {
20377 PyObject
*resultobj
;
20378 wxPrintData
*arg1
= 0 ;
20379 wxPrintData
*result
;
20380 PyObject
* obj0
= 0 ;
20382 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintData",&obj0
)) goto fail
;
20384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20385 if (SWIG_arg_fail(1)) SWIG_fail
;
20386 if (arg1
== NULL
) {
20387 SWIG_null_ref("wxPrintData");
20389 if (SWIG_arg_fail(1)) SWIG_fail
;
20392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20393 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
20395 wxPyEndAllowThreads(__tstate
);
20396 if (PyErr_Occurred()) SWIG_fail
;
20398 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
20405 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
20410 argc
= PyObject_Length(args
);
20411 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
20412 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20415 return _wrap_new_PrintData__SWIG_0(self
,args
);
20421 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
20429 return _wrap_new_PrintData__SWIG_1(self
,args
);
20433 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
20438 static PyObject
*_wrap_delete_PrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20439 PyObject
*resultobj
;
20440 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20441 PyObject
* obj0
= 0 ;
20442 char *kwnames
[] = {
20443 (char *) "self", NULL
20446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
20447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20448 if (SWIG_arg_fail(1)) SWIG_fail
;
20450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20453 wxPyEndAllowThreads(__tstate
);
20454 if (PyErr_Occurred()) SWIG_fail
;
20456 Py_INCREF(Py_None
); resultobj
= Py_None
;
20463 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20464 PyObject
*resultobj
;
20465 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20467 PyObject
* obj0
= 0 ;
20468 char *kwnames
[] = {
20469 (char *) "self", NULL
20472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
20473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20474 if (SWIG_arg_fail(1)) SWIG_fail
;
20476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20477 result
= (int)(arg1
)->GetNoCopies();
20479 wxPyEndAllowThreads(__tstate
);
20480 if (PyErr_Occurred()) SWIG_fail
;
20483 resultobj
= SWIG_From_int((int)(result
));
20491 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20492 PyObject
*resultobj
;
20493 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20495 PyObject
* obj0
= 0 ;
20496 char *kwnames
[] = {
20497 (char *) "self", NULL
20500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
20501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20502 if (SWIG_arg_fail(1)) SWIG_fail
;
20504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20505 result
= (bool)(arg1
)->GetCollate();
20507 wxPyEndAllowThreads(__tstate
);
20508 if (PyErr_Occurred()) SWIG_fail
;
20511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20519 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20520 PyObject
*resultobj
;
20521 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20523 PyObject
* obj0
= 0 ;
20524 char *kwnames
[] = {
20525 (char *) "self", NULL
20528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
20529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20530 if (SWIG_arg_fail(1)) SWIG_fail
;
20532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20533 result
= (int)(arg1
)->GetOrientation();
20535 wxPyEndAllowThreads(__tstate
);
20536 if (PyErr_Occurred()) SWIG_fail
;
20539 resultobj
= SWIG_From_int((int)(result
));
20547 static PyObject
*_wrap_PrintData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20548 PyObject
*resultobj
;
20549 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20551 PyObject
* obj0
= 0 ;
20552 char *kwnames
[] = {
20553 (char *) "self", NULL
20556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
20557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20558 if (SWIG_arg_fail(1)) SWIG_fail
;
20560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20561 result
= (bool)(arg1
)->Ok();
20563 wxPyEndAllowThreads(__tstate
);
20564 if (PyErr_Occurred()) SWIG_fail
;
20567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20575 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20576 PyObject
*resultobj
;
20577 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20579 PyObject
* obj0
= 0 ;
20580 char *kwnames
[] = {
20581 (char *) "self", NULL
20584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
20585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20586 if (SWIG_arg_fail(1)) SWIG_fail
;
20588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20590 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
20591 result
= (wxString
*) &_result_ref
;
20594 wxPyEndAllowThreads(__tstate
);
20595 if (PyErr_Occurred()) SWIG_fail
;
20599 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20601 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20610 static PyObject
*_wrap_PrintData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20611 PyObject
*resultobj
;
20612 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20614 PyObject
* obj0
= 0 ;
20615 char *kwnames
[] = {
20616 (char *) "self", NULL
20619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
20620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20621 if (SWIG_arg_fail(1)) SWIG_fail
;
20623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20624 result
= (bool)(arg1
)->GetColour();
20626 wxPyEndAllowThreads(__tstate
);
20627 if (PyErr_Occurred()) SWIG_fail
;
20630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20638 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20639 PyObject
*resultobj
;
20640 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20641 wxDuplexMode result
;
20642 PyObject
* obj0
= 0 ;
20643 char *kwnames
[] = {
20644 (char *) "self", NULL
20647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
20648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20649 if (SWIG_arg_fail(1)) SWIG_fail
;
20651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20652 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
20654 wxPyEndAllowThreads(__tstate
);
20655 if (PyErr_Occurred()) SWIG_fail
;
20657 resultobj
= SWIG_From_int((result
));
20664 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20665 PyObject
*resultobj
;
20666 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20667 wxPaperSize result
;
20668 PyObject
* obj0
= 0 ;
20669 char *kwnames
[] = {
20670 (char *) "self", NULL
20673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
20674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20675 if (SWIG_arg_fail(1)) SWIG_fail
;
20677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20678 result
= (wxPaperSize
)(arg1
)->GetPaperId();
20680 wxPyEndAllowThreads(__tstate
);
20681 if (PyErr_Occurred()) SWIG_fail
;
20683 resultobj
= SWIG_From_int((result
));
20690 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20691 PyObject
*resultobj
;
20692 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20694 PyObject
* obj0
= 0 ;
20695 char *kwnames
[] = {
20696 (char *) "self", NULL
20699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
20700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20701 if (SWIG_arg_fail(1)) SWIG_fail
;
20703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20705 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
20706 result
= (wxSize
*) &_result_ref
;
20709 wxPyEndAllowThreads(__tstate
);
20710 if (PyErr_Occurred()) SWIG_fail
;
20712 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
20719 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20720 PyObject
*resultobj
;
20721 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20723 PyObject
* obj0
= 0 ;
20724 char *kwnames
[] = {
20725 (char *) "self", NULL
20728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
20729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20730 if (SWIG_arg_fail(1)) SWIG_fail
;
20732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20733 result
= (int)(arg1
)->GetQuality();
20735 wxPyEndAllowThreads(__tstate
);
20736 if (PyErr_Occurred()) SWIG_fail
;
20739 resultobj
= SWIG_From_int((int)(result
));
20747 static PyObject
*_wrap_PrintData_GetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20748 PyObject
*resultobj
;
20749 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20751 PyObject
* obj0
= 0 ;
20752 char *kwnames
[] = {
20753 (char *) "self", NULL
20756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetBin",kwnames
,&obj0
)) goto fail
;
20757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20758 if (SWIG_arg_fail(1)) SWIG_fail
;
20760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20761 result
= (wxPrintBin
)(arg1
)->GetBin();
20763 wxPyEndAllowThreads(__tstate
);
20764 if (PyErr_Occurred()) SWIG_fail
;
20766 resultobj
= SWIG_From_int((result
));
20773 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20774 PyObject
*resultobj
;
20775 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20776 wxPrintMode result
;
20777 PyObject
* obj0
= 0 ;
20778 char *kwnames
[] = {
20779 (char *) "self", NULL
20782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
20783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20784 if (SWIG_arg_fail(1)) SWIG_fail
;
20786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20787 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
20789 wxPyEndAllowThreads(__tstate
);
20790 if (PyErr_Occurred()) SWIG_fail
;
20792 resultobj
= SWIG_From_int((result
));
20799 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20800 PyObject
*resultobj
;
20801 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20803 PyObject
* obj0
= 0 ;
20804 PyObject
* obj1
= 0 ;
20805 char *kwnames
[] = {
20806 (char *) "self",(char *) "v", NULL
20809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
20810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20811 if (SWIG_arg_fail(1)) SWIG_fail
;
20813 arg2
= (int)(SWIG_As_int(obj1
));
20814 if (SWIG_arg_fail(2)) SWIG_fail
;
20817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20818 (arg1
)->SetNoCopies(arg2
);
20820 wxPyEndAllowThreads(__tstate
);
20821 if (PyErr_Occurred()) SWIG_fail
;
20823 Py_INCREF(Py_None
); resultobj
= Py_None
;
20830 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20831 PyObject
*resultobj
;
20832 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20834 PyObject
* obj0
= 0 ;
20835 PyObject
* obj1
= 0 ;
20836 char *kwnames
[] = {
20837 (char *) "self",(char *) "flag", NULL
20840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
20841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20842 if (SWIG_arg_fail(1)) SWIG_fail
;
20844 arg2
= (bool)(SWIG_As_bool(obj1
));
20845 if (SWIG_arg_fail(2)) SWIG_fail
;
20848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20849 (arg1
)->SetCollate(arg2
);
20851 wxPyEndAllowThreads(__tstate
);
20852 if (PyErr_Occurred()) SWIG_fail
;
20854 Py_INCREF(Py_None
); resultobj
= Py_None
;
20861 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20862 PyObject
*resultobj
;
20863 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20865 PyObject
* obj0
= 0 ;
20866 PyObject
* obj1
= 0 ;
20867 char *kwnames
[] = {
20868 (char *) "self",(char *) "orient", NULL
20871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
20872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20873 if (SWIG_arg_fail(1)) SWIG_fail
;
20875 arg2
= (int)(SWIG_As_int(obj1
));
20876 if (SWIG_arg_fail(2)) SWIG_fail
;
20879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20880 (arg1
)->SetOrientation(arg2
);
20882 wxPyEndAllowThreads(__tstate
);
20883 if (PyErr_Occurred()) SWIG_fail
;
20885 Py_INCREF(Py_None
); resultobj
= Py_None
;
20892 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20893 PyObject
*resultobj
;
20894 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20895 wxString
*arg2
= 0 ;
20896 bool temp2
= false ;
20897 PyObject
* obj0
= 0 ;
20898 PyObject
* obj1
= 0 ;
20899 char *kwnames
[] = {
20900 (char *) "self",(char *) "name", NULL
20903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
20904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20905 if (SWIG_arg_fail(1)) SWIG_fail
;
20907 arg2
= wxString_in_helper(obj1
);
20908 if (arg2
== NULL
) SWIG_fail
;
20912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20913 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
20915 wxPyEndAllowThreads(__tstate
);
20916 if (PyErr_Occurred()) SWIG_fail
;
20918 Py_INCREF(Py_None
); resultobj
= Py_None
;
20933 static PyObject
*_wrap_PrintData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20934 PyObject
*resultobj
;
20935 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20937 PyObject
* obj0
= 0 ;
20938 PyObject
* obj1
= 0 ;
20939 char *kwnames
[] = {
20940 (char *) "self",(char *) "colour", NULL
20943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20945 if (SWIG_arg_fail(1)) SWIG_fail
;
20947 arg2
= (bool)(SWIG_As_bool(obj1
));
20948 if (SWIG_arg_fail(2)) SWIG_fail
;
20951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20952 (arg1
)->SetColour(arg2
);
20954 wxPyEndAllowThreads(__tstate
);
20955 if (PyErr_Occurred()) SWIG_fail
;
20957 Py_INCREF(Py_None
); resultobj
= Py_None
;
20964 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20965 PyObject
*resultobj
;
20966 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20967 wxDuplexMode arg2
;
20968 PyObject
* obj0
= 0 ;
20969 PyObject
* obj1
= 0 ;
20970 char *kwnames
[] = {
20971 (char *) "self",(char *) "duplex", NULL
20974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
20975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20976 if (SWIG_arg_fail(1)) SWIG_fail
;
20978 arg2
= (wxDuplexMode
)(SWIG_As_int(obj1
));
20979 if (SWIG_arg_fail(2)) SWIG_fail
;
20982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20983 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
20985 wxPyEndAllowThreads(__tstate
);
20986 if (PyErr_Occurred()) SWIG_fail
;
20988 Py_INCREF(Py_None
); resultobj
= Py_None
;
20995 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20996 PyObject
*resultobj
;
20997 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20999 PyObject
* obj0
= 0 ;
21000 PyObject
* obj1
= 0 ;
21001 char *kwnames
[] = {
21002 (char *) "self",(char *) "sizeId", NULL
21005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
21006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21007 if (SWIG_arg_fail(1)) SWIG_fail
;
21009 arg2
= (wxPaperSize
)(SWIG_As_int(obj1
));
21010 if (SWIG_arg_fail(2)) SWIG_fail
;
21013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21014 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
21016 wxPyEndAllowThreads(__tstate
);
21017 if (PyErr_Occurred()) SWIG_fail
;
21019 Py_INCREF(Py_None
); resultobj
= Py_None
;
21026 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21027 PyObject
*resultobj
;
21028 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21031 PyObject
* obj0
= 0 ;
21032 PyObject
* obj1
= 0 ;
21033 char *kwnames
[] = {
21034 (char *) "self",(char *) "sz", NULL
21037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
21038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21039 if (SWIG_arg_fail(1)) SWIG_fail
;
21042 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21046 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
21048 wxPyEndAllowThreads(__tstate
);
21049 if (PyErr_Occurred()) SWIG_fail
;
21051 Py_INCREF(Py_None
); resultobj
= Py_None
;
21058 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21059 PyObject
*resultobj
;
21060 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21062 PyObject
* obj0
= 0 ;
21063 PyObject
* obj1
= 0 ;
21064 char *kwnames
[] = {
21065 (char *) "self",(char *) "quality", NULL
21068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
21069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21070 if (SWIG_arg_fail(1)) SWIG_fail
;
21072 arg2
= (int)(SWIG_As_int(obj1
));
21073 if (SWIG_arg_fail(2)) SWIG_fail
;
21076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21077 (arg1
)->SetQuality(arg2
);
21079 wxPyEndAllowThreads(__tstate
);
21080 if (PyErr_Occurred()) SWIG_fail
;
21082 Py_INCREF(Py_None
); resultobj
= Py_None
;
21089 static PyObject
*_wrap_PrintData_SetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21090 PyObject
*resultobj
;
21091 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21093 PyObject
* obj0
= 0 ;
21094 PyObject
* obj1
= 0 ;
21095 char *kwnames
[] = {
21096 (char *) "self",(char *) "bin", NULL
21099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) goto fail
;
21100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21101 if (SWIG_arg_fail(1)) SWIG_fail
;
21103 arg2
= (wxPrintBin
)(SWIG_As_int(obj1
));
21104 if (SWIG_arg_fail(2)) SWIG_fail
;
21107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21108 (arg1
)->SetBin((wxPrintBin
)arg2
);
21110 wxPyEndAllowThreads(__tstate
);
21111 if (PyErr_Occurred()) SWIG_fail
;
21113 Py_INCREF(Py_None
); resultobj
= Py_None
;
21120 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21121 PyObject
*resultobj
;
21122 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21124 PyObject
* obj0
= 0 ;
21125 PyObject
* obj1
= 0 ;
21126 char *kwnames
[] = {
21127 (char *) "self",(char *) "printMode", NULL
21130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
21131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21132 if (SWIG_arg_fail(1)) SWIG_fail
;
21134 arg2
= (wxPrintMode
)(SWIG_As_int(obj1
));
21135 if (SWIG_arg_fail(2)) SWIG_fail
;
21138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21139 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
21141 wxPyEndAllowThreads(__tstate
);
21142 if (PyErr_Occurred()) SWIG_fail
;
21144 Py_INCREF(Py_None
); resultobj
= Py_None
;
21151 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21152 PyObject
*resultobj
;
21153 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21155 PyObject
* obj0
= 0 ;
21156 char *kwnames
[] = {
21157 (char *) "self", NULL
21160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
21161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21162 if (SWIG_arg_fail(1)) SWIG_fail
;
21164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21165 result
= ((wxPrintData
const *)arg1
)->GetFilename();
21167 wxPyEndAllowThreads(__tstate
);
21168 if (PyErr_Occurred()) SWIG_fail
;
21172 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21174 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21183 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21184 PyObject
*resultobj
;
21185 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21186 wxString
*arg2
= 0 ;
21187 bool temp2
= false ;
21188 PyObject
* obj0
= 0 ;
21189 PyObject
* obj1
= 0 ;
21190 char *kwnames
[] = {
21191 (char *) "self",(char *) "filename", NULL
21194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
21195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21196 if (SWIG_arg_fail(1)) SWIG_fail
;
21198 arg2
= wxString_in_helper(obj1
);
21199 if (arg2
== NULL
) SWIG_fail
;
21203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21204 (arg1
)->SetFilename((wxString
const &)*arg2
);
21206 wxPyEndAllowThreads(__tstate
);
21207 if (PyErr_Occurred()) SWIG_fail
;
21209 Py_INCREF(Py_None
); resultobj
= Py_None
;
21224 static PyObject
*_wrap_PrintData_GetPrivData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21225 PyObject
*resultobj
;
21226 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21228 PyObject
* obj0
= 0 ;
21229 char *kwnames
[] = {
21230 (char *) "self", NULL
21233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrivData",kwnames
,&obj0
)) goto fail
;
21234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21235 if (SWIG_arg_fail(1)) SWIG_fail
;
21237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21238 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
21240 wxPyEndAllowThreads(__tstate
);
21241 if (PyErr_Occurred()) SWIG_fail
;
21243 resultobj
= result
;
21250 static PyObject
*_wrap_PrintData_SetPrivData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21251 PyObject
*resultobj
;
21252 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21253 PyObject
*arg2
= (PyObject
*) 0 ;
21254 PyObject
* obj0
= 0 ;
21255 PyObject
* obj1
= 0 ;
21256 char *kwnames
[] = {
21257 (char *) "self",(char *) "data", NULL
21260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) goto fail
;
21261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21262 if (SWIG_arg_fail(1)) SWIG_fail
;
21265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21266 wxPrintData_SetPrivData(arg1
,arg2
);
21268 wxPyEndAllowThreads(__tstate
);
21269 if (PyErr_Occurred()) SWIG_fail
;
21271 Py_INCREF(Py_None
); resultobj
= Py_None
;
21278 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21279 PyObject
*resultobj
;
21280 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21282 PyObject
* obj0
= 0 ;
21283 char *kwnames
[] = {
21284 (char *) "self", NULL
21287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
21288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21289 if (SWIG_arg_fail(1)) SWIG_fail
;
21291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21293 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
21294 result
= (wxString
*) &_result_ref
;
21297 wxPyEndAllowThreads(__tstate
);
21298 if (PyErr_Occurred()) SWIG_fail
;
21302 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21304 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21313 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21314 PyObject
*resultobj
;
21315 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21317 PyObject
* obj0
= 0 ;
21318 char *kwnames
[] = {
21319 (char *) "self", NULL
21322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
21323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21324 if (SWIG_arg_fail(1)) SWIG_fail
;
21326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21328 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
21329 result
= (wxString
*) &_result_ref
;
21332 wxPyEndAllowThreads(__tstate
);
21333 if (PyErr_Occurred()) SWIG_fail
;
21337 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21339 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21348 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21349 PyObject
*resultobj
;
21350 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21352 PyObject
* obj0
= 0 ;
21353 char *kwnames
[] = {
21354 (char *) "self", NULL
21357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
21358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21359 if (SWIG_arg_fail(1)) SWIG_fail
;
21361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21363 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
21364 result
= (wxString
*) &_result_ref
;
21367 wxPyEndAllowThreads(__tstate
);
21368 if (PyErr_Occurred()) SWIG_fail
;
21372 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21374 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21383 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21384 PyObject
*resultobj
;
21385 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21387 PyObject
* obj0
= 0 ;
21388 char *kwnames
[] = {
21389 (char *) "self", NULL
21392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
21393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21394 if (SWIG_arg_fail(1)) SWIG_fail
;
21396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21398 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
21399 result
= (wxString
*) &_result_ref
;
21402 wxPyEndAllowThreads(__tstate
);
21403 if (PyErr_Occurred()) SWIG_fail
;
21407 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21409 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21418 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21419 PyObject
*resultobj
;
21420 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21422 PyObject
* obj0
= 0 ;
21423 char *kwnames
[] = {
21424 (char *) "self", NULL
21427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
21428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21429 if (SWIG_arg_fail(1)) SWIG_fail
;
21431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21432 result
= (double)(arg1
)->GetPrinterScaleX();
21434 wxPyEndAllowThreads(__tstate
);
21435 if (PyErr_Occurred()) SWIG_fail
;
21438 resultobj
= SWIG_From_double((double)(result
));
21446 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21447 PyObject
*resultobj
;
21448 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21450 PyObject
* obj0
= 0 ;
21451 char *kwnames
[] = {
21452 (char *) "self", NULL
21455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
21456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21457 if (SWIG_arg_fail(1)) SWIG_fail
;
21459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21460 result
= (double)(arg1
)->GetPrinterScaleY();
21462 wxPyEndAllowThreads(__tstate
);
21463 if (PyErr_Occurred()) SWIG_fail
;
21466 resultobj
= SWIG_From_double((double)(result
));
21474 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21475 PyObject
*resultobj
;
21476 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21478 PyObject
* obj0
= 0 ;
21479 char *kwnames
[] = {
21480 (char *) "self", NULL
21483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
21484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21485 if (SWIG_arg_fail(1)) SWIG_fail
;
21487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21488 result
= (long)(arg1
)->GetPrinterTranslateX();
21490 wxPyEndAllowThreads(__tstate
);
21491 if (PyErr_Occurred()) SWIG_fail
;
21494 resultobj
= SWIG_From_long((long)(result
));
21502 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21503 PyObject
*resultobj
;
21504 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21506 PyObject
* obj0
= 0 ;
21507 char *kwnames
[] = {
21508 (char *) "self", NULL
21511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
21512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21513 if (SWIG_arg_fail(1)) SWIG_fail
;
21515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21516 result
= (long)(arg1
)->GetPrinterTranslateY();
21518 wxPyEndAllowThreads(__tstate
);
21519 if (PyErr_Occurred()) SWIG_fail
;
21522 resultobj
= SWIG_From_long((long)(result
));
21530 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21531 PyObject
*resultobj
;
21532 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21533 wxString
*arg2
= 0 ;
21534 bool temp2
= false ;
21535 PyObject
* obj0
= 0 ;
21536 PyObject
* obj1
= 0 ;
21537 char *kwnames
[] = {
21538 (char *) "self",(char *) "command", NULL
21541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
21542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21543 if (SWIG_arg_fail(1)) SWIG_fail
;
21545 arg2
= wxString_in_helper(obj1
);
21546 if (arg2
== NULL
) SWIG_fail
;
21550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21551 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
21553 wxPyEndAllowThreads(__tstate
);
21554 if (PyErr_Occurred()) SWIG_fail
;
21556 Py_INCREF(Py_None
); resultobj
= Py_None
;
21571 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21572 PyObject
*resultobj
;
21573 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21574 wxString
*arg2
= 0 ;
21575 bool temp2
= false ;
21576 PyObject
* obj0
= 0 ;
21577 PyObject
* obj1
= 0 ;
21578 char *kwnames
[] = {
21579 (char *) "self",(char *) "options", NULL
21582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
21583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21584 if (SWIG_arg_fail(1)) SWIG_fail
;
21586 arg2
= wxString_in_helper(obj1
);
21587 if (arg2
== NULL
) SWIG_fail
;
21591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21592 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
21594 wxPyEndAllowThreads(__tstate
);
21595 if (PyErr_Occurred()) SWIG_fail
;
21597 Py_INCREF(Py_None
); resultobj
= Py_None
;
21612 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21613 PyObject
*resultobj
;
21614 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21615 wxString
*arg2
= 0 ;
21616 bool temp2
= false ;
21617 PyObject
* obj0
= 0 ;
21618 PyObject
* obj1
= 0 ;
21619 char *kwnames
[] = {
21620 (char *) "self",(char *) "command", NULL
21623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
21624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21625 if (SWIG_arg_fail(1)) SWIG_fail
;
21627 arg2
= wxString_in_helper(obj1
);
21628 if (arg2
== NULL
) SWIG_fail
;
21632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21633 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
21635 wxPyEndAllowThreads(__tstate
);
21636 if (PyErr_Occurred()) SWIG_fail
;
21638 Py_INCREF(Py_None
); resultobj
= Py_None
;
21653 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21654 PyObject
*resultobj
;
21655 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21656 wxString
*arg2
= 0 ;
21657 bool temp2
= false ;
21658 PyObject
* obj0
= 0 ;
21659 PyObject
* obj1
= 0 ;
21660 char *kwnames
[] = {
21661 (char *) "self",(char *) "path", NULL
21664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
21665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21666 if (SWIG_arg_fail(1)) SWIG_fail
;
21668 arg2
= wxString_in_helper(obj1
);
21669 if (arg2
== NULL
) SWIG_fail
;
21673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21674 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
21676 wxPyEndAllowThreads(__tstate
);
21677 if (PyErr_Occurred()) SWIG_fail
;
21679 Py_INCREF(Py_None
); resultobj
= Py_None
;
21694 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21695 PyObject
*resultobj
;
21696 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21698 PyObject
* obj0
= 0 ;
21699 PyObject
* obj1
= 0 ;
21700 char *kwnames
[] = {
21701 (char *) "self",(char *) "x", NULL
21704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
21705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21706 if (SWIG_arg_fail(1)) SWIG_fail
;
21708 arg2
= (double)(SWIG_As_double(obj1
));
21709 if (SWIG_arg_fail(2)) SWIG_fail
;
21712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21713 (arg1
)->SetPrinterScaleX(arg2
);
21715 wxPyEndAllowThreads(__tstate
);
21716 if (PyErr_Occurred()) SWIG_fail
;
21718 Py_INCREF(Py_None
); resultobj
= Py_None
;
21725 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21726 PyObject
*resultobj
;
21727 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21729 PyObject
* obj0
= 0 ;
21730 PyObject
* obj1
= 0 ;
21731 char *kwnames
[] = {
21732 (char *) "self",(char *) "y", NULL
21735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
21736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21737 if (SWIG_arg_fail(1)) SWIG_fail
;
21739 arg2
= (double)(SWIG_As_double(obj1
));
21740 if (SWIG_arg_fail(2)) SWIG_fail
;
21743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21744 (arg1
)->SetPrinterScaleY(arg2
);
21746 wxPyEndAllowThreads(__tstate
);
21747 if (PyErr_Occurred()) SWIG_fail
;
21749 Py_INCREF(Py_None
); resultobj
= Py_None
;
21756 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21757 PyObject
*resultobj
;
21758 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21761 PyObject
* obj0
= 0 ;
21762 PyObject
* obj1
= 0 ;
21763 PyObject
* obj2
= 0 ;
21764 char *kwnames
[] = {
21765 (char *) "self",(char *) "x",(char *) "y", NULL
21768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21770 if (SWIG_arg_fail(1)) SWIG_fail
;
21772 arg2
= (double)(SWIG_As_double(obj1
));
21773 if (SWIG_arg_fail(2)) SWIG_fail
;
21776 arg3
= (double)(SWIG_As_double(obj2
));
21777 if (SWIG_arg_fail(3)) SWIG_fail
;
21780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21781 (arg1
)->SetPrinterScaling(arg2
,arg3
);
21783 wxPyEndAllowThreads(__tstate
);
21784 if (PyErr_Occurred()) SWIG_fail
;
21786 Py_INCREF(Py_None
); resultobj
= Py_None
;
21793 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21794 PyObject
*resultobj
;
21795 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21797 PyObject
* obj0
= 0 ;
21798 PyObject
* obj1
= 0 ;
21799 char *kwnames
[] = {
21800 (char *) "self",(char *) "x", NULL
21803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
21804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21805 if (SWIG_arg_fail(1)) SWIG_fail
;
21807 arg2
= (long)(SWIG_As_long(obj1
));
21808 if (SWIG_arg_fail(2)) SWIG_fail
;
21811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21812 (arg1
)->SetPrinterTranslateX(arg2
);
21814 wxPyEndAllowThreads(__tstate
);
21815 if (PyErr_Occurred()) SWIG_fail
;
21817 Py_INCREF(Py_None
); resultobj
= Py_None
;
21824 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21825 PyObject
*resultobj
;
21826 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21828 PyObject
* obj0
= 0 ;
21829 PyObject
* obj1
= 0 ;
21830 char *kwnames
[] = {
21831 (char *) "self",(char *) "y", NULL
21834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
21835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21836 if (SWIG_arg_fail(1)) SWIG_fail
;
21838 arg2
= (long)(SWIG_As_long(obj1
));
21839 if (SWIG_arg_fail(2)) SWIG_fail
;
21842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21843 (arg1
)->SetPrinterTranslateY(arg2
);
21845 wxPyEndAllowThreads(__tstate
);
21846 if (PyErr_Occurred()) SWIG_fail
;
21848 Py_INCREF(Py_None
); resultobj
= Py_None
;
21855 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21856 PyObject
*resultobj
;
21857 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21860 PyObject
* obj0
= 0 ;
21861 PyObject
* obj1
= 0 ;
21862 PyObject
* obj2
= 0 ;
21863 char *kwnames
[] = {
21864 (char *) "self",(char *) "x",(char *) "y", NULL
21867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21869 if (SWIG_arg_fail(1)) SWIG_fail
;
21871 arg2
= (long)(SWIG_As_long(obj1
));
21872 if (SWIG_arg_fail(2)) SWIG_fail
;
21875 arg3
= (long)(SWIG_As_long(obj2
));
21876 if (SWIG_arg_fail(3)) SWIG_fail
;
21879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21880 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
21882 wxPyEndAllowThreads(__tstate
);
21883 if (PyErr_Occurred()) SWIG_fail
;
21885 Py_INCREF(Py_None
); resultobj
= Py_None
;
21892 static PyObject
* PrintData_swigregister(PyObject
*, PyObject
*args
) {
21894 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21895 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
21897 return Py_BuildValue((char *)"");
21899 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
21900 PyObject
*resultobj
;
21901 wxPageSetupDialogData
*result
;
21903 if(!PyArg_ParseTuple(args
,(char *)":new_PageSetupDialogData")) goto fail
;
21905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21906 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
21908 wxPyEndAllowThreads(__tstate
);
21909 if (PyErr_Occurred()) SWIG_fail
;
21911 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
21918 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
21919 PyObject
*resultobj
;
21920 wxPageSetupDialogData
*arg1
= 0 ;
21921 wxPageSetupDialogData
*result
;
21922 PyObject
* obj0
= 0 ;
21924 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
21926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21927 if (SWIG_arg_fail(1)) SWIG_fail
;
21928 if (arg1
== NULL
) {
21929 SWIG_null_ref("wxPageSetupDialogData");
21931 if (SWIG_arg_fail(1)) SWIG_fail
;
21934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21935 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
21937 wxPyEndAllowThreads(__tstate
);
21938 if (PyErr_Occurred()) SWIG_fail
;
21940 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
21947 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*, PyObject
*args
) {
21948 PyObject
*resultobj
;
21949 wxPrintData
*arg1
= 0 ;
21950 wxPageSetupDialogData
*result
;
21951 PyObject
* obj0
= 0 ;
21953 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
21955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21956 if (SWIG_arg_fail(1)) SWIG_fail
;
21957 if (arg1
== NULL
) {
21958 SWIG_null_ref("wxPrintData");
21960 if (SWIG_arg_fail(1)) SWIG_fail
;
21963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21964 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
21966 wxPyEndAllowThreads(__tstate
);
21967 if (PyErr_Occurred()) SWIG_fail
;
21969 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
21976 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
21981 argc
= PyObject_Length(args
);
21982 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
21983 argv
[ii
] = PyTuple_GetItem(args
,ii
);
21986 return _wrap_new_PageSetupDialogData__SWIG_0(self
,args
);
21992 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPageSetupDialogData
, 0) == -1) {
22000 return _wrap_new_PageSetupDialogData__SWIG_1(self
,args
);
22007 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
22015 return _wrap_new_PageSetupDialogData__SWIG_2(self
,args
);
22019 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
22024 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22025 PyObject
*resultobj
;
22026 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22027 PyObject
* obj0
= 0 ;
22028 char *kwnames
[] = {
22029 (char *) "self", NULL
22032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
22033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22034 if (SWIG_arg_fail(1)) SWIG_fail
;
22036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22039 wxPyEndAllowThreads(__tstate
);
22040 if (PyErr_Occurred()) SWIG_fail
;
22042 Py_INCREF(Py_None
); resultobj
= Py_None
;
22049 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22050 PyObject
*resultobj
;
22051 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22053 PyObject
* obj0
= 0 ;
22054 PyObject
* obj1
= 0 ;
22055 char *kwnames
[] = {
22056 (char *) "self",(char *) "flag", NULL
22059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
22060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22061 if (SWIG_arg_fail(1)) SWIG_fail
;
22063 arg2
= (bool)(SWIG_As_bool(obj1
));
22064 if (SWIG_arg_fail(2)) SWIG_fail
;
22067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22068 (arg1
)->EnableHelp(arg2
);
22070 wxPyEndAllowThreads(__tstate
);
22071 if (PyErr_Occurred()) SWIG_fail
;
22073 Py_INCREF(Py_None
); resultobj
= Py_None
;
22080 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22081 PyObject
*resultobj
;
22082 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22084 PyObject
* obj0
= 0 ;
22085 PyObject
* obj1
= 0 ;
22086 char *kwnames
[] = {
22087 (char *) "self",(char *) "flag", NULL
22090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
22091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22092 if (SWIG_arg_fail(1)) SWIG_fail
;
22094 arg2
= (bool)(SWIG_As_bool(obj1
));
22095 if (SWIG_arg_fail(2)) SWIG_fail
;
22098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22099 (arg1
)->EnableMargins(arg2
);
22101 wxPyEndAllowThreads(__tstate
);
22102 if (PyErr_Occurred()) SWIG_fail
;
22104 Py_INCREF(Py_None
); resultobj
= Py_None
;
22111 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22112 PyObject
*resultobj
;
22113 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22115 PyObject
* obj0
= 0 ;
22116 PyObject
* obj1
= 0 ;
22117 char *kwnames
[] = {
22118 (char *) "self",(char *) "flag", NULL
22121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
22122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22123 if (SWIG_arg_fail(1)) SWIG_fail
;
22125 arg2
= (bool)(SWIG_As_bool(obj1
));
22126 if (SWIG_arg_fail(2)) SWIG_fail
;
22129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22130 (arg1
)->EnableOrientation(arg2
);
22132 wxPyEndAllowThreads(__tstate
);
22133 if (PyErr_Occurred()) SWIG_fail
;
22135 Py_INCREF(Py_None
); resultobj
= Py_None
;
22142 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22143 PyObject
*resultobj
;
22144 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22146 PyObject
* obj0
= 0 ;
22147 PyObject
* obj1
= 0 ;
22148 char *kwnames
[] = {
22149 (char *) "self",(char *) "flag", NULL
22152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
22153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22154 if (SWIG_arg_fail(1)) SWIG_fail
;
22156 arg2
= (bool)(SWIG_As_bool(obj1
));
22157 if (SWIG_arg_fail(2)) SWIG_fail
;
22160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22161 (arg1
)->EnablePaper(arg2
);
22163 wxPyEndAllowThreads(__tstate
);
22164 if (PyErr_Occurred()) SWIG_fail
;
22166 Py_INCREF(Py_None
); resultobj
= Py_None
;
22173 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22174 PyObject
*resultobj
;
22175 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22177 PyObject
* obj0
= 0 ;
22178 PyObject
* obj1
= 0 ;
22179 char *kwnames
[] = {
22180 (char *) "self",(char *) "flag", NULL
22183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
22184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22185 if (SWIG_arg_fail(1)) SWIG_fail
;
22187 arg2
= (bool)(SWIG_As_bool(obj1
));
22188 if (SWIG_arg_fail(2)) SWIG_fail
;
22191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22192 (arg1
)->EnablePrinter(arg2
);
22194 wxPyEndAllowThreads(__tstate
);
22195 if (PyErr_Occurred()) SWIG_fail
;
22197 Py_INCREF(Py_None
); resultobj
= Py_None
;
22204 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22205 PyObject
*resultobj
;
22206 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22208 PyObject
* obj0
= 0 ;
22209 char *kwnames
[] = {
22210 (char *) "self", NULL
22213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
22214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22215 if (SWIG_arg_fail(1)) SWIG_fail
;
22217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22218 result
= (bool)(arg1
)->GetDefaultMinMargins();
22220 wxPyEndAllowThreads(__tstate
);
22221 if (PyErr_Occurred()) SWIG_fail
;
22224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22232 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22233 PyObject
*resultobj
;
22234 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22236 PyObject
* obj0
= 0 ;
22237 char *kwnames
[] = {
22238 (char *) "self", NULL
22241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
22242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22243 if (SWIG_arg_fail(1)) SWIG_fail
;
22245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22246 result
= (bool)(arg1
)->GetEnableMargins();
22248 wxPyEndAllowThreads(__tstate
);
22249 if (PyErr_Occurred()) SWIG_fail
;
22252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22260 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22261 PyObject
*resultobj
;
22262 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22264 PyObject
* obj0
= 0 ;
22265 char *kwnames
[] = {
22266 (char *) "self", NULL
22269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
22270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22271 if (SWIG_arg_fail(1)) SWIG_fail
;
22273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22274 result
= (bool)(arg1
)->GetEnableOrientation();
22276 wxPyEndAllowThreads(__tstate
);
22277 if (PyErr_Occurred()) SWIG_fail
;
22280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22288 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22289 PyObject
*resultobj
;
22290 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22292 PyObject
* obj0
= 0 ;
22293 char *kwnames
[] = {
22294 (char *) "self", NULL
22297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
22298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22299 if (SWIG_arg_fail(1)) SWIG_fail
;
22301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22302 result
= (bool)(arg1
)->GetEnablePaper();
22304 wxPyEndAllowThreads(__tstate
);
22305 if (PyErr_Occurred()) SWIG_fail
;
22308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22316 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22317 PyObject
*resultobj
;
22318 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22320 PyObject
* obj0
= 0 ;
22321 char *kwnames
[] = {
22322 (char *) "self", NULL
22325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
22326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22327 if (SWIG_arg_fail(1)) SWIG_fail
;
22329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22330 result
= (bool)(arg1
)->GetEnablePrinter();
22332 wxPyEndAllowThreads(__tstate
);
22333 if (PyErr_Occurred()) SWIG_fail
;
22336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22344 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22345 PyObject
*resultobj
;
22346 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22348 PyObject
* obj0
= 0 ;
22349 char *kwnames
[] = {
22350 (char *) "self", NULL
22353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
22354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22355 if (SWIG_arg_fail(1)) SWIG_fail
;
22357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22358 result
= (bool)(arg1
)->GetEnableHelp();
22360 wxPyEndAllowThreads(__tstate
);
22361 if (PyErr_Occurred()) SWIG_fail
;
22364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22372 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22373 PyObject
*resultobj
;
22374 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22376 PyObject
* obj0
= 0 ;
22377 char *kwnames
[] = {
22378 (char *) "self", NULL
22381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
22382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22383 if (SWIG_arg_fail(1)) SWIG_fail
;
22385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22386 result
= (bool)(arg1
)->GetDefaultInfo();
22388 wxPyEndAllowThreads(__tstate
);
22389 if (PyErr_Occurred()) SWIG_fail
;
22392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22400 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22401 PyObject
*resultobj
;
22402 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22404 PyObject
* obj0
= 0 ;
22405 char *kwnames
[] = {
22406 (char *) "self", NULL
22409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
22410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22411 if (SWIG_arg_fail(1)) SWIG_fail
;
22413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22414 result
= (arg1
)->GetMarginTopLeft();
22416 wxPyEndAllowThreads(__tstate
);
22417 if (PyErr_Occurred()) SWIG_fail
;
22420 wxPoint
* resultptr
;
22421 resultptr
= new wxPoint((wxPoint
&)(result
));
22422 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22430 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22431 PyObject
*resultobj
;
22432 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22434 PyObject
* obj0
= 0 ;
22435 char *kwnames
[] = {
22436 (char *) "self", NULL
22439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
22440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22441 if (SWIG_arg_fail(1)) SWIG_fail
;
22443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22444 result
= (arg1
)->GetMarginBottomRight();
22446 wxPyEndAllowThreads(__tstate
);
22447 if (PyErr_Occurred()) SWIG_fail
;
22450 wxPoint
* resultptr
;
22451 resultptr
= new wxPoint((wxPoint
&)(result
));
22452 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22460 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22461 PyObject
*resultobj
;
22462 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22464 PyObject
* obj0
= 0 ;
22465 char *kwnames
[] = {
22466 (char *) "self", NULL
22469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
22470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22471 if (SWIG_arg_fail(1)) SWIG_fail
;
22473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22474 result
= (arg1
)->GetMinMarginTopLeft();
22476 wxPyEndAllowThreads(__tstate
);
22477 if (PyErr_Occurred()) SWIG_fail
;
22480 wxPoint
* resultptr
;
22481 resultptr
= new wxPoint((wxPoint
&)(result
));
22482 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22490 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22491 PyObject
*resultobj
;
22492 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22494 PyObject
* obj0
= 0 ;
22495 char *kwnames
[] = {
22496 (char *) "self", NULL
22499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
22500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22501 if (SWIG_arg_fail(1)) SWIG_fail
;
22503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22504 result
= (arg1
)->GetMinMarginBottomRight();
22506 wxPyEndAllowThreads(__tstate
);
22507 if (PyErr_Occurred()) SWIG_fail
;
22510 wxPoint
* resultptr
;
22511 resultptr
= new wxPoint((wxPoint
&)(result
));
22512 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22520 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22521 PyObject
*resultobj
;
22522 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22523 wxPaperSize result
;
22524 PyObject
* obj0
= 0 ;
22525 char *kwnames
[] = {
22526 (char *) "self", NULL
22529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
22530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22531 if (SWIG_arg_fail(1)) SWIG_fail
;
22533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22534 result
= (wxPaperSize
)(arg1
)->GetPaperId();
22536 wxPyEndAllowThreads(__tstate
);
22537 if (PyErr_Occurred()) SWIG_fail
;
22539 resultobj
= SWIG_From_int((result
));
22546 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22547 PyObject
*resultobj
;
22548 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22550 PyObject
* obj0
= 0 ;
22551 char *kwnames
[] = {
22552 (char *) "self", NULL
22555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
22556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22557 if (SWIG_arg_fail(1)) SWIG_fail
;
22559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22560 result
= (arg1
)->GetPaperSize();
22562 wxPyEndAllowThreads(__tstate
);
22563 if (PyErr_Occurred()) SWIG_fail
;
22566 wxSize
* resultptr
;
22567 resultptr
= new wxSize((wxSize
&)(result
));
22568 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22576 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22577 PyObject
*resultobj
;
22578 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22579 wxPrintData
*result
;
22580 PyObject
* obj0
= 0 ;
22581 char *kwnames
[] = {
22582 (char *) "self", NULL
22585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
22586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22587 if (SWIG_arg_fail(1)) SWIG_fail
;
22589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22591 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
22592 result
= (wxPrintData
*) &_result_ref
;
22595 wxPyEndAllowThreads(__tstate
);
22596 if (PyErr_Occurred()) SWIG_fail
;
22598 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
22605 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22606 PyObject
*resultobj
;
22607 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22609 PyObject
* obj0
= 0 ;
22610 char *kwnames
[] = {
22611 (char *) "self", NULL
22614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
22615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22616 if (SWIG_arg_fail(1)) SWIG_fail
;
22618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22619 result
= (bool)(arg1
)->Ok();
22621 wxPyEndAllowThreads(__tstate
);
22622 if (PyErr_Occurred()) SWIG_fail
;
22625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22633 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22634 PyObject
*resultobj
;
22635 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22637 PyObject
* obj0
= 0 ;
22638 PyObject
* obj1
= 0 ;
22639 char *kwnames
[] = {
22640 (char *) "self",(char *) "flag", NULL
22643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
22644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22645 if (SWIG_arg_fail(1)) SWIG_fail
;
22647 arg2
= (bool)(SWIG_As_bool(obj1
));
22648 if (SWIG_arg_fail(2)) SWIG_fail
;
22651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22652 (arg1
)->SetDefaultInfo(arg2
);
22654 wxPyEndAllowThreads(__tstate
);
22655 if (PyErr_Occurred()) SWIG_fail
;
22657 Py_INCREF(Py_None
); resultobj
= Py_None
;
22664 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22665 PyObject
*resultobj
;
22666 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22668 PyObject
* obj0
= 0 ;
22669 PyObject
* obj1
= 0 ;
22670 char *kwnames
[] = {
22671 (char *) "self",(char *) "flag", NULL
22674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
22675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22676 if (SWIG_arg_fail(1)) SWIG_fail
;
22678 arg2
= (bool)(SWIG_As_bool(obj1
));
22679 if (SWIG_arg_fail(2)) SWIG_fail
;
22682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22683 (arg1
)->SetDefaultMinMargins(arg2
);
22685 wxPyEndAllowThreads(__tstate
);
22686 if (PyErr_Occurred()) SWIG_fail
;
22688 Py_INCREF(Py_None
); resultobj
= Py_None
;
22695 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22696 PyObject
*resultobj
;
22697 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22698 wxPoint
*arg2
= 0 ;
22700 PyObject
* obj0
= 0 ;
22701 PyObject
* obj1
= 0 ;
22702 char *kwnames
[] = {
22703 (char *) "self",(char *) "pt", NULL
22706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
22707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22708 if (SWIG_arg_fail(1)) SWIG_fail
;
22711 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22715 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
22717 wxPyEndAllowThreads(__tstate
);
22718 if (PyErr_Occurred()) SWIG_fail
;
22720 Py_INCREF(Py_None
); resultobj
= Py_None
;
22727 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22728 PyObject
*resultobj
;
22729 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22730 wxPoint
*arg2
= 0 ;
22732 PyObject
* obj0
= 0 ;
22733 PyObject
* obj1
= 0 ;
22734 char *kwnames
[] = {
22735 (char *) "self",(char *) "pt", NULL
22738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
22739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22740 if (SWIG_arg_fail(1)) SWIG_fail
;
22743 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22747 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
22749 wxPyEndAllowThreads(__tstate
);
22750 if (PyErr_Occurred()) SWIG_fail
;
22752 Py_INCREF(Py_None
); resultobj
= Py_None
;
22759 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22760 PyObject
*resultobj
;
22761 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22762 wxPoint
*arg2
= 0 ;
22764 PyObject
* obj0
= 0 ;
22765 PyObject
* obj1
= 0 ;
22766 char *kwnames
[] = {
22767 (char *) "self",(char *) "pt", NULL
22770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
22771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22772 if (SWIG_arg_fail(1)) SWIG_fail
;
22775 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22779 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
22781 wxPyEndAllowThreads(__tstate
);
22782 if (PyErr_Occurred()) SWIG_fail
;
22784 Py_INCREF(Py_None
); resultobj
= Py_None
;
22791 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22792 PyObject
*resultobj
;
22793 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22794 wxPoint
*arg2
= 0 ;
22796 PyObject
* obj0
= 0 ;
22797 PyObject
* obj1
= 0 ;
22798 char *kwnames
[] = {
22799 (char *) "self",(char *) "pt", NULL
22802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
22803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22804 if (SWIG_arg_fail(1)) SWIG_fail
;
22807 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22811 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
22813 wxPyEndAllowThreads(__tstate
);
22814 if (PyErr_Occurred()) SWIG_fail
;
22816 Py_INCREF(Py_None
); resultobj
= Py_None
;
22823 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22824 PyObject
*resultobj
;
22825 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22827 PyObject
* obj0
= 0 ;
22828 PyObject
* obj1
= 0 ;
22829 char *kwnames
[] = {
22830 (char *) "self",(char *) "id", NULL
22833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
22834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22835 if (SWIG_arg_fail(1)) SWIG_fail
;
22837 arg2
= (wxPaperSize
)(SWIG_As_int(obj1
));
22838 if (SWIG_arg_fail(2)) SWIG_fail
;
22841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22842 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
22844 wxPyEndAllowThreads(__tstate
);
22845 if (PyErr_Occurred()) SWIG_fail
;
22847 Py_INCREF(Py_None
); resultobj
= Py_None
;
22854 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22855 PyObject
*resultobj
;
22856 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22859 PyObject
* obj0
= 0 ;
22860 PyObject
* obj1
= 0 ;
22861 char *kwnames
[] = {
22862 (char *) "self",(char *) "size", NULL
22865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22867 if (SWIG_arg_fail(1)) SWIG_fail
;
22870 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22874 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
22876 wxPyEndAllowThreads(__tstate
);
22877 if (PyErr_Occurred()) SWIG_fail
;
22879 Py_INCREF(Py_None
); resultobj
= Py_None
;
22886 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22887 PyObject
*resultobj
;
22888 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22889 wxPrintData
*arg2
= 0 ;
22890 PyObject
* obj0
= 0 ;
22891 PyObject
* obj1
= 0 ;
22892 char *kwnames
[] = {
22893 (char *) "self",(char *) "printData", NULL
22896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
22897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22898 if (SWIG_arg_fail(1)) SWIG_fail
;
22900 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
22901 if (SWIG_arg_fail(2)) SWIG_fail
;
22902 if (arg2
== NULL
) {
22903 SWIG_null_ref("wxPrintData");
22905 if (SWIG_arg_fail(2)) SWIG_fail
;
22908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22909 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
22911 wxPyEndAllowThreads(__tstate
);
22912 if (PyErr_Occurred()) SWIG_fail
;
22914 Py_INCREF(Py_None
); resultobj
= Py_None
;
22921 static PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22922 PyObject
*resultobj
;
22923 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22924 PyObject
* obj0
= 0 ;
22925 char *kwnames
[] = {
22926 (char *) "self", NULL
22929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_CalculateIdFromPaperSize",kwnames
,&obj0
)) goto fail
;
22930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22931 if (SWIG_arg_fail(1)) SWIG_fail
;
22933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22934 (arg1
)->CalculateIdFromPaperSize();
22936 wxPyEndAllowThreads(__tstate
);
22937 if (PyErr_Occurred()) SWIG_fail
;
22939 Py_INCREF(Py_None
); resultobj
= Py_None
;
22946 static PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22947 PyObject
*resultobj
;
22948 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22949 PyObject
* obj0
= 0 ;
22950 char *kwnames
[] = {
22951 (char *) "self", NULL
22954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_CalculatePaperSizeFromId",kwnames
,&obj0
)) goto fail
;
22955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22956 if (SWIG_arg_fail(1)) SWIG_fail
;
22958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22959 (arg1
)->CalculatePaperSizeFromId();
22961 wxPyEndAllowThreads(__tstate
);
22962 if (PyErr_Occurred()) SWIG_fail
;
22964 Py_INCREF(Py_None
); resultobj
= Py_None
;
22971 static PyObject
* PageSetupDialogData_swigregister(PyObject
*, PyObject
*args
) {
22973 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22974 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
22976 return Py_BuildValue((char *)"");
22978 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22979 PyObject
*resultobj
;
22980 wxWindow
*arg1
= (wxWindow
*) 0 ;
22981 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
22982 wxPageSetupDialog
*result
;
22983 PyObject
* obj0
= 0 ;
22984 PyObject
* obj1
= 0 ;
22985 char *kwnames
[] = {
22986 (char *) "parent",(char *) "data", NULL
22989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
22990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22991 if (SWIG_arg_fail(1)) SWIG_fail
;
22993 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22994 if (SWIG_arg_fail(2)) SWIG_fail
;
22997 if (!wxPyCheckForApp()) SWIG_fail
;
22998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22999 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
23001 wxPyEndAllowThreads(__tstate
);
23002 if (PyErr_Occurred()) SWIG_fail
;
23004 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
23011 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23012 PyObject
*resultobj
;
23013 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
23014 wxPageSetupDialogData
*result
;
23015 PyObject
* obj0
= 0 ;
23016 char *kwnames
[] = {
23017 (char *) "self", NULL
23020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
23021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
23022 if (SWIG_arg_fail(1)) SWIG_fail
;
23024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23026 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
23027 result
= (wxPageSetupDialogData
*) &_result_ref
;
23030 wxPyEndAllowThreads(__tstate
);
23031 if (PyErr_Occurred()) SWIG_fail
;
23033 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
23040 static PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23041 PyObject
*resultobj
;
23042 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
23043 wxPageSetupDialogData
*result
;
23044 PyObject
* obj0
= 0 ;
23045 char *kwnames
[] = {
23046 (char *) "self", NULL
23049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupDialogData",kwnames
,&obj0
)) goto fail
;
23050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
23051 if (SWIG_arg_fail(1)) SWIG_fail
;
23053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23055 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
23056 result
= (wxPageSetupDialogData
*) &_result_ref
;
23059 wxPyEndAllowThreads(__tstate
);
23060 if (PyErr_Occurred()) SWIG_fail
;
23062 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
23069 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23070 PyObject
*resultobj
;
23071 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
23073 PyObject
* obj0
= 0 ;
23074 char *kwnames
[] = {
23075 (char *) "self", NULL
23078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
23079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
23080 if (SWIG_arg_fail(1)) SWIG_fail
;
23082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23083 result
= (int)(arg1
)->ShowModal();
23085 wxPyEndAllowThreads(__tstate
);
23086 if (PyErr_Occurred()) SWIG_fail
;
23089 resultobj
= SWIG_From_int((int)(result
));
23097 static PyObject
* PageSetupDialog_swigregister(PyObject
*, PyObject
*args
) {
23099 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23100 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
23102 return Py_BuildValue((char *)"");
23104 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
23105 PyObject
*resultobj
;
23106 wxPrintDialogData
*result
;
23108 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
23110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23111 result
= (wxPrintDialogData
*)new wxPrintDialogData();
23113 wxPyEndAllowThreads(__tstate
);
23114 if (PyErr_Occurred()) SWIG_fail
;
23116 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
23123 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
23124 PyObject
*resultobj
;
23125 wxPrintData
*arg1
= 0 ;
23126 wxPrintDialogData
*result
;
23127 PyObject
* obj0
= 0 ;
23129 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
23131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
23132 if (SWIG_arg_fail(1)) SWIG_fail
;
23133 if (arg1
== NULL
) {
23134 SWIG_null_ref("wxPrintData");
23136 if (SWIG_arg_fail(1)) SWIG_fail
;
23139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23140 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
23142 wxPyEndAllowThreads(__tstate
);
23143 if (PyErr_Occurred()) SWIG_fail
;
23145 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
23152 static PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*, PyObject
*args
) {
23153 PyObject
*resultobj
;
23154 wxPrintDialogData
*arg1
= 0 ;
23155 wxPrintDialogData
*result
;
23156 PyObject
* obj0
= 0 ;
23158 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
23160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23161 if (SWIG_arg_fail(1)) SWIG_fail
;
23162 if (arg1
== NULL
) {
23163 SWIG_null_ref("wxPrintDialogData");
23165 if (SWIG_arg_fail(1)) SWIG_fail
;
23168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23169 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
23171 wxPyEndAllowThreads(__tstate
);
23172 if (PyErr_Occurred()) SWIG_fail
;
23174 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
23181 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
23186 argc
= PyObject_Length(args
);
23187 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
23188 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23191 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
23197 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
23205 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
23212 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
23220 return _wrap_new_PrintDialogData__SWIG_2(self
,args
);
23224 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
23229 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23230 PyObject
*resultobj
;
23231 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23232 PyObject
* obj0
= 0 ;
23233 char *kwnames
[] = {
23234 (char *) "self", NULL
23237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
23238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23239 if (SWIG_arg_fail(1)) SWIG_fail
;
23241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23244 wxPyEndAllowThreads(__tstate
);
23245 if (PyErr_Occurred()) SWIG_fail
;
23247 Py_INCREF(Py_None
); resultobj
= Py_None
;
23254 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23255 PyObject
*resultobj
;
23256 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23258 PyObject
* obj0
= 0 ;
23259 char *kwnames
[] = {
23260 (char *) "self", NULL
23263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
23264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23265 if (SWIG_arg_fail(1)) SWIG_fail
;
23267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23268 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
23270 wxPyEndAllowThreads(__tstate
);
23271 if (PyErr_Occurred()) SWIG_fail
;
23274 resultobj
= SWIG_From_int((int)(result
));
23282 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23283 PyObject
*resultobj
;
23284 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23286 PyObject
* obj0
= 0 ;
23287 char *kwnames
[] = {
23288 (char *) "self", NULL
23291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
23292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23293 if (SWIG_arg_fail(1)) SWIG_fail
;
23295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23296 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
23298 wxPyEndAllowThreads(__tstate
);
23299 if (PyErr_Occurred()) SWIG_fail
;
23302 resultobj
= SWIG_From_int((int)(result
));
23310 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23311 PyObject
*resultobj
;
23312 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23314 PyObject
* obj0
= 0 ;
23315 char *kwnames
[] = {
23316 (char *) "self", NULL
23319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
23320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23321 if (SWIG_arg_fail(1)) SWIG_fail
;
23323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23324 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
23326 wxPyEndAllowThreads(__tstate
);
23327 if (PyErr_Occurred()) SWIG_fail
;
23330 resultobj
= SWIG_From_int((int)(result
));
23338 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23339 PyObject
*resultobj
;
23340 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23342 PyObject
* obj0
= 0 ;
23343 char *kwnames
[] = {
23344 (char *) "self", NULL
23347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
23348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23349 if (SWIG_arg_fail(1)) SWIG_fail
;
23351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23352 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
23354 wxPyEndAllowThreads(__tstate
);
23355 if (PyErr_Occurred()) SWIG_fail
;
23358 resultobj
= SWIG_From_int((int)(result
));
23366 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23367 PyObject
*resultobj
;
23368 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23370 PyObject
* obj0
= 0 ;
23371 char *kwnames
[] = {
23372 (char *) "self", NULL
23375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
23376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23377 if (SWIG_arg_fail(1)) SWIG_fail
;
23379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23380 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
23382 wxPyEndAllowThreads(__tstate
);
23383 if (PyErr_Occurred()) SWIG_fail
;
23386 resultobj
= SWIG_From_int((int)(result
));
23394 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23395 PyObject
*resultobj
;
23396 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23398 PyObject
* obj0
= 0 ;
23399 char *kwnames
[] = {
23400 (char *) "self", NULL
23403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
23404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23405 if (SWIG_arg_fail(1)) SWIG_fail
;
23407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23408 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
23410 wxPyEndAllowThreads(__tstate
);
23411 if (PyErr_Occurred()) SWIG_fail
;
23414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23422 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23423 PyObject
*resultobj
;
23424 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23426 PyObject
* obj0
= 0 ;
23427 char *kwnames
[] = {
23428 (char *) "self", NULL
23431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
23432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23433 if (SWIG_arg_fail(1)) SWIG_fail
;
23435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23436 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
23438 wxPyEndAllowThreads(__tstate
);
23439 if (PyErr_Occurred()) SWIG_fail
;
23442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23450 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23451 PyObject
*resultobj
;
23452 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23454 PyObject
* obj0
= 0 ;
23455 char *kwnames
[] = {
23456 (char *) "self", NULL
23459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
23460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23461 if (SWIG_arg_fail(1)) SWIG_fail
;
23463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23464 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
23466 wxPyEndAllowThreads(__tstate
);
23467 if (PyErr_Occurred()) SWIG_fail
;
23470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23478 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23479 PyObject
*resultobj
;
23480 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23482 PyObject
* obj0
= 0 ;
23483 char *kwnames
[] = {
23484 (char *) "self", NULL
23487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
23488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23489 if (SWIG_arg_fail(1)) SWIG_fail
;
23491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23492 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
23494 wxPyEndAllowThreads(__tstate
);
23495 if (PyErr_Occurred()) SWIG_fail
;
23498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23506 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23507 PyObject
*resultobj
;
23508 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23510 PyObject
* obj0
= 0 ;
23511 char *kwnames
[] = {
23512 (char *) "self", NULL
23515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
23516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23517 if (SWIG_arg_fail(1)) SWIG_fail
;
23519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23520 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
23522 wxPyEndAllowThreads(__tstate
);
23523 if (PyErr_Occurred()) SWIG_fail
;
23526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23534 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23535 PyObject
*resultobj
;
23536 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23538 PyObject
* obj0
= 0 ;
23539 PyObject
* obj1
= 0 ;
23540 char *kwnames
[] = {
23541 (char *) "self",(char *) "flag", NULL
23544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
23545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23546 if (SWIG_arg_fail(1)) SWIG_fail
;
23548 arg2
= (bool)(SWIG_As_bool(obj1
));
23549 if (SWIG_arg_fail(2)) SWIG_fail
;
23552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23553 (arg1
)->SetSetupDialog(arg2
);
23555 wxPyEndAllowThreads(__tstate
);
23556 if (PyErr_Occurred()) SWIG_fail
;
23558 Py_INCREF(Py_None
); resultobj
= Py_None
;
23565 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23566 PyObject
*resultobj
;
23567 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23569 PyObject
* obj0
= 0 ;
23570 PyObject
* obj1
= 0 ;
23571 char *kwnames
[] = {
23572 (char *) "self",(char *) "v", NULL
23575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23577 if (SWIG_arg_fail(1)) SWIG_fail
;
23579 arg2
= (int)(SWIG_As_int(obj1
));
23580 if (SWIG_arg_fail(2)) SWIG_fail
;
23583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23584 (arg1
)->SetFromPage(arg2
);
23586 wxPyEndAllowThreads(__tstate
);
23587 if (PyErr_Occurred()) SWIG_fail
;
23589 Py_INCREF(Py_None
); resultobj
= Py_None
;
23596 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23597 PyObject
*resultobj
;
23598 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23600 PyObject
* obj0
= 0 ;
23601 PyObject
* obj1
= 0 ;
23602 char *kwnames
[] = {
23603 (char *) "self",(char *) "v", NULL
23606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23608 if (SWIG_arg_fail(1)) SWIG_fail
;
23610 arg2
= (int)(SWIG_As_int(obj1
));
23611 if (SWIG_arg_fail(2)) SWIG_fail
;
23614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23615 (arg1
)->SetToPage(arg2
);
23617 wxPyEndAllowThreads(__tstate
);
23618 if (PyErr_Occurred()) SWIG_fail
;
23620 Py_INCREF(Py_None
); resultobj
= Py_None
;
23627 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23628 PyObject
*resultobj
;
23629 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23631 PyObject
* obj0
= 0 ;
23632 PyObject
* obj1
= 0 ;
23633 char *kwnames
[] = {
23634 (char *) "self",(char *) "v", NULL
23637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23639 if (SWIG_arg_fail(1)) SWIG_fail
;
23641 arg2
= (int)(SWIG_As_int(obj1
));
23642 if (SWIG_arg_fail(2)) SWIG_fail
;
23645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23646 (arg1
)->SetMinPage(arg2
);
23648 wxPyEndAllowThreads(__tstate
);
23649 if (PyErr_Occurred()) SWIG_fail
;
23651 Py_INCREF(Py_None
); resultobj
= Py_None
;
23658 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23659 PyObject
*resultobj
;
23660 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23662 PyObject
* obj0
= 0 ;
23663 PyObject
* obj1
= 0 ;
23664 char *kwnames
[] = {
23665 (char *) "self",(char *) "v", NULL
23668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23670 if (SWIG_arg_fail(1)) SWIG_fail
;
23672 arg2
= (int)(SWIG_As_int(obj1
));
23673 if (SWIG_arg_fail(2)) SWIG_fail
;
23676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23677 (arg1
)->SetMaxPage(arg2
);
23679 wxPyEndAllowThreads(__tstate
);
23680 if (PyErr_Occurred()) SWIG_fail
;
23682 Py_INCREF(Py_None
); resultobj
= Py_None
;
23689 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23690 PyObject
*resultobj
;
23691 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23693 PyObject
* obj0
= 0 ;
23694 PyObject
* obj1
= 0 ;
23695 char *kwnames
[] = {
23696 (char *) "self",(char *) "v", NULL
23699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
23700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23701 if (SWIG_arg_fail(1)) SWIG_fail
;
23703 arg2
= (int)(SWIG_As_int(obj1
));
23704 if (SWIG_arg_fail(2)) SWIG_fail
;
23707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23708 (arg1
)->SetNoCopies(arg2
);
23710 wxPyEndAllowThreads(__tstate
);
23711 if (PyErr_Occurred()) SWIG_fail
;
23713 Py_INCREF(Py_None
); resultobj
= Py_None
;
23720 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23721 PyObject
*resultobj
;
23722 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23724 PyObject
* obj0
= 0 ;
23725 PyObject
* obj1
= 0 ;
23726 char *kwnames
[] = {
23727 (char *) "self",(char *) "flag", NULL
23730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
23731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23732 if (SWIG_arg_fail(1)) SWIG_fail
;
23734 arg2
= (bool)(SWIG_As_bool(obj1
));
23735 if (SWIG_arg_fail(2)) SWIG_fail
;
23738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23739 (arg1
)->SetAllPages(arg2
);
23741 wxPyEndAllowThreads(__tstate
);
23742 if (PyErr_Occurred()) SWIG_fail
;
23744 Py_INCREF(Py_None
); resultobj
= Py_None
;
23751 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23752 PyObject
*resultobj
;
23753 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23755 PyObject
* obj0
= 0 ;
23756 PyObject
* obj1
= 0 ;
23757 char *kwnames
[] = {
23758 (char *) "self",(char *) "flag", NULL
23761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
23762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23763 if (SWIG_arg_fail(1)) SWIG_fail
;
23765 arg2
= (bool)(SWIG_As_bool(obj1
));
23766 if (SWIG_arg_fail(2)) SWIG_fail
;
23769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23770 (arg1
)->SetSelection(arg2
);
23772 wxPyEndAllowThreads(__tstate
);
23773 if (PyErr_Occurred()) SWIG_fail
;
23775 Py_INCREF(Py_None
); resultobj
= Py_None
;
23782 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23783 PyObject
*resultobj
;
23784 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23786 PyObject
* obj0
= 0 ;
23787 PyObject
* obj1
= 0 ;
23788 char *kwnames
[] = {
23789 (char *) "self",(char *) "flag", NULL
23792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
23793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23794 if (SWIG_arg_fail(1)) SWIG_fail
;
23796 arg2
= (bool)(SWIG_As_bool(obj1
));
23797 if (SWIG_arg_fail(2)) SWIG_fail
;
23800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23801 (arg1
)->SetCollate(arg2
);
23803 wxPyEndAllowThreads(__tstate
);
23804 if (PyErr_Occurred()) SWIG_fail
;
23806 Py_INCREF(Py_None
); resultobj
= Py_None
;
23813 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23814 PyObject
*resultobj
;
23815 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23817 PyObject
* obj0
= 0 ;
23818 PyObject
* obj1
= 0 ;
23819 char *kwnames
[] = {
23820 (char *) "self",(char *) "flag", NULL
23823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
23824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23825 if (SWIG_arg_fail(1)) SWIG_fail
;
23827 arg2
= (bool)(SWIG_As_bool(obj1
));
23828 if (SWIG_arg_fail(2)) SWIG_fail
;
23831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23832 (arg1
)->SetPrintToFile(arg2
);
23834 wxPyEndAllowThreads(__tstate
);
23835 if (PyErr_Occurred()) SWIG_fail
;
23837 Py_INCREF(Py_None
); resultobj
= Py_None
;
23844 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23845 PyObject
*resultobj
;
23846 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23848 PyObject
* obj0
= 0 ;
23849 PyObject
* obj1
= 0 ;
23850 char *kwnames
[] = {
23851 (char *) "self",(char *) "flag", NULL
23854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
23855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23856 if (SWIG_arg_fail(1)) SWIG_fail
;
23858 arg2
= (bool)(SWIG_As_bool(obj1
));
23859 if (SWIG_arg_fail(2)) SWIG_fail
;
23862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23863 (arg1
)->EnablePrintToFile(arg2
);
23865 wxPyEndAllowThreads(__tstate
);
23866 if (PyErr_Occurred()) SWIG_fail
;
23868 Py_INCREF(Py_None
); resultobj
= Py_None
;
23875 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23876 PyObject
*resultobj
;
23877 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23879 PyObject
* obj0
= 0 ;
23880 PyObject
* obj1
= 0 ;
23881 char *kwnames
[] = {
23882 (char *) "self",(char *) "flag", NULL
23885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
23886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23887 if (SWIG_arg_fail(1)) SWIG_fail
;
23889 arg2
= (bool)(SWIG_As_bool(obj1
));
23890 if (SWIG_arg_fail(2)) SWIG_fail
;
23893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23894 (arg1
)->EnableSelection(arg2
);
23896 wxPyEndAllowThreads(__tstate
);
23897 if (PyErr_Occurred()) SWIG_fail
;
23899 Py_INCREF(Py_None
); resultobj
= Py_None
;
23906 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23907 PyObject
*resultobj
;
23908 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23910 PyObject
* obj0
= 0 ;
23911 PyObject
* obj1
= 0 ;
23912 char *kwnames
[] = {
23913 (char *) "self",(char *) "flag", NULL
23916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
23917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23918 if (SWIG_arg_fail(1)) SWIG_fail
;
23920 arg2
= (bool)(SWIG_As_bool(obj1
));
23921 if (SWIG_arg_fail(2)) SWIG_fail
;
23924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23925 (arg1
)->EnablePageNumbers(arg2
);
23927 wxPyEndAllowThreads(__tstate
);
23928 if (PyErr_Occurred()) SWIG_fail
;
23930 Py_INCREF(Py_None
); resultobj
= Py_None
;
23937 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23938 PyObject
*resultobj
;
23939 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23941 PyObject
* obj0
= 0 ;
23942 PyObject
* obj1
= 0 ;
23943 char *kwnames
[] = {
23944 (char *) "self",(char *) "flag", NULL
23947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
23948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23949 if (SWIG_arg_fail(1)) SWIG_fail
;
23951 arg2
= (bool)(SWIG_As_bool(obj1
));
23952 if (SWIG_arg_fail(2)) SWIG_fail
;
23955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23956 (arg1
)->EnableHelp(arg2
);
23958 wxPyEndAllowThreads(__tstate
);
23959 if (PyErr_Occurred()) SWIG_fail
;
23961 Py_INCREF(Py_None
); resultobj
= Py_None
;
23968 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23969 PyObject
*resultobj
;
23970 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23972 PyObject
* obj0
= 0 ;
23973 char *kwnames
[] = {
23974 (char *) "self", NULL
23977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
23978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23979 if (SWIG_arg_fail(1)) SWIG_fail
;
23981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23982 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
23984 wxPyEndAllowThreads(__tstate
);
23985 if (PyErr_Occurred()) SWIG_fail
;
23988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23996 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23997 PyObject
*resultobj
;
23998 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
24000 PyObject
* obj0
= 0 ;
24001 char *kwnames
[] = {
24002 (char *) "self", NULL
24005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
24006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24007 if (SWIG_arg_fail(1)) SWIG_fail
;
24009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24010 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
24012 wxPyEndAllowThreads(__tstate
);
24013 if (PyErr_Occurred()) SWIG_fail
;
24016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24024 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24025 PyObject
*resultobj
;
24026 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
24028 PyObject
* obj0
= 0 ;
24029 char *kwnames
[] = {
24030 (char *) "self", NULL
24033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
24034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24035 if (SWIG_arg_fail(1)) SWIG_fail
;
24037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24038 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
24040 wxPyEndAllowThreads(__tstate
);
24041 if (PyErr_Occurred()) SWIG_fail
;
24044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24052 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24053 PyObject
*resultobj
;
24054 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
24056 PyObject
* obj0
= 0 ;
24057 char *kwnames
[] = {
24058 (char *) "self", NULL
24061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
24062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24063 if (SWIG_arg_fail(1)) SWIG_fail
;
24065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24066 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
24068 wxPyEndAllowThreads(__tstate
);
24069 if (PyErr_Occurred()) SWIG_fail
;
24072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24080 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24081 PyObject
*resultobj
;
24082 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
24084 PyObject
* obj0
= 0 ;
24085 char *kwnames
[] = {
24086 (char *) "self", NULL
24089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
24090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24091 if (SWIG_arg_fail(1)) SWIG_fail
;
24093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24094 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
24096 wxPyEndAllowThreads(__tstate
);
24097 if (PyErr_Occurred()) SWIG_fail
;
24100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24108 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24109 PyObject
*resultobj
;
24110 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
24111 wxPrintData
*result
;
24112 PyObject
* obj0
= 0 ;
24113 char *kwnames
[] = {
24114 (char *) "self", NULL
24117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
24118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24119 if (SWIG_arg_fail(1)) SWIG_fail
;
24121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24123 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24124 result
= (wxPrintData
*) &_result_ref
;
24127 wxPyEndAllowThreads(__tstate
);
24128 if (PyErr_Occurred()) SWIG_fail
;
24130 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
24137 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24138 PyObject
*resultobj
;
24139 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
24140 wxPrintData
*arg2
= 0 ;
24141 PyObject
* obj0
= 0 ;
24142 PyObject
* obj1
= 0 ;
24143 char *kwnames
[] = {
24144 (char *) "self",(char *) "printData", NULL
24147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
24148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24149 if (SWIG_arg_fail(1)) SWIG_fail
;
24151 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
24152 if (SWIG_arg_fail(2)) SWIG_fail
;
24153 if (arg2
== NULL
) {
24154 SWIG_null_ref("wxPrintData");
24156 if (SWIG_arg_fail(2)) SWIG_fail
;
24159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24160 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
24162 wxPyEndAllowThreads(__tstate
);
24163 if (PyErr_Occurred()) SWIG_fail
;
24165 Py_INCREF(Py_None
); resultobj
= Py_None
;
24172 static PyObject
* PrintDialogData_swigregister(PyObject
*, PyObject
*args
) {
24174 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24175 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
24177 return Py_BuildValue((char *)"");
24179 static PyObject
*_wrap_new_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24180 PyObject
*resultobj
;
24181 wxWindow
*arg1
= (wxWindow
*) 0 ;
24182 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
24183 wxPrintDialog
*result
;
24184 PyObject
* obj0
= 0 ;
24185 PyObject
* obj1
= 0 ;
24186 char *kwnames
[] = {
24187 (char *) "parent",(char *) "data", NULL
24190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
24191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24192 if (SWIG_arg_fail(1)) SWIG_fail
;
24194 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24195 if (SWIG_arg_fail(2)) SWIG_fail
;
24198 if (!wxPyCheckForApp()) SWIG_fail
;
24199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24200 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
24202 wxPyEndAllowThreads(__tstate
);
24203 if (PyErr_Occurred()) SWIG_fail
;
24205 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
24212 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24213 PyObject
*resultobj
;
24214 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24216 PyObject
* obj0
= 0 ;
24217 char *kwnames
[] = {
24218 (char *) "self", NULL
24221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
24222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24223 if (SWIG_arg_fail(1)) SWIG_fail
;
24225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24226 result
= (int)(arg1
)->ShowModal();
24228 wxPyEndAllowThreads(__tstate
);
24229 if (PyErr_Occurred()) SWIG_fail
;
24232 resultobj
= SWIG_From_int((int)(result
));
24240 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24241 PyObject
*resultobj
;
24242 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24243 wxPrintDialogData
*result
;
24244 PyObject
* obj0
= 0 ;
24245 char *kwnames
[] = {
24246 (char *) "self", NULL
24249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
24250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24251 if (SWIG_arg_fail(1)) SWIG_fail
;
24253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24255 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
24256 result
= (wxPrintDialogData
*) &_result_ref
;
24259 wxPyEndAllowThreads(__tstate
);
24260 if (PyErr_Occurred()) SWIG_fail
;
24262 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
24269 static PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24270 PyObject
*resultobj
;
24271 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24272 wxPrintData
*result
;
24273 PyObject
* obj0
= 0 ;
24274 char *kwnames
[] = {
24275 (char *) "self", NULL
24278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintData",kwnames
,&obj0
)) goto fail
;
24279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24280 if (SWIG_arg_fail(1)) SWIG_fail
;
24282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24284 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24285 result
= (wxPrintData
*) &_result_ref
;
24288 wxPyEndAllowThreads(__tstate
);
24289 if (PyErr_Occurred()) SWIG_fail
;
24291 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
24298 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24299 PyObject
*resultobj
;
24300 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24302 PyObject
* obj0
= 0 ;
24303 char *kwnames
[] = {
24304 (char *) "self", NULL
24307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
24308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24309 if (SWIG_arg_fail(1)) SWIG_fail
;
24311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24312 result
= (wxDC
*)(arg1
)->GetPrintDC();
24314 wxPyEndAllowThreads(__tstate
);
24315 if (PyErr_Occurred()) SWIG_fail
;
24318 resultobj
= wxPyMake_wxObject(result
, 1);
24326 static PyObject
* PrintDialog_swigregister(PyObject
*, PyObject
*args
) {
24328 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24329 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
24331 return Py_BuildValue((char *)"");
24333 static PyObject
*_wrap_new_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24334 PyObject
*resultobj
;
24335 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
24337 PyObject
* obj0
= 0 ;
24338 char *kwnames
[] = {
24339 (char *) "data", NULL
24342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
24344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24345 if (SWIG_arg_fail(1)) SWIG_fail
;
24348 if (!wxPyCheckForApp()) SWIG_fail
;
24349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24350 result
= (wxPrinter
*)new wxPrinter(arg1
);
24352 wxPyEndAllowThreads(__tstate
);
24353 if (PyErr_Occurred()) SWIG_fail
;
24355 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
24362 static PyObject
*_wrap_delete_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24363 PyObject
*resultobj
;
24364 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24365 PyObject
* obj0
= 0 ;
24366 char *kwnames
[] = {
24367 (char *) "self", NULL
24370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
24371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24372 if (SWIG_arg_fail(1)) SWIG_fail
;
24374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24377 wxPyEndAllowThreads(__tstate
);
24378 if (PyErr_Occurred()) SWIG_fail
;
24380 Py_INCREF(Py_None
); resultobj
= Py_None
;
24387 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24388 PyObject
*resultobj
;
24389 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24390 wxWindow
*arg2
= (wxWindow
*) 0 ;
24391 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24393 PyObject
* obj0
= 0 ;
24394 PyObject
* obj1
= 0 ;
24395 PyObject
* obj2
= 0 ;
24396 char *kwnames
[] = {
24397 (char *) "self",(char *) "parent",(char *) "printout", NULL
24400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24402 if (SWIG_arg_fail(1)) SWIG_fail
;
24403 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24404 if (SWIG_arg_fail(2)) SWIG_fail
;
24405 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24406 if (SWIG_arg_fail(3)) SWIG_fail
;
24408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24409 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
24411 wxPyEndAllowThreads(__tstate
);
24412 if (PyErr_Occurred()) SWIG_fail
;
24415 resultobj
= wxPyMake_wxObject(result
, 0);
24423 static PyObject
*_wrap_Printer_ReportError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24424 PyObject
*resultobj
;
24425 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24426 wxWindow
*arg2
= (wxWindow
*) 0 ;
24427 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24428 wxString
*arg4
= 0 ;
24429 bool temp4
= false ;
24430 PyObject
* obj0
= 0 ;
24431 PyObject
* obj1
= 0 ;
24432 PyObject
* obj2
= 0 ;
24433 PyObject
* obj3
= 0 ;
24434 char *kwnames
[] = {
24435 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
24438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24440 if (SWIG_arg_fail(1)) SWIG_fail
;
24441 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24442 if (SWIG_arg_fail(2)) SWIG_fail
;
24443 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24444 if (SWIG_arg_fail(3)) SWIG_fail
;
24446 arg4
= wxString_in_helper(obj3
);
24447 if (arg4
== NULL
) SWIG_fail
;
24451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24452 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
24454 wxPyEndAllowThreads(__tstate
);
24455 if (PyErr_Occurred()) SWIG_fail
;
24457 Py_INCREF(Py_None
); resultobj
= Py_None
;
24472 static PyObject
*_wrap_Printer_Setup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24473 PyObject
*resultobj
;
24474 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24475 wxWindow
*arg2
= (wxWindow
*) 0 ;
24477 PyObject
* obj0
= 0 ;
24478 PyObject
* obj1
= 0 ;
24479 char *kwnames
[] = {
24480 (char *) "self",(char *) "parent", NULL
24483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
24484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24485 if (SWIG_arg_fail(1)) SWIG_fail
;
24486 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24487 if (SWIG_arg_fail(2)) SWIG_fail
;
24489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24490 result
= (bool)(arg1
)->Setup(arg2
);
24492 wxPyEndAllowThreads(__tstate
);
24493 if (PyErr_Occurred()) SWIG_fail
;
24496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24504 static PyObject
*_wrap_Printer_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24505 PyObject
*resultobj
;
24506 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24507 wxWindow
*arg2
= (wxWindow
*) 0 ;
24508 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24509 bool arg4
= (bool) true ;
24511 PyObject
* obj0
= 0 ;
24512 PyObject
* obj1
= 0 ;
24513 PyObject
* obj2
= 0 ;
24514 PyObject
* obj3
= 0 ;
24515 char *kwnames
[] = {
24516 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
24519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24521 if (SWIG_arg_fail(1)) SWIG_fail
;
24522 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24523 if (SWIG_arg_fail(2)) SWIG_fail
;
24524 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24525 if (SWIG_arg_fail(3)) SWIG_fail
;
24528 arg4
= (bool)(SWIG_As_bool(obj3
));
24529 if (SWIG_arg_fail(4)) SWIG_fail
;
24533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24534 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
24536 wxPyEndAllowThreads(__tstate
);
24537 if (PyErr_Occurred()) SWIG_fail
;
24540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24548 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24549 PyObject
*resultobj
;
24550 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24551 wxWindow
*arg2
= (wxWindow
*) 0 ;
24553 PyObject
* obj0
= 0 ;
24554 PyObject
* obj1
= 0 ;
24555 char *kwnames
[] = {
24556 (char *) "self",(char *) "parent", NULL
24559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
24560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24561 if (SWIG_arg_fail(1)) SWIG_fail
;
24562 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24563 if (SWIG_arg_fail(2)) SWIG_fail
;
24565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24566 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
24568 wxPyEndAllowThreads(__tstate
);
24569 if (PyErr_Occurred()) SWIG_fail
;
24572 resultobj
= wxPyMake_wxObject(result
, 0);
24580 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24581 PyObject
*resultobj
;
24582 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24583 wxPrintDialogData
*result
;
24584 PyObject
* obj0
= 0 ;
24585 char *kwnames
[] = {
24586 (char *) "self", NULL
24589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
24590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24591 if (SWIG_arg_fail(1)) SWIG_fail
;
24593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24595 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
24596 result
= (wxPrintDialogData
*) &_result_ref
;
24599 wxPyEndAllowThreads(__tstate
);
24600 if (PyErr_Occurred()) SWIG_fail
;
24602 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
24609 static PyObject
*_wrap_Printer_GetAbort(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24610 PyObject
*resultobj
;
24611 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24613 PyObject
* obj0
= 0 ;
24614 char *kwnames
[] = {
24615 (char *) "self", NULL
24618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
24619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24620 if (SWIG_arg_fail(1)) SWIG_fail
;
24622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24623 result
= (bool)(arg1
)->GetAbort();
24625 wxPyEndAllowThreads(__tstate
);
24626 if (PyErr_Occurred()) SWIG_fail
;
24629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24637 static PyObject
*_wrap_Printer_GetLastError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24638 PyObject
*resultobj
;
24639 wxPrinterError result
;
24640 char *kwnames
[] = {
24644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
24646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24647 result
= (wxPrinterError
)wxPrinter::GetLastError();
24649 wxPyEndAllowThreads(__tstate
);
24650 if (PyErr_Occurred()) SWIG_fail
;
24652 resultobj
= SWIG_From_int((result
));
24659 static PyObject
* Printer_swigregister(PyObject
*, PyObject
*args
) {
24661 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24662 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
24664 return Py_BuildValue((char *)"");
24666 static PyObject
*_wrap_new_Printout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24667 PyObject
*resultobj
;
24668 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
24669 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24670 wxPyPrintout
*result
;
24671 bool temp1
= false ;
24672 PyObject
* obj0
= 0 ;
24673 char *kwnames
[] = {
24674 (char *) "title", NULL
24677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
24680 arg1
= wxString_in_helper(obj0
);
24681 if (arg1
== NULL
) SWIG_fail
;
24686 if (!wxPyCheckForApp()) SWIG_fail
;
24687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24688 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
24690 wxPyEndAllowThreads(__tstate
);
24691 if (PyErr_Occurred()) SWIG_fail
;
24694 resultobj
= wxPyMake_wxObject(result
, 1);
24710 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24711 PyObject
*resultobj
;
24712 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24713 PyObject
*arg2
= (PyObject
*) 0 ;
24714 PyObject
*arg3
= (PyObject
*) 0 ;
24715 PyObject
* obj0
= 0 ;
24716 PyObject
* obj1
= 0 ;
24717 PyObject
* obj2
= 0 ;
24718 char *kwnames
[] = {
24719 (char *) "self",(char *) "self",(char *) "_class", NULL
24722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24724 if (SWIG_arg_fail(1)) SWIG_fail
;
24728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24729 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24731 wxPyEndAllowThreads(__tstate
);
24732 if (PyErr_Occurred()) SWIG_fail
;
24734 Py_INCREF(Py_None
); resultobj
= Py_None
;
24741 static PyObject
*_wrap_Printout_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24742 PyObject
*resultobj
;
24743 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24745 PyObject
* obj0
= 0 ;
24746 char *kwnames
[] = {
24747 (char *) "self", NULL
24750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
24751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24752 if (SWIG_arg_fail(1)) SWIG_fail
;
24754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24755 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
24757 wxPyEndAllowThreads(__tstate
);
24758 if (PyErr_Occurred()) SWIG_fail
;
24762 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24764 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24773 static PyObject
*_wrap_Printout_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24774 PyObject
*resultobj
;
24775 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24777 PyObject
* obj0
= 0 ;
24778 char *kwnames
[] = {
24779 (char *) "self", NULL
24782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
24783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24784 if (SWIG_arg_fail(1)) SWIG_fail
;
24786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24787 result
= (wxDC
*)(arg1
)->GetDC();
24789 wxPyEndAllowThreads(__tstate
);
24790 if (PyErr_Occurred()) SWIG_fail
;
24793 resultobj
= wxPyMake_wxObject(result
, 0);
24801 static PyObject
*_wrap_Printout_SetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24802 PyObject
*resultobj
;
24803 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24804 wxDC
*arg2
= (wxDC
*) 0 ;
24805 PyObject
* obj0
= 0 ;
24806 PyObject
* obj1
= 0 ;
24807 char *kwnames
[] = {
24808 (char *) "self",(char *) "dc", NULL
24811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
24812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24813 if (SWIG_arg_fail(1)) SWIG_fail
;
24814 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
24815 if (SWIG_arg_fail(2)) SWIG_fail
;
24817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24818 (arg1
)->SetDC(arg2
);
24820 wxPyEndAllowThreads(__tstate
);
24821 if (PyErr_Occurred()) SWIG_fail
;
24823 Py_INCREF(Py_None
); resultobj
= Py_None
;
24830 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24831 PyObject
*resultobj
;
24832 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24835 PyObject
* obj0
= 0 ;
24836 PyObject
* obj1
= 0 ;
24837 PyObject
* obj2
= 0 ;
24838 char *kwnames
[] = {
24839 (char *) "self",(char *) "w",(char *) "h", NULL
24842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24844 if (SWIG_arg_fail(1)) SWIG_fail
;
24846 arg2
= (int)(SWIG_As_int(obj1
));
24847 if (SWIG_arg_fail(2)) SWIG_fail
;
24850 arg3
= (int)(SWIG_As_int(obj2
));
24851 if (SWIG_arg_fail(3)) SWIG_fail
;
24854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24855 (arg1
)->SetPageSizePixels(arg2
,arg3
);
24857 wxPyEndAllowThreads(__tstate
);
24858 if (PyErr_Occurred()) SWIG_fail
;
24860 Py_INCREF(Py_None
); resultobj
= Py_None
;
24867 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24868 PyObject
*resultobj
;
24869 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24870 int *arg2
= (int *) 0 ;
24871 int *arg3
= (int *) 0 ;
24876 PyObject
* obj0
= 0 ;
24877 char *kwnames
[] = {
24878 (char *) "self", NULL
24881 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24882 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
24884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24885 if (SWIG_arg_fail(1)) SWIG_fail
;
24887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24888 (arg1
)->GetPageSizePixels(arg2
,arg3
);
24890 wxPyEndAllowThreads(__tstate
);
24891 if (PyErr_Occurred()) SWIG_fail
;
24893 Py_INCREF(Py_None
); resultobj
= Py_None
;
24894 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24895 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24896 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24897 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24904 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24905 PyObject
*resultobj
;
24906 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24909 PyObject
* obj0
= 0 ;
24910 PyObject
* obj1
= 0 ;
24911 PyObject
* obj2
= 0 ;
24912 char *kwnames
[] = {
24913 (char *) "self",(char *) "w",(char *) "h", NULL
24916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24918 if (SWIG_arg_fail(1)) SWIG_fail
;
24920 arg2
= (int)(SWIG_As_int(obj1
));
24921 if (SWIG_arg_fail(2)) SWIG_fail
;
24924 arg3
= (int)(SWIG_As_int(obj2
));
24925 if (SWIG_arg_fail(3)) SWIG_fail
;
24928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24929 (arg1
)->SetPageSizeMM(arg2
,arg3
);
24931 wxPyEndAllowThreads(__tstate
);
24932 if (PyErr_Occurred()) SWIG_fail
;
24934 Py_INCREF(Py_None
); resultobj
= Py_None
;
24941 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24942 PyObject
*resultobj
;
24943 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24944 int *arg2
= (int *) 0 ;
24945 int *arg3
= (int *) 0 ;
24950 PyObject
* obj0
= 0 ;
24951 char *kwnames
[] = {
24952 (char *) "self", NULL
24955 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24956 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
24958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24959 if (SWIG_arg_fail(1)) SWIG_fail
;
24961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24962 (arg1
)->GetPageSizeMM(arg2
,arg3
);
24964 wxPyEndAllowThreads(__tstate
);
24965 if (PyErr_Occurred()) SWIG_fail
;
24967 Py_INCREF(Py_None
); resultobj
= Py_None
;
24968 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24969 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24970 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24971 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24978 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24979 PyObject
*resultobj
;
24980 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24983 PyObject
* obj0
= 0 ;
24984 PyObject
* obj1
= 0 ;
24985 PyObject
* obj2
= 0 ;
24986 char *kwnames
[] = {
24987 (char *) "self",(char *) "x",(char *) "y", NULL
24990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24992 if (SWIG_arg_fail(1)) SWIG_fail
;
24994 arg2
= (int)(SWIG_As_int(obj1
));
24995 if (SWIG_arg_fail(2)) SWIG_fail
;
24998 arg3
= (int)(SWIG_As_int(obj2
));
24999 if (SWIG_arg_fail(3)) SWIG_fail
;
25002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25003 (arg1
)->SetPPIScreen(arg2
,arg3
);
25005 wxPyEndAllowThreads(__tstate
);
25006 if (PyErr_Occurred()) SWIG_fail
;
25008 Py_INCREF(Py_None
); resultobj
= Py_None
;
25015 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25016 PyObject
*resultobj
;
25017 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25018 int *arg2
= (int *) 0 ;
25019 int *arg3
= (int *) 0 ;
25024 PyObject
* obj0
= 0 ;
25025 char *kwnames
[] = {
25026 (char *) "self", NULL
25029 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25030 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
25032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25033 if (SWIG_arg_fail(1)) SWIG_fail
;
25035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25036 (arg1
)->GetPPIScreen(arg2
,arg3
);
25038 wxPyEndAllowThreads(__tstate
);
25039 if (PyErr_Occurred()) SWIG_fail
;
25041 Py_INCREF(Py_None
); resultobj
= Py_None
;
25042 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25043 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25044 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25045 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25052 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25053 PyObject
*resultobj
;
25054 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25057 PyObject
* obj0
= 0 ;
25058 PyObject
* obj1
= 0 ;
25059 PyObject
* obj2
= 0 ;
25060 char *kwnames
[] = {
25061 (char *) "self",(char *) "x",(char *) "y", NULL
25064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25066 if (SWIG_arg_fail(1)) SWIG_fail
;
25068 arg2
= (int)(SWIG_As_int(obj1
));
25069 if (SWIG_arg_fail(2)) SWIG_fail
;
25072 arg3
= (int)(SWIG_As_int(obj2
));
25073 if (SWIG_arg_fail(3)) SWIG_fail
;
25076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25077 (arg1
)->SetPPIPrinter(arg2
,arg3
);
25079 wxPyEndAllowThreads(__tstate
);
25080 if (PyErr_Occurred()) SWIG_fail
;
25082 Py_INCREF(Py_None
); resultobj
= Py_None
;
25089 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25090 PyObject
*resultobj
;
25091 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25092 int *arg2
= (int *) 0 ;
25093 int *arg3
= (int *) 0 ;
25098 PyObject
* obj0
= 0 ;
25099 char *kwnames
[] = {
25100 (char *) "self", NULL
25103 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25104 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
25106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25107 if (SWIG_arg_fail(1)) SWIG_fail
;
25109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25110 (arg1
)->GetPPIPrinter(arg2
,arg3
);
25112 wxPyEndAllowThreads(__tstate
);
25113 if (PyErr_Occurred()) SWIG_fail
;
25115 Py_INCREF(Py_None
); resultobj
= Py_None
;
25116 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25117 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25118 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25119 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25126 static PyObject
*_wrap_Printout_IsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25127 PyObject
*resultobj
;
25128 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25130 PyObject
* obj0
= 0 ;
25131 char *kwnames
[] = {
25132 (char *) "self", NULL
25135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
25136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25137 if (SWIG_arg_fail(1)) SWIG_fail
;
25139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25140 result
= (bool)(arg1
)->IsPreview();
25142 wxPyEndAllowThreads(__tstate
);
25143 if (PyErr_Occurred()) SWIG_fail
;
25146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25154 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25155 PyObject
*resultobj
;
25156 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25158 PyObject
* obj0
= 0 ;
25159 PyObject
* obj1
= 0 ;
25160 char *kwnames
[] = {
25161 (char *) "self",(char *) "p", NULL
25164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
25165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25166 if (SWIG_arg_fail(1)) SWIG_fail
;
25168 arg2
= (bool)(SWIG_As_bool(obj1
));
25169 if (SWIG_arg_fail(2)) SWIG_fail
;
25172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25173 (arg1
)->SetIsPreview(arg2
);
25175 wxPyEndAllowThreads(__tstate
);
25176 if (PyErr_Occurred()) SWIG_fail
;
25178 Py_INCREF(Py_None
); resultobj
= Py_None
;
25185 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25186 PyObject
*resultobj
;
25187 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25191 PyObject
* obj0
= 0 ;
25192 PyObject
* obj1
= 0 ;
25193 PyObject
* obj2
= 0 ;
25194 char *kwnames
[] = {
25195 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
25198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25200 if (SWIG_arg_fail(1)) SWIG_fail
;
25202 arg2
= (int)(SWIG_As_int(obj1
));
25203 if (SWIG_arg_fail(2)) SWIG_fail
;
25206 arg3
= (int)(SWIG_As_int(obj2
));
25207 if (SWIG_arg_fail(3)) SWIG_fail
;
25210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25211 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
25213 wxPyEndAllowThreads(__tstate
);
25214 if (PyErr_Occurred()) SWIG_fail
;
25217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25225 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25226 PyObject
*resultobj
;
25227 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25228 PyObject
* obj0
= 0 ;
25229 char *kwnames
[] = {
25230 (char *) "self", NULL
25233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
25234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25235 if (SWIG_arg_fail(1)) SWIG_fail
;
25237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25238 (arg1
)->base_OnEndDocument();
25240 wxPyEndAllowThreads(__tstate
);
25241 if (PyErr_Occurred()) SWIG_fail
;
25243 Py_INCREF(Py_None
); resultobj
= Py_None
;
25250 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25251 PyObject
*resultobj
;
25252 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25253 PyObject
* obj0
= 0 ;
25254 char *kwnames
[] = {
25255 (char *) "self", NULL
25258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
25259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25260 if (SWIG_arg_fail(1)) SWIG_fail
;
25262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25263 (arg1
)->base_OnBeginPrinting();
25265 wxPyEndAllowThreads(__tstate
);
25266 if (PyErr_Occurred()) SWIG_fail
;
25268 Py_INCREF(Py_None
); resultobj
= Py_None
;
25275 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25276 PyObject
*resultobj
;
25277 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25278 PyObject
* obj0
= 0 ;
25279 char *kwnames
[] = {
25280 (char *) "self", NULL
25283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
25284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25285 if (SWIG_arg_fail(1)) SWIG_fail
;
25287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25288 (arg1
)->base_OnEndPrinting();
25290 wxPyEndAllowThreads(__tstate
);
25291 if (PyErr_Occurred()) SWIG_fail
;
25293 Py_INCREF(Py_None
); resultobj
= Py_None
;
25300 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25301 PyObject
*resultobj
;
25302 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25303 PyObject
* obj0
= 0 ;
25304 char *kwnames
[] = {
25305 (char *) "self", NULL
25308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
25309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25310 if (SWIG_arg_fail(1)) SWIG_fail
;
25312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25313 (arg1
)->base_OnPreparePrinting();
25315 wxPyEndAllowThreads(__tstate
);
25316 if (PyErr_Occurred()) SWIG_fail
;
25318 Py_INCREF(Py_None
); resultobj
= Py_None
;
25325 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25326 PyObject
*resultobj
;
25327 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25330 PyObject
* obj0
= 0 ;
25331 PyObject
* obj1
= 0 ;
25332 char *kwnames
[] = {
25333 (char *) "self",(char *) "page", NULL
25336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
25337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25338 if (SWIG_arg_fail(1)) SWIG_fail
;
25340 arg2
= (int)(SWIG_As_int(obj1
));
25341 if (SWIG_arg_fail(2)) SWIG_fail
;
25344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25345 result
= (bool)(arg1
)->base_HasPage(arg2
);
25347 wxPyEndAllowThreads(__tstate
);
25348 if (PyErr_Occurred()) SWIG_fail
;
25351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25359 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25360 PyObject
*resultobj
;
25361 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25362 int *arg2
= (int *) 0 ;
25363 int *arg3
= (int *) 0 ;
25364 int *arg4
= (int *) 0 ;
25365 int *arg5
= (int *) 0 ;
25374 PyObject
* obj0
= 0 ;
25375 char *kwnames
[] = {
25376 (char *) "self", NULL
25379 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25380 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25381 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
25382 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
25383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
25384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25385 if (SWIG_arg_fail(1)) SWIG_fail
;
25387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25388 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
25390 wxPyEndAllowThreads(__tstate
);
25391 if (PyErr_Occurred()) SWIG_fail
;
25393 Py_INCREF(Py_None
); resultobj
= Py_None
;
25394 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25395 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25396 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25397 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25398 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
25399 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
25400 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
25401 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
25408 static PyObject
* Printout_swigregister(PyObject
*, PyObject
*args
) {
25410 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25411 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
25413 return Py_BuildValue((char *)"");
25415 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25416 PyObject
*resultobj
;
25417 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25418 wxWindow
*arg2
= (wxWindow
*) 0 ;
25419 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25420 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25421 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25422 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25423 long arg5
= (long) 0 ;
25424 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
25425 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25426 wxPreviewCanvas
*result
;
25429 bool temp6
= 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 char *kwnames
[] = {
25437 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25442 if (SWIG_arg_fail(1)) SWIG_fail
;
25443 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25444 if (SWIG_arg_fail(2)) SWIG_fail
;
25448 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25454 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25459 arg5
= (long)(SWIG_As_long(obj4
));
25460 if (SWIG_arg_fail(5)) SWIG_fail
;
25465 arg6
= wxString_in_helper(obj5
);
25466 if (arg6
== NULL
) SWIG_fail
;
25471 if (!wxPyCheckForApp()) SWIG_fail
;
25472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25473 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25475 wxPyEndAllowThreads(__tstate
);
25476 if (PyErr_Occurred()) SWIG_fail
;
25478 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
25493 static PyObject
* PreviewCanvas_swigregister(PyObject
*, PyObject
*args
) {
25495 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25496 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
25498 return Py_BuildValue((char *)"");
25500 static PyObject
*_wrap_new_PreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25501 PyObject
*resultobj
;
25502 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25503 wxFrame
*arg2
= (wxFrame
*) 0 ;
25504 wxString
*arg3
= 0 ;
25505 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25506 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25507 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25508 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25509 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
25510 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
25511 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25512 wxPreviewFrame
*result
;
25513 bool temp3
= false ;
25516 bool temp7
= false ;
25517 PyObject
* obj0
= 0 ;
25518 PyObject
* obj1
= 0 ;
25519 PyObject
* obj2
= 0 ;
25520 PyObject
* obj3
= 0 ;
25521 PyObject
* obj4
= 0 ;
25522 PyObject
* obj5
= 0 ;
25523 PyObject
* obj6
= 0 ;
25524 char *kwnames
[] = {
25525 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25530 if (SWIG_arg_fail(1)) SWIG_fail
;
25531 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
25532 if (SWIG_arg_fail(2)) SWIG_fail
;
25534 arg3
= wxString_in_helper(obj2
);
25535 if (arg3
== NULL
) SWIG_fail
;
25541 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25547 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25552 arg6
= (long)(SWIG_As_long(obj5
));
25553 if (SWIG_arg_fail(6)) SWIG_fail
;
25558 arg7
= wxString_in_helper(obj6
);
25559 if (arg7
== NULL
) SWIG_fail
;
25564 if (!wxPyCheckForApp()) SWIG_fail
;
25565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25566 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25568 wxPyEndAllowThreads(__tstate
);
25569 if (PyErr_Occurred()) SWIG_fail
;
25571 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
25594 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25595 PyObject
*resultobj
;
25596 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25597 PyObject
* obj0
= 0 ;
25598 char *kwnames
[] = {
25599 (char *) "self", NULL
25602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
25603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25604 if (SWIG_arg_fail(1)) SWIG_fail
;
25606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25607 (arg1
)->Initialize();
25609 wxPyEndAllowThreads(__tstate
);
25610 if (PyErr_Occurred()) SWIG_fail
;
25612 Py_INCREF(Py_None
); resultobj
= Py_None
;
25619 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25620 PyObject
*resultobj
;
25621 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25622 PyObject
* obj0
= 0 ;
25623 char *kwnames
[] = {
25624 (char *) "self", NULL
25627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
25628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25629 if (SWIG_arg_fail(1)) SWIG_fail
;
25631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25632 (arg1
)->CreateControlBar();
25634 wxPyEndAllowThreads(__tstate
);
25635 if (PyErr_Occurred()) SWIG_fail
;
25637 Py_INCREF(Py_None
); resultobj
= Py_None
;
25644 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25645 PyObject
*resultobj
;
25646 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25647 PyObject
* obj0
= 0 ;
25648 char *kwnames
[] = {
25649 (char *) "self", NULL
25652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
25653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25654 if (SWIG_arg_fail(1)) SWIG_fail
;
25656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25657 (arg1
)->CreateCanvas();
25659 wxPyEndAllowThreads(__tstate
);
25660 if (PyErr_Occurred()) SWIG_fail
;
25662 Py_INCREF(Py_None
); resultobj
= Py_None
;
25669 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25670 PyObject
*resultobj
;
25671 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25672 wxPreviewControlBar
*result
;
25673 PyObject
* obj0
= 0 ;
25674 char *kwnames
[] = {
25675 (char *) "self", NULL
25678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
25679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25680 if (SWIG_arg_fail(1)) SWIG_fail
;
25682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25683 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
25685 wxPyEndAllowThreads(__tstate
);
25686 if (PyErr_Occurred()) SWIG_fail
;
25688 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
25695 static PyObject
* PreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
25697 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25698 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
25700 return Py_BuildValue((char *)"");
25702 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25703 PyObject
*resultobj
;
25704 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25706 wxWindow
*arg3
= (wxWindow
*) 0 ;
25707 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25708 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25709 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25710 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25711 long arg6
= (long) wxTAB_TRAVERSAL
;
25712 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
25713 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25714 wxPreviewControlBar
*result
;
25717 bool temp7
= false ;
25718 PyObject
* obj0
= 0 ;
25719 PyObject
* obj1
= 0 ;
25720 PyObject
* obj2
= 0 ;
25721 PyObject
* obj3
= 0 ;
25722 PyObject
* obj4
= 0 ;
25723 PyObject
* obj5
= 0 ;
25724 PyObject
* obj6
= 0 ;
25725 char *kwnames
[] = {
25726 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25731 if (SWIG_arg_fail(1)) SWIG_fail
;
25733 arg2
= (long)(SWIG_As_long(obj1
));
25734 if (SWIG_arg_fail(2)) SWIG_fail
;
25736 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25737 if (SWIG_arg_fail(3)) SWIG_fail
;
25741 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25747 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25752 arg6
= (long)(SWIG_As_long(obj5
));
25753 if (SWIG_arg_fail(6)) SWIG_fail
;
25758 arg7
= wxString_in_helper(obj6
);
25759 if (arg7
== NULL
) SWIG_fail
;
25764 if (!wxPyCheckForApp()) SWIG_fail
;
25765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25766 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25768 wxPyEndAllowThreads(__tstate
);
25769 if (PyErr_Occurred()) SWIG_fail
;
25771 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
25786 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25787 PyObject
*resultobj
;
25788 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25790 PyObject
* obj0
= 0 ;
25791 char *kwnames
[] = {
25792 (char *) "self", NULL
25795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
25796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25797 if (SWIG_arg_fail(1)) SWIG_fail
;
25799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25800 result
= (int)(arg1
)->GetZoomControl();
25802 wxPyEndAllowThreads(__tstate
);
25803 if (PyErr_Occurred()) SWIG_fail
;
25806 resultobj
= SWIG_From_int((int)(result
));
25814 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25815 PyObject
*resultobj
;
25816 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25818 PyObject
* obj0
= 0 ;
25819 PyObject
* obj1
= 0 ;
25820 char *kwnames
[] = {
25821 (char *) "self",(char *) "zoom", NULL
25824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
25825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25826 if (SWIG_arg_fail(1)) SWIG_fail
;
25828 arg2
= (int)(SWIG_As_int(obj1
));
25829 if (SWIG_arg_fail(2)) SWIG_fail
;
25832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25833 (arg1
)->SetZoomControl(arg2
);
25835 wxPyEndAllowThreads(__tstate
);
25836 if (PyErr_Occurred()) SWIG_fail
;
25838 Py_INCREF(Py_None
); resultobj
= Py_None
;
25845 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25846 PyObject
*resultobj
;
25847 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25848 wxPrintPreview
*result
;
25849 PyObject
* obj0
= 0 ;
25850 char *kwnames
[] = {
25851 (char *) "self", NULL
25854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
25855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25856 if (SWIG_arg_fail(1)) SWIG_fail
;
25858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25859 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
25861 wxPyEndAllowThreads(__tstate
);
25862 if (PyErr_Occurred()) SWIG_fail
;
25864 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
25871 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25872 PyObject
*resultobj
;
25873 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25874 PyObject
* obj0
= 0 ;
25875 char *kwnames
[] = {
25876 (char *) "self", NULL
25879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
25880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25881 if (SWIG_arg_fail(1)) SWIG_fail
;
25883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25886 wxPyEndAllowThreads(__tstate
);
25887 if (PyErr_Occurred()) SWIG_fail
;
25889 Py_INCREF(Py_None
); resultobj
= Py_None
;
25896 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25897 PyObject
*resultobj
;
25898 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25899 PyObject
* obj0
= 0 ;
25900 char *kwnames
[] = {
25901 (char *) "self", NULL
25904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
25905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25906 if (SWIG_arg_fail(1)) SWIG_fail
;
25908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25909 (arg1
)->OnPrevious();
25911 wxPyEndAllowThreads(__tstate
);
25912 if (PyErr_Occurred()) SWIG_fail
;
25914 Py_INCREF(Py_None
); resultobj
= Py_None
;
25921 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25922 PyObject
*resultobj
;
25923 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25924 PyObject
* obj0
= 0 ;
25925 char *kwnames
[] = {
25926 (char *) "self", NULL
25929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
25930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25931 if (SWIG_arg_fail(1)) SWIG_fail
;
25933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25936 wxPyEndAllowThreads(__tstate
);
25937 if (PyErr_Occurred()) SWIG_fail
;
25939 Py_INCREF(Py_None
); resultobj
= Py_None
;
25946 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25947 PyObject
*resultobj
;
25948 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25949 PyObject
* obj0
= 0 ;
25950 char *kwnames
[] = {
25951 (char *) "self", NULL
25954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
25955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25956 if (SWIG_arg_fail(1)) SWIG_fail
;
25958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25961 wxPyEndAllowThreads(__tstate
);
25962 if (PyErr_Occurred()) SWIG_fail
;
25964 Py_INCREF(Py_None
); resultobj
= Py_None
;
25971 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25972 PyObject
*resultobj
;
25973 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25974 PyObject
* obj0
= 0 ;
25975 char *kwnames
[] = {
25976 (char *) "self", NULL
25979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
25980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25981 if (SWIG_arg_fail(1)) SWIG_fail
;
25983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25986 wxPyEndAllowThreads(__tstate
);
25987 if (PyErr_Occurred()) SWIG_fail
;
25989 Py_INCREF(Py_None
); resultobj
= Py_None
;
25996 static PyObject
* PreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
25998 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25999 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
26001 return Py_BuildValue((char *)"");
26003 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
26004 PyObject
*resultobj
;
26005 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
26006 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26007 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
26008 wxPrintPreview
*result
;
26009 PyObject
* obj0
= 0 ;
26010 PyObject
* obj1
= 0 ;
26011 PyObject
* obj2
= 0 ;
26013 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
26014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26015 if (SWIG_arg_fail(1)) SWIG_fail
;
26016 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26017 if (SWIG_arg_fail(2)) SWIG_fail
;
26019 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
26020 if (SWIG_arg_fail(3)) SWIG_fail
;
26023 if (!wxPyCheckForApp()) SWIG_fail
;
26024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26025 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
26027 wxPyEndAllowThreads(__tstate
);
26028 if (PyErr_Occurred()) SWIG_fail
;
26030 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
26037 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
26038 PyObject
*resultobj
;
26039 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
26040 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26041 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
26042 wxPrintPreview
*result
;
26043 PyObject
* obj0
= 0 ;
26044 PyObject
* obj1
= 0 ;
26045 PyObject
* obj2
= 0 ;
26047 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
26048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26049 if (SWIG_arg_fail(1)) SWIG_fail
;
26050 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26051 if (SWIG_arg_fail(2)) SWIG_fail
;
26052 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
26053 if (SWIG_arg_fail(3)) SWIG_fail
;
26055 if (!wxPyCheckForApp()) SWIG_fail
;
26056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26057 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
26059 wxPyEndAllowThreads(__tstate
);
26060 if (PyErr_Occurred()) SWIG_fail
;
26062 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
26069 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
26074 argc
= PyObject_Length(args
);
26075 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
26076 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26078 if ((argc
>= 2) && (argc
<= 3)) {
26082 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26092 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26101 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
26105 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
26113 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
26122 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26132 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26142 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
26150 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
26156 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
26161 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26162 PyObject
*resultobj
;
26163 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26166 PyObject
* obj0
= 0 ;
26167 PyObject
* obj1
= 0 ;
26168 char *kwnames
[] = {
26169 (char *) "self",(char *) "pageNum", NULL
26172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26174 if (SWIG_arg_fail(1)) SWIG_fail
;
26176 arg2
= (int)(SWIG_As_int(obj1
));
26177 if (SWIG_arg_fail(2)) SWIG_fail
;
26180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26181 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
26183 wxPyEndAllowThreads(__tstate
);
26184 if (PyErr_Occurred()) SWIG_fail
;
26187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26195 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26196 PyObject
*resultobj
;
26197 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26199 PyObject
* obj0
= 0 ;
26200 char *kwnames
[] = {
26201 (char *) "self", NULL
26204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
26205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26206 if (SWIG_arg_fail(1)) SWIG_fail
;
26208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26209 result
= (int)(arg1
)->GetCurrentPage();
26211 wxPyEndAllowThreads(__tstate
);
26212 if (PyErr_Occurred()) SWIG_fail
;
26215 resultobj
= SWIG_From_int((int)(result
));
26223 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26224 PyObject
*resultobj
;
26225 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26226 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26227 PyObject
* obj0
= 0 ;
26228 PyObject
* obj1
= 0 ;
26229 char *kwnames
[] = {
26230 (char *) "self",(char *) "printout", NULL
26233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
26234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26235 if (SWIG_arg_fail(1)) SWIG_fail
;
26236 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26237 if (SWIG_arg_fail(2)) SWIG_fail
;
26239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26240 (arg1
)->SetPrintout(arg2
);
26242 wxPyEndAllowThreads(__tstate
);
26243 if (PyErr_Occurred()) SWIG_fail
;
26245 Py_INCREF(Py_None
); resultobj
= Py_None
;
26252 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26253 PyObject
*resultobj
;
26254 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26255 wxPyPrintout
*result
;
26256 PyObject
* obj0
= 0 ;
26257 char *kwnames
[] = {
26258 (char *) "self", NULL
26261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
26262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26263 if (SWIG_arg_fail(1)) SWIG_fail
;
26265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26266 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
26268 wxPyEndAllowThreads(__tstate
);
26269 if (PyErr_Occurred()) SWIG_fail
;
26272 resultobj
= wxPyMake_wxObject(result
, 0);
26280 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26281 PyObject
*resultobj
;
26282 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26283 wxPyPrintout
*result
;
26284 PyObject
* obj0
= 0 ;
26285 char *kwnames
[] = {
26286 (char *) "self", NULL
26289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
26290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26291 if (SWIG_arg_fail(1)) SWIG_fail
;
26293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26294 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
26296 wxPyEndAllowThreads(__tstate
);
26297 if (PyErr_Occurred()) SWIG_fail
;
26300 resultobj
= wxPyMake_wxObject(result
, 0);
26308 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26309 PyObject
*resultobj
;
26310 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26311 wxFrame
*arg2
= (wxFrame
*) 0 ;
26312 PyObject
* obj0
= 0 ;
26313 PyObject
* obj1
= 0 ;
26314 char *kwnames
[] = {
26315 (char *) "self",(char *) "frame", NULL
26318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
26319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26320 if (SWIG_arg_fail(1)) SWIG_fail
;
26321 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
26322 if (SWIG_arg_fail(2)) SWIG_fail
;
26324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26325 (arg1
)->SetFrame(arg2
);
26327 wxPyEndAllowThreads(__tstate
);
26328 if (PyErr_Occurred()) SWIG_fail
;
26330 Py_INCREF(Py_None
); resultobj
= Py_None
;
26337 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26338 PyObject
*resultobj
;
26339 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26340 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26341 PyObject
* obj0
= 0 ;
26342 PyObject
* obj1
= 0 ;
26343 char *kwnames
[] = {
26344 (char *) "self",(char *) "canvas", NULL
26347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
26348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26349 if (SWIG_arg_fail(1)) SWIG_fail
;
26350 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26351 if (SWIG_arg_fail(2)) SWIG_fail
;
26353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26354 (arg1
)->SetCanvas(arg2
);
26356 wxPyEndAllowThreads(__tstate
);
26357 if (PyErr_Occurred()) SWIG_fail
;
26359 Py_INCREF(Py_None
); resultobj
= Py_None
;
26366 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26367 PyObject
*resultobj
;
26368 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26370 PyObject
* obj0
= 0 ;
26371 char *kwnames
[] = {
26372 (char *) "self", NULL
26375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
26376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26377 if (SWIG_arg_fail(1)) SWIG_fail
;
26379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26380 result
= (wxFrame
*)(arg1
)->GetFrame();
26382 wxPyEndAllowThreads(__tstate
);
26383 if (PyErr_Occurred()) SWIG_fail
;
26386 resultobj
= wxPyMake_wxObject(result
, 0);
26394 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26395 PyObject
*resultobj
;
26396 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26397 wxPreviewCanvas
*result
;
26398 PyObject
* obj0
= 0 ;
26399 char *kwnames
[] = {
26400 (char *) "self", NULL
26403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
26404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26405 if (SWIG_arg_fail(1)) SWIG_fail
;
26407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26408 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
26410 wxPyEndAllowThreads(__tstate
);
26411 if (PyErr_Occurred()) SWIG_fail
;
26413 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
26420 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26421 PyObject
*resultobj
;
26422 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26423 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26426 PyObject
* obj0
= 0 ;
26427 PyObject
* obj1
= 0 ;
26428 PyObject
* obj2
= 0 ;
26429 char *kwnames
[] = {
26430 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26435 if (SWIG_arg_fail(1)) SWIG_fail
;
26436 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26437 if (SWIG_arg_fail(2)) SWIG_fail
;
26439 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26440 if (SWIG_arg_fail(3)) SWIG_fail
;
26441 if (arg3
== NULL
) {
26442 SWIG_null_ref("wxDC");
26444 if (SWIG_arg_fail(3)) SWIG_fail
;
26447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26448 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
26450 wxPyEndAllowThreads(__tstate
);
26451 if (PyErr_Occurred()) SWIG_fail
;
26454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26462 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26463 PyObject
*resultobj
;
26464 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26465 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26468 PyObject
* obj0
= 0 ;
26469 PyObject
* obj1
= 0 ;
26470 PyObject
* obj2
= 0 ;
26471 char *kwnames
[] = {
26472 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26477 if (SWIG_arg_fail(1)) SWIG_fail
;
26478 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26479 if (SWIG_arg_fail(2)) SWIG_fail
;
26481 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26482 if (SWIG_arg_fail(3)) SWIG_fail
;
26483 if (arg3
== NULL
) {
26484 SWIG_null_ref("wxDC");
26486 if (SWIG_arg_fail(3)) SWIG_fail
;
26489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26490 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
26492 wxPyEndAllowThreads(__tstate
);
26493 if (PyErr_Occurred()) SWIG_fail
;
26496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26504 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26505 PyObject
*resultobj
;
26506 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26509 PyObject
* obj0
= 0 ;
26510 PyObject
* obj1
= 0 ;
26511 char *kwnames
[] = {
26512 (char *) "self",(char *) "pageNum", NULL
26515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26517 if (SWIG_arg_fail(1)) SWIG_fail
;
26519 arg2
= (int)(SWIG_As_int(obj1
));
26520 if (SWIG_arg_fail(2)) SWIG_fail
;
26523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26524 result
= (bool)(arg1
)->RenderPage(arg2
);
26526 wxPyEndAllowThreads(__tstate
);
26527 if (PyErr_Occurred()) SWIG_fail
;
26530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26538 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26539 PyObject
*resultobj
;
26540 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26541 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26542 PyObject
* obj0
= 0 ;
26543 PyObject
* obj1
= 0 ;
26544 char *kwnames
[] = {
26545 (char *) "self",(char *) "canvas", NULL
26548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
26549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26550 if (SWIG_arg_fail(1)) SWIG_fail
;
26551 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26552 if (SWIG_arg_fail(2)) SWIG_fail
;
26554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26555 (arg1
)->AdjustScrollbars(arg2
);
26557 wxPyEndAllowThreads(__tstate
);
26558 if (PyErr_Occurred()) SWIG_fail
;
26560 Py_INCREF(Py_None
); resultobj
= Py_None
;
26567 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26568 PyObject
*resultobj
;
26569 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26570 wxPrintDialogData
*result
;
26571 PyObject
* obj0
= 0 ;
26572 char *kwnames
[] = {
26573 (char *) "self", NULL
26576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
26577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26578 if (SWIG_arg_fail(1)) SWIG_fail
;
26580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26582 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
26583 result
= (wxPrintDialogData
*) &_result_ref
;
26586 wxPyEndAllowThreads(__tstate
);
26587 if (PyErr_Occurred()) SWIG_fail
;
26589 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
26596 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26597 PyObject
*resultobj
;
26598 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26600 PyObject
* obj0
= 0 ;
26601 PyObject
* obj1
= 0 ;
26602 char *kwnames
[] = {
26603 (char *) "self",(char *) "percent", NULL
26606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
26607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26608 if (SWIG_arg_fail(1)) SWIG_fail
;
26610 arg2
= (int)(SWIG_As_int(obj1
));
26611 if (SWIG_arg_fail(2)) SWIG_fail
;
26614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26615 (arg1
)->SetZoom(arg2
);
26617 wxPyEndAllowThreads(__tstate
);
26618 if (PyErr_Occurred()) SWIG_fail
;
26620 Py_INCREF(Py_None
); resultobj
= Py_None
;
26627 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26628 PyObject
*resultobj
;
26629 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26631 PyObject
* obj0
= 0 ;
26632 char *kwnames
[] = {
26633 (char *) "self", NULL
26636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
26637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26638 if (SWIG_arg_fail(1)) SWIG_fail
;
26640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26641 result
= (int)(arg1
)->GetZoom();
26643 wxPyEndAllowThreads(__tstate
);
26644 if (PyErr_Occurred()) SWIG_fail
;
26647 resultobj
= SWIG_From_int((int)(result
));
26655 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26656 PyObject
*resultobj
;
26657 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26659 PyObject
* obj0
= 0 ;
26660 char *kwnames
[] = {
26661 (char *) "self", NULL
26664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
26665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26666 if (SWIG_arg_fail(1)) SWIG_fail
;
26668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26669 result
= (int)(arg1
)->GetMaxPage();
26671 wxPyEndAllowThreads(__tstate
);
26672 if (PyErr_Occurred()) SWIG_fail
;
26675 resultobj
= SWIG_From_int((int)(result
));
26683 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26684 PyObject
*resultobj
;
26685 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26687 PyObject
* obj0
= 0 ;
26688 char *kwnames
[] = {
26689 (char *) "self", NULL
26692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
26693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26694 if (SWIG_arg_fail(1)) SWIG_fail
;
26696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26697 result
= (int)(arg1
)->GetMinPage();
26699 wxPyEndAllowThreads(__tstate
);
26700 if (PyErr_Occurred()) SWIG_fail
;
26703 resultobj
= SWIG_From_int((int)(result
));
26711 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26712 PyObject
*resultobj
;
26713 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26715 PyObject
* obj0
= 0 ;
26716 char *kwnames
[] = {
26717 (char *) "self", NULL
26720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
26721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26722 if (SWIG_arg_fail(1)) SWIG_fail
;
26724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26725 result
= (bool)(arg1
)->Ok();
26727 wxPyEndAllowThreads(__tstate
);
26728 if (PyErr_Occurred()) SWIG_fail
;
26731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26739 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26740 PyObject
*resultobj
;
26741 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26743 PyObject
* obj0
= 0 ;
26744 PyObject
* obj1
= 0 ;
26745 char *kwnames
[] = {
26746 (char *) "self",(char *) "ok", NULL
26749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
26750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26751 if (SWIG_arg_fail(1)) SWIG_fail
;
26753 arg2
= (bool)(SWIG_As_bool(obj1
));
26754 if (SWIG_arg_fail(2)) SWIG_fail
;
26757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26758 (arg1
)->SetOk(arg2
);
26760 wxPyEndAllowThreads(__tstate
);
26761 if (PyErr_Occurred()) SWIG_fail
;
26763 Py_INCREF(Py_None
); resultobj
= Py_None
;
26770 static PyObject
*_wrap_PrintPreview_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26771 PyObject
*resultobj
;
26772 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26775 PyObject
* obj0
= 0 ;
26776 PyObject
* obj1
= 0 ;
26777 char *kwnames
[] = {
26778 (char *) "self",(char *) "interactive", NULL
26781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
26782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26783 if (SWIG_arg_fail(1)) SWIG_fail
;
26785 arg2
= (bool)(SWIG_As_bool(obj1
));
26786 if (SWIG_arg_fail(2)) SWIG_fail
;
26789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26790 result
= (bool)(arg1
)->Print(arg2
);
26792 wxPyEndAllowThreads(__tstate
);
26793 if (PyErr_Occurred()) SWIG_fail
;
26796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26804 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26805 PyObject
*resultobj
;
26806 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26807 PyObject
* obj0
= 0 ;
26808 char *kwnames
[] = {
26809 (char *) "self", NULL
26812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
26813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26814 if (SWIG_arg_fail(1)) SWIG_fail
;
26816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26817 (arg1
)->DetermineScaling();
26819 wxPyEndAllowThreads(__tstate
);
26820 if (PyErr_Occurred()) SWIG_fail
;
26822 Py_INCREF(Py_None
); resultobj
= Py_None
;
26829 static PyObject
* PrintPreview_swigregister(PyObject
*, PyObject
*args
) {
26831 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26832 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
26834 return Py_BuildValue((char *)"");
26836 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
26837 PyObject
*resultobj
;
26838 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
26839 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26840 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
26841 wxPyPrintPreview
*result
;
26842 PyObject
* obj0
= 0 ;
26843 PyObject
* obj1
= 0 ;
26844 PyObject
* obj2
= 0 ;
26846 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
26847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26848 if (SWIG_arg_fail(1)) SWIG_fail
;
26849 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26850 if (SWIG_arg_fail(2)) SWIG_fail
;
26852 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
26853 if (SWIG_arg_fail(3)) SWIG_fail
;
26856 if (!wxPyCheckForApp()) SWIG_fail
;
26857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26858 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
26860 wxPyEndAllowThreads(__tstate
);
26861 if (PyErr_Occurred()) SWIG_fail
;
26863 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
26870 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
26871 PyObject
*resultobj
;
26872 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
26873 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26874 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
26875 wxPyPrintPreview
*result
;
26876 PyObject
* obj0
= 0 ;
26877 PyObject
* obj1
= 0 ;
26878 PyObject
* obj2
= 0 ;
26880 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
26881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26882 if (SWIG_arg_fail(1)) SWIG_fail
;
26883 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26884 if (SWIG_arg_fail(2)) SWIG_fail
;
26885 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
26886 if (SWIG_arg_fail(3)) SWIG_fail
;
26888 if (!wxPyCheckForApp()) SWIG_fail
;
26889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26890 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
26892 wxPyEndAllowThreads(__tstate
);
26893 if (PyErr_Occurred()) SWIG_fail
;
26895 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
26902 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
26907 argc
= PyObject_Length(args
);
26908 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
26909 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26911 if ((argc
>= 2) && (argc
<= 3)) {
26915 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26925 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26934 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
26938 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
26946 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
26955 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26965 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26975 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
26983 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
26989 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
26994 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26995 PyObject
*resultobj
;
26996 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26997 PyObject
*arg2
= (PyObject
*) 0 ;
26998 PyObject
*arg3
= (PyObject
*) 0 ;
26999 PyObject
* obj0
= 0 ;
27000 PyObject
* obj1
= 0 ;
27001 PyObject
* obj2
= 0 ;
27002 char *kwnames
[] = {
27003 (char *) "self",(char *) "self",(char *) "_class", NULL
27006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27008 if (SWIG_arg_fail(1)) SWIG_fail
;
27012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27013 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27015 wxPyEndAllowThreads(__tstate
);
27016 if (PyErr_Occurred()) SWIG_fail
;
27018 Py_INCREF(Py_None
); resultobj
= Py_None
;
27025 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27026 PyObject
*resultobj
;
27027 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27030 PyObject
* obj0
= 0 ;
27031 PyObject
* obj1
= 0 ;
27032 char *kwnames
[] = {
27033 (char *) "self",(char *) "pageNum", NULL
27036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
27037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27038 if (SWIG_arg_fail(1)) SWIG_fail
;
27040 arg2
= (int)(SWIG_As_int(obj1
));
27041 if (SWIG_arg_fail(2)) SWIG_fail
;
27044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27045 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
27047 wxPyEndAllowThreads(__tstate
);
27048 if (PyErr_Occurred()) SWIG_fail
;
27051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27059 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27060 PyObject
*resultobj
;
27061 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27062 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
27065 PyObject
* obj0
= 0 ;
27066 PyObject
* obj1
= 0 ;
27067 PyObject
* obj2
= 0 ;
27068 char *kwnames
[] = {
27069 (char *) "self",(char *) "canvas",(char *) "dc", NULL
27072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27074 if (SWIG_arg_fail(1)) SWIG_fail
;
27075 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
27076 if (SWIG_arg_fail(2)) SWIG_fail
;
27078 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
27079 if (SWIG_arg_fail(3)) SWIG_fail
;
27080 if (arg3
== NULL
) {
27081 SWIG_null_ref("wxDC");
27083 if (SWIG_arg_fail(3)) SWIG_fail
;
27086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27087 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
27089 wxPyEndAllowThreads(__tstate
);
27090 if (PyErr_Occurred()) SWIG_fail
;
27093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27101 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27102 PyObject
*resultobj
;
27103 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27104 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
27107 PyObject
* obj0
= 0 ;
27108 PyObject
* obj1
= 0 ;
27109 PyObject
* obj2
= 0 ;
27110 char *kwnames
[] = {
27111 (char *) "self",(char *) "canvas",(char *) "dc", NULL
27114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27116 if (SWIG_arg_fail(1)) SWIG_fail
;
27117 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
27118 if (SWIG_arg_fail(2)) SWIG_fail
;
27120 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
27121 if (SWIG_arg_fail(3)) SWIG_fail
;
27122 if (arg3
== NULL
) {
27123 SWIG_null_ref("wxDC");
27125 if (SWIG_arg_fail(3)) SWIG_fail
;
27128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27129 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
27131 wxPyEndAllowThreads(__tstate
);
27132 if (PyErr_Occurred()) SWIG_fail
;
27135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27143 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27144 PyObject
*resultobj
;
27145 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27148 PyObject
* obj0
= 0 ;
27149 PyObject
* obj1
= 0 ;
27150 char *kwnames
[] = {
27151 (char *) "self",(char *) "pageNum", NULL
27154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
27155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27156 if (SWIG_arg_fail(1)) SWIG_fail
;
27158 arg2
= (int)(SWIG_As_int(obj1
));
27159 if (SWIG_arg_fail(2)) SWIG_fail
;
27162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27163 result
= (bool)(arg1
)->base_RenderPage(arg2
);
27165 wxPyEndAllowThreads(__tstate
);
27166 if (PyErr_Occurred()) SWIG_fail
;
27169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27177 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27178 PyObject
*resultobj
;
27179 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27181 PyObject
* obj0
= 0 ;
27182 PyObject
* obj1
= 0 ;
27183 char *kwnames
[] = {
27184 (char *) "self",(char *) "percent", NULL
27187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
27188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27189 if (SWIG_arg_fail(1)) SWIG_fail
;
27191 arg2
= (int)(SWIG_As_int(obj1
));
27192 if (SWIG_arg_fail(2)) SWIG_fail
;
27195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27196 (arg1
)->base_SetZoom(arg2
);
27198 wxPyEndAllowThreads(__tstate
);
27199 if (PyErr_Occurred()) SWIG_fail
;
27201 Py_INCREF(Py_None
); resultobj
= Py_None
;
27208 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27209 PyObject
*resultobj
;
27210 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27213 PyObject
* obj0
= 0 ;
27214 PyObject
* obj1
= 0 ;
27215 char *kwnames
[] = {
27216 (char *) "self",(char *) "interactive", NULL
27219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
27220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27221 if (SWIG_arg_fail(1)) SWIG_fail
;
27223 arg2
= (bool)(SWIG_As_bool(obj1
));
27224 if (SWIG_arg_fail(2)) SWIG_fail
;
27227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27228 result
= (bool)(arg1
)->base_Print(arg2
);
27230 wxPyEndAllowThreads(__tstate
);
27231 if (PyErr_Occurred()) SWIG_fail
;
27234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27242 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27243 PyObject
*resultobj
;
27244 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27245 PyObject
* obj0
= 0 ;
27246 char *kwnames
[] = {
27247 (char *) "self", NULL
27250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
27251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27252 if (SWIG_arg_fail(1)) SWIG_fail
;
27254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27255 (arg1
)->base_DetermineScaling();
27257 wxPyEndAllowThreads(__tstate
);
27258 if (PyErr_Occurred()) SWIG_fail
;
27260 Py_INCREF(Py_None
); resultobj
= Py_None
;
27267 static PyObject
* PyPrintPreview_swigregister(PyObject
*, PyObject
*args
) {
27269 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27270 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
27272 return Py_BuildValue((char *)"");
27274 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27275 PyObject
*resultobj
;
27276 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
27277 wxFrame
*arg2
= (wxFrame
*) 0 ;
27278 wxString
*arg3
= 0 ;
27279 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27280 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27281 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27282 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27283 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
27284 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
27285 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27286 wxPyPreviewFrame
*result
;
27287 bool temp3
= false ;
27290 bool temp7
= false ;
27291 PyObject
* obj0
= 0 ;
27292 PyObject
* obj1
= 0 ;
27293 PyObject
* obj2
= 0 ;
27294 PyObject
* obj3
= 0 ;
27295 PyObject
* obj4
= 0 ;
27296 PyObject
* obj5
= 0 ;
27297 PyObject
* obj6
= 0 ;
27298 char *kwnames
[] = {
27299 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27304 if (SWIG_arg_fail(1)) SWIG_fail
;
27305 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
27306 if (SWIG_arg_fail(2)) SWIG_fail
;
27308 arg3
= wxString_in_helper(obj2
);
27309 if (arg3
== NULL
) SWIG_fail
;
27315 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27321 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27326 arg6
= (long)(SWIG_As_long(obj5
));
27327 if (SWIG_arg_fail(6)) SWIG_fail
;
27332 arg7
= wxString_in_helper(obj6
);
27333 if (arg7
== NULL
) SWIG_fail
;
27338 if (!wxPyCheckForApp()) SWIG_fail
;
27339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27340 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
27342 wxPyEndAllowThreads(__tstate
);
27343 if (PyErr_Occurred()) SWIG_fail
;
27345 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
27368 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27369 PyObject
*resultobj
;
27370 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27371 PyObject
*arg2
= (PyObject
*) 0 ;
27372 PyObject
*arg3
= (PyObject
*) 0 ;
27373 PyObject
* obj0
= 0 ;
27374 PyObject
* obj1
= 0 ;
27375 PyObject
* obj2
= 0 ;
27376 char *kwnames
[] = {
27377 (char *) "self",(char *) "self",(char *) "_class", NULL
27380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27382 if (SWIG_arg_fail(1)) SWIG_fail
;
27386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27387 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27389 wxPyEndAllowThreads(__tstate
);
27390 if (PyErr_Occurred()) SWIG_fail
;
27392 Py_INCREF(Py_None
); resultobj
= Py_None
;
27399 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27400 PyObject
*resultobj
;
27401 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27402 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
27403 PyObject
* obj0
= 0 ;
27404 PyObject
* obj1
= 0 ;
27405 char *kwnames
[] = {
27406 (char *) "self",(char *) "canvas", NULL
27409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
27410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27411 if (SWIG_arg_fail(1)) SWIG_fail
;
27412 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
27413 if (SWIG_arg_fail(2)) SWIG_fail
;
27415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27416 (arg1
)->SetPreviewCanvas(arg2
);
27418 wxPyEndAllowThreads(__tstate
);
27419 if (PyErr_Occurred()) SWIG_fail
;
27421 Py_INCREF(Py_None
); resultobj
= Py_None
;
27428 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27429 PyObject
*resultobj
;
27430 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27431 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
27432 PyObject
* obj0
= 0 ;
27433 PyObject
* obj1
= 0 ;
27434 char *kwnames
[] = {
27435 (char *) "self",(char *) "bar", NULL
27438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
27439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27440 if (SWIG_arg_fail(1)) SWIG_fail
;
27441 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27442 if (SWIG_arg_fail(2)) SWIG_fail
;
27444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27445 (arg1
)->SetControlBar(arg2
);
27447 wxPyEndAllowThreads(__tstate
);
27448 if (PyErr_Occurred()) SWIG_fail
;
27450 Py_INCREF(Py_None
); resultobj
= Py_None
;
27457 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27458 PyObject
*resultobj
;
27459 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27460 PyObject
* obj0
= 0 ;
27461 char *kwnames
[] = {
27462 (char *) "self", NULL
27465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
27466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27467 if (SWIG_arg_fail(1)) SWIG_fail
;
27469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27470 (arg1
)->base_Initialize();
27472 wxPyEndAllowThreads(__tstate
);
27473 if (PyErr_Occurred()) SWIG_fail
;
27475 Py_INCREF(Py_None
); resultobj
= Py_None
;
27482 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27483 PyObject
*resultobj
;
27484 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27485 PyObject
* obj0
= 0 ;
27486 char *kwnames
[] = {
27487 (char *) "self", NULL
27490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
27491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27492 if (SWIG_arg_fail(1)) SWIG_fail
;
27494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27495 (arg1
)->base_CreateCanvas();
27497 wxPyEndAllowThreads(__tstate
);
27498 if (PyErr_Occurred()) SWIG_fail
;
27500 Py_INCREF(Py_None
); resultobj
= Py_None
;
27507 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27508 PyObject
*resultobj
;
27509 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27510 PyObject
* obj0
= 0 ;
27511 char *kwnames
[] = {
27512 (char *) "self", NULL
27515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
27516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27517 if (SWIG_arg_fail(1)) SWIG_fail
;
27519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27520 (arg1
)->base_CreateControlBar();
27522 wxPyEndAllowThreads(__tstate
);
27523 if (PyErr_Occurred()) SWIG_fail
;
27525 Py_INCREF(Py_None
); resultobj
= Py_None
;
27532 static PyObject
* PyPreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
27534 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27535 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
27537 return Py_BuildValue((char *)"");
27539 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27540 PyObject
*resultobj
;
27541 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
27543 wxWindow
*arg3
= (wxWindow
*) 0 ;
27544 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27545 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27546 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27547 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27548 long arg6
= (long) 0 ;
27549 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
27550 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27551 wxPyPreviewControlBar
*result
;
27554 bool temp7
= false ;
27555 PyObject
* obj0
= 0 ;
27556 PyObject
* obj1
= 0 ;
27557 PyObject
* obj2
= 0 ;
27558 PyObject
* obj3
= 0 ;
27559 PyObject
* obj4
= 0 ;
27560 PyObject
* obj5
= 0 ;
27561 PyObject
* obj6
= 0 ;
27562 char *kwnames
[] = {
27563 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27568 if (SWIG_arg_fail(1)) SWIG_fail
;
27570 arg2
= (long)(SWIG_As_long(obj1
));
27571 if (SWIG_arg_fail(2)) SWIG_fail
;
27573 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27574 if (SWIG_arg_fail(3)) SWIG_fail
;
27578 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27584 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27589 arg6
= (long)(SWIG_As_long(obj5
));
27590 if (SWIG_arg_fail(6)) SWIG_fail
;
27595 arg7
= wxString_in_helper(obj6
);
27596 if (arg7
== NULL
) SWIG_fail
;
27601 if (!wxPyCheckForApp()) SWIG_fail
;
27602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27603 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
27605 wxPyEndAllowThreads(__tstate
);
27606 if (PyErr_Occurred()) SWIG_fail
;
27608 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
27623 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27624 PyObject
*resultobj
;
27625 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27626 PyObject
*arg2
= (PyObject
*) 0 ;
27627 PyObject
*arg3
= (PyObject
*) 0 ;
27628 PyObject
* obj0
= 0 ;
27629 PyObject
* obj1
= 0 ;
27630 PyObject
* obj2
= 0 ;
27631 char *kwnames
[] = {
27632 (char *) "self",(char *) "self",(char *) "_class", NULL
27635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27637 if (SWIG_arg_fail(1)) SWIG_fail
;
27641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27642 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27644 wxPyEndAllowThreads(__tstate
);
27645 if (PyErr_Occurred()) SWIG_fail
;
27647 Py_INCREF(Py_None
); resultobj
= Py_None
;
27654 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27655 PyObject
*resultobj
;
27656 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27657 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
27658 PyObject
* obj0
= 0 ;
27659 PyObject
* obj1
= 0 ;
27660 char *kwnames
[] = {
27661 (char *) "self",(char *) "preview", NULL
27664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
27665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27666 if (SWIG_arg_fail(1)) SWIG_fail
;
27667 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27668 if (SWIG_arg_fail(2)) SWIG_fail
;
27670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27671 (arg1
)->SetPrintPreview(arg2
);
27673 wxPyEndAllowThreads(__tstate
);
27674 if (PyErr_Occurred()) SWIG_fail
;
27676 Py_INCREF(Py_None
); resultobj
= Py_None
;
27683 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27684 PyObject
*resultobj
;
27685 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27686 PyObject
* obj0
= 0 ;
27687 char *kwnames
[] = {
27688 (char *) "self", NULL
27691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
27692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27693 if (SWIG_arg_fail(1)) SWIG_fail
;
27695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27696 (arg1
)->base_CreateButtons();
27698 wxPyEndAllowThreads(__tstate
);
27699 if (PyErr_Occurred()) SWIG_fail
;
27701 Py_INCREF(Py_None
); resultobj
= Py_None
;
27708 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27709 PyObject
*resultobj
;
27710 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27712 PyObject
* obj0
= 0 ;
27713 PyObject
* obj1
= 0 ;
27714 char *kwnames
[] = {
27715 (char *) "self",(char *) "zoom", NULL
27718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
27719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27720 if (SWIG_arg_fail(1)) SWIG_fail
;
27722 arg2
= (int)(SWIG_As_int(obj1
));
27723 if (SWIG_arg_fail(2)) SWIG_fail
;
27726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27727 (arg1
)->base_SetZoomControl(arg2
);
27729 wxPyEndAllowThreads(__tstate
);
27730 if (PyErr_Occurred()) SWIG_fail
;
27732 Py_INCREF(Py_None
); resultobj
= Py_None
;
27739 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
27741 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27742 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
27744 return Py_BuildValue((char *)"");
27746 static PyMethodDef SwigMethods
[] = {
27747 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27748 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27749 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27750 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27751 { (char *)"Panel_SetFocus", (PyCFunction
) _wrap_Panel_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27752 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
) _wrap_Panel_SetFocusIgnoringChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27753 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27754 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
27755 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27756 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27757 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27758 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27759 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27760 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27761 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27762 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27763 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27764 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27765 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27766 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27767 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27768 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27769 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
27770 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
27771 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27772 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27773 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27774 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27775 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27776 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27777 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
27778 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27779 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27780 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27781 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27782 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27783 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27784 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27785 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27786 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27787 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27788 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27789 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27790 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27791 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27792 { (char *)"TopLevelWindow_IsActive", (PyCFunction
) _wrap_TopLevelWindow_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27793 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27794 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacGetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27795 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
27796 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27797 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27798 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27799 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27800 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27801 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27802 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27803 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27804 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27805 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27806 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27807 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27808 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27809 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27810 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27811 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27812 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27813 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27814 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27815 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27816 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27817 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27818 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27819 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
27820 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27821 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27822 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27823 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27824 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27825 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27826 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27827 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27828 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27829 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27830 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27831 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27832 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
27833 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27834 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27835 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27836 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
27837 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27838 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27839 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27840 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
27841 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27842 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27843 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27844 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27845 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
27846 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27847 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27848 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27849 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27850 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27851 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27852 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27853 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27854 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27855 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27856 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27857 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27858 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27859 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27860 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27861 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27862 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
27863 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27864 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27865 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27866 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27867 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27868 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27869 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27870 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27871 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27872 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27873 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27874 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27875 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27876 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27877 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27878 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27879 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27880 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27881 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27882 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27883 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27884 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
) _wrap_SplitterWindow_GetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27885 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27886 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27887 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27888 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27889 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27890 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27891 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27892 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
27893 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27894 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27895 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27896 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27897 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27898 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27899 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
27900 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27901 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27902 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27903 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27904 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27905 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27906 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27907 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27908 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27909 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27910 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27911 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27912 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27913 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27914 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27915 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27916 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27917 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27918 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27919 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27920 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27921 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27922 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
27923 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27924 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27925 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27926 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27927 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27928 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27929 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27930 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
27931 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27932 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27933 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27934 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27935 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27936 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27937 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27938 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27939 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27940 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27941 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27942 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
27943 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27944 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27945 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27946 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27947 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27948 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
27949 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27950 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27951 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27952 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27953 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27954 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27955 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27956 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27957 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
27958 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27959 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27960 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27961 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27962 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27963 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
27964 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27965 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27966 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27967 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27968 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
27969 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27970 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27971 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27972 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27973 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
) _wrap_PopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27974 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
27975 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27976 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27977 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27978 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
27979 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27980 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27981 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27982 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27983 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27984 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27985 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27986 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27987 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27988 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27989 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27990 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27991 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27992 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27993 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
) _wrap_VScrolledWindow_GetVisibleBegin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27994 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
) _wrap_VScrolledWindow_GetVisibleEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27995 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27996 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27997 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27998 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
27999 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28000 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28001 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28002 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28003 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28004 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28005 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28006 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28007 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28008 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28009 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28010 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28011 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28012 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28013 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28014 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28015 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28016 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28017 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28018 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28019 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28020 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28021 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28022 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28023 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28024 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
28025 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28026 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28027 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28028 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28029 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28030 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28031 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
) _wrap_HtmlListBox_GetFileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28032 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
28033 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28034 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28035 { (char *)"TaskBarIcon_Destroy", (PyCFunction
) _wrap_TaskBarIcon_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28036 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28037 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28038 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28039 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28040 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28041 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
28042 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28043 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
28044 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28045 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28046 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28047 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28048 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28049 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28050 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28051 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28052 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
28053 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28054 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28055 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
28056 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28057 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28058 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28059 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28060 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28061 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28062 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
28063 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28064 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28065 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28066 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28067 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28068 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28069 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28070 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28071 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28072 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28073 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28074 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28075 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28076 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28077 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28078 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28079 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28080 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
28081 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28082 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28083 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28084 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
28085 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28086 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28087 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28088 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28089 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
28090 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28091 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28092 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28093 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
28094 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28095 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
28096 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28097 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28098 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28099 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28100 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28101 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28102 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28103 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28104 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28105 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28106 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28107 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28108 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28109 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28110 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28111 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
28112 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28113 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28114 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
28115 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28116 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
28117 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28118 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28119 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28120 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
28121 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28122 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28123 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28124 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28125 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28126 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28127 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28128 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28129 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
28130 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28131 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28132 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28133 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28134 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28135 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28136 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28137 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28138 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
28139 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28140 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28141 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28142 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28143 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28144 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
28145 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28146 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28147 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28148 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28149 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28150 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28151 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28152 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28153 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28154 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28155 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28156 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
28157 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28158 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28159 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28160 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28161 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28162 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28163 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
28164 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28165 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28166 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28167 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
28168 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28169 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28170 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28171 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28172 { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28173 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28174 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28175 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28176 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28177 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28178 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28179 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28180 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28181 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28182 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28183 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28184 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28185 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28186 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28187 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28188 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28189 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28190 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28191 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28192 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28193 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
28194 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28195 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28196 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28197 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28198 { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28199 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28200 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28201 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28202 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28203 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28204 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28205 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28206 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28207 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28208 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28209 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28210 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28211 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28212 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28213 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28214 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28215 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28216 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28217 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28218 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyPanel_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28219 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
28220 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28221 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28222 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28223 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28224 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28225 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28226 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28227 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28228 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28229 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28230 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28231 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28232 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28233 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28234 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28235 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28236 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28237 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction
) _wrap_PyScrolledWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28238 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28239 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28240 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28241 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28242 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28243 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28244 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyScrolledWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28245 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
28246 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
28247 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28248 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28249 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28250 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28251 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28252 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28253 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28254 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28255 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28256 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28257 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28258 { (char *)"PrintData_GetBin", (PyCFunction
) _wrap_PrintData_GetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28259 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28260 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28261 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28262 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28263 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28264 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28265 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28266 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28267 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28268 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28269 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28270 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28271 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28272 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28273 { (char *)"PrintData_GetPrivData", (PyCFunction
) _wrap_PrintData_GetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28274 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28275 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28276 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28277 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28278 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28279 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28280 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28281 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28282 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28283 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28284 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28285 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28286 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28287 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28288 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28289 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28290 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28291 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28292 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28293 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
28294 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
28295 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28296 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28297 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28298 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28299 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28300 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28301 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28302 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28303 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28304 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28305 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28306 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28307 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28308 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28309 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28310 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28311 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28312 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28313 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28314 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28315 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28316 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28317 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28318 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28319 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28320 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28321 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28322 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28323 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28324 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28325 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28326 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
) _wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28327 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
28328 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28329 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28330 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28331 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28332 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
28333 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
28334 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28335 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28336 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28337 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28338 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28339 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28340 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28341 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28342 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28343 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28344 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28345 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28346 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28347 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28348 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28349 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28350 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28351 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28352 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28353 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28354 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28355 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28356 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28357 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28358 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28359 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28360 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28361 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28362 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28363 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28364 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28365 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28366 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
28367 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28368 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28369 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28370 { (char *)"PrintDialog_GetPrintData", (PyCFunction
) _wrap_PrintDialog_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28371 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28372 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
28373 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28374 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28375 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28376 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28377 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28378 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28379 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28380 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28381 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28382 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28383 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
28384 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28385 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28386 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28387 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28388 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28389 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28390 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28391 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28392 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28393 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28394 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28395 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28396 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28397 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28398 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28399 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28400 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28401 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28402 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28403 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28404 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28405 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28406 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
28407 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28408 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
28409 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28410 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28411 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28412 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28413 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28414 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
28415 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28416 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28417 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28418 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28419 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28420 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28421 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28422 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28423 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28424 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
28425 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
28426 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28427 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28428 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28429 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28430 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28431 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28432 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28433 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28434 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28435 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28436 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28437 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28438 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28439 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28440 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28441 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28442 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28443 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28444 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28445 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28446 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28447 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28448 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
28449 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
28450 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28451 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28452 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28453 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28454 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28455 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28456 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28457 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28458 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
28459 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28460 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28461 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28462 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28463 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28464 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28465 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28466 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
28467 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28468 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28469 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28470 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28471 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28472 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
28473 { NULL
, NULL
, 0, NULL
}
28477 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28479 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
28480 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28482 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
28483 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28485 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
28486 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
28488 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
28489 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
28491 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
28492 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
28494 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
28495 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
28497 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
28498 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
28500 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
28501 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28503 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
28504 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
28506 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
28507 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
28509 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
28510 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
28512 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
28513 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
28515 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
28516 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28518 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
28519 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
28521 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
28522 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
28524 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
28525 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28527 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
28528 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28530 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
28531 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
28533 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
28534 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
28536 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
28537 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
28539 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
28540 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
28542 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
28543 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
28545 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
28546 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
28548 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
28549 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
28551 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
28552 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
28554 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
28555 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28557 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
28558 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28560 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
28561 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28563 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
28564 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28566 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
28567 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28569 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
28570 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
28572 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
28573 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
28575 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
28576 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28578 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
28579 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
28581 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
28582 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
28584 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
28585 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
28587 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
28588 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
28590 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
28591 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28593 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
28594 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28596 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
28597 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28599 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
28600 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
28602 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
28603 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
28605 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
28606 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
28608 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
28609 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28611 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
28612 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28614 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
28615 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
28617 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
28618 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
28620 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
28621 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
28623 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
28624 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
28626 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
28627 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
28629 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
28630 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
28632 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
28633 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
28635 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
28636 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28638 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
28639 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
28641 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
28642 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
28644 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
28645 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
28647 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
28648 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
28650 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
28651 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
28653 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
28654 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
28656 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
28657 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
28659 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
28660 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
28662 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
28663 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
28665 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
28666 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
28668 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
28669 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
28671 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
28672 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
28674 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
28675 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
28677 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
28678 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
28680 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
28681 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
28683 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
28684 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
28686 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
28687 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
28689 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
28690 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
28692 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
28693 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
28695 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
28696 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
28698 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
28699 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
28701 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
28702 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
28704 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
28705 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
28707 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
28708 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
28710 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
28711 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28713 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
28714 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
28716 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
28717 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
28719 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
28720 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
28722 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
28723 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
28725 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
28726 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
28728 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
28729 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28731 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
28732 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28734 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
28735 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
28737 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
28738 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
28740 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
28741 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
28743 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
28744 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
28746 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
28747 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
28749 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
28750 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
28752 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
28753 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
28755 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
28756 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
28758 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
28759 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
28761 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
28762 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28764 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
28765 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
28767 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
28768 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
28770 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
28771 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
28773 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
28774 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28776 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
28777 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
28779 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
28780 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
28782 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
28783 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
28785 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
28786 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
28788 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
28789 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
28791 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
28792 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
28794 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
28795 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28797 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
28798 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
28800 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
28801 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
28803 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
28804 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
28806 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
28807 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
28809 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
28810 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
28812 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
28813 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
28815 static void *_p_wxSizerTo_p_wxObject(void *x
) {
28816 return (void *)((wxObject
*) ((wxSizer
*) x
));
28818 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
28819 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
28821 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
28822 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28824 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
28825 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
28827 static void *_p_wxEventTo_p_wxObject(void *x
) {
28828 return (void *)((wxObject
*) ((wxEvent
*) x
));
28830 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
28831 return (void *)((wxObject
*) ((wxFontData
*) x
));
28833 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
28834 return (void *)((wxObject
*) ((wxPrintData
*) x
));
28836 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
28837 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
28839 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
28840 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
28842 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
28843 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
28845 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
28846 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
28848 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
28849 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
28851 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
28852 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
28854 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
28855 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
28857 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
28858 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
28860 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
28861 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28863 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
28864 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28866 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
28867 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28869 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
28870 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28872 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
28873 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
28875 static void *_p_wxControlTo_p_wxObject(void *x
) {
28876 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
28878 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
28879 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
28881 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
28882 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28884 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
28885 return (void *)((wxObject
*) ((wxFSFile
*) x
));
28887 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
28888 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
28890 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
28891 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
28893 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
28894 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
28896 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
28897 return (void *)((wxObject
*) ((wxColourData
*) x
));
28899 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
28900 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
28902 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
28903 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28905 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
28906 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
28908 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
28909 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
28911 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
28912 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
28914 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
28915 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
28917 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
28918 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
28920 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
28921 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
28923 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
28924 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28926 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
28927 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
28929 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
28930 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
28932 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
28933 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
28935 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
28936 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
28938 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
28939 return (void *)((wxObject
*) ((wxPrinter
*) x
));
28941 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
28942 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
28944 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
28945 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
28947 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
28948 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
28950 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
28951 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28953 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
28954 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28956 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
28957 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
28959 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
28960 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
28962 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
28963 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
28965 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
28966 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
28968 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
28969 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
28971 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
28972 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
28974 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
28975 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
28977 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
28978 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
28980 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
28981 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
28983 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
28984 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
28986 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
28987 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
28989 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
28990 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
28992 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
28993 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
28995 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
28996 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
28998 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
28999 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
29001 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
29002 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
29004 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
29005 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
29007 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
29008 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
29010 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
29011 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
29013 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
29014 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
29016 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
29017 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
29019 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
29020 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
29022 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
29023 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
29025 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
29026 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
29028 static void *_p_wxImageTo_p_wxObject(void *x
) {
29029 return (void *)((wxObject
*) ((wxImage
*) x
));
29031 static void *_p_wxFrameTo_p_wxObject(void *x
) {
29032 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
29034 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
29035 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
29037 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
29038 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
29040 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
29041 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
29043 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
29044 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
29046 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
29047 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
29049 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
29050 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29052 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
29053 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
29055 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
29056 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
29058 static void *_p_wxWindowTo_p_wxObject(void *x
) {
29059 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
29061 static void *_p_wxMenuTo_p_wxObject(void *x
) {
29062 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
29064 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
29065 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
29067 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
29068 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
29070 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
29071 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
29073 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
29074 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
29076 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
29077 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
29079 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
29080 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
29082 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
29083 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
29085 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
29086 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
29088 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
29089 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
29091 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
29092 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
29094 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
29095 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
29097 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
29098 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
29100 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
29101 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29103 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
29104 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
29106 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
29107 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
29109 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
29110 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
29112 static void *_p_wxPanelTo_p_wxObject(void *x
) {
29113 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
29115 static void *_p_wxDialogTo_p_wxObject(void *x
) {
29116 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
29118 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
29119 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
29121 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
29122 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
29124 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
29125 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
29127 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
29128 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
29130 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
29131 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
29133 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
29134 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
29136 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
29137 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29139 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
29140 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
29142 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
29143 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
29145 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
29146 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
29148 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
29149 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
29151 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
29152 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
29154 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
29155 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29157 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
29158 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
29160 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
29161 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
29163 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
29164 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29166 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
29167 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
29169 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
29170 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
29172 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
29173 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29175 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
29176 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29178 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
29179 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
29181 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
29182 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
29184 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
29185 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
29187 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
29188 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
29190 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
29191 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
29193 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
29194 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
29196 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
29197 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
29199 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
29200 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
29202 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
29203 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
29205 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
29206 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
29208 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
29209 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
29211 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
29212 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
29214 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
29215 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
29217 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
29218 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
29220 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
29221 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
29223 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
29224 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
29226 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
29227 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
29229 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
29230 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
29232 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
29233 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
29235 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
29236 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
29238 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
29239 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
29241 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
29242 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
29244 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
29245 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
29247 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
29248 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
29250 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
29251 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
29253 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
29254 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
29256 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
29257 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
29259 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
29260 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
29262 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
29263 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
29265 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
29266 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
29268 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
29269 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
29271 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
29272 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
29274 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
29275 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
29277 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
29278 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
29280 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
29281 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
29283 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
29284 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
29286 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
29287 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
29289 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
29290 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
29292 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
29293 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
29295 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
29296 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
29298 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
29299 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
29301 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
29302 return (void *)((wxWindow
*) ((wxPanel
*) x
));
29304 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
29305 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
29307 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
29308 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
29310 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
29311 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
29313 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
29314 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
29316 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
29317 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
29319 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
29320 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
29322 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
29323 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
29325 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
29326 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
29328 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
29329 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
29331 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
29332 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
29334 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
29335 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
29337 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
29338 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
29340 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
29341 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29343 static void *_p_wxControlTo_p_wxWindow(void *x
) {
29344 return (void *)((wxWindow
*) ((wxControl
*) x
));
29346 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
29347 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
29349 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
29350 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
29352 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
29353 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
29355 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
29356 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
29358 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
29359 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
29361 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
29362 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
29364 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
29365 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
29367 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
29368 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
29370 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
29371 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
29373 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
29374 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29376 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
29377 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
29379 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
29380 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
29382 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
29383 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
29385 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
29386 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
29388 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
29389 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
29391 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
29392 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
29394 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
29395 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29397 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
29398 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
29400 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
29401 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
29403 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
29404 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
29406 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
29407 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
29409 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
29410 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
29412 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
29413 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
29415 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
29416 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
29418 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
29419 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
29421 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
29422 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
29424 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
29425 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
29427 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
29428 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
29430 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
29431 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
29433 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
29434 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
29436 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
29437 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
29439 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
29440 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29442 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
29443 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
29445 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
29446 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
29448 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
29449 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
29451 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
29452 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
29454 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
29455 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
29457 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
29458 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29460 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
29461 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29463 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
29464 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
29466 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
29467 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29469 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
29470 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
29472 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
29473 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29475 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
29476 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
29478 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
29479 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29481 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
29482 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29484 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
29485 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
29487 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
29488 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29490 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
29491 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29493 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
29494 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
29496 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
29497 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29499 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}};
29500 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}};
29501 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}};
29502 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}};
29503 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}};
29504 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}};
29505 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}};
29506 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}};
29507 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}};
29508 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}};
29509 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}};
29510 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}};
29511 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}};
29512 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}};
29513 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}};
29514 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}};
29515 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}};
29516 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}};
29517 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}};
29518 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}};
29519 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}};
29520 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}};
29521 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}};
29522 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}};
29523 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}};
29524 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}};
29525 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}};
29526 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}};
29527 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}};
29528 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}};
29529 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}};
29530 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}};
29531 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}};
29532 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}};
29533 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}};
29534 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}};
29535 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}};
29536 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}};
29537 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}};
29538 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}};
29539 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}};
29540 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}};
29541 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}};
29542 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}};
29543 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}};
29544 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}};
29545 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}};
29546 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}};
29547 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}};
29548 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}};
29549 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}};
29550 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}};
29551 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}};
29552 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}};
29553 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}};
29554 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}};
29555 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}};
29556 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}};
29557 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}};
29558 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}};
29559 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}};
29560 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}};
29561 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}};
29562 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}};
29563 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}};
29564 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}};
29565 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}};
29566 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}};
29567 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}};
29568 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}};
29569 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}};
29570 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}};
29571 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}};
29572 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}};
29573 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}};
29574 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}};
29575 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}};
29576 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}};
29577 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}};
29578 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}};
29579 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}};
29580 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}};
29581 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}};
29582 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}};
29583 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}};
29584 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}};
29585 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}};
29586 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}};
29587 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}};
29588 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}};
29589 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}};
29590 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}};
29591 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}};
29592 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}};
29593 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}};
29594 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}};
29595 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}};
29597 static swig_type_info
*swig_types_initial
[] = {
29598 _swigt__p_wxQueryLayoutInfoEvent
,
29599 _swigt__p_wxPreviewFrame
,
29600 _swigt__p_wxPyPreviewFrame
,
29601 _swigt__p_wxPyPanel
,
29603 _swigt__p_wxFontData
,
29605 _swigt__p_wxPrintData
,
29606 _swigt__p_wxTaskBarIcon
,
29607 _swigt__p_wxPyTaskBarIcon
,
29608 _swigt__p_wxIconBundle
,
29609 _swigt__p_wxLayoutAlgorithm
,
29610 _swigt__p_wxFindDialogEvent
,
29611 _swigt__p_wxPreviewCanvas
,
29613 _swigt__p_wxSplitterEvent
,
29614 _swigt__p_wxRegion
,
29616 _swigt__std__ptrdiff_t
,
29617 _swigt__p_wxFindReplaceData
,
29622 _swigt__p_wxVisualAttributes
,
29623 _swigt__p_wxMDIChildFrame
,
29624 _swigt__p_wxColourData
,
29625 _swigt__p_wxNotifyEvent
,
29626 _swigt__p_wxPyWindow
,
29627 _swigt__p_form_ops_t
,
29628 _swigt__p_wxSplashScreen
,
29629 _swigt__p_wxPasswordEntryDialog
,
29630 _swigt__p_wxSingleChoiceDialog
,
29631 _swigt__p_wxMultiChoiceDialog
,
29632 _swigt__p_wxFileDialog
,
29633 _swigt__p_wxTextEntryDialog
,
29634 _swigt__p_wxMessageDialog
,
29635 _swigt__p_wxProgressDialog
,
29636 _swigt__p_wxFindReplaceDialog
,
29637 _swigt__p_wxPrinter
,
29638 _swigt__p_wxArrayInt
,
29639 _swigt__p_wxDuplexMode
,
29640 _swigt__p_wxEvtHandler
,
29641 _swigt__p_wxCalculateLayoutEvent
,
29642 _swigt__p_wxPyHtmlListBox
,
29643 _swigt__p_wxPyVListBox
,
29645 _swigt__p_wxStdDialogButtonSizer
,
29647 _swigt__p_wxMiniFrame
,
29649 _swigt__p_wxPyPrintout
,
29650 _swigt__p_wxTaskBarIconEvent
,
29651 _swigt__p_wxScrollWinEvent
,
29652 _swigt__p_wxPaperSize
,
29653 _swigt__p_wxStatusBar
,
29654 _swigt__p_wxMDIParentFrame
,
29656 _swigt__p_wxObject
,
29657 _swigt__p_unsigned_long
,
29658 _swigt__p_wxTipWindow
,
29659 _swigt__p_wxSashLayoutWindow
,
29660 _swigt__p_wxSplitterWindow
,
29661 _swigt__p_wxSplashScreenWindow
,
29662 _swigt__p_wxPyVScrolledWindow
,
29663 _swigt__p_wxPyPopupTransientWindow
,
29664 _swigt__p_wxPopupWindow
,
29665 _swigt__p_wxSashWindow
,
29666 _swigt__p_wxTopLevelWindow
,
29667 _swigt__p_wxWindow
,
29668 _swigt__p_wxScrolledWindow
,
29669 _swigt__p_wxMenuBar
,
29670 _swigt__p_wxMDIClientWindow
,
29671 _swigt__p_wxPyScrolledWindow
,
29672 _swigt__p_wxPrintPreview
,
29673 _swigt__p_wxSashEvent
,
29674 _swigt__p_wxString
,
29675 _swigt__p_wxPyPrintPreview
,
29676 _swigt__p_wxDirDialog
,
29677 _swigt__p_wxColourDialog
,
29678 _swigt__p_wxDialog
,
29680 _swigt__p_wxFontDialog
,
29681 _swigt__p_wxPageSetupDialog
,
29682 _swigt__p_wxPrintDialog
,
29683 _swigt__p_wxFileSystem
,
29684 _swigt__p_wxBitmap
,
29685 _swigt__unsigned_int
,
29686 _swigt__p_unsigned_int
,
29687 _swigt__p_unsigned_char
,
29688 _swigt__p_wxCommandEvent
,
29689 _swigt__p_wxPreviewControlBar
,
29690 _swigt__p_wxPyPreviewControlBar
,
29691 _swigt__p_wxColour
,
29692 _swigt__p_wxToolBar
,
29693 _swigt__p_wxPageSetupDialogData
,
29694 _swigt__p_wxPrintDialogData
,
29699 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29701 static swig_const_info swig_const_table
[] = {
29702 {0, 0, 0, 0.0, 0, 0}};
29713 /* Python-specific SWIG API */
29714 #define SWIG_newvarlink() SWIG_Python_newvarlink()
29715 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
29716 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
29718 /* -----------------------------------------------------------------------------
29719 * global variable support code.
29720 * ----------------------------------------------------------------------------- */
29722 typedef struct swig_globalvar
{
29723 char *name
; /* Name of global variable */
29724 PyObject
*(*get_attr
)(); /* Return the current value */
29725 int (*set_attr
)(PyObject
*); /* Set the value */
29726 struct swig_globalvar
*next
;
29729 typedef struct swig_varlinkobject
{
29731 swig_globalvar
*vars
;
29732 } swig_varlinkobject
;
29735 swig_varlink_repr(swig_varlinkobject
*v
) {
29737 return PyString_FromString("<Swig global variables>");
29741 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
29742 swig_globalvar
*var
;
29744 fprintf(fp
,"Swig global variables { ");
29745 for (var
= v
->vars
; var
; var
=var
->next
) {
29746 fprintf(fp
,"%s", var
->name
);
29747 if (var
->next
) fprintf(fp
,", ");
29749 fprintf(fp
," }\n");
29754 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
29755 swig_globalvar
*var
= v
->vars
;
29757 if (strcmp(var
->name
,n
) == 0) {
29758 return (*var
->get_attr
)();
29762 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
29767 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
29768 swig_globalvar
*var
= v
->vars
;
29770 if (strcmp(var
->name
,n
) == 0) {
29771 return (*var
->set_attr
)(p
);
29775 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
29779 static PyTypeObject varlinktype
= {
29780 PyObject_HEAD_INIT(0)
29781 0, /* Number of items in variable part (ob_size) */
29782 (char *)"swigvarlink", /* Type name (tp_name) */
29783 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
29784 0, /* Itemsize (tp_itemsize) */
29785 0, /* Deallocator (tp_dealloc) */
29786 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
29787 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
29788 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
29789 0, /* tp_compare */
29790 (reprfunc
) swig_varlink_repr
, /* tp_repr */
29791 0, /* tp_as_number */
29792 0, /* tp_as_sequence */
29793 0, /* tp_as_mapping */
29797 0, /* tp_getattro */
29798 0, /* tp_setattro */
29799 0, /* tp_as_buffer */
29802 #if PY_VERSION_HEX >= 0x02000000
29803 0, /* tp_traverse */
29806 #if PY_VERSION_HEX >= 0x02010000
29807 0, /* tp_richcompare */
29808 0, /* tp_weaklistoffset */
29810 #if PY_VERSION_HEX >= 0x02020000
29811 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
29813 #if PY_VERSION_HEX >= 0x02030000
29816 #ifdef COUNT_ALLOCS
29817 0,0,0,0 /* tp_alloc -> tp_next */
29821 /* Create a variable linking object for use later */
29823 SWIG_Python_newvarlink(void) {
29824 swig_varlinkobject
*result
= 0;
29825 result
= PyMem_NEW(swig_varlinkobject
,1);
29826 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
29827 result
->ob_type
= &varlinktype
;
29829 result
->ob_refcnt
= 0;
29830 Py_XINCREF((PyObject
*) result
);
29831 return ((PyObject
*) result
);
29835 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
29836 swig_varlinkobject
*v
;
29837 swig_globalvar
*gv
;
29838 v
= (swig_varlinkobject
*) p
;
29839 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
29840 gv
->name
= (char *) malloc(strlen(name
)+1);
29841 strcpy(gv
->name
,name
);
29842 gv
->get_attr
= get_attr
;
29843 gv
->set_attr
= set_attr
;
29844 gv
->next
= v
->vars
;
29848 /* -----------------------------------------------------------------------------
29849 * constants/methods manipulation
29850 * ----------------------------------------------------------------------------- */
29852 /* Install Constants */
29854 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
29857 for (i
= 0; constants
[i
].type
; i
++) {
29858 switch(constants
[i
].type
) {
29860 obj
= PyInt_FromLong(constants
[i
].lvalue
);
29862 case SWIG_PY_FLOAT
:
29863 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
29865 case SWIG_PY_STRING
:
29866 if (constants
[i
].pvalue
) {
29867 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
29869 Py_INCREF(Py_None
);
29873 case SWIG_PY_POINTER
:
29874 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
29876 case SWIG_PY_BINARY
:
29877 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
29884 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
29890 /* -----------------------------------------------------------------------------*/
29891 /* Fix SwigMethods to carry the callback ptrs when needed */
29892 /* -----------------------------------------------------------------------------*/
29895 SWIG_Python_FixMethods(PyMethodDef
*methods
,
29896 swig_const_info
*const_table
,
29897 swig_type_info
**types
,
29898 swig_type_info
**types_initial
) {
29900 for (i
= 0; methods
[i
].ml_name
; ++i
) {
29901 char *c
= methods
[i
].ml_doc
;
29902 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
29904 swig_const_info
*ci
= 0;
29905 char *name
= c
+ 10;
29906 for (j
= 0; const_table
[j
].type
; j
++) {
29907 if (strncmp(const_table
[j
].name
, name
,
29908 strlen(const_table
[j
].name
)) == 0) {
29909 ci
= &(const_table
[j
]);
29914 size_t shift
= (ci
->ptype
) - types
;
29915 swig_type_info
*ty
= types_initial
[shift
];
29916 size_t ldoc
= (c
- methods
[i
].ml_doc
);
29917 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
29918 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
29920 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
29921 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
29923 strncpy(buff
, "swig_ptr: ", 10);
29925 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
29926 methods
[i
].ml_doc
= ndoc
;
29932 /* -----------------------------------------------------------------------------*
29933 * Initialize type list
29934 * -----------------------------------------------------------------------------*/
29936 #if PY_MAJOR_VERSION < 2
29937 /* PyModule_AddObject function was introduced in Python 2.0. The following function
29938 is copied out of Python/modsupport.c in python version 2.3.4 */
29940 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
29943 if (!PyModule_Check(m
)) {
29944 PyErr_SetString(PyExc_TypeError
,
29945 "PyModule_AddObject() needs module as first arg");
29949 PyErr_SetString(PyExc_TypeError
,
29950 "PyModule_AddObject() needs non-NULL value");
29954 dict
= PyModule_GetDict(m
);
29955 if (dict
== NULL
) {
29956 /* Internal error -- modules must have a dict! */
29957 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
29958 PyModule_GetName(m
));
29961 if (PyDict_SetItemString(dict
, name
, o
))
29968 static swig_type_info
**
29969 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
29970 static PyMethodDef swig_empty_runtime_method_table
[] = {
29972 NULL
, NULL
, 0, NULL
29976 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
29977 swig_empty_runtime_method_table
);
29978 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
29979 if (pointer
&& module) {
29980 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
29982 return type_list_handle
;
29985 static swig_type_info
**
29986 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
29987 swig_type_info
**type_pointer
;
29989 /* first check if module already created */
29990 type_pointer
= SWIG_Python_GetTypeListHandle();
29991 if (type_pointer
) {
29992 return type_pointer
;
29994 /* create a new module and variable */
29995 return SWIG_Python_SetTypeListHandle(type_list_handle
);
30003 /* -----------------------------------------------------------------------------*
30004 * Partial Init method
30005 * -----------------------------------------------------------------------------*/
30007 #ifdef SWIG_LINK_RUNTIME
30011 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
30017 SWIGEXPORT(void) SWIG_init(void) {
30018 static PyObject
*SWIG_globals
= 0;
30019 static int typeinit
= 0;
30022 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
30024 /* Fix SwigMethods to carry the callback ptrs when needed */
30025 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
30027 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
30028 d
= PyModule_GetDict(m
);
30031 #ifdef SWIG_LINK_RUNTIME
30032 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
30034 # ifndef SWIG_STATIC_RUNTIME
30035 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
30038 for (i
= 0; swig_types_initial
[i
]; i
++) {
30039 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
30043 SWIG_InstallConstants(d
,swig_const_table
);
30045 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
30046 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
30047 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
30048 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
30049 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
30051 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_From_int((int)(wxSTAY_ON_TOP
)));
30054 PyDict_SetItemString(d
,"ICONIZE", SWIG_From_int((int)(wxICONIZE
)));
30057 PyDict_SetItemString(d
,"MINIMIZE", SWIG_From_int((int)(wxMINIMIZE
)));
30060 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_From_int((int)(wxMAXIMIZE
)));
30063 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_From_int((int)(wxCLOSE_BOX
)));
30066 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_From_int((int)(wxTHICK_FRAME
)));
30069 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_From_int((int)(wxSYSTEM_MENU
)));
30072 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_From_int((int)(wxMINIMIZE_BOX
)));
30075 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_From_int((int)(wxMAXIMIZE_BOX
)));
30078 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_From_int((int)(wxTINY_CAPTION_HORIZ
)));
30081 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_From_int((int)(wxTINY_CAPTION_VERT
)));
30084 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_From_int((int)(wxRESIZE_BOX
)));
30087 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_From_int((int)(wxRESIZE_BORDER
)));
30090 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_From_int((int)(wxDIALOG_NO_PARENT
)));
30093 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)(wxDEFAULT_FRAME_STYLE
)));
30096 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)(wxDEFAULT_DIALOG_STYLE
)));
30099 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_From_int((int)(wxFRAME_TOOL_WINDOW
)));
30102 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)(wxFRAME_FLOAT_ON_PARENT
)));
30105 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)(wxFRAME_NO_WINDOW_MENU
)));
30108 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_From_int((int)(wxFRAME_NO_TASKBAR
)));
30111 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_From_int((int)(wxFRAME_SHAPED
)));
30114 PyDict_SetItemString(d
,"FRAME_DRAWER", SWIG_From_int((int)(wxFRAME_DRAWER
)));
30117 PyDict_SetItemString(d
,"FRAME_EX_METAL", SWIG_From_int((int)(wxFRAME_EX_METAL
)));
30120 PyDict_SetItemString(d
,"DIALOG_EX_METAL", SWIG_From_int((int)(wxDIALOG_EX_METAL
)));
30123 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_From_int((int)(wxDIALOG_MODAL
)));
30126 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_From_int((int)(wxDIALOG_MODELESS
)));
30129 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_From_int((int)(wxUSER_COLOURS
)));
30132 PyDict_SetItemString(d
,"NO_3D", SWIG_From_int((int)(wxNO_3D
)));
30135 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)(wxFULLSCREEN_NOMENUBAR
)));
30138 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)(wxFULLSCREEN_NOTOOLBAR
)));
30141 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)(wxFULLSCREEN_NOSTATUSBAR
)));
30144 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_From_int((int)(wxFULLSCREEN_NOBORDER
)));
30147 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)(wxFULLSCREEN_NOCAPTION
)));
30150 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_From_int((int)(wxFULLSCREEN_ALL
)));
30153 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)(wxTOPLEVEL_EX_DIALOG
)));
30156 PyDict_SetItemString(d
,"USER_ATTENTION_INFO", SWIG_From_int((int)(wxUSER_ATTENTION_INFO
)));
30159 PyDict_SetItemString(d
,"USER_ATTENTION_ERROR", SWIG_From_int((int)(wxUSER_ATTENTION_ERROR
)));
30162 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_PARENT
)));
30165 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_SCREEN
)));
30168 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_From_int((int)(wxSPLASH_NO_CENTRE
)));
30171 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_From_int((int)(wxSPLASH_TIMEOUT
)));
30174 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)(wxSPLASH_NO_TIMEOUT
)));
30177 PyDict_SetItemString(d
,"SB_NORMAL", SWIG_From_int((int)(wxSB_NORMAL
)));
30180 PyDict_SetItemString(d
,"SB_FLAT", SWIG_From_int((int)(wxSB_FLAT
)));
30183 PyDict_SetItemString(d
,"SB_RAISED", SWIG_From_int((int)(wxSB_RAISED
)));
30185 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
30187 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_From_int((int)(wxSP_NOBORDER
)));
30190 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_From_int((int)(wxSP_NOSASH
)));
30193 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)(wxSP_PERMIT_UNSPLIT
)));
30196 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_From_int((int)(wxSP_LIVE_UPDATE
)));
30199 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_From_int((int)(wxSP_3DSASH
)));
30202 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_From_int((int)(wxSP_3DBORDER
)));
30205 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_From_int((int)(wxSP_NO_XP_THEME
)));
30208 PyDict_SetItemString(d
,"SP_BORDER", SWIG_From_int((int)(wxSP_BORDER
)));
30211 PyDict_SetItemString(d
,"SP_3D", SWIG_From_int((int)(wxSP_3D
)));
30214 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_From_int((int)(wxSPLIT_HORIZONTAL
)));
30217 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_From_int((int)(wxSPLIT_VERTICAL
)));
30220 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_From_int((int)(wxSPLIT_DRAG_NONE
)));
30223 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)(wxSPLIT_DRAG_DRAGGING
)));
30226 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSPLIT_DRAG_LEFT_DOWN
)));
30228 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
30229 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
30230 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
30231 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
30232 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
30233 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
30235 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_From_int((int)(wxSASH_DRAG_NONE
)));
30238 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_From_int((int)(wxSASH_DRAG_DRAGGING
)));
30241 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSASH_DRAG_LEFT_DOWN
)));
30244 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_From_int((int)(wxSW_NOBORDER
)));
30247 PyDict_SetItemString(d
,"SW_BORDER", SWIG_From_int((int)(wxSW_BORDER
)));
30250 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_From_int((int)(wxSW_3DSASH
)));
30253 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_From_int((int)(wxSW_3DBORDER
)));
30256 PyDict_SetItemString(d
,"SW_3D", SWIG_From_int((int)(wxSW_3D
)));
30259 PyDict_SetItemString(d
,"SASH_TOP", SWIG_From_int((int)(wxSASH_TOP
)));
30262 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_From_int((int)(wxSASH_RIGHT
)));
30265 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_From_int((int)(wxSASH_BOTTOM
)));
30268 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_From_int((int)(wxSASH_LEFT
)));
30271 PyDict_SetItemString(d
,"SASH_NONE", SWIG_From_int((int)(wxSASH_NONE
)));
30274 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_From_int((int)(wxSASH_STATUS_OK
)));
30277 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)(wxSASH_STATUS_OUT_OF_RANGE
)));
30279 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
30281 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_From_int((int)(wxLAYOUT_HORIZONTAL
)));
30284 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_From_int((int)(wxLAYOUT_VERTICAL
)));
30287 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_From_int((int)(wxLAYOUT_NONE
)));
30290 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_From_int((int)(wxLAYOUT_TOP
)));
30293 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_From_int((int)(wxLAYOUT_LEFT
)));
30296 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_From_int((int)(wxLAYOUT_RIGHT
)));
30299 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_From_int((int)(wxLAYOUT_BOTTOM
)));
30302 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_From_int((int)(wxLAYOUT_LENGTH_Y
)));
30305 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_From_int((int)(wxLAYOUT_LENGTH_X
)));
30308 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)(wxLAYOUT_MRU_LENGTH
)));
30311 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_From_int((int)(wxLAYOUT_QUERY
)));
30313 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
30314 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
30315 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
30317 // Map renamed classes back to their common name for OOR
30318 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
30319 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
30320 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
30322 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
30323 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
30324 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
30325 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
30326 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
30327 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
30328 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
30329 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
30330 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
30331 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
30332 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
30333 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
30334 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
30336 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_From_int((int)(wxCHOICEDLG_STYLE
)));
30339 PyDict_SetItemString(d
,"TextEntryDialogStyle", SWIG_From_int((int)(wxTextEntryDialogStyle
)));
30341 SWIG_addvarlink(SWIG_globals
,(char*)"GetPasswordFromUserPromptStr",_wrap_GetPasswordFromUserPromptStr_get
, _wrap_GetPasswordFromUserPromptStr_set
);
30343 PyDict_SetItemString(d
,"FR_DOWN", SWIG_From_int((int)(wxFR_DOWN
)));
30346 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_From_int((int)(wxFR_WHOLEWORD
)));
30349 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_From_int((int)(wxFR_MATCHCASE
)));
30352 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_From_int((int)(wxFR_REPLACEDIALOG
)));
30355 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_From_int((int)(wxFR_NOUPDOWN
)));
30358 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_From_int((int)(wxFR_NOMATCHCASE
)));
30361 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_From_int((int)(wxFR_NOWHOLEWORD
)));
30363 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
30364 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
30365 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
30366 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
30367 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
30369 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_From_int((int)(4001)));
30372 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_From_int((int)(4001)));
30375 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_From_int((int)(4002)));
30378 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_From_int((int)(4003)));
30381 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_From_int((int)(4004)));
30384 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_From_int((int)(4005)));
30387 PyDict_SetItemString(d
,"IDM_WINDOWPREV", SWIG_From_int((int)(4006)));
30390 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_From_int((int)(4100)));
30393 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_From_int((int)(4600)));
30395 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
30396 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
30398 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_From_int((int)(wxPRINT_MODE_NONE
)));
30401 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_From_int((int)(wxPRINT_MODE_PREVIEW
)));
30404 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_From_int((int)(wxPRINT_MODE_FILE
)));
30407 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_From_int((int)(wxPRINT_MODE_PRINTER
)));
30410 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_From_int((int)(wxPRINT_MODE_STREAM
)));
30413 PyDict_SetItemString(d
,"PRINTBIN_DEFAULT", SWIG_From_int((int)(wxPRINTBIN_DEFAULT
)));
30416 PyDict_SetItemString(d
,"PRINTBIN_ONLYONE", SWIG_From_int((int)(wxPRINTBIN_ONLYONE
)));
30419 PyDict_SetItemString(d
,"PRINTBIN_LOWER", SWIG_From_int((int)(wxPRINTBIN_LOWER
)));
30422 PyDict_SetItemString(d
,"PRINTBIN_MIDDLE", SWIG_From_int((int)(wxPRINTBIN_MIDDLE
)));
30425 PyDict_SetItemString(d
,"PRINTBIN_MANUAL", SWIG_From_int((int)(wxPRINTBIN_MANUAL
)));
30428 PyDict_SetItemString(d
,"PRINTBIN_ENVELOPE", SWIG_From_int((int)(wxPRINTBIN_ENVELOPE
)));
30431 PyDict_SetItemString(d
,"PRINTBIN_ENVMANUAL", SWIG_From_int((int)(wxPRINTBIN_ENVMANUAL
)));
30434 PyDict_SetItemString(d
,"PRINTBIN_AUTO", SWIG_From_int((int)(wxPRINTBIN_AUTO
)));
30437 PyDict_SetItemString(d
,"PRINTBIN_TRACTOR", SWIG_From_int((int)(wxPRINTBIN_TRACTOR
)));
30440 PyDict_SetItemString(d
,"PRINTBIN_SMALLFMT", SWIG_From_int((int)(wxPRINTBIN_SMALLFMT
)));
30443 PyDict_SetItemString(d
,"PRINTBIN_LARGEFMT", SWIG_From_int((int)(wxPRINTBIN_LARGEFMT
)));
30446 PyDict_SetItemString(d
,"PRINTBIN_LARGECAPACITY", SWIG_From_int((int)(wxPRINTBIN_LARGECAPACITY
)));
30449 PyDict_SetItemString(d
,"PRINTBIN_CASSETTE", SWIG_From_int((int)(wxPRINTBIN_CASSETTE
)));
30452 PyDict_SetItemString(d
,"PRINTBIN_FORMSOURCE", SWIG_From_int((int)(wxPRINTBIN_FORMSOURCE
)));
30455 PyDict_SetItemString(d
,"PRINTBIN_USER", SWIG_From_int((int)(wxPRINTBIN_USER
)));
30458 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_From_int((int)(wxPRINTER_NO_ERROR
)));
30461 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_From_int((int)(wxPRINTER_CANCELLED
)));
30464 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_From_int((int)(wxPRINTER_ERROR
)));
30467 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_From_int((int)(wxPREVIEW_PRINT
)));
30470 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_From_int((int)(wxPREVIEW_PREVIOUS
)));
30473 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_From_int((int)(wxPREVIEW_NEXT
)));
30476 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_From_int((int)(wxPREVIEW_ZOOM
)));
30479 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_From_int((int)(wxPREVIEW_FIRST
)));
30482 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_From_int((int)(wxPREVIEW_LAST
)));
30485 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_From_int((int)(wxPREVIEW_GOTO
)));
30488 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_From_int((int)(wxPREVIEW_DEFAULT
)));
30491 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_From_int((int)(wxID_PREVIEW_CLOSE
)));
30494 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_From_int((int)(wxID_PREVIEW_NEXT
)));
30497 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)(wxID_PREVIEW_PREVIOUS
)));
30500 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_From_int((int)(wxID_PREVIEW_PRINT
)));
30503 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_From_int((int)(wxID_PREVIEW_ZOOM
)));
30506 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_From_int((int)(wxID_PREVIEW_FIRST
)));
30509 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_From_int((int)(wxID_PREVIEW_LAST
)));
30512 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_From_int((int)(wxID_PREVIEW_GOTO
)));
30515 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");