1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_TypeNameComp(const char *f1
, const char *l1
,
113 const char *f2
, const char *l2
) {
114 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
115 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
116 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
117 if (*f1
!= *f2
) return *f1
- *f2
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_TypeRegisterTL(swig_type_info
**tl
, swig_type_info
*ti
) {
145 swig_type_info
*tc
, *head
, *ret
, *next
;
146 /* Check to see if this type has already been registered */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc
->str
&& ti
->str
&& !strstr(tc
->str
,"|")) {
155 typeequiv
= SWIG_TypeEquiv(ti
->str
,tc
->str
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
200 if (strcmp(s
->name
,c
) == 0) {
201 if (s
== ty
->next
) return s
;
202 /* Move s to the top of the linked list */
203 s
->prev
->next
= s
->next
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
232 swig_type_info
*lastty
= ty
;
233 if (!ty
|| !ty
->dcast
) return ty
;
234 while (ty
&& (ty
->dcast
)) {
235 ty
= (*ty
->dcast
)(ptr
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_TypePrettyName(const swig_type_info
*type
) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_TypeClientDataTL(swig_type_info
*tl
, swig_type_info
*ti
, void *clientdata
) {
289 swig_type_info
*tc
, *equiv
;
290 if (ti
->clientdata
) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti
->clientdata
= clientdata
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
312 static char hex
[17] = "0123456789abcdef";
313 unsigned char *u
= (unsigned char *) ptr
;
314 const unsigned char *eu
= u
+ sz
;
315 register unsigned char uu
;
316 for (; u
!= eu
; ++u
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
329 register unsigned char *u
= (unsigned char *) ptr
;
330 register const unsigned char *eu
= u
+ sz
;
331 for (; u
!= eu
; ++u
) {
332 register int d
= *(c
++);
333 register unsigned char uu
= 0;
334 if ((d
>= '0') && (d
<= '9'))
335 uu
= ((d
- '0') << 4);
336 else if ((d
>= 'a') && (d
<= 'f'))
337 uu
= ((d
- ('a'-10)) << 4);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
649 char result
[SWIG_BUFFER_SIZE
];
650 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
651 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
661 char result
[SWIG_BUFFER_SIZE
];
662 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
663 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
724 static PyNumberMethods PySwigObject_as_number
= {
725 (binaryfunc
)0, /*nb_add*/
726 (binaryfunc
)0, /*nb_subtract*/
727 (binaryfunc
)0, /*nb_multiply*/
728 (binaryfunc
)0, /*nb_divide*/
729 (binaryfunc
)0, /*nb_remainder*/
730 (binaryfunc
)0, /*nb_divmod*/
731 (ternaryfunc
)0,/*nb_power*/
732 (unaryfunc
)0, /*nb_negative*/
733 (unaryfunc
)0, /*nb_positive*/
734 (unaryfunc
)0, /*nb_absolute*/
735 (inquiry
)0, /*nb_nonzero*/
742 (coercion
)0, /*nb_coerce*/
743 (unaryfunc
)PySwigObject_long
, /*nb_int*/
744 (unaryfunc
)PySwigObject_long
, /*nb_long*/
745 (unaryfunc
)0, /*nb_float*/
746 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
747 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
764 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
765 (printfunc
)PySwigObject_print
, /*tp_print*/
766 (getattrfunc
)0, /*tp_getattr*/
767 (setattrfunc
)0, /*tp_setattr*/
768 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
769 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
770 &PySwigObject_as_number
, /*tp_as_number*/
771 0, /*tp_as_sequence*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
861 char result
[SWIG_BUFFER_SIZE
];
862 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
872 char result
[SWIG_BUFFER_SIZE
];
873 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
874 return PyString_FromFormat("%s%s", result
, v
->desc
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
916 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
917 (printfunc
)PySwigPacked_print
, /*tp_print*/
918 (getattrfunc
)0, /*tp_getattr*/
919 (setattrfunc
)0, /*tp_setattr*/
920 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
921 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1044 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1046 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1050 SWIGRUNTIMEINLINE
void
1051 SWIG_Python_NullRef(const char *type
)
1054 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1056 PyErr_Format(PyExc_TypeError
, "null reference was received");
1061 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1063 if (PyErr_Occurred()) {
1065 PyObject
*value
= 0;
1066 PyObject
*traceback
= 0;
1067 PyErr_Fetch(&type
, &value
, &traceback
);
1069 PyObject
*old_str
= PyObject_Str(value
);
1073 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1075 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1086 SWIG_Python_ArgFail(int argnum
)
1088 if (PyErr_Occurred()) {
1089 /* add information about failing argument */
1091 sprintf(mesg
, "argument number %d:", argnum
);
1092 return SWIG_Python_AddErrMesg(mesg
, 1);
1099 /* -----------------------------------------------------------------------------
1100 * pointers/data manipulation
1101 * ----------------------------------------------------------------------------- */
1103 /* Convert a pointer value */
1105 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1108 static PyObject
*SWIG_this
= 0;
1110 PyObject
*pyobj
= 0;
1114 if (obj
== Py_None
) {
1119 #ifdef SWIG_COBJECT_TYPES
1120 if (!(PySwigObject_Check(obj
))) {
1122 SWIG_this
= PyString_FromString("this");
1124 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1126 if (!obj
) goto type_error
;
1127 if (!PySwigObject_Check(obj
)) {
1132 vptr
= PySwigObject_AsVoidPtr(obj
);
1133 c
= (const char *) PySwigObject_GetDesc(obj
);
1134 if (newref
) { Py_DECREF(obj
); }
1137 if (!(PyString_Check(obj
))) {
1139 SWIG_this
= PyString_FromString("this");
1141 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1143 if (!obj
) goto type_error
;
1144 if (!PyString_Check(obj
)) {
1149 c
= PyString_AS_STRING(obj
);
1150 /* Pointer values must start with leading underscore */
1151 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1152 if (newref
) { Py_DECREF(obj
); }
1153 if (!c
) goto type_error
;
1159 tc
= SWIG_TypeCheck(c
,ty
);
1160 if (!tc
) goto type_error
;
1161 *ptr
= SWIG_TypeCast(tc
,vptr
);
1166 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1167 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1173 if (pyobj
&& !obj
) {
1175 if (PyCFunction_Check(obj
)) {
1176 /* here we get the method pointer for callbacks */
1177 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1178 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1180 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1181 if (!c
) goto type_error
;
1186 if (flags
& SWIG_POINTER_EXCEPTION
) {
1188 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1190 SWIG_Python_TypeError("C/C++ pointer", obj
);
1196 /* Convert a pointer value, signal an exception on a type mismatch */
1198 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1200 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1202 if (flags
& SWIG_POINTER_EXCEPTION
) {
1203 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1204 SWIG_Python_ArgFail(argnum
);
1210 /* Convert a packed value value */
1212 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1216 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1217 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1219 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1220 c
= PyString_AS_STRING(obj
);
1221 /* Pointer values must start with leading underscore */
1222 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1224 if (!c
) goto type_error
;
1226 tc
= SWIG_TypeCheck(c
,ty
);
1227 if (!tc
) goto type_error
;
1233 if (flags
& SWIG_POINTER_EXCEPTION
) {
1235 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1237 SWIG_Python_TypeError("C/C++ packed data", obj
);
1243 /* Create a new array object */
1244 SWIGRUNTIME PyObject
*
1245 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1251 #ifdef SWIG_COBJECT_TYPES
1252 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1255 char result
[SWIG_BUFFER_SIZE
];
1256 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1257 PyString_FromString(result
) : 0;
1260 if (!robj
|| (robj
== Py_None
)) return robj
;
1261 if (type
->clientdata
) {
1263 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1265 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1269 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1277 SWIGRUNTIME PyObject
*
1278 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1284 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1285 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1288 char result
[SWIG_BUFFER_SIZE
];
1289 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1290 PyString_FromString(result
) : 0;
1296 /* -----------------------------------------------------------------------------*
1298 * -----------------------------------------------------------------------------*/
1300 #ifdef SWIG_LINK_RUNTIME
1301 void *SWIG_ReturnGlobalTypeList(void *);
1304 SWIGRUNTIME swig_type_info
**
1305 SWIG_Python_GetTypeListHandle() {
1306 static void *type_pointer
= (void *)0;
1307 /* first check if module already created */
1308 if (!type_pointer
) {
1309 #ifdef SWIG_LINK_RUNTIME
1310 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1312 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1313 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1314 if (PyErr_Occurred()) {
1316 type_pointer
= (void *)0;
1320 return (swig_type_info
**) type_pointer
;
1324 Search for a swig_type_info structure
1326 SWIGRUNTIMEINLINE swig_type_info
*
1327 SWIG_Python_GetTypeList() {
1328 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1329 return tlh
? *tlh
: (swig_type_info
*)0;
1332 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1339 /* -------- TYPES TABLE (BEGIN) -------- */
1341 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
1342 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
1343 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
1344 #define SWIGTYPE_p_wxPyPanel swig_types[3]
1345 #define SWIGTYPE_p_wxMenu swig_types[4]
1346 #define SWIGTYPE_p_wxFontData swig_types[5]
1347 #define SWIGTYPE_p_wxEvent swig_types[6]
1348 #define SWIGTYPE_p_wxPrintData swig_types[7]
1349 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
1350 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[9]
1351 #define SWIGTYPE_p_wxIconBundle swig_types[10]
1352 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[11]
1353 #define SWIGTYPE_p_wxFindDialogEvent swig_types[12]
1354 #define SWIGTYPE_p_wxPreviewCanvas swig_types[13]
1355 #define SWIGTYPE_p_wxFont swig_types[14]
1356 #define SWIGTYPE_p_wxSplitterEvent swig_types[15]
1357 #define SWIGTYPE_p_wxRegion swig_types[16]
1358 #define SWIGTYPE_ptrdiff_t swig_types[17]
1359 #define SWIGTYPE_std__ptrdiff_t swig_types[18]
1360 #define SWIGTYPE_p_wxFindReplaceData swig_types[19]
1361 #define SWIGTYPE_p_int swig_types[20]
1362 #define SWIGTYPE_p_wxSize swig_types[21]
1363 #define SWIGTYPE_p_wxDC swig_types[22]
1364 #define SWIGTYPE_p_wxIcon swig_types[23]
1365 #define SWIGTYPE_p_wxVisualAttributes swig_types[24]
1366 #define SWIGTYPE_p_wxMDIChildFrame swig_types[25]
1367 #define SWIGTYPE_p_wxColourData swig_types[26]
1368 #define SWIGTYPE_p_wxNotifyEvent swig_types[27]
1369 #define SWIGTYPE_p_wxPyWindow swig_types[28]
1370 #define SWIGTYPE_p_form_ops_t swig_types[29]
1371 #define SWIGTYPE_p_wxSplashScreen swig_types[30]
1372 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[31]
1373 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[32]
1374 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[33]
1375 #define SWIGTYPE_p_wxFileDialog swig_types[34]
1376 #define SWIGTYPE_p_wxTextEntryDialog swig_types[35]
1377 #define SWIGTYPE_p_wxMessageDialog swig_types[36]
1378 #define SWIGTYPE_p_wxProgressDialog swig_types[37]
1379 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[38]
1380 #define SWIGTYPE_p_wxPrinter swig_types[39]
1381 #define SWIGTYPE_p_wxArrayInt swig_types[40]
1382 #define SWIGTYPE_p_wxDuplexMode swig_types[41]
1383 #define SWIGTYPE_p_wxEvtHandler swig_types[42]
1384 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[43]
1385 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[44]
1386 #define SWIGTYPE_p_wxPyVListBox swig_types[45]
1387 #define SWIGTYPE_p_wxRect swig_types[46]
1388 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[47]
1389 #define SWIGTYPE_p_char swig_types[48]
1390 #define SWIGTYPE_p_wxMiniFrame swig_types[49]
1391 #define SWIGTYPE_p_wxFrame swig_types[50]
1392 #define SWIGTYPE_p_wxPyPrintout swig_types[51]
1393 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[52]
1394 #define SWIGTYPE_p_wxScrollWinEvent swig_types[53]
1395 #define SWIGTYPE_p_wxPaperSize swig_types[54]
1396 #define SWIGTYPE_p_wxStatusBar swig_types[55]
1397 #define SWIGTYPE_p_wxMDIParentFrame swig_types[56]
1398 #define SWIGTYPE_p_wxPoint swig_types[57]
1399 #define SWIGTYPE_p_wxObject swig_types[58]
1400 #define SWIGTYPE_p_unsigned_long swig_types[59]
1401 #define SWIGTYPE_p_wxTipWindow swig_types[60]
1402 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[61]
1403 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[62]
1404 #define SWIGTYPE_p_wxSplitterWindow swig_types[63]
1405 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[64]
1406 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[65]
1407 #define SWIGTYPE_p_wxPopupWindow swig_types[66]
1408 #define SWIGTYPE_p_wxSashWindow swig_types[67]
1409 #define SWIGTYPE_p_wxTopLevelWindow swig_types[68]
1410 #define SWIGTYPE_p_wxWindow swig_types[69]
1411 #define SWIGTYPE_p_wxScrolledWindow swig_types[70]
1412 #define SWIGTYPE_p_wxMenuBar swig_types[71]
1413 #define SWIGTYPE_p_wxMDIClientWindow swig_types[72]
1414 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[73]
1415 #define SWIGTYPE_p_wxPrintPreview swig_types[74]
1416 #define SWIGTYPE_p_wxSashEvent swig_types[75]
1417 #define SWIGTYPE_p_wxString swig_types[76]
1418 #define SWIGTYPE_p_wxPyPrintPreview swig_types[77]
1419 #define SWIGTYPE_p_wxDirDialog swig_types[78]
1420 #define SWIGTYPE_p_wxColourDialog swig_types[79]
1421 #define SWIGTYPE_p_wxDialog swig_types[80]
1422 #define SWIGTYPE_p_wxPanel swig_types[81]
1423 #define SWIGTYPE_p_wxFontDialog swig_types[82]
1424 #define SWIGTYPE_p_wxPageSetupDialog swig_types[83]
1425 #define SWIGTYPE_p_wxPrintDialog swig_types[84]
1426 #define SWIGTYPE_p_wxFileSystem swig_types[85]
1427 #define SWIGTYPE_p_wxBitmap swig_types[86]
1428 #define SWIGTYPE_unsigned_int swig_types[87]
1429 #define SWIGTYPE_p_unsigned_int swig_types[88]
1430 #define SWIGTYPE_p_unsigned_char swig_types[89]
1431 #define SWIGTYPE_p_wxCommandEvent swig_types[90]
1432 #define SWIGTYPE_p_wxPreviewControlBar swig_types[91]
1433 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[92]
1434 #define SWIGTYPE_p_wxColour swig_types[93]
1435 #define SWIGTYPE_p_wxToolBar swig_types[94]
1436 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[95]
1437 #define SWIGTYPE_p_wxPrintDialogData swig_types[96]
1438 static swig_type_info
*swig_types
[98];
1440 /* -------- TYPES TABLE (END) -------- */
1443 /*-----------------------------------------------
1444 @(target):= _windows_.so
1445 ------------------------------------------------*/
1446 #define SWIG_init init_windows_
1448 #define SWIG_name "_windows_"
1450 #include "wx/wxPython/wxPython.h"
1451 #include "wx/wxPython/pyclasses.h"
1454 static const wxString
wxPyEmptyString(wxEmptyString
);
1455 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1463 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1466 if (value
< min_value
) {
1468 PyErr_Format(PyExc_OverflowError
,
1469 "value %ld is less than '%s' minimum %ld",
1470 value
, errmsg
, min_value
);
1473 } else if (value
> max_value
) {
1475 PyErr_Format(PyExc_OverflowError
,
1476 "value %ld is greater than '%s' maximum %ld",
1477 value
, errmsg
, max_value
);
1486 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1488 if (PyNumber_Check(obj
)) {
1489 if (val
) *val
= PyInt_AsLong(obj
);
1493 SWIG_type_error("number", obj
);
1499 #if INT_MAX != LONG_MAX
1501 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1503 const char* errmsg
= val
? "int" : (char*)0;
1505 if (SWIG_AsVal_long(obj
, &v
)) {
1506 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1507 if (val
) *val
= (int)(v
);
1516 SWIG_type_error(errmsg
, obj
);
1522 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1524 return SWIG_AsVal_long(obj
,(long*)val
);
1530 SWIG_As_int(PyObject
* obj
)
1533 if (!SWIG_AsVal_int(obj
, &v
)) {
1535 this is needed to make valgrind/purify happier.
1537 memset((void*)&v
, 0, sizeof(int));
1543 SWIGINTERNSHORT
long
1544 SWIG_As_long(PyObject
* obj
)
1547 if (!SWIG_AsVal_long(obj
, &v
)) {
1549 this is needed to make valgrind/purify happier.
1551 memset((void*)&v
, 0, sizeof(long));
1558 SWIG_Check_int(PyObject
* obj
)
1560 return SWIG_AsVal_int(obj
, (int*)0);
1565 SWIG_Check_long(PyObject
* obj
)
1567 return SWIG_AsVal_long(obj
, (long*)0);
1572 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1574 if (obj
== Py_True
) {
1575 if (val
) *val
= true;
1578 if (obj
== Py_False
) {
1579 if (val
) *val
= false;
1583 if (SWIG_AsVal_int(obj
, &res
)) {
1584 if (val
) *val
= res
? true : false;
1590 SWIG_type_error("bool", obj
);
1596 SWIGINTERNSHORT
bool
1597 SWIG_As_bool(PyObject
* obj
)
1600 if (!SWIG_AsVal_bool(obj
, &v
)) {
1602 this is needed to make valgrind/purify happier.
1604 memset((void*)&v
, 0, sizeof(bool));
1611 SWIG_Check_bool(PyObject
* obj
)
1613 return SWIG_AsVal_bool(obj
, (bool*)0);
1617 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1618 #define SWIG_From_int PyInt_FromLong
1622 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1628 } else if (target
== Py_None
) {
1632 if (!PyTuple_Check(target
)) {
1634 target
= PyTuple_New(1);
1635 PyTuple_SetItem(target
, 0, o2
);
1637 o3
= PyTuple_New(1);
1638 PyTuple_SetItem(o3
, 0, o
);
1641 target
= PySequence_Concat(o2
, o3
);
1651 SWIG_AsVal_double(PyObject
*obj
, double* val
)
1653 if (PyNumber_Check(obj
)) {
1654 if (val
) *val
= PyFloat_AsDouble(obj
);
1658 SWIG_type_error("number", obj
);
1664 SWIGINTERNSHORT
double
1665 SWIG_As_double(PyObject
* obj
)
1668 if (!SWIG_AsVal_double(obj
, &v
)) {
1670 this is needed to make valgrind/purify happier.
1672 memset((void*)&v
, 0, sizeof(double));
1679 SWIG_Check_double(PyObject
* obj
)
1681 return SWIG_AsVal_double(obj
, (double*)0);
1685 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1686 #define SWIG_From_double PyFloat_FromDouble
1689 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
1690 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
1691 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
1692 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
1694 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1695 #define SWIG_From_long PyInt_FromLong
1700 static wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
1702 self
->GetFieldRect(i
, r
);
1705 static const wxString
wxPySplitterNameStr(wxT("splitter"));
1706 static const wxString
wxPySashNameStr(wxT("sashWindow"));
1707 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
1709 #include <wx/popupwin.h>
1712 class wxPopupWindow
: public wxWindow
{
1714 wxPopupWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
1715 wxPopupWindow() { wxPyRaiseNotImplemented(); }
1718 class wxPyPopupTransientWindow
: public wxPopupWindow
1721 wxPyPopupTransientWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
1722 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
1726 #include <wx/tipwin.h>
1728 static wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
1729 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
1732 #include <wx/tipwin.h>
1735 #include <wx/vscroll.h>
1738 class wxPyVScrolledWindow
: public wxVScrolledWindow
1740 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
);
1742 wxPyVScrolledWindow() : wxVScrolledWindow() {}
1744 wxPyVScrolledWindow(wxWindow
*parent
,
1745 wxWindowID id
= wxID_ANY
,
1746 const wxPoint
& pos
= wxDefaultPosition
,
1747 const wxSize
& size
= wxDefaultSize
,
1749 const wxString
& name
= wxPyPanelNameStr
)
1750 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
1753 // Overridable virtuals
1755 // this function must be overridden in the derived class and it should
1756 // return the height of the given line in pixels
1757 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
1760 // this function doesn't have to be overridden but it may be useful to do
1761 // it if calculating the lines heights is a relatively expensive operation
1762 // as it gives the user code a possibility to calculate several of them at
1765 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
1766 // shouldn't rely on the latter being called for all lines in the interval
1767 // specified here. It is also possible that OnGetLineHeight() will be
1768 // called for the lines outside of this interval, so this is really just a
1769 // hint, not a promise.
1771 // finally note that lineMin is inclusive, while lineMax is exclusive, as
1773 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
1776 // when the number of lines changes, we try to estimate the total height
1777 // of all lines which is a rather expensive operation in terms of lines
1778 // access, so if the user code may estimate the average height
1779 // better/faster than we do, it should override this function to implement
1782 // this function should return the best guess for the total height it may
1784 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
1787 // Also expose some other interesting protected methods
1790 // find the index of the line we need to show at the top of the window such
1791 // that the last (fully or partially) visible line is the given one
1792 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
1793 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
1795 // get the total height of the lines between lineMin (inclusive) and
1796 // lineMax (exclusive)
1797 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
1798 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
1804 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
1806 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
1807 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
1808 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
1812 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1815 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1816 SWIG_type_error("unsigned number", obj
);
1819 *val
= (unsigned long)v
;
1824 SWIGINTERNSHORT
unsigned long
1825 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1828 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1830 this is needed to make valgrind/purify happier.
1832 memset((void*)&v
, 0, sizeof(unsigned long));
1839 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1841 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1845 SWIGINTERNSHORT PyObject
*
1846 SWIG_From_unsigned_SS_long(unsigned long value
)
1848 return (value
> LONG_MAX
) ?
1849 PyLong_FromUnsignedLong(value
)
1850 : PyInt_FromLong((long)(value
));
1854 #include <wx/vlbox.h>
1856 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
1858 class wxPyVListBox
: public wxVListBox
1860 DECLARE_ABSTRACT_CLASS(wxPyVListBox
);
1862 wxPyVListBox() : wxVListBox() {}
1864 wxPyVListBox(wxWindow
*parent
,
1865 wxWindowID id
= wxID_ANY
,
1866 const wxPoint
& pos
= wxDefaultPosition
,
1867 const wxSize
& size
= wxDefaultSize
,
1869 const wxString
& name
= wxPyVListBoxNameStr
)
1870 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
1873 // Overridable virtuals
1875 // the derived class must implement this function to actually draw the item
1876 // with the given index on the provided DC
1877 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
1878 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
1881 // the derived class must implement this method to return the height of the
1883 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
1884 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
1887 // this method may be used to draw separators between the lines; note that
1888 // the rectangle may be modified, typically to deflate it a bit before
1889 // passing to OnDrawItem()
1891 // the base class version doesn't do anything
1892 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
1893 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
1896 // this method is used to draw the items background and, maybe, a border
1899 // the base class version implements a reasonable default behaviour which
1900 // consists in drawing the selected item with the standard background
1901 // colour and drawing a border around the item if it is either selected or
1903 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
1904 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
1910 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
1912 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
1913 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
1914 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
1915 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
1918 static PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
1919 unsigned long cookie
= 0;
1920 int selected
= self
->GetFirstSelected(cookie
);
1921 bool blocked
= wxPyBeginBlockThreads();
1922 PyObject
* tup
= PyTuple_New(2);
1923 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
1924 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
1925 wxPyEndBlockThreads(blocked
);
1928 static PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
1929 int selected
= self
->GetNextSelected(cookie
);
1930 bool blocked
= wxPyBeginBlockThreads();
1931 PyObject
* tup
= PyTuple_New(2);
1932 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
1933 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
1934 wxPyEndBlockThreads(blocked
);
1938 #include <wx/htmllbox.h>
1941 class wxPyHtmlListBox
: public wxHtmlListBox
1943 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
);
1945 wxPyHtmlListBox() : wxHtmlListBox() {}
1947 wxPyHtmlListBox(wxWindow
*parent
,
1948 wxWindowID id
= wxID_ANY
,
1949 const wxPoint
& pos
= wxDefaultPosition
,
1950 const wxSize
& size
= wxDefaultSize
,
1952 const wxString
& name
= wxPyVListBoxNameStr
)
1953 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
1956 // Overridable virtuals
1958 // this method must be implemented in the derived class and should return
1959 // the body (i.e. without <html>) of the HTML for the given item
1960 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
1962 // this function may be overridden to decorate HTML returned by OnGetItem()
1963 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
1966 // // this method allows to customize the selection appearance: it may be used
1967 // // to specify the colour of the text which normally has the given colour
1968 // // colFg when it is inside the selection
1970 // // by default, the original colour is not used at all and all text has the
1971 // // same (default for this system) colour inside selection
1972 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
1974 // // this is the same as GetSelectedTextColour() but allows to customize the
1975 // // background colour -- this is even more rarely used as you can change it
1976 // // globally using SetSelectionBackground()
1977 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
1984 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
1986 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
1987 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
1993 #ifndef wxHAS_TASK_BAR_ICON
1994 // implement dummy classes for platforms that don't have it
1996 class wxTaskBarIcon
: public wxEvtHandler
1999 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
2003 class wxTaskBarIconEvent
: public wxEvent
2006 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
2007 { wxPyRaiseNotImplemented(); }
2008 virtual wxEvent
* Clone() const { return NULL
; }
2009 bool IsOk() const { return false; }
2010 bool IsIconInstalled() const { return false; }
2011 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
2012 bool RemoveIcon() { return false; }
2013 bool PopupMenu(wxMenu
*menu
) { return false; }
2017 wxEVT_TASKBAR_MOVE
= 0,
2018 wxEVT_TASKBAR_LEFT_DOWN
= 0,
2019 wxEVT_TASKBAR_LEFT_UP
= 0,
2020 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
2021 wxEVT_TASKBAR_RIGHT_UP
= 0,
2022 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
2023 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
2028 // Otherwise make a class that can virtualize CreatePopupMenu
2029 class wxPyTaskBarIcon
: public wxTaskBarIcon
2031 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
);
2033 wxPyTaskBarIcon() : wxTaskBarIcon()
2036 wxMenu
* CreatePopupMenu() {
2037 wxMenu
*rval
= NULL
;
2039 bool blocked
= wxPyBeginBlockThreads();
2040 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
2043 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2045 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
2050 wxPyEndBlockThreads(blocked
);
2052 rval
= wxTaskBarIcon::CreatePopupMenu();
2059 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
2063 static void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
2067 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
2068 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
2069 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
2070 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
2071 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
2072 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
2073 static PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
2075 self
->GetFilenames(arr
);
2076 return wxArrayString2PyList_helper(arr
);
2078 static PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
2080 self
->GetPaths(arr
);
2081 return wxArrayString2PyList_helper(arr
);
2083 static PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
2084 return wxArrayInt2PyList_helper(self
->GetSelections());
2086 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
){
2087 return new wxSingleChoiceDialog(parent
, message
, caption
,
2088 choices
, choices_array
, NULL
, style
, pos
);
2090 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
2094 // C++ version of Python aware wxWindow
2095 class wxPyWindow
: public wxWindow
2097 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
2099 wxPyWindow() : wxWindow() {}
2100 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
2101 const wxPoint
& pos
= wxDefaultPosition
,
2102 const wxSize
& size
= wxDefaultSize
,
2104 const wxString
& name
= wxPyPanelNameStr
)
2105 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
2107 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
2109 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2110 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2111 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2112 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2114 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2115 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2116 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2118 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2119 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2121 DEC_PYCALLBACK__(InitDialog
);
2122 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2123 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2124 DEC_PYCALLBACK_BOOL_(Validate
);
2126 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2127 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2128 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2130 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2131 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2133 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2134 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
2135 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2137 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2142 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
2144 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
2145 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
2146 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
2147 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
2149 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
2150 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
2151 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
2153 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
2154 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
2156 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
2157 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
2158 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
2159 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
2161 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
2162 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
2163 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
2165 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
2166 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
2168 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
2169 IMP_PYCALLBACK__COLOUR(wxPyWindow
, wxWindow
, ApplyParentThemeBackground
);
2170 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
2172 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
2174 // C++ version of Python aware wxPanel
2175 class wxPyPanel
: public wxPanel
2177 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
2179 wxPyPanel() : wxPanel() {}
2180 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
2181 const wxPoint
& pos
= wxDefaultPosition
,
2182 const wxSize
& size
= wxDefaultSize
,
2184 const wxString
& name
= wxPyPanelNameStr
)
2185 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
2187 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
2190 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2191 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2192 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2193 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2195 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2196 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2197 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2199 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2200 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2202 DEC_PYCALLBACK__(InitDialog
);
2203 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2204 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2205 DEC_PYCALLBACK_BOOL_(Validate
);
2207 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2208 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2209 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2211 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2212 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2214 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2215 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
2216 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2218 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2223 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
2225 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
2226 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
2227 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
2228 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
2230 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
2231 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
2232 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
2234 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
2235 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
2237 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
2238 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
2239 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
2240 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
2242 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
2243 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
2244 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
2246 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
2247 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
2249 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
2250 IMP_PYCALLBACK__COLOUR(wxPyPanel
, wxPanel
, ApplyParentThemeBackground
);
2251 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
2253 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
2255 // C++ version of Python aware wxScrolledWindow
2256 class wxPyScrolledWindow
: public wxScrolledWindow
2258 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
2260 wxPyScrolledWindow() : wxScrolledWindow() {}
2261 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
2262 const wxPoint
& pos
= wxDefaultPosition
,
2263 const wxSize
& size
= wxDefaultSize
,
2265 const wxString
& name
= wxPyPanelNameStr
)
2266 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
2268 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
2270 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2271 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2272 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2273 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2275 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2276 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2277 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2279 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2280 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2282 DEC_PYCALLBACK__(InitDialog
);
2283 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2284 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2285 DEC_PYCALLBACK_BOOL_(Validate
);
2287 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2288 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2289 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2291 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2292 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2294 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2295 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
2296 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2298 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2303 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
2305 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
2306 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
2307 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
2308 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
2310 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
2311 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
2312 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
2314 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
2315 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
2317 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
2318 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
2319 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
2320 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
2322 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
2323 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
2324 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
2326 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
2327 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
2329 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
2330 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow
, wxScrolledWindow
, ApplyParentThemeBackground
);
2331 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
2333 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
2336 #include "wx/wxPython/printfw.h"
2339 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
2340 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
2341 static PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
2343 bool blocked
= wxPyBeginBlockThreads();
2344 data
= PyString_FromStringAndSize(self
->GetPrivData(),
2345 self
->GetPrivDataLen());
2346 wxPyEndBlockThreads(blocked
);
2349 static void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
2350 if (! PyString_Check(data
)) {
2351 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
2352 "Expected string object"));
2356 bool blocked
= wxPyBeginBlockThreads();
2357 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
2358 wxPyEndBlockThreads(blocked
);
2362 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
2364 // Since this one would be tough and ugly to do with the Macros...
2365 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
2366 bool hadErr
= false;
2369 bool blocked
= wxPyBeginBlockThreads();
2370 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
2371 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2372 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
2375 val
= PyTuple_GetItem(result
, 0);
2376 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
2379 val
= PyTuple_GetItem(result
, 1);
2380 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
2383 val
= PyTuple_GetItem(result
, 2);
2384 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
2387 val
= PyTuple_GetItem(result
, 3);
2388 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
2395 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
2400 wxPyEndBlockThreads(blocked
);
2402 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
2405 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
2406 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
2410 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
2411 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
2412 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
2413 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
2414 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
2415 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
2416 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
2422 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
2423 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
2424 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
2427 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
2428 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2431 bool blocked = wxPyBeginBlockThreads(); \
2432 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2433 PyObject* win = wxPyMake_wxObject(a,false); \
2434 PyObject* dc = wxPyMake_wxObject(&b,false); \
2435 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
2439 wxPyEndBlockThreads(blocked); \
2441 rval = PCLASS::CBNAME(a, b); \
2444 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2445 return PCLASS::CBNAME(a, b); \
2451 class wxPyPrintPreview
: public wxPrintPreview
2453 DECLARE_CLASS(wxPyPrintPreview
)
2455 wxPyPrintPreview(wxPyPrintout
* printout
,
2456 wxPyPrintout
* printoutForPrinting
,
2457 wxPrintDialogData
* data
=NULL
)
2458 : wxPrintPreview(printout
, printoutForPrinting
, data
)
2460 wxPyPrintPreview(wxPyPrintout
* printout
,
2461 wxPyPrintout
* printoutForPrinting
,
2462 wxPrintData
* data
=NULL
)
2463 : wxPrintPreview(printout
, printoutForPrinting
, data
)
2466 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
2467 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
2468 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
2469 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
2470 DEC_PYCALLBACK_VOID_INT(SetZoom
);
2471 DEC_PYCALLBACK_BOOL_BOOL(Print
);
2472 DEC_PYCALLBACK_VOID_(DetermineScaling
);
2477 // Stupid renamed classes... Fix this in 2.5...
2478 #if defined(__WXMSW__)
2479 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
2480 #elif defined(__WXMAC__)
2481 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
2483 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
2486 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
2487 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
2488 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
2489 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
2490 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
2491 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
2492 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
2495 class wxPyPreviewFrame
: public wxPreviewFrame
2497 DECLARE_CLASS(wxPyPreviewFrame
);
2499 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
2500 const wxString
& title
,
2501 const wxPoint
& pos
= wxDefaultPosition
,
2502 const wxSize
& size
= wxDefaultSize
,
2503 long style
= wxDEFAULT_FRAME_STYLE
,
2504 const wxString
& name
= wxPyFrameNameStr
)
2505 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
2508 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
2509 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
2511 DEC_PYCALLBACK_VOID_(Initialize
);
2512 DEC_PYCALLBACK_VOID_(CreateCanvas
);
2513 DEC_PYCALLBACK_VOID_(CreateControlBar
);
2518 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
2520 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
2521 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
2522 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
2525 class wxPyPreviewControlBar
: public wxPreviewControlBar
2527 DECLARE_CLASS(wxPyPreviewControlBar
);
2529 wxPyPreviewControlBar(wxPrintPreview
*preview
,
2532 const wxPoint
& pos
= wxDefaultPosition
,
2533 const wxSize
& size
= wxDefaultSize
,
2535 const wxString
& name
= wxPyPanelNameStr
)
2536 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
2539 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
2541 DEC_PYCALLBACK_VOID_(CreateButtons
);
2542 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
2547 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
2548 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
2549 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
2554 static PyObject
*_wrap_new_Panel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2555 PyObject
*resultobj
;
2556 wxWindow
*arg1
= (wxWindow
*) 0 ;
2557 int arg2
= (int) (int)-1 ;
2558 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2559 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2560 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2561 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2562 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
2563 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
2564 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
2568 bool temp6
= false ;
2569 PyObject
* obj0
= 0 ;
2570 PyObject
* obj1
= 0 ;
2571 PyObject
* obj2
= 0 ;
2572 PyObject
* obj3
= 0 ;
2573 PyObject
* obj4
= 0 ;
2574 PyObject
* obj5
= 0 ;
2576 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
2580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2581 if (SWIG_arg_fail(1)) SWIG_fail
;
2584 arg2
= (int const)(SWIG_As_int(obj1
));
2585 if (SWIG_arg_fail(2)) SWIG_fail
;
2591 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2597 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2602 arg5
= (long)(SWIG_As_long(obj4
));
2603 if (SWIG_arg_fail(5)) SWIG_fail
;
2608 arg6
= wxString_in_helper(obj5
);
2609 if (arg6
== NULL
) SWIG_fail
;
2614 if (!wxPyCheckForApp()) SWIG_fail
;
2615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2616 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
2618 wxPyEndAllowThreads(__tstate
);
2619 if (PyErr_Occurred()) SWIG_fail
;
2621 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
2636 static PyObject
*_wrap_new_PrePanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2637 PyObject
*resultobj
;
2643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
2645 if (!wxPyCheckForApp()) SWIG_fail
;
2646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2647 result
= (wxPanel
*)new wxPanel();
2649 wxPyEndAllowThreads(__tstate
);
2650 if (PyErr_Occurred()) SWIG_fail
;
2652 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
2659 static PyObject
*_wrap_Panel_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2660 PyObject
*resultobj
;
2661 wxPanel
*arg1
= (wxPanel
*) 0 ;
2662 wxWindow
*arg2
= (wxWindow
*) 0 ;
2663 int arg3
= (int) (int)-1 ;
2664 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2665 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2666 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2667 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2668 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
2669 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
2670 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2674 bool temp7
= false ;
2675 PyObject
* obj0
= 0 ;
2676 PyObject
* obj1
= 0 ;
2677 PyObject
* obj2
= 0 ;
2678 PyObject
* obj3
= 0 ;
2679 PyObject
* obj4
= 0 ;
2680 PyObject
* obj5
= 0 ;
2681 PyObject
* obj6
= 0 ;
2683 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2688 if (SWIG_arg_fail(1)) SWIG_fail
;
2689 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2690 if (SWIG_arg_fail(2)) SWIG_fail
;
2693 arg3
= (int const)(SWIG_As_int(obj2
));
2694 if (SWIG_arg_fail(3)) SWIG_fail
;
2700 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2706 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2711 arg6
= (long)(SWIG_As_long(obj5
));
2712 if (SWIG_arg_fail(6)) SWIG_fail
;
2717 arg7
= wxString_in_helper(obj6
);
2718 if (arg7
== NULL
) SWIG_fail
;
2723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2724 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
2726 wxPyEndAllowThreads(__tstate
);
2727 if (PyErr_Occurred()) SWIG_fail
;
2730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2746 static PyObject
*_wrap_Panel_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2747 PyObject
*resultobj
;
2748 wxPanel
*arg1
= (wxPanel
*) 0 ;
2749 PyObject
* obj0
= 0 ;
2751 (char *) "self", NULL
2754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
2755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2756 if (SWIG_arg_fail(1)) SWIG_fail
;
2758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2759 (arg1
)->InitDialog();
2761 wxPyEndAllowThreads(__tstate
);
2762 if (PyErr_Occurred()) SWIG_fail
;
2764 Py_INCREF(Py_None
); resultobj
= Py_None
;
2771 static PyObject
*_wrap_Panel_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2772 PyObject
*resultobj
;
2773 wxPanel
*arg1
= (wxPanel
*) 0 ;
2774 PyObject
* obj0
= 0 ;
2776 (char *) "self", NULL
2779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_SetFocus",kwnames
,&obj0
)) goto fail
;
2780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2781 if (SWIG_arg_fail(1)) SWIG_fail
;
2783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2786 wxPyEndAllowThreads(__tstate
);
2787 if (PyErr_Occurred()) SWIG_fail
;
2789 Py_INCREF(Py_None
); resultobj
= Py_None
;
2796 static PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2797 PyObject
*resultobj
;
2798 wxPanel
*arg1
= (wxPanel
*) 0 ;
2799 PyObject
* obj0
= 0 ;
2801 (char *) "self", NULL
2804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_SetFocusIgnoringChildren",kwnames
,&obj0
)) goto fail
;
2805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2806 if (SWIG_arg_fail(1)) SWIG_fail
;
2808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2809 (arg1
)->SetFocusIgnoringChildren();
2811 wxPyEndAllowThreads(__tstate
);
2812 if (PyErr_Occurred()) SWIG_fail
;
2814 Py_INCREF(Py_None
); resultobj
= Py_None
;
2821 static PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2822 PyObject
*resultobj
;
2823 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
2824 wxVisualAttributes result
;
2825 PyObject
* obj0
= 0 ;
2827 (char *) "variant", NULL
2830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2833 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
2834 if (SWIG_arg_fail(1)) SWIG_fail
;
2838 if (!wxPyCheckForApp()) SWIG_fail
;
2839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2840 result
= wxPanel::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2842 wxPyEndAllowThreads(__tstate
);
2843 if (PyErr_Occurred()) SWIG_fail
;
2846 wxVisualAttributes
* resultptr
;
2847 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
2848 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2856 static PyObject
* Panel_swigregister(PyObject
*, PyObject
*args
) {
2858 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2859 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
2861 return Py_BuildValue((char *)"");
2863 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2864 PyObject
*resultobj
;
2865 wxWindow
*arg1
= (wxWindow
*) 0 ;
2866 int arg2
= (int) (int)-1 ;
2867 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2868 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2869 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2870 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2871 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
2872 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
2873 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
2874 wxScrolledWindow
*result
;
2877 bool temp6
= false ;
2878 PyObject
* obj0
= 0 ;
2879 PyObject
* obj1
= 0 ;
2880 PyObject
* obj2
= 0 ;
2881 PyObject
* obj3
= 0 ;
2882 PyObject
* obj4
= 0 ;
2883 PyObject
* obj5
= 0 ;
2885 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
2889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2890 if (SWIG_arg_fail(1)) SWIG_fail
;
2893 arg2
= (int const)(SWIG_As_int(obj1
));
2894 if (SWIG_arg_fail(2)) SWIG_fail
;
2900 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2906 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2911 arg5
= (long)(SWIG_As_long(obj4
));
2912 if (SWIG_arg_fail(5)) SWIG_fail
;
2917 arg6
= wxString_in_helper(obj5
);
2918 if (arg6
== NULL
) SWIG_fail
;
2923 if (!wxPyCheckForApp()) SWIG_fail
;
2924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2925 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
2927 wxPyEndAllowThreads(__tstate
);
2928 if (PyErr_Occurred()) SWIG_fail
;
2930 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
2945 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2946 PyObject
*resultobj
;
2947 wxScrolledWindow
*result
;
2952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
2954 if (!wxPyCheckForApp()) SWIG_fail
;
2955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2956 result
= (wxScrolledWindow
*)new wxScrolledWindow();
2958 wxPyEndAllowThreads(__tstate
);
2959 if (PyErr_Occurred()) SWIG_fail
;
2961 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
2968 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2969 PyObject
*resultobj
;
2970 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2971 wxWindow
*arg2
= (wxWindow
*) 0 ;
2972 int arg3
= (int) (int)-1 ;
2973 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2974 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2975 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2976 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2977 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
2978 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
2979 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2983 bool temp7
= false ;
2984 PyObject
* obj0
= 0 ;
2985 PyObject
* obj1
= 0 ;
2986 PyObject
* obj2
= 0 ;
2987 PyObject
* obj3
= 0 ;
2988 PyObject
* obj4
= 0 ;
2989 PyObject
* obj5
= 0 ;
2990 PyObject
* obj6
= 0 ;
2992 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
2997 if (SWIG_arg_fail(1)) SWIG_fail
;
2998 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2999 if (SWIG_arg_fail(2)) SWIG_fail
;
3002 arg3
= (int const)(SWIG_As_int(obj2
));
3003 if (SWIG_arg_fail(3)) SWIG_fail
;
3009 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3015 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3020 arg6
= (long)(SWIG_As_long(obj5
));
3021 if (SWIG_arg_fail(6)) SWIG_fail
;
3026 arg7
= wxString_in_helper(obj6
);
3027 if (arg7
== NULL
) SWIG_fail
;
3032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3033 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3035 wxPyEndAllowThreads(__tstate
);
3036 if (PyErr_Occurred()) SWIG_fail
;
3039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3055 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3056 PyObject
*resultobj
;
3057 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3062 int arg6
= (int) 0 ;
3063 int arg7
= (int) 0 ;
3064 bool arg8
= (bool) false ;
3065 PyObject
* obj0
= 0 ;
3066 PyObject
* obj1
= 0 ;
3067 PyObject
* obj2
= 0 ;
3068 PyObject
* obj3
= 0 ;
3069 PyObject
* obj4
= 0 ;
3070 PyObject
* obj5
= 0 ;
3071 PyObject
* obj6
= 0 ;
3072 PyObject
* obj7
= 0 ;
3074 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
3077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3079 if (SWIG_arg_fail(1)) SWIG_fail
;
3081 arg2
= (int)(SWIG_As_int(obj1
));
3082 if (SWIG_arg_fail(2)) SWIG_fail
;
3085 arg3
= (int)(SWIG_As_int(obj2
));
3086 if (SWIG_arg_fail(3)) SWIG_fail
;
3089 arg4
= (int)(SWIG_As_int(obj3
));
3090 if (SWIG_arg_fail(4)) SWIG_fail
;
3093 arg5
= (int)(SWIG_As_int(obj4
));
3094 if (SWIG_arg_fail(5)) SWIG_fail
;
3098 arg6
= (int)(SWIG_As_int(obj5
));
3099 if (SWIG_arg_fail(6)) SWIG_fail
;
3104 arg7
= (int)(SWIG_As_int(obj6
));
3105 if (SWIG_arg_fail(7)) SWIG_fail
;
3110 arg8
= (bool)(SWIG_As_bool(obj7
));
3111 if (SWIG_arg_fail(8)) SWIG_fail
;
3115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3116 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
3118 wxPyEndAllowThreads(__tstate
);
3119 if (PyErr_Occurred()) SWIG_fail
;
3121 Py_INCREF(Py_None
); resultobj
= Py_None
;
3128 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3129 PyObject
*resultobj
;
3130 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3133 PyObject
* obj0
= 0 ;
3134 PyObject
* obj1
= 0 ;
3135 PyObject
* obj2
= 0 ;
3137 (char *) "self",(char *) "x",(char *) "y", NULL
3140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3142 if (SWIG_arg_fail(1)) SWIG_fail
;
3144 arg2
= (int)(SWIG_As_int(obj1
));
3145 if (SWIG_arg_fail(2)) SWIG_fail
;
3148 arg3
= (int)(SWIG_As_int(obj2
));
3149 if (SWIG_arg_fail(3)) SWIG_fail
;
3152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3153 (arg1
)->Scroll(arg2
,arg3
);
3155 wxPyEndAllowThreads(__tstate
);
3156 if (PyErr_Occurred()) SWIG_fail
;
3158 Py_INCREF(Py_None
); resultobj
= Py_None
;
3165 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3166 PyObject
*resultobj
;
3167 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3170 PyObject
* obj0
= 0 ;
3171 PyObject
* obj1
= 0 ;
3173 (char *) "self",(char *) "orient", NULL
3176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3178 if (SWIG_arg_fail(1)) SWIG_fail
;
3180 arg2
= (int)(SWIG_As_int(obj1
));
3181 if (SWIG_arg_fail(2)) SWIG_fail
;
3184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3185 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
3187 wxPyEndAllowThreads(__tstate
);
3188 if (PyErr_Occurred()) SWIG_fail
;
3191 resultobj
= SWIG_From_int((int)(result
));
3199 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3200 PyObject
*resultobj
;
3201 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3204 PyObject
* obj0
= 0 ;
3205 PyObject
* obj1
= 0 ;
3206 PyObject
* obj2
= 0 ;
3208 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
3211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3213 if (SWIG_arg_fail(1)) SWIG_fail
;
3215 arg2
= (int)(SWIG_As_int(obj1
));
3216 if (SWIG_arg_fail(2)) SWIG_fail
;
3219 arg3
= (int)(SWIG_As_int(obj2
));
3220 if (SWIG_arg_fail(3)) SWIG_fail
;
3223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3224 (arg1
)->SetScrollPageSize(arg2
,arg3
);
3226 wxPyEndAllowThreads(__tstate
);
3227 if (PyErr_Occurred()) SWIG_fail
;
3229 Py_INCREF(Py_None
); resultobj
= Py_None
;
3236 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3237 PyObject
*resultobj
;
3238 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3241 PyObject
* obj0
= 0 ;
3242 PyObject
* obj1
= 0 ;
3243 PyObject
* obj2
= 0 ;
3245 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
3248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3250 if (SWIG_arg_fail(1)) SWIG_fail
;
3252 arg2
= (int)(SWIG_As_int(obj1
));
3253 if (SWIG_arg_fail(2)) SWIG_fail
;
3256 arg3
= (int)(SWIG_As_int(obj2
));
3257 if (SWIG_arg_fail(3)) SWIG_fail
;
3260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3261 (arg1
)->SetScrollRate(arg2
,arg3
);
3263 wxPyEndAllowThreads(__tstate
);
3264 if (PyErr_Occurred()) SWIG_fail
;
3266 Py_INCREF(Py_None
); resultobj
= Py_None
;
3273 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3274 PyObject
*resultobj
;
3275 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3276 int *arg2
= (int *) 0 ;
3277 int *arg3
= (int *) 0 ;
3282 PyObject
* obj0
= 0 ;
3284 (char *) "self", NULL
3287 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3288 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
3289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
3290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3291 if (SWIG_arg_fail(1)) SWIG_fail
;
3293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3294 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
3296 wxPyEndAllowThreads(__tstate
);
3297 if (PyErr_Occurred()) SWIG_fail
;
3299 Py_INCREF(Py_None
); resultobj
= Py_None
;
3300 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3301 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3302 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
3303 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
3310 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3311 PyObject
*resultobj
;
3312 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3315 PyObject
* obj0
= 0 ;
3316 PyObject
* obj1
= 0 ;
3317 PyObject
* obj2
= 0 ;
3319 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
3322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3324 if (SWIG_arg_fail(1)) SWIG_fail
;
3326 arg2
= (bool)(SWIG_As_bool(obj1
));
3327 if (SWIG_arg_fail(2)) SWIG_fail
;
3330 arg3
= (bool)(SWIG_As_bool(obj2
));
3331 if (SWIG_arg_fail(3)) SWIG_fail
;
3334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3335 (arg1
)->EnableScrolling(arg2
,arg3
);
3337 wxPyEndAllowThreads(__tstate
);
3338 if (PyErr_Occurred()) SWIG_fail
;
3340 Py_INCREF(Py_None
); resultobj
= Py_None
;
3347 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3348 PyObject
*resultobj
;
3349 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3350 int *arg2
= (int *) 0 ;
3351 int *arg3
= (int *) 0 ;
3356 PyObject
* obj0
= 0 ;
3358 (char *) "self", NULL
3361 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3362 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
3363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
3364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3365 if (SWIG_arg_fail(1)) SWIG_fail
;
3367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3368 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
3370 wxPyEndAllowThreads(__tstate
);
3371 if (PyErr_Occurred()) SWIG_fail
;
3373 Py_INCREF(Py_None
); resultobj
= Py_None
;
3374 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3375 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3376 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
3377 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
3384 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3385 PyObject
*resultobj
;
3386 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3389 PyObject
* obj0
= 0 ;
3390 PyObject
* obj1
= 0 ;
3391 PyObject
* obj2
= 0 ;
3393 (char *) "self",(char *) "xs",(char *) "ys", NULL
3396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3398 if (SWIG_arg_fail(1)) SWIG_fail
;
3400 arg2
= (double)(SWIG_As_double(obj1
));
3401 if (SWIG_arg_fail(2)) SWIG_fail
;
3404 arg3
= (double)(SWIG_As_double(obj2
));
3405 if (SWIG_arg_fail(3)) SWIG_fail
;
3408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3409 (arg1
)->SetScale(arg2
,arg3
);
3411 wxPyEndAllowThreads(__tstate
);
3412 if (PyErr_Occurred()) SWIG_fail
;
3414 Py_INCREF(Py_None
); resultobj
= Py_None
;
3421 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3422 PyObject
*resultobj
;
3423 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3425 PyObject
* obj0
= 0 ;
3427 (char *) "self", NULL
3430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
3431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3432 if (SWIG_arg_fail(1)) SWIG_fail
;
3434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3435 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
3437 wxPyEndAllowThreads(__tstate
);
3438 if (PyErr_Occurred()) SWIG_fail
;
3441 resultobj
= SWIG_From_double((double)(result
));
3449 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3450 PyObject
*resultobj
;
3451 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3453 PyObject
* obj0
= 0 ;
3455 (char *) "self", NULL
3458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
3459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3460 if (SWIG_arg_fail(1)) SWIG_fail
;
3462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3463 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
3465 wxPyEndAllowThreads(__tstate
);
3466 if (PyErr_Occurred()) SWIG_fail
;
3469 resultobj
= SWIG_From_double((double)(result
));
3477 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
3478 PyObject
*resultobj
;
3479 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3483 PyObject
* obj0
= 0 ;
3484 PyObject
* obj1
= 0 ;
3486 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
3487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3488 if (SWIG_arg_fail(1)) SWIG_fail
;
3491 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3495 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
3497 wxPyEndAllowThreads(__tstate
);
3498 if (PyErr_Occurred()) SWIG_fail
;
3501 wxPoint
* resultptr
;
3502 resultptr
= new wxPoint((wxPoint
&)(result
));
3503 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3511 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
3512 PyObject
*resultobj
;
3513 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3516 int *arg4
= (int *) 0 ;
3517 int *arg5
= (int *) 0 ;
3522 PyObject
* obj0
= 0 ;
3523 PyObject
* obj1
= 0 ;
3524 PyObject
* obj2
= 0 ;
3526 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
3527 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
3528 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
3529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3530 if (SWIG_arg_fail(1)) SWIG_fail
;
3532 arg2
= (int)(SWIG_As_int(obj1
));
3533 if (SWIG_arg_fail(2)) SWIG_fail
;
3536 arg3
= (int)(SWIG_As_int(obj2
));
3537 if (SWIG_arg_fail(3)) SWIG_fail
;
3540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3541 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
3543 wxPyEndAllowThreads(__tstate
);
3544 if (PyErr_Occurred()) SWIG_fail
;
3546 Py_INCREF(Py_None
); resultobj
= Py_None
;
3547 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
3548 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
3549 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
3550 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
3557 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
3562 argc
= PyObject_Length(args
);
3563 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
3564 argv
[ii
] = PyTuple_GetItem(args
,ii
);
3570 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3579 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
3582 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
3590 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3598 _v
= SWIG_Check_int(argv
[1]);
3600 _v
= SWIG_Check_int(argv
[2]);
3602 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
3608 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
3613 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
3614 PyObject
*resultobj
;
3615 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3619 PyObject
* obj0
= 0 ;
3620 PyObject
* obj1
= 0 ;
3622 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
3623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3624 if (SWIG_arg_fail(1)) SWIG_fail
;
3627 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3631 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
3633 wxPyEndAllowThreads(__tstate
);
3634 if (PyErr_Occurred()) SWIG_fail
;
3637 wxPoint
* resultptr
;
3638 resultptr
= new wxPoint((wxPoint
&)(result
));
3639 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3647 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
3648 PyObject
*resultobj
;
3649 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3652 int *arg4
= (int *) 0 ;
3653 int *arg5
= (int *) 0 ;
3658 PyObject
* obj0
= 0 ;
3659 PyObject
* obj1
= 0 ;
3660 PyObject
* obj2
= 0 ;
3662 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
3663 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
3664 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
3665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3666 if (SWIG_arg_fail(1)) SWIG_fail
;
3668 arg2
= (int)(SWIG_As_int(obj1
));
3669 if (SWIG_arg_fail(2)) SWIG_fail
;
3672 arg3
= (int)(SWIG_As_int(obj2
));
3673 if (SWIG_arg_fail(3)) SWIG_fail
;
3676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3677 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
3679 wxPyEndAllowThreads(__tstate
);
3680 if (PyErr_Occurred()) SWIG_fail
;
3682 Py_INCREF(Py_None
); resultobj
= Py_None
;
3683 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
3684 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
3685 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
3686 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
3693 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
3698 argc
= PyObject_Length(args
);
3699 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
3700 argv
[ii
] = PyTuple_GetItem(args
,ii
);
3706 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3715 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
3718 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
3726 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3734 _v
= SWIG_Check_int(argv
[1]);
3736 _v
= SWIG_Check_int(argv
[2]);
3738 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
3744 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
3749 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3750 PyObject
*resultobj
;
3751 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3752 PyObject
* obj0
= 0 ;
3754 (char *) "self", NULL
3757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
3758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3759 if (SWIG_arg_fail(1)) SWIG_fail
;
3761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3762 (arg1
)->AdjustScrollbars();
3764 wxPyEndAllowThreads(__tstate
);
3765 if (PyErr_Occurred()) SWIG_fail
;
3767 Py_INCREF(Py_None
); resultobj
= Py_None
;
3774 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3775 PyObject
*resultobj
;
3776 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3777 wxScrollWinEvent
*arg2
= 0 ;
3779 PyObject
* obj0
= 0 ;
3780 PyObject
* obj1
= 0 ;
3782 (char *) "self",(char *) "event", NULL
3785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
3786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3787 if (SWIG_arg_fail(1)) SWIG_fail
;
3789 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
3790 if (SWIG_arg_fail(2)) SWIG_fail
;
3792 SWIG_null_ref("wxScrollWinEvent");
3794 if (SWIG_arg_fail(2)) SWIG_fail
;
3797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3798 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
3800 wxPyEndAllowThreads(__tstate
);
3801 if (PyErr_Occurred()) SWIG_fail
;
3804 resultobj
= SWIG_From_int((int)(result
));
3812 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3813 PyObject
*resultobj
;
3814 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3815 wxWindow
*arg2
= (wxWindow
*) 0 ;
3816 PyObject
* obj0
= 0 ;
3817 PyObject
* obj1
= 0 ;
3819 (char *) "self",(char *) "target", NULL
3822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
3823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3824 if (SWIG_arg_fail(1)) SWIG_fail
;
3825 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3826 if (SWIG_arg_fail(2)) SWIG_fail
;
3828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3829 (arg1
)->SetTargetWindow(arg2
);
3831 wxPyEndAllowThreads(__tstate
);
3832 if (PyErr_Occurred()) SWIG_fail
;
3834 Py_INCREF(Py_None
); resultobj
= Py_None
;
3841 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3842 PyObject
*resultobj
;
3843 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3845 PyObject
* obj0
= 0 ;
3847 (char *) "self", NULL
3850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
3851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3852 if (SWIG_arg_fail(1)) SWIG_fail
;
3854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3855 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
3857 wxPyEndAllowThreads(__tstate
);
3858 if (PyErr_Occurred()) SWIG_fail
;
3861 resultobj
= wxPyMake_wxObject(result
, 0);
3869 static PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3870 PyObject
*resultobj
;
3871 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3874 PyObject
* obj0
= 0 ;
3875 PyObject
* obj1
= 0 ;
3877 (char *) "self",(char *) "rect", NULL
3880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
3881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3882 if (SWIG_arg_fail(1)) SWIG_fail
;
3885 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3889 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
3891 wxPyEndAllowThreads(__tstate
);
3892 if (PyErr_Occurred()) SWIG_fail
;
3894 Py_INCREF(Py_None
); resultobj
= Py_None
;
3901 static PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3902 PyObject
*resultobj
;
3903 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3905 PyObject
* obj0
= 0 ;
3907 (char *) "self", NULL
3910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetRect",kwnames
,&obj0
)) goto fail
;
3911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3912 if (SWIG_arg_fail(1)) SWIG_fail
;
3914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3915 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
3917 wxPyEndAllowThreads(__tstate
);
3918 if (PyErr_Occurred()) SWIG_fail
;
3922 resultptr
= new wxRect((wxRect
&)(result
));
3923 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
3931 static PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3932 PyObject
*resultobj
;
3933 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3935 PyObject
* obj0
= 0 ;
3936 PyObject
* obj1
= 0 ;
3938 (char *) "self",(char *) "dc", NULL
3941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
3942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3943 if (SWIG_arg_fail(1)) SWIG_fail
;
3945 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
3946 if (SWIG_arg_fail(2)) SWIG_fail
;
3948 SWIG_null_ref("wxDC");
3950 if (SWIG_arg_fail(2)) SWIG_fail
;
3953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3954 (arg1
)->DoPrepareDC(*arg2
);
3956 wxPyEndAllowThreads(__tstate
);
3957 if (PyErr_Occurred()) SWIG_fail
;
3959 Py_INCREF(Py_None
); resultobj
= Py_None
;
3966 static PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3967 PyObject
*resultobj
;
3968 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3969 wxVisualAttributes result
;
3970 PyObject
* obj0
= 0 ;
3972 (char *) "variant", NULL
3975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3978 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
3979 if (SWIG_arg_fail(1)) SWIG_fail
;
3983 if (!wxPyCheckForApp()) SWIG_fail
;
3984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3985 result
= wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3987 wxPyEndAllowThreads(__tstate
);
3988 if (PyErr_Occurred()) SWIG_fail
;
3991 wxVisualAttributes
* resultptr
;
3992 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
3993 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4001 static PyObject
* ScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
4003 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4004 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
4006 return Py_BuildValue((char *)"");
4008 static int _wrap_FrameNameStr_set(PyObject
*) {
4009 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
4014 static PyObject
*_wrap_FrameNameStr_get(void) {
4019 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
4021 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
4028 static int _wrap_DialogNameStr_set(PyObject
*) {
4029 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
4034 static PyObject
*_wrap_DialogNameStr_get(void) {
4039 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
4041 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
4048 static int _wrap_StatusLineNameStr_set(PyObject
*) {
4049 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
4054 static PyObject
*_wrap_StatusLineNameStr_get(void) {
4059 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
4061 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
4068 static int _wrap_ToolBarNameStr_set(PyObject
*) {
4069 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
4074 static PyObject
*_wrap_ToolBarNameStr_get(void) {
4079 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
4081 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
4088 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4089 PyObject
*resultobj
;
4090 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4091 bool arg2
= (bool) true ;
4092 PyObject
* obj0
= 0 ;
4093 PyObject
* obj1
= 0 ;
4095 (char *) "self",(char *) "maximize", NULL
4098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
4099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4100 if (SWIG_arg_fail(1)) SWIG_fail
;
4103 arg2
= (bool)(SWIG_As_bool(obj1
));
4104 if (SWIG_arg_fail(2)) SWIG_fail
;
4108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4109 (arg1
)->Maximize(arg2
);
4111 wxPyEndAllowThreads(__tstate
);
4112 if (PyErr_Occurred()) SWIG_fail
;
4114 Py_INCREF(Py_None
); resultobj
= Py_None
;
4121 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4122 PyObject
*resultobj
;
4123 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4124 PyObject
* obj0
= 0 ;
4126 (char *) "self", NULL
4129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
4130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4131 if (SWIG_arg_fail(1)) SWIG_fail
;
4133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4136 wxPyEndAllowThreads(__tstate
);
4137 if (PyErr_Occurred()) SWIG_fail
;
4139 Py_INCREF(Py_None
); resultobj
= Py_None
;
4146 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4147 PyObject
*resultobj
;
4148 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4149 bool arg2
= (bool) true ;
4150 PyObject
* obj0
= 0 ;
4151 PyObject
* obj1
= 0 ;
4153 (char *) "self",(char *) "iconize", NULL
4156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
4157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4158 if (SWIG_arg_fail(1)) SWIG_fail
;
4161 arg2
= (bool)(SWIG_As_bool(obj1
));
4162 if (SWIG_arg_fail(2)) SWIG_fail
;
4166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4167 (arg1
)->Iconize(arg2
);
4169 wxPyEndAllowThreads(__tstate
);
4170 if (PyErr_Occurred()) SWIG_fail
;
4172 Py_INCREF(Py_None
); resultobj
= Py_None
;
4179 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4180 PyObject
*resultobj
;
4181 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4183 PyObject
* obj0
= 0 ;
4185 (char *) "self", NULL
4188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
4189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4190 if (SWIG_arg_fail(1)) SWIG_fail
;
4192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4193 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
4195 wxPyEndAllowThreads(__tstate
);
4196 if (PyErr_Occurred()) SWIG_fail
;
4199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4207 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4208 PyObject
*resultobj
;
4209 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4211 PyObject
* obj0
= 0 ;
4213 (char *) "self", NULL
4216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
4217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4218 if (SWIG_arg_fail(1)) SWIG_fail
;
4220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4221 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
4223 wxPyEndAllowThreads(__tstate
);
4224 if (PyErr_Occurred()) SWIG_fail
;
4227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4235 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4236 PyObject
*resultobj
;
4237 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4239 PyObject
* obj0
= 0 ;
4241 (char *) "self", NULL
4244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
4245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4246 if (SWIG_arg_fail(1)) SWIG_fail
;
4248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4249 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
4251 wxPyEndAllowThreads(__tstate
);
4252 if (PyErr_Occurred()) SWIG_fail
;
4256 resultptr
= new wxIcon((wxIcon
&)(result
));
4257 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
4265 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4266 PyObject
*resultobj
;
4267 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4269 PyObject
* obj0
= 0 ;
4270 PyObject
* obj1
= 0 ;
4272 (char *) "self",(char *) "icon", NULL
4275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4277 if (SWIG_arg_fail(1)) SWIG_fail
;
4279 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
4280 if (SWIG_arg_fail(2)) SWIG_fail
;
4282 SWIG_null_ref("wxIcon");
4284 if (SWIG_arg_fail(2)) SWIG_fail
;
4287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4288 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
4290 wxPyEndAllowThreads(__tstate
);
4291 if (PyErr_Occurred()) SWIG_fail
;
4293 Py_INCREF(Py_None
); resultobj
= Py_None
;
4300 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4301 PyObject
*resultobj
;
4302 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4303 wxIconBundle
*arg2
= 0 ;
4304 PyObject
* obj0
= 0 ;
4305 PyObject
* obj1
= 0 ;
4307 (char *) "self",(char *) "icons", NULL
4310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
4311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4312 if (SWIG_arg_fail(1)) SWIG_fail
;
4314 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
4315 if (SWIG_arg_fail(2)) SWIG_fail
;
4317 SWIG_null_ref("wxIconBundle");
4319 if (SWIG_arg_fail(2)) SWIG_fail
;
4322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4323 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
4325 wxPyEndAllowThreads(__tstate
);
4326 if (PyErr_Occurred()) SWIG_fail
;
4328 Py_INCREF(Py_None
); resultobj
= Py_None
;
4335 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4336 PyObject
*resultobj
;
4337 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4339 long arg3
= (long) wxFULLSCREEN_ALL
;
4341 PyObject
* obj0
= 0 ;
4342 PyObject
* obj1
= 0 ;
4343 PyObject
* obj2
= 0 ;
4345 (char *) "self",(char *) "show",(char *) "style", NULL
4348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4350 if (SWIG_arg_fail(1)) SWIG_fail
;
4352 arg2
= (bool)(SWIG_As_bool(obj1
));
4353 if (SWIG_arg_fail(2)) SWIG_fail
;
4357 arg3
= (long)(SWIG_As_long(obj2
));
4358 if (SWIG_arg_fail(3)) SWIG_fail
;
4362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4363 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
4365 wxPyEndAllowThreads(__tstate
);
4366 if (PyErr_Occurred()) SWIG_fail
;
4369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4377 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4378 PyObject
*resultobj
;
4379 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4381 PyObject
* obj0
= 0 ;
4383 (char *) "self", NULL
4386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
4387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4388 if (SWIG_arg_fail(1)) SWIG_fail
;
4390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4391 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
4393 wxPyEndAllowThreads(__tstate
);
4394 if (PyErr_Occurred()) SWIG_fail
;
4397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4405 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4406 PyObject
*resultobj
;
4407 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4408 wxString
*arg2
= 0 ;
4409 bool temp2
= false ;
4410 PyObject
* obj0
= 0 ;
4411 PyObject
* obj1
= 0 ;
4413 (char *) "self",(char *) "title", NULL
4416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
4417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4418 if (SWIG_arg_fail(1)) SWIG_fail
;
4420 arg2
= wxString_in_helper(obj1
);
4421 if (arg2
== NULL
) SWIG_fail
;
4425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4426 (arg1
)->SetTitle((wxString
const &)*arg2
);
4428 wxPyEndAllowThreads(__tstate
);
4429 if (PyErr_Occurred()) SWIG_fail
;
4431 Py_INCREF(Py_None
); resultobj
= Py_None
;
4446 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4447 PyObject
*resultobj
;
4448 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4450 PyObject
* obj0
= 0 ;
4452 (char *) "self", NULL
4455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
4456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4457 if (SWIG_arg_fail(1)) SWIG_fail
;
4459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4460 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
4462 wxPyEndAllowThreads(__tstate
);
4463 if (PyErr_Occurred()) SWIG_fail
;
4467 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4469 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4478 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4479 PyObject
*resultobj
;
4480 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4481 wxRegion
*arg2
= 0 ;
4483 PyObject
* obj0
= 0 ;
4484 PyObject
* obj1
= 0 ;
4486 (char *) "self",(char *) "region", NULL
4489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
4490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4491 if (SWIG_arg_fail(1)) SWIG_fail
;
4493 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
4494 if (SWIG_arg_fail(2)) SWIG_fail
;
4496 SWIG_null_ref("wxRegion");
4498 if (SWIG_arg_fail(2)) SWIG_fail
;
4501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4502 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
4504 wxPyEndAllowThreads(__tstate
);
4505 if (PyErr_Occurred()) SWIG_fail
;
4508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4516 static PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4517 PyObject
*resultobj
;
4518 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4519 int arg2
= (int) wxUSER_ATTENTION_INFO
;
4520 PyObject
* obj0
= 0 ;
4521 PyObject
* obj1
= 0 ;
4523 (char *) "self",(char *) "flags", NULL
4526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) goto fail
;
4527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4528 if (SWIG_arg_fail(1)) SWIG_fail
;
4531 arg2
= (int)(SWIG_As_int(obj1
));
4532 if (SWIG_arg_fail(2)) SWIG_fail
;
4536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4537 (arg1
)->RequestUserAttention(arg2
);
4539 wxPyEndAllowThreads(__tstate
);
4540 if (PyErr_Occurred()) SWIG_fail
;
4542 Py_INCREF(Py_None
); resultobj
= Py_None
;
4549 static PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4550 PyObject
*resultobj
;
4551 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4553 PyObject
* obj0
= 0 ;
4555 (char *) "self", NULL
4558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsActive",kwnames
,&obj0
)) goto fail
;
4559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4560 if (SWIG_arg_fail(1)) SWIG_fail
;
4562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4563 result
= (bool)(arg1
)->IsActive();
4565 wxPyEndAllowThreads(__tstate
);
4566 if (PyErr_Occurred()) SWIG_fail
;
4569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4577 static PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4578 PyObject
*resultobj
;
4579 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4581 PyObject
* obj0
= 0 ;
4582 PyObject
* obj1
= 0 ;
4584 (char *) "self",(char *) "on", NULL
4587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) goto fail
;
4588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4589 if (SWIG_arg_fail(1)) SWIG_fail
;
4591 arg2
= (bool)(SWIG_As_bool(obj1
));
4592 if (SWIG_arg_fail(2)) SWIG_fail
;
4595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4596 (arg1
)->MacSetMetalAppearance(arg2
);
4598 wxPyEndAllowThreads(__tstate
);
4599 if (PyErr_Occurred()) SWIG_fail
;
4601 Py_INCREF(Py_None
); resultobj
= Py_None
;
4608 static PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4609 PyObject
*resultobj
;
4610 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4612 PyObject
* obj0
= 0 ;
4614 (char *) "self", NULL
4617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames
,&obj0
)) goto fail
;
4618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4619 if (SWIG_arg_fail(1)) SWIG_fail
;
4621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4622 result
= (bool)((wxTopLevelWindow
const *)arg1
)->MacGetMetalAppearance();
4624 wxPyEndAllowThreads(__tstate
);
4625 if (PyErr_Occurred()) SWIG_fail
;
4628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4636 static PyObject
* TopLevelWindow_swigregister(PyObject
*, PyObject
*args
) {
4638 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4639 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
4641 return Py_BuildValue((char *)"");
4643 static PyObject
*_wrap_new_Frame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4644 PyObject
*resultobj
;
4645 wxWindow
*arg1
= (wxWindow
*) 0 ;
4646 int arg2
= (int) (int)-1 ;
4647 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4648 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4649 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4650 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4651 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4652 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4653 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4654 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4655 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4657 bool temp3
= false ;
4660 bool temp7
= false ;
4661 PyObject
* obj0
= 0 ;
4662 PyObject
* obj1
= 0 ;
4663 PyObject
* obj2
= 0 ;
4664 PyObject
* obj3
= 0 ;
4665 PyObject
* obj4
= 0 ;
4666 PyObject
* obj5
= 0 ;
4667 PyObject
* obj6
= 0 ;
4669 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4674 if (SWIG_arg_fail(1)) SWIG_fail
;
4677 arg2
= (int const)(SWIG_As_int(obj1
));
4678 if (SWIG_arg_fail(2)) SWIG_fail
;
4683 arg3
= wxString_in_helper(obj2
);
4684 if (arg3
== NULL
) SWIG_fail
;
4691 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4697 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4702 arg6
= (long)(SWIG_As_long(obj5
));
4703 if (SWIG_arg_fail(6)) SWIG_fail
;
4708 arg7
= wxString_in_helper(obj6
);
4709 if (arg7
== NULL
) SWIG_fail
;
4714 if (!wxPyCheckForApp()) SWIG_fail
;
4715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4716 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4718 wxPyEndAllowThreads(__tstate
);
4719 if (PyErr_Occurred()) SWIG_fail
;
4721 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
4744 static PyObject
*_wrap_new_PreFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4745 PyObject
*resultobj
;
4751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
4753 if (!wxPyCheckForApp()) SWIG_fail
;
4754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4755 result
= (wxFrame
*)new wxFrame();
4757 wxPyEndAllowThreads(__tstate
);
4758 if (PyErr_Occurred()) SWIG_fail
;
4760 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
4767 static PyObject
*_wrap_Frame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4768 PyObject
*resultobj
;
4769 wxFrame
*arg1
= (wxFrame
*) 0 ;
4770 wxWindow
*arg2
= (wxWindow
*) 0 ;
4771 int arg3
= (int) (int)-1 ;
4772 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4773 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4774 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4775 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4776 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4777 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4778 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4779 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4780 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4782 bool temp4
= false ;
4785 bool temp8
= false ;
4786 PyObject
* obj0
= 0 ;
4787 PyObject
* obj1
= 0 ;
4788 PyObject
* obj2
= 0 ;
4789 PyObject
* obj3
= 0 ;
4790 PyObject
* obj4
= 0 ;
4791 PyObject
* obj5
= 0 ;
4792 PyObject
* obj6
= 0 ;
4793 PyObject
* obj7
= 0 ;
4795 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4800 if (SWIG_arg_fail(1)) SWIG_fail
;
4801 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4802 if (SWIG_arg_fail(2)) SWIG_fail
;
4805 arg3
= (int const)(SWIG_As_int(obj2
));
4806 if (SWIG_arg_fail(3)) SWIG_fail
;
4811 arg4
= wxString_in_helper(obj3
);
4812 if (arg4
== NULL
) SWIG_fail
;
4819 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4825 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4830 arg7
= (long)(SWIG_As_long(obj6
));
4831 if (SWIG_arg_fail(7)) SWIG_fail
;
4836 arg8
= wxString_in_helper(obj7
);
4837 if (arg8
== NULL
) SWIG_fail
;
4842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4843 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4845 wxPyEndAllowThreads(__tstate
);
4846 if (PyErr_Occurred()) SWIG_fail
;
4849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4873 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4874 PyObject
*resultobj
;
4875 wxFrame
*arg1
= (wxFrame
*) 0 ;
4877 PyObject
* obj0
= 0 ;
4879 (char *) "self", NULL
4882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
4883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4884 if (SWIG_arg_fail(1)) SWIG_fail
;
4886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4887 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
4889 wxPyEndAllowThreads(__tstate
);
4890 if (PyErr_Occurred()) SWIG_fail
;
4893 wxPoint
* resultptr
;
4894 resultptr
= new wxPoint((wxPoint
&)(result
));
4895 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4903 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4904 PyObject
*resultobj
;
4905 wxFrame
*arg1
= (wxFrame
*) 0 ;
4906 PyObject
* obj0
= 0 ;
4908 (char *) "self", NULL
4911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
4912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4913 if (SWIG_arg_fail(1)) SWIG_fail
;
4915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4916 (arg1
)->SendSizeEvent();
4918 wxPyEndAllowThreads(__tstate
);
4919 if (PyErr_Occurred()) SWIG_fail
;
4921 Py_INCREF(Py_None
); resultobj
= Py_None
;
4928 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4929 PyObject
*resultobj
;
4930 wxFrame
*arg1
= (wxFrame
*) 0 ;
4931 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
4932 PyObject
* obj0
= 0 ;
4933 PyObject
* obj1
= 0 ;
4935 (char *) "self",(char *) "menubar", NULL
4938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
4939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4940 if (SWIG_arg_fail(1)) SWIG_fail
;
4941 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
4942 if (SWIG_arg_fail(2)) SWIG_fail
;
4944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4945 (arg1
)->SetMenuBar(arg2
);
4947 wxPyEndAllowThreads(__tstate
);
4948 if (PyErr_Occurred()) SWIG_fail
;
4950 Py_INCREF(Py_None
); resultobj
= Py_None
;
4957 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4958 PyObject
*resultobj
;
4959 wxFrame
*arg1
= (wxFrame
*) 0 ;
4961 PyObject
* obj0
= 0 ;
4963 (char *) "self", NULL
4966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
4967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4968 if (SWIG_arg_fail(1)) SWIG_fail
;
4970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4971 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
4973 wxPyEndAllowThreads(__tstate
);
4974 if (PyErr_Occurred()) SWIG_fail
;
4977 resultobj
= wxPyMake_wxObject(result
, 0);
4985 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4986 PyObject
*resultobj
;
4987 wxFrame
*arg1
= (wxFrame
*) 0 ;
4990 PyObject
* obj0
= 0 ;
4991 PyObject
* obj1
= 0 ;
4993 (char *) "self",(char *) "winid", NULL
4996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
4997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4998 if (SWIG_arg_fail(1)) SWIG_fail
;
5000 arg2
= (int)(SWIG_As_int(obj1
));
5001 if (SWIG_arg_fail(2)) SWIG_fail
;
5004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5005 result
= (bool)(arg1
)->ProcessCommand(arg2
);
5007 wxPyEndAllowThreads(__tstate
);
5008 if (PyErr_Occurred()) SWIG_fail
;
5011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5019 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5020 PyObject
*resultobj
;
5021 wxFrame
*arg1
= (wxFrame
*) 0 ;
5022 int arg2
= (int) 1 ;
5023 long arg3
= (long) wxST_SIZEGRIP
;
5024 int arg4
= (int) 0 ;
5025 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
5026 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5027 wxStatusBar
*result
;
5028 bool temp5
= false ;
5029 PyObject
* obj0
= 0 ;
5030 PyObject
* obj1
= 0 ;
5031 PyObject
* obj2
= 0 ;
5032 PyObject
* obj3
= 0 ;
5033 PyObject
* obj4
= 0 ;
5035 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
5038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5040 if (SWIG_arg_fail(1)) SWIG_fail
;
5043 arg2
= (int)(SWIG_As_int(obj1
));
5044 if (SWIG_arg_fail(2)) SWIG_fail
;
5049 arg3
= (long)(SWIG_As_long(obj2
));
5050 if (SWIG_arg_fail(3)) SWIG_fail
;
5055 arg4
= (int)(SWIG_As_int(obj3
));
5056 if (SWIG_arg_fail(4)) SWIG_fail
;
5061 arg5
= wxString_in_helper(obj4
);
5062 if (arg5
== NULL
) SWIG_fail
;
5067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5068 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
5070 wxPyEndAllowThreads(__tstate
);
5071 if (PyErr_Occurred()) SWIG_fail
;
5074 resultobj
= wxPyMake_wxObject(result
, 0);
5090 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5091 PyObject
*resultobj
;
5092 wxFrame
*arg1
= (wxFrame
*) 0 ;
5093 wxStatusBar
*result
;
5094 PyObject
* obj0
= 0 ;
5096 (char *) "self", NULL
5099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
5100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5101 if (SWIG_arg_fail(1)) SWIG_fail
;
5103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5104 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
5106 wxPyEndAllowThreads(__tstate
);
5107 if (PyErr_Occurred()) SWIG_fail
;
5110 resultobj
= wxPyMake_wxObject(result
, 0);
5118 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5119 PyObject
*resultobj
;
5120 wxFrame
*arg1
= (wxFrame
*) 0 ;
5121 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
5122 PyObject
* obj0
= 0 ;
5123 PyObject
* obj1
= 0 ;
5125 (char *) "self",(char *) "statBar", NULL
5128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
5129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5130 if (SWIG_arg_fail(1)) SWIG_fail
;
5131 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
5132 if (SWIG_arg_fail(2)) SWIG_fail
;
5134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5135 (arg1
)->SetStatusBar(arg2
);
5137 wxPyEndAllowThreads(__tstate
);
5138 if (PyErr_Occurred()) SWIG_fail
;
5140 Py_INCREF(Py_None
); resultobj
= Py_None
;
5147 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5148 PyObject
*resultobj
;
5149 wxFrame
*arg1
= (wxFrame
*) 0 ;
5150 wxString
*arg2
= 0 ;
5151 int arg3
= (int) 0 ;
5152 bool temp2
= false ;
5153 PyObject
* obj0
= 0 ;
5154 PyObject
* obj1
= 0 ;
5155 PyObject
* obj2
= 0 ;
5157 (char *) "self",(char *) "text",(char *) "number", NULL
5160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5162 if (SWIG_arg_fail(1)) SWIG_fail
;
5164 arg2
= wxString_in_helper(obj1
);
5165 if (arg2
== NULL
) SWIG_fail
;
5170 arg3
= (int)(SWIG_As_int(obj2
));
5171 if (SWIG_arg_fail(3)) SWIG_fail
;
5175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5176 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5178 wxPyEndAllowThreads(__tstate
);
5179 if (PyErr_Occurred()) SWIG_fail
;
5181 Py_INCREF(Py_None
); resultobj
= Py_None
;
5196 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5197 PyObject
*resultobj
;
5198 wxFrame
*arg1
= (wxFrame
*) 0 ;
5200 int *arg3
= (int *) 0 ;
5201 PyObject
* obj0
= 0 ;
5202 PyObject
* obj1
= 0 ;
5204 (char *) "self",(char *) "widths", NULL
5207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5209 if (SWIG_arg_fail(1)) SWIG_fail
;
5211 arg2
= PyList_Size(obj1
);
5212 arg3
= int_LIST_helper(obj1
);
5213 if (arg3
== NULL
) SWIG_fail
;
5216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5217 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5219 wxPyEndAllowThreads(__tstate
);
5220 if (PyErr_Occurred()) SWIG_fail
;
5222 Py_INCREF(Py_None
); resultobj
= Py_None
;
5224 if (arg3
) delete [] arg3
;
5229 if (arg3
) delete [] arg3
;
5235 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5236 PyObject
*resultobj
;
5237 wxFrame
*arg1
= (wxFrame
*) 0 ;
5238 wxString
*arg2
= 0 ;
5239 int arg3
= (int) 0 ;
5240 bool temp2
= false ;
5241 PyObject
* obj0
= 0 ;
5242 PyObject
* obj1
= 0 ;
5243 PyObject
* obj2
= 0 ;
5245 (char *) "self",(char *) "text",(char *) "number", NULL
5248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5250 if (SWIG_arg_fail(1)) SWIG_fail
;
5252 arg2
= wxString_in_helper(obj1
);
5253 if (arg2
== NULL
) SWIG_fail
;
5258 arg3
= (int)(SWIG_As_int(obj2
));
5259 if (SWIG_arg_fail(3)) SWIG_fail
;
5263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5264 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5266 wxPyEndAllowThreads(__tstate
);
5267 if (PyErr_Occurred()) SWIG_fail
;
5269 Py_INCREF(Py_None
); resultobj
= Py_None
;
5284 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5285 PyObject
*resultobj
;
5286 wxFrame
*arg1
= (wxFrame
*) 0 ;
5287 int arg2
= (int) 0 ;
5288 PyObject
* obj0
= 0 ;
5289 PyObject
* obj1
= 0 ;
5291 (char *) "self",(char *) "number", NULL
5294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5296 if (SWIG_arg_fail(1)) SWIG_fail
;
5299 arg2
= (int)(SWIG_As_int(obj1
));
5300 if (SWIG_arg_fail(2)) SWIG_fail
;
5304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5305 (arg1
)->PopStatusText(arg2
);
5307 wxPyEndAllowThreads(__tstate
);
5308 if (PyErr_Occurred()) SWIG_fail
;
5310 Py_INCREF(Py_None
); resultobj
= Py_None
;
5317 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5318 PyObject
*resultobj
;
5319 wxFrame
*arg1
= (wxFrame
*) 0 ;
5321 PyObject
* obj0
= 0 ;
5322 PyObject
* obj1
= 0 ;
5324 (char *) "self",(char *) "n", NULL
5327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
5328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5329 if (SWIG_arg_fail(1)) SWIG_fail
;
5331 arg2
= (int)(SWIG_As_int(obj1
));
5332 if (SWIG_arg_fail(2)) SWIG_fail
;
5335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5336 (arg1
)->SetStatusBarPane(arg2
);
5338 wxPyEndAllowThreads(__tstate
);
5339 if (PyErr_Occurred()) SWIG_fail
;
5341 Py_INCREF(Py_None
); resultobj
= Py_None
;
5348 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5349 PyObject
*resultobj
;
5350 wxFrame
*arg1
= (wxFrame
*) 0 ;
5352 PyObject
* obj0
= 0 ;
5354 (char *) "self", NULL
5357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
5358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5359 if (SWIG_arg_fail(1)) SWIG_fail
;
5361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5362 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
5364 wxPyEndAllowThreads(__tstate
);
5365 if (PyErr_Occurred()) SWIG_fail
;
5368 resultobj
= SWIG_From_int((int)(result
));
5376 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5377 PyObject
*resultobj
;
5378 wxFrame
*arg1
= (wxFrame
*) 0 ;
5379 long arg2
= (long) -1 ;
5380 int arg3
= (int) -1 ;
5381 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
5382 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5384 bool temp4
= false ;
5385 PyObject
* obj0
= 0 ;
5386 PyObject
* obj1
= 0 ;
5387 PyObject
* obj2
= 0 ;
5388 PyObject
* obj3
= 0 ;
5390 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
5393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5395 if (SWIG_arg_fail(1)) SWIG_fail
;
5398 arg2
= (long)(SWIG_As_long(obj1
));
5399 if (SWIG_arg_fail(2)) SWIG_fail
;
5404 arg3
= (int)(SWIG_As_int(obj2
));
5405 if (SWIG_arg_fail(3)) SWIG_fail
;
5410 arg4
= wxString_in_helper(obj3
);
5411 if (arg4
== NULL
) SWIG_fail
;
5416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5417 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
5419 wxPyEndAllowThreads(__tstate
);
5420 if (PyErr_Occurred()) SWIG_fail
;
5423 resultobj
= wxPyMake_wxObject(result
, 0);
5439 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5440 PyObject
*resultobj
;
5441 wxFrame
*arg1
= (wxFrame
*) 0 ;
5443 PyObject
* obj0
= 0 ;
5445 (char *) "self", NULL
5448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
5449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5450 if (SWIG_arg_fail(1)) SWIG_fail
;
5452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5453 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
5455 wxPyEndAllowThreads(__tstate
);
5456 if (PyErr_Occurred()) SWIG_fail
;
5459 resultobj
= wxPyMake_wxObject(result
, 0);
5467 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5468 PyObject
*resultobj
;
5469 wxFrame
*arg1
= (wxFrame
*) 0 ;
5470 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
5471 PyObject
* obj0
= 0 ;
5472 PyObject
* obj1
= 0 ;
5474 (char *) "self",(char *) "toolbar", NULL
5477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
5478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5479 if (SWIG_arg_fail(1)) SWIG_fail
;
5480 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
5481 if (SWIG_arg_fail(2)) SWIG_fail
;
5483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5484 (arg1
)->SetToolBar(arg2
);
5486 wxPyEndAllowThreads(__tstate
);
5487 if (PyErr_Occurred()) SWIG_fail
;
5489 Py_INCREF(Py_None
); resultobj
= Py_None
;
5496 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5497 PyObject
*resultobj
;
5498 wxFrame
*arg1
= (wxFrame
*) 0 ;
5499 wxString
*arg2
= 0 ;
5501 bool temp2
= false ;
5502 PyObject
* obj0
= 0 ;
5503 PyObject
* obj1
= 0 ;
5504 PyObject
* obj2
= 0 ;
5506 (char *) "self",(char *) "text",(char *) "show", NULL
5509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5511 if (SWIG_arg_fail(1)) SWIG_fail
;
5513 arg2
= wxString_in_helper(obj1
);
5514 if (arg2
== NULL
) SWIG_fail
;
5518 arg3
= (bool)(SWIG_As_bool(obj2
));
5519 if (SWIG_arg_fail(3)) SWIG_fail
;
5522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5523 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
5525 wxPyEndAllowThreads(__tstate
);
5526 if (PyErr_Occurred()) SWIG_fail
;
5528 Py_INCREF(Py_None
); resultobj
= Py_None
;
5543 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5544 PyObject
*resultobj
;
5545 wxFrame
*arg1
= (wxFrame
*) 0 ;
5546 wxMenu
*arg2
= (wxMenu
*) NULL
;
5547 PyObject
* obj0
= 0 ;
5548 PyObject
* obj1
= 0 ;
5550 (char *) "self",(char *) "menu", NULL
5553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
5554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5555 if (SWIG_arg_fail(1)) SWIG_fail
;
5557 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
5558 if (SWIG_arg_fail(2)) SWIG_fail
;
5561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5562 (arg1
)->DoMenuUpdates(arg2
);
5564 wxPyEndAllowThreads(__tstate
);
5565 if (PyErr_Occurred()) SWIG_fail
;
5567 Py_INCREF(Py_None
); resultobj
= Py_None
;
5574 static PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5575 PyObject
*resultobj
;
5576 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5577 wxVisualAttributes result
;
5578 PyObject
* obj0
= 0 ;
5580 (char *) "variant", NULL
5583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5586 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
5587 if (SWIG_arg_fail(1)) SWIG_fail
;
5591 if (!wxPyCheckForApp()) SWIG_fail
;
5592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5593 result
= wxFrame::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5595 wxPyEndAllowThreads(__tstate
);
5596 if (PyErr_Occurred()) SWIG_fail
;
5599 wxVisualAttributes
* resultptr
;
5600 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
5601 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5609 static PyObject
* Frame_swigregister(PyObject
*, PyObject
*args
) {
5611 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5612 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
5614 return Py_BuildValue((char *)"");
5616 static PyObject
*_wrap_new_Dialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5617 PyObject
*resultobj
;
5618 wxWindow
*arg1
= (wxWindow
*) 0 ;
5619 int arg2
= (int) (int)-1 ;
5620 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5621 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5622 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5623 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5624 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5625 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5626 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
5627 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
5628 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5630 bool temp3
= false ;
5633 bool temp7
= false ;
5634 PyObject
* obj0
= 0 ;
5635 PyObject
* obj1
= 0 ;
5636 PyObject
* obj2
= 0 ;
5637 PyObject
* obj3
= 0 ;
5638 PyObject
* obj4
= 0 ;
5639 PyObject
* obj5
= 0 ;
5640 PyObject
* obj6
= 0 ;
5642 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5647 if (SWIG_arg_fail(1)) SWIG_fail
;
5650 arg2
= (int const)(SWIG_As_int(obj1
));
5651 if (SWIG_arg_fail(2)) SWIG_fail
;
5656 arg3
= wxString_in_helper(obj2
);
5657 if (arg3
== NULL
) SWIG_fail
;
5664 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5670 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5675 arg6
= (long)(SWIG_As_long(obj5
));
5676 if (SWIG_arg_fail(6)) SWIG_fail
;
5681 arg7
= wxString_in_helper(obj6
);
5682 if (arg7
== NULL
) SWIG_fail
;
5687 if (!wxPyCheckForApp()) SWIG_fail
;
5688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5689 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5691 wxPyEndAllowThreads(__tstate
);
5692 if (PyErr_Occurred()) SWIG_fail
;
5694 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
5717 static PyObject
*_wrap_new_PreDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5718 PyObject
*resultobj
;
5724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
5726 if (!wxPyCheckForApp()) SWIG_fail
;
5727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5728 result
= (wxDialog
*)new wxDialog();
5730 wxPyEndAllowThreads(__tstate
);
5731 if (PyErr_Occurred()) SWIG_fail
;
5733 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
5740 static PyObject
*_wrap_Dialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5741 PyObject
*resultobj
;
5742 wxDialog
*arg1
= (wxDialog
*) 0 ;
5743 wxWindow
*arg2
= (wxWindow
*) 0 ;
5744 int arg3
= (int) (int)-1 ;
5745 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5746 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5747 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5748 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5749 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5750 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5751 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
5752 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
5753 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5755 bool temp4
= false ;
5758 bool temp8
= false ;
5759 PyObject
* obj0
= 0 ;
5760 PyObject
* obj1
= 0 ;
5761 PyObject
* obj2
= 0 ;
5762 PyObject
* obj3
= 0 ;
5763 PyObject
* obj4
= 0 ;
5764 PyObject
* obj5
= 0 ;
5765 PyObject
* obj6
= 0 ;
5766 PyObject
* obj7
= 0 ;
5768 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5773 if (SWIG_arg_fail(1)) SWIG_fail
;
5774 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5775 if (SWIG_arg_fail(2)) SWIG_fail
;
5778 arg3
= (int const)(SWIG_As_int(obj2
));
5779 if (SWIG_arg_fail(3)) SWIG_fail
;
5784 arg4
= wxString_in_helper(obj3
);
5785 if (arg4
== NULL
) SWIG_fail
;
5792 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5798 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5803 arg7
= (long)(SWIG_As_long(obj6
));
5804 if (SWIG_arg_fail(7)) SWIG_fail
;
5809 arg8
= wxString_in_helper(obj7
);
5810 if (arg8
== NULL
) SWIG_fail
;
5815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5816 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5818 wxPyEndAllowThreads(__tstate
);
5819 if (PyErr_Occurred()) SWIG_fail
;
5822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5846 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5847 PyObject
*resultobj
;
5848 wxDialog
*arg1
= (wxDialog
*) 0 ;
5850 PyObject
* obj0
= 0 ;
5851 PyObject
* obj1
= 0 ;
5853 (char *) "self",(char *) "returnCode", NULL
5856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
5857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5858 if (SWIG_arg_fail(1)) SWIG_fail
;
5860 arg2
= (int)(SWIG_As_int(obj1
));
5861 if (SWIG_arg_fail(2)) SWIG_fail
;
5864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5865 (arg1
)->SetReturnCode(arg2
);
5867 wxPyEndAllowThreads(__tstate
);
5868 if (PyErr_Occurred()) SWIG_fail
;
5870 Py_INCREF(Py_None
); resultobj
= Py_None
;
5877 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5878 PyObject
*resultobj
;
5879 wxDialog
*arg1
= (wxDialog
*) 0 ;
5881 PyObject
* obj0
= 0 ;
5883 (char *) "self", NULL
5886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
5887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5888 if (SWIG_arg_fail(1)) SWIG_fail
;
5890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5891 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
5893 wxPyEndAllowThreads(__tstate
);
5894 if (PyErr_Occurred()) SWIG_fail
;
5897 resultobj
= SWIG_From_int((int)(result
));
5905 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5906 PyObject
*resultobj
;
5907 wxDialog
*arg1
= (wxDialog
*) 0 ;
5908 wxString
*arg2
= 0 ;
5910 bool temp2
= false ;
5911 PyObject
* obj0
= 0 ;
5912 PyObject
* obj1
= 0 ;
5914 (char *) "self",(char *) "message", NULL
5917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
5918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5919 if (SWIG_arg_fail(1)) SWIG_fail
;
5921 arg2
= wxString_in_helper(obj1
);
5922 if (arg2
== NULL
) SWIG_fail
;
5926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5927 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
5929 wxPyEndAllowThreads(__tstate
);
5930 if (PyErr_Occurred()) SWIG_fail
;
5933 resultobj
= wxPyMake_wxSizer(result
, 0);
5949 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5950 PyObject
*resultobj
;
5951 wxDialog
*arg1
= (wxDialog
*) 0 ;
5954 PyObject
* obj0
= 0 ;
5955 PyObject
* obj1
= 0 ;
5957 (char *) "self",(char *) "flags", NULL
5960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
5961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5962 if (SWIG_arg_fail(1)) SWIG_fail
;
5964 arg2
= (long)(SWIG_As_long(obj1
));
5965 if (SWIG_arg_fail(2)) SWIG_fail
;
5968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5969 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
5971 wxPyEndAllowThreads(__tstate
);
5972 if (PyErr_Occurred()) SWIG_fail
;
5975 resultobj
= wxPyMake_wxSizer(result
, 0);
5983 static PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5984 PyObject
*resultobj
;
5985 wxDialog
*arg1
= (wxDialog
*) 0 ;
5987 wxStdDialogButtonSizer
*result
;
5988 PyObject
* obj0
= 0 ;
5989 PyObject
* obj1
= 0 ;
5991 (char *) "self",(char *) "flags", NULL
5994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
5995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5996 if (SWIG_arg_fail(1)) SWIG_fail
;
5998 arg2
= (long)(SWIG_As_long(obj1
));
5999 if (SWIG_arg_fail(2)) SWIG_fail
;
6002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6003 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
6005 wxPyEndAllowThreads(__tstate
);
6006 if (PyErr_Occurred()) SWIG_fail
;
6008 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0);
6015 static PyObject
*_wrap_Dialog_IsModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6016 PyObject
*resultobj
;
6017 wxDialog
*arg1
= (wxDialog
*) 0 ;
6019 PyObject
* obj0
= 0 ;
6021 (char *) "self", NULL
6024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
6025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6026 if (SWIG_arg_fail(1)) SWIG_fail
;
6028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6029 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
6031 wxPyEndAllowThreads(__tstate
);
6032 if (PyErr_Occurred()) SWIG_fail
;
6035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6043 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6044 PyObject
*resultobj
;
6045 wxDialog
*arg1
= (wxDialog
*) 0 ;
6047 PyObject
* obj0
= 0 ;
6049 (char *) "self", NULL
6052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
6053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6054 if (SWIG_arg_fail(1)) SWIG_fail
;
6056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6057 result
= (int)(arg1
)->ShowModal();
6059 wxPyEndAllowThreads(__tstate
);
6060 if (PyErr_Occurred()) SWIG_fail
;
6063 resultobj
= SWIG_From_int((int)(result
));
6071 static PyObject
*_wrap_Dialog_EndModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6072 PyObject
*resultobj
;
6073 wxDialog
*arg1
= (wxDialog
*) 0 ;
6075 PyObject
* obj0
= 0 ;
6076 PyObject
* obj1
= 0 ;
6078 (char *) "self",(char *) "retCode", NULL
6081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
6082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6083 if (SWIG_arg_fail(1)) SWIG_fail
;
6085 arg2
= (int)(SWIG_As_int(obj1
));
6086 if (SWIG_arg_fail(2)) SWIG_fail
;
6089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6090 (arg1
)->EndModal(arg2
);
6092 wxPyEndAllowThreads(__tstate
);
6093 if (PyErr_Occurred()) SWIG_fail
;
6095 Py_INCREF(Py_None
); resultobj
= Py_None
;
6102 static PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6103 PyObject
*resultobj
;
6104 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6105 wxVisualAttributes result
;
6106 PyObject
* obj0
= 0 ;
6108 (char *) "variant", NULL
6111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6114 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6115 if (SWIG_arg_fail(1)) SWIG_fail
;
6119 if (!wxPyCheckForApp()) SWIG_fail
;
6120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6121 result
= wxDialog::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6123 wxPyEndAllowThreads(__tstate
);
6124 if (PyErr_Occurred()) SWIG_fail
;
6127 wxVisualAttributes
* resultptr
;
6128 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6129 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6137 static PyObject
* Dialog_swigregister(PyObject
*, PyObject
*args
) {
6139 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6140 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
6142 return Py_BuildValue((char *)"");
6144 static PyObject
*_wrap_new_MiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6145 PyObject
*resultobj
;
6146 wxWindow
*arg1
= (wxWindow
*) 0 ;
6147 int arg2
= (int) (int)-1 ;
6148 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6149 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6150 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6151 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6152 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6153 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6154 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6155 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6156 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6157 wxMiniFrame
*result
;
6158 bool temp3
= false ;
6161 bool temp7
= false ;
6162 PyObject
* obj0
= 0 ;
6163 PyObject
* obj1
= 0 ;
6164 PyObject
* obj2
= 0 ;
6165 PyObject
* obj3
= 0 ;
6166 PyObject
* obj4
= 0 ;
6167 PyObject
* obj5
= 0 ;
6168 PyObject
* obj6
= 0 ;
6170 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6175 if (SWIG_arg_fail(1)) SWIG_fail
;
6178 arg2
= (int const)(SWIG_As_int(obj1
));
6179 if (SWIG_arg_fail(2)) SWIG_fail
;
6184 arg3
= wxString_in_helper(obj2
);
6185 if (arg3
== NULL
) SWIG_fail
;
6192 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6198 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6203 arg6
= (long)(SWIG_As_long(obj5
));
6204 if (SWIG_arg_fail(6)) SWIG_fail
;
6209 arg7
= wxString_in_helper(obj6
);
6210 if (arg7
== NULL
) SWIG_fail
;
6215 if (!wxPyCheckForApp()) SWIG_fail
;
6216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6217 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6219 wxPyEndAllowThreads(__tstate
);
6220 if (PyErr_Occurred()) SWIG_fail
;
6222 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
6245 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6246 PyObject
*resultobj
;
6247 wxMiniFrame
*result
;
6252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
6254 if (!wxPyCheckForApp()) SWIG_fail
;
6255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6256 result
= (wxMiniFrame
*)new wxMiniFrame();
6258 wxPyEndAllowThreads(__tstate
);
6259 if (PyErr_Occurred()) SWIG_fail
;
6261 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
6268 static PyObject
*_wrap_MiniFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6269 PyObject
*resultobj
;
6270 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
6271 wxWindow
*arg2
= (wxWindow
*) 0 ;
6272 int arg3
= (int) (int)-1 ;
6273 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6274 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6275 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6276 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6277 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6278 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6279 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6280 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6281 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6283 bool temp4
= false ;
6286 bool temp8
= false ;
6287 PyObject
* obj0
= 0 ;
6288 PyObject
* obj1
= 0 ;
6289 PyObject
* obj2
= 0 ;
6290 PyObject
* obj3
= 0 ;
6291 PyObject
* obj4
= 0 ;
6292 PyObject
* obj5
= 0 ;
6293 PyObject
* obj6
= 0 ;
6294 PyObject
* obj7
= 0 ;
6296 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_EXCEPTION
| 0);
6301 if (SWIG_arg_fail(1)) SWIG_fail
;
6302 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6303 if (SWIG_arg_fail(2)) SWIG_fail
;
6306 arg3
= (int const)(SWIG_As_int(obj2
));
6307 if (SWIG_arg_fail(3)) SWIG_fail
;
6312 arg4
= wxString_in_helper(obj3
);
6313 if (arg4
== NULL
) SWIG_fail
;
6320 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6326 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6331 arg7
= (long)(SWIG_As_long(obj6
));
6332 if (SWIG_arg_fail(7)) SWIG_fail
;
6337 arg8
= wxString_in_helper(obj7
);
6338 if (arg8
== NULL
) SWIG_fail
;
6343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6344 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6346 wxPyEndAllowThreads(__tstate
);
6347 if (PyErr_Occurred()) SWIG_fail
;
6350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6374 static PyObject
* MiniFrame_swigregister(PyObject
*, PyObject
*args
) {
6376 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6377 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
6379 return Py_BuildValue((char *)"");
6381 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6382 PyObject
*resultobj
;
6383 wxBitmap
*arg1
= 0 ;
6384 wxWindow
*arg2
= (wxWindow
*) 0 ;
6386 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6387 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6388 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6389 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6390 long arg6
= (long) wxNO_BORDER
;
6391 wxSplashScreenWindow
*result
;
6394 PyObject
* obj0
= 0 ;
6395 PyObject
* obj1
= 0 ;
6396 PyObject
* obj2
= 0 ;
6397 PyObject
* obj3
= 0 ;
6398 PyObject
* obj4
= 0 ;
6399 PyObject
* obj5
= 0 ;
6401 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6407 if (SWIG_arg_fail(1)) SWIG_fail
;
6409 SWIG_null_ref("wxBitmap");
6411 if (SWIG_arg_fail(1)) SWIG_fail
;
6413 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6414 if (SWIG_arg_fail(2)) SWIG_fail
;
6416 arg3
= (int)(SWIG_As_int(obj2
));
6417 if (SWIG_arg_fail(3)) SWIG_fail
;
6422 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6428 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6433 arg6
= (long)(SWIG_As_long(obj5
));
6434 if (SWIG_arg_fail(6)) SWIG_fail
;
6438 if (!wxPyCheckForApp()) SWIG_fail
;
6439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6440 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
6442 wxPyEndAllowThreads(__tstate
);
6443 if (PyErr_Occurred()) SWIG_fail
;
6445 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
6452 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6453 PyObject
*resultobj
;
6454 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
6455 wxBitmap
*arg2
= 0 ;
6456 PyObject
* obj0
= 0 ;
6457 PyObject
* obj1
= 0 ;
6459 (char *) "self",(char *) "bitmap", NULL
6462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
6463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_EXCEPTION
| 0);
6464 if (SWIG_arg_fail(1)) SWIG_fail
;
6466 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6467 if (SWIG_arg_fail(2)) SWIG_fail
;
6469 SWIG_null_ref("wxBitmap");
6471 if (SWIG_arg_fail(2)) SWIG_fail
;
6474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6475 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
6477 wxPyEndAllowThreads(__tstate
);
6478 if (PyErr_Occurred()) SWIG_fail
;
6480 Py_INCREF(Py_None
); resultobj
= Py_None
;
6487 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6488 PyObject
*resultobj
;
6489 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
6491 PyObject
* obj0
= 0 ;
6493 (char *) "self", NULL
6496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
6497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_EXCEPTION
| 0);
6498 if (SWIG_arg_fail(1)) SWIG_fail
;
6500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6502 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
6503 result
= (wxBitmap
*) &_result_ref
;
6506 wxPyEndAllowThreads(__tstate
);
6507 if (PyErr_Occurred()) SWIG_fail
;
6510 wxBitmap
* resultptr
= new wxBitmap(*result
);
6511 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
6519 static PyObject
* SplashScreenWindow_swigregister(PyObject
*, PyObject
*args
) {
6521 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6522 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
6524 return Py_BuildValue((char *)"");
6526 static PyObject
*_wrap_new_SplashScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6527 PyObject
*resultobj
;
6528 wxBitmap
*arg1
= 0 ;
6531 wxWindow
*arg4
= (wxWindow
*) 0 ;
6532 int arg5
= (int) -1 ;
6533 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
6534 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
6535 wxSize
const &arg7_defvalue
= wxDefaultSize
;
6536 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
6537 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
6538 wxSplashScreen
*result
;
6541 PyObject
* obj0
= 0 ;
6542 PyObject
* obj1
= 0 ;
6543 PyObject
* obj2
= 0 ;
6544 PyObject
* obj3
= 0 ;
6545 PyObject
* obj4
= 0 ;
6546 PyObject
* obj5
= 0 ;
6547 PyObject
* obj6
= 0 ;
6548 PyObject
* obj7
= 0 ;
6550 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6556 if (SWIG_arg_fail(1)) SWIG_fail
;
6558 SWIG_null_ref("wxBitmap");
6560 if (SWIG_arg_fail(1)) SWIG_fail
;
6563 arg2
= (long)(SWIG_As_long(obj1
));
6564 if (SWIG_arg_fail(2)) SWIG_fail
;
6567 arg3
= (int)(SWIG_As_int(obj2
));
6568 if (SWIG_arg_fail(3)) SWIG_fail
;
6570 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6571 if (SWIG_arg_fail(4)) SWIG_fail
;
6574 arg5
= (int)(SWIG_As_int(obj4
));
6575 if (SWIG_arg_fail(5)) SWIG_fail
;
6581 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
6587 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
6592 arg8
= (long)(SWIG_As_long(obj7
));
6593 if (SWIG_arg_fail(8)) SWIG_fail
;
6597 if (!wxPyCheckForApp()) SWIG_fail
;
6598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6599 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
6601 wxPyEndAllowThreads(__tstate
);
6602 if (PyErr_Occurred()) SWIG_fail
;
6604 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
6611 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6612 PyObject
*resultobj
;
6613 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6615 PyObject
* obj0
= 0 ;
6617 (char *) "self", NULL
6620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
6621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6622 if (SWIG_arg_fail(1)) SWIG_fail
;
6624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6625 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
6627 wxPyEndAllowThreads(__tstate
);
6628 if (PyErr_Occurred()) SWIG_fail
;
6631 resultobj
= SWIG_From_long((long)(result
));
6639 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6640 PyObject
*resultobj
;
6641 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6642 wxSplashScreenWindow
*result
;
6643 PyObject
* obj0
= 0 ;
6645 (char *) "self", NULL
6648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
6649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6650 if (SWIG_arg_fail(1)) SWIG_fail
;
6652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6653 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
6655 wxPyEndAllowThreads(__tstate
);
6656 if (PyErr_Occurred()) SWIG_fail
;
6658 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
6665 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6666 PyObject
*resultobj
;
6667 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6669 PyObject
* obj0
= 0 ;
6671 (char *) "self", NULL
6674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
6675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6676 if (SWIG_arg_fail(1)) SWIG_fail
;
6678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6679 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
6681 wxPyEndAllowThreads(__tstate
);
6682 if (PyErr_Occurred()) SWIG_fail
;
6685 resultobj
= SWIG_From_int((int)(result
));
6693 static PyObject
* SplashScreen_swigregister(PyObject
*, PyObject
*args
) {
6695 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6696 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
6698 return Py_BuildValue((char *)"");
6700 static PyObject
*_wrap_new_StatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6701 PyObject
*resultobj
;
6702 wxWindow
*arg1
= (wxWindow
*) 0 ;
6703 int arg2
= (int) -1 ;
6704 long arg3
= (long) wxST_SIZEGRIP
;
6705 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
6706 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6707 wxStatusBar
*result
;
6708 bool temp4
= false ;
6709 PyObject
* obj0
= 0 ;
6710 PyObject
* obj1
= 0 ;
6711 PyObject
* obj2
= 0 ;
6712 PyObject
* obj3
= 0 ;
6714 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6719 if (SWIG_arg_fail(1)) SWIG_fail
;
6722 arg2
= (int)(SWIG_As_int(obj1
));
6723 if (SWIG_arg_fail(2)) SWIG_fail
;
6728 arg3
= (long)(SWIG_As_long(obj2
));
6729 if (SWIG_arg_fail(3)) SWIG_fail
;
6734 arg4
= wxString_in_helper(obj3
);
6735 if (arg4
== NULL
) SWIG_fail
;
6740 if (!wxPyCheckForApp()) SWIG_fail
;
6741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6742 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
6744 wxPyEndAllowThreads(__tstate
);
6745 if (PyErr_Occurred()) SWIG_fail
;
6747 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
6762 static PyObject
*_wrap_new_PreStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6763 PyObject
*resultobj
;
6764 wxStatusBar
*result
;
6769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
6771 if (!wxPyCheckForApp()) SWIG_fail
;
6772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6773 result
= (wxStatusBar
*)new wxStatusBar();
6775 wxPyEndAllowThreads(__tstate
);
6776 if (PyErr_Occurred()) SWIG_fail
;
6778 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
6785 static PyObject
*_wrap_StatusBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6786 PyObject
*resultobj
;
6787 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6788 wxWindow
*arg2
= (wxWindow
*) 0 ;
6789 int arg3
= (int) -1 ;
6790 long arg4
= (long) wxST_SIZEGRIP
;
6791 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6792 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6794 bool temp5
= false ;
6795 PyObject
* obj0
= 0 ;
6796 PyObject
* obj1
= 0 ;
6797 PyObject
* obj2
= 0 ;
6798 PyObject
* obj3
= 0 ;
6799 PyObject
* obj4
= 0 ;
6801 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6806 if (SWIG_arg_fail(1)) SWIG_fail
;
6807 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6808 if (SWIG_arg_fail(2)) SWIG_fail
;
6811 arg3
= (int)(SWIG_As_int(obj2
));
6812 if (SWIG_arg_fail(3)) SWIG_fail
;
6817 arg4
= (long)(SWIG_As_long(obj3
));
6818 if (SWIG_arg_fail(4)) SWIG_fail
;
6823 arg5
= wxString_in_helper(obj4
);
6824 if (arg5
== NULL
) SWIG_fail
;
6829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6830 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6832 wxPyEndAllowThreads(__tstate
);
6833 if (PyErr_Occurred()) SWIG_fail
;
6836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6852 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6853 PyObject
*resultobj
;
6854 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6855 int arg2
= (int) 1 ;
6856 PyObject
* obj0
= 0 ;
6857 PyObject
* obj1
= 0 ;
6859 (char *) "self",(char *) "number", NULL
6862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
6863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6864 if (SWIG_arg_fail(1)) SWIG_fail
;
6867 arg2
= (int)(SWIG_As_int(obj1
));
6868 if (SWIG_arg_fail(2)) SWIG_fail
;
6872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6873 (arg1
)->SetFieldsCount(arg2
);
6875 wxPyEndAllowThreads(__tstate
);
6876 if (PyErr_Occurred()) SWIG_fail
;
6878 Py_INCREF(Py_None
); resultobj
= Py_None
;
6885 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6886 PyObject
*resultobj
;
6887 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6889 PyObject
* obj0
= 0 ;
6891 (char *) "self", NULL
6894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6899 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
6901 wxPyEndAllowThreads(__tstate
);
6902 if (PyErr_Occurred()) SWIG_fail
;
6905 resultobj
= SWIG_From_int((int)(result
));
6913 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6914 PyObject
*resultobj
;
6915 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6916 wxString
*arg2
= 0 ;
6917 int arg3
= (int) 0 ;
6918 bool temp2
= false ;
6919 PyObject
* obj0
= 0 ;
6920 PyObject
* obj1
= 0 ;
6921 PyObject
* obj2
= 0 ;
6923 (char *) "self",(char *) "text",(char *) "number", NULL
6926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6928 if (SWIG_arg_fail(1)) SWIG_fail
;
6930 arg2
= wxString_in_helper(obj1
);
6931 if (arg2
== NULL
) SWIG_fail
;
6936 arg3
= (int)(SWIG_As_int(obj2
));
6937 if (SWIG_arg_fail(3)) SWIG_fail
;
6941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6942 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6944 wxPyEndAllowThreads(__tstate
);
6945 if (PyErr_Occurred()) SWIG_fail
;
6947 Py_INCREF(Py_None
); resultobj
= Py_None
;
6962 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6963 PyObject
*resultobj
;
6964 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6965 int arg2
= (int) 0 ;
6967 PyObject
* obj0
= 0 ;
6968 PyObject
* obj1
= 0 ;
6970 (char *) "self",(char *) "number", NULL
6973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
6974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6975 if (SWIG_arg_fail(1)) SWIG_fail
;
6978 arg2
= (int)(SWIG_As_int(obj1
));
6979 if (SWIG_arg_fail(2)) SWIG_fail
;
6983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6984 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
6986 wxPyEndAllowThreads(__tstate
);
6987 if (PyErr_Occurred()) SWIG_fail
;
6991 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6993 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7002 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7003 PyObject
*resultobj
;
7004 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7005 wxString
*arg2
= 0 ;
7006 int arg3
= (int) 0 ;
7007 bool temp2
= false ;
7008 PyObject
* obj0
= 0 ;
7009 PyObject
* obj1
= 0 ;
7010 PyObject
* obj2
= 0 ;
7012 (char *) "self",(char *) "text",(char *) "number", NULL
7015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7017 if (SWIG_arg_fail(1)) SWIG_fail
;
7019 arg2
= wxString_in_helper(obj1
);
7020 if (arg2
== NULL
) SWIG_fail
;
7025 arg3
= (int)(SWIG_As_int(obj2
));
7026 if (SWIG_arg_fail(3)) SWIG_fail
;
7030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7031 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
7033 wxPyEndAllowThreads(__tstate
);
7034 if (PyErr_Occurred()) SWIG_fail
;
7036 Py_INCREF(Py_None
); resultobj
= Py_None
;
7051 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7052 PyObject
*resultobj
;
7053 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7054 int arg2
= (int) 0 ;
7055 PyObject
* obj0
= 0 ;
7056 PyObject
* obj1
= 0 ;
7058 (char *) "self",(char *) "number", NULL
7061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
7062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7063 if (SWIG_arg_fail(1)) SWIG_fail
;
7066 arg2
= (int)(SWIG_As_int(obj1
));
7067 if (SWIG_arg_fail(2)) SWIG_fail
;
7071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7072 (arg1
)->PopStatusText(arg2
);
7074 wxPyEndAllowThreads(__tstate
);
7075 if (PyErr_Occurred()) SWIG_fail
;
7077 Py_INCREF(Py_None
); resultobj
= Py_None
;
7084 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7085 PyObject
*resultobj
;
7086 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7088 int *arg3
= (int *) 0 ;
7089 PyObject
* obj0
= 0 ;
7090 PyObject
* obj1
= 0 ;
7092 (char *) "self",(char *) "widths", NULL
7095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
7096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7097 if (SWIG_arg_fail(1)) SWIG_fail
;
7099 arg2
= PyList_Size(obj1
);
7100 arg3
= int_LIST_helper(obj1
);
7101 if (arg3
== NULL
) SWIG_fail
;
7104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7105 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
7107 wxPyEndAllowThreads(__tstate
);
7108 if (PyErr_Occurred()) SWIG_fail
;
7110 Py_INCREF(Py_None
); resultobj
= Py_None
;
7112 if (arg3
) delete [] arg3
;
7117 if (arg3
) delete [] arg3
;
7123 static PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7124 PyObject
*resultobj
;
7125 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7127 int *arg3
= (int *) 0 ;
7128 PyObject
* obj0
= 0 ;
7129 PyObject
* obj1
= 0 ;
7131 (char *) "self",(char *) "styles", NULL
7134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) goto fail
;
7135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7136 if (SWIG_arg_fail(1)) SWIG_fail
;
7138 arg2
= PyList_Size(obj1
);
7139 arg3
= int_LIST_helper(obj1
);
7140 if (arg3
== NULL
) SWIG_fail
;
7143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7144 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
7146 wxPyEndAllowThreads(__tstate
);
7147 if (PyErr_Occurred()) SWIG_fail
;
7149 Py_INCREF(Py_None
); resultobj
= Py_None
;
7151 if (arg3
) delete [] arg3
;
7156 if (arg3
) delete [] arg3
;
7162 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7163 PyObject
*resultobj
;
7164 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7167 PyObject
* obj0
= 0 ;
7168 PyObject
* obj1
= 0 ;
7170 (char *) "self",(char *) "i", NULL
7173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7175 if (SWIG_arg_fail(1)) SWIG_fail
;
7177 arg2
= (int)(SWIG_As_int(obj1
));
7178 if (SWIG_arg_fail(2)) SWIG_fail
;
7181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7182 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
7184 wxPyEndAllowThreads(__tstate
);
7185 if (PyErr_Occurred()) SWIG_fail
;
7189 resultptr
= new wxRect((wxRect
&)(result
));
7190 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7198 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7199 PyObject
*resultobj
;
7200 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7202 PyObject
* obj0
= 0 ;
7203 PyObject
* obj1
= 0 ;
7205 (char *) "self",(char *) "height", NULL
7208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
7209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7210 if (SWIG_arg_fail(1)) SWIG_fail
;
7212 arg2
= (int)(SWIG_As_int(obj1
));
7213 if (SWIG_arg_fail(2)) SWIG_fail
;
7216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7217 (arg1
)->SetMinHeight(arg2
);
7219 wxPyEndAllowThreads(__tstate
);
7220 if (PyErr_Occurred()) SWIG_fail
;
7222 Py_INCREF(Py_None
); resultobj
= Py_None
;
7229 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7230 PyObject
*resultobj
;
7231 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7233 PyObject
* obj0
= 0 ;
7235 (char *) "self", NULL
7238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
7239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7240 if (SWIG_arg_fail(1)) SWIG_fail
;
7242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7243 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
7245 wxPyEndAllowThreads(__tstate
);
7246 if (PyErr_Occurred()) SWIG_fail
;
7249 resultobj
= SWIG_From_int((int)(result
));
7257 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7258 PyObject
*resultobj
;
7259 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7261 PyObject
* obj0
= 0 ;
7263 (char *) "self", NULL
7266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
7267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7268 if (SWIG_arg_fail(1)) SWIG_fail
;
7270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7271 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
7273 wxPyEndAllowThreads(__tstate
);
7274 if (PyErr_Occurred()) SWIG_fail
;
7277 resultobj
= SWIG_From_int((int)(result
));
7285 static PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7286 PyObject
*resultobj
;
7287 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7288 wxVisualAttributes result
;
7289 PyObject
* obj0
= 0 ;
7291 (char *) "variant", NULL
7294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
7297 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
7298 if (SWIG_arg_fail(1)) SWIG_fail
;
7302 if (!wxPyCheckForApp()) SWIG_fail
;
7303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7304 result
= wxStatusBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
7306 wxPyEndAllowThreads(__tstate
);
7307 if (PyErr_Occurred()) SWIG_fail
;
7310 wxVisualAttributes
* resultptr
;
7311 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
7312 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
7320 static PyObject
* StatusBar_swigregister(PyObject
*, PyObject
*args
) {
7322 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7323 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
7325 return Py_BuildValue((char *)"");
7327 static int _wrap_SplitterNameStr_set(PyObject
*) {
7328 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
7333 static PyObject
*_wrap_SplitterNameStr_get(void) {
7338 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
7340 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
7347 static PyObject
*_wrap_new_SplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7348 PyObject
*resultobj
;
7349 wxWindow
*arg1
= (wxWindow
*) 0 ;
7350 int arg2
= (int) -1 ;
7351 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7352 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7353 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7354 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7355 long arg5
= (long) wxSP_3D
;
7356 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
7357 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7358 wxSplitterWindow
*result
;
7361 bool temp6
= false ;
7362 PyObject
* obj0
= 0 ;
7363 PyObject
* obj1
= 0 ;
7364 PyObject
* obj2
= 0 ;
7365 PyObject
* obj3
= 0 ;
7366 PyObject
* obj4
= 0 ;
7367 PyObject
* obj5
= 0 ;
7369 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7374 if (SWIG_arg_fail(1)) SWIG_fail
;
7377 arg2
= (int)(SWIG_As_int(obj1
));
7378 if (SWIG_arg_fail(2)) SWIG_fail
;
7384 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7390 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7395 arg5
= (long)(SWIG_As_long(obj4
));
7396 if (SWIG_arg_fail(5)) SWIG_fail
;
7401 arg6
= wxString_in_helper(obj5
);
7402 if (arg6
== NULL
) SWIG_fail
;
7407 if (!wxPyCheckForApp()) SWIG_fail
;
7408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7409 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7411 wxPyEndAllowThreads(__tstate
);
7412 if (PyErr_Occurred()) SWIG_fail
;
7414 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
7429 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7430 PyObject
*resultobj
;
7431 wxSplitterWindow
*result
;
7436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
7438 if (!wxPyCheckForApp()) SWIG_fail
;
7439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7440 result
= (wxSplitterWindow
*)new wxSplitterWindow();
7442 wxPyEndAllowThreads(__tstate
);
7443 if (PyErr_Occurred()) SWIG_fail
;
7445 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
7452 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7453 PyObject
*resultobj
;
7454 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7455 wxWindow
*arg2
= (wxWindow
*) 0 ;
7456 int arg3
= (int) -1 ;
7457 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7458 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7459 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7460 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7461 long arg6
= (long) wxSP_3D
;
7462 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
7463 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7467 bool temp7
= false ;
7468 PyObject
* obj0
= 0 ;
7469 PyObject
* obj1
= 0 ;
7470 PyObject
* obj2
= 0 ;
7471 PyObject
* obj3
= 0 ;
7472 PyObject
* obj4
= 0 ;
7473 PyObject
* obj5
= 0 ;
7474 PyObject
* obj6
= 0 ;
7476 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7481 if (SWIG_arg_fail(1)) SWIG_fail
;
7482 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7483 if (SWIG_arg_fail(2)) SWIG_fail
;
7486 arg3
= (int)(SWIG_As_int(obj2
));
7487 if (SWIG_arg_fail(3)) SWIG_fail
;
7493 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7499 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7504 arg6
= (long)(SWIG_As_long(obj5
));
7505 if (SWIG_arg_fail(6)) SWIG_fail
;
7510 arg7
= wxString_in_helper(obj6
);
7511 if (arg7
== NULL
) SWIG_fail
;
7516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7517 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7519 wxPyEndAllowThreads(__tstate
);
7520 if (PyErr_Occurred()) SWIG_fail
;
7523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7539 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7540 PyObject
*resultobj
;
7541 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7543 PyObject
* obj0
= 0 ;
7545 (char *) "self", NULL
7548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
7549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7550 if (SWIG_arg_fail(1)) SWIG_fail
;
7552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7553 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
7555 wxPyEndAllowThreads(__tstate
);
7556 if (PyErr_Occurred()) SWIG_fail
;
7559 resultobj
= wxPyMake_wxObject(result
, 0);
7567 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7568 PyObject
*resultobj
;
7569 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7571 PyObject
* obj0
= 0 ;
7573 (char *) "self", NULL
7576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
7577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7578 if (SWIG_arg_fail(1)) SWIG_fail
;
7580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7581 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
7583 wxPyEndAllowThreads(__tstate
);
7584 if (PyErr_Occurred()) SWIG_fail
;
7587 resultobj
= wxPyMake_wxObject(result
, 0);
7595 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7596 PyObject
*resultobj
;
7597 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7599 PyObject
* obj0
= 0 ;
7600 PyObject
* obj1
= 0 ;
7602 (char *) "self",(char *) "mode", NULL
7605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
7606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7607 if (SWIG_arg_fail(1)) SWIG_fail
;
7609 arg2
= (int)(SWIG_As_int(obj1
));
7610 if (SWIG_arg_fail(2)) SWIG_fail
;
7613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7614 (arg1
)->SetSplitMode(arg2
);
7616 wxPyEndAllowThreads(__tstate
);
7617 if (PyErr_Occurred()) SWIG_fail
;
7619 Py_INCREF(Py_None
); resultobj
= Py_None
;
7626 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7627 PyObject
*resultobj
;
7628 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7630 PyObject
* obj0
= 0 ;
7632 (char *) "self", NULL
7635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
7636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7637 if (SWIG_arg_fail(1)) SWIG_fail
;
7639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7640 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
7642 wxPyEndAllowThreads(__tstate
);
7643 if (PyErr_Occurred()) SWIG_fail
;
7645 resultobj
= SWIG_From_int((result
));
7652 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7653 PyObject
*resultobj
;
7654 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7655 wxWindow
*arg2
= (wxWindow
*) 0 ;
7656 PyObject
* obj0
= 0 ;
7657 PyObject
* obj1
= 0 ;
7659 (char *) "self",(char *) "window", NULL
7662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
7663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7664 if (SWIG_arg_fail(1)) SWIG_fail
;
7665 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7666 if (SWIG_arg_fail(2)) SWIG_fail
;
7668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7669 (arg1
)->Initialize(arg2
);
7671 wxPyEndAllowThreads(__tstate
);
7672 if (PyErr_Occurred()) SWIG_fail
;
7674 Py_INCREF(Py_None
); resultobj
= Py_None
;
7681 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7682 PyObject
*resultobj
;
7683 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7684 wxWindow
*arg2
= (wxWindow
*) 0 ;
7685 wxWindow
*arg3
= (wxWindow
*) 0 ;
7686 int arg4
= (int) 0 ;
7688 PyObject
* obj0
= 0 ;
7689 PyObject
* obj1
= 0 ;
7690 PyObject
* obj2
= 0 ;
7691 PyObject
* obj3
= 0 ;
7693 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7698 if (SWIG_arg_fail(1)) SWIG_fail
;
7699 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7700 if (SWIG_arg_fail(2)) SWIG_fail
;
7701 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7702 if (SWIG_arg_fail(3)) SWIG_fail
;
7705 arg4
= (int)(SWIG_As_int(obj3
));
7706 if (SWIG_arg_fail(4)) SWIG_fail
;
7710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7711 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
7713 wxPyEndAllowThreads(__tstate
);
7714 if (PyErr_Occurred()) SWIG_fail
;
7717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7725 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7726 PyObject
*resultobj
;
7727 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7728 wxWindow
*arg2
= (wxWindow
*) 0 ;
7729 wxWindow
*arg3
= (wxWindow
*) 0 ;
7730 int arg4
= (int) 0 ;
7732 PyObject
* obj0
= 0 ;
7733 PyObject
* obj1
= 0 ;
7734 PyObject
* obj2
= 0 ;
7735 PyObject
* obj3
= 0 ;
7737 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7742 if (SWIG_arg_fail(1)) SWIG_fail
;
7743 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7744 if (SWIG_arg_fail(2)) SWIG_fail
;
7745 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7746 if (SWIG_arg_fail(3)) SWIG_fail
;
7749 arg4
= (int)(SWIG_As_int(obj3
));
7750 if (SWIG_arg_fail(4)) SWIG_fail
;
7754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7755 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
7757 wxPyEndAllowThreads(__tstate
);
7758 if (PyErr_Occurred()) SWIG_fail
;
7761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7769 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7770 PyObject
*resultobj
;
7771 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7772 wxWindow
*arg2
= (wxWindow
*) NULL
;
7774 PyObject
* obj0
= 0 ;
7775 PyObject
* obj1
= 0 ;
7777 (char *) "self",(char *) "toRemove", NULL
7780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
7781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7782 if (SWIG_arg_fail(1)) SWIG_fail
;
7784 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7785 if (SWIG_arg_fail(2)) SWIG_fail
;
7788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7789 result
= (bool)(arg1
)->Unsplit(arg2
);
7791 wxPyEndAllowThreads(__tstate
);
7792 if (PyErr_Occurred()) SWIG_fail
;
7795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7803 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7804 PyObject
*resultobj
;
7805 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7806 wxWindow
*arg2
= (wxWindow
*) 0 ;
7807 wxWindow
*arg3
= (wxWindow
*) 0 ;
7809 PyObject
* obj0
= 0 ;
7810 PyObject
* obj1
= 0 ;
7811 PyObject
* obj2
= 0 ;
7813 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
7816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7818 if (SWIG_arg_fail(1)) SWIG_fail
;
7819 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7820 if (SWIG_arg_fail(2)) SWIG_fail
;
7821 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7822 if (SWIG_arg_fail(3)) SWIG_fail
;
7824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7825 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
7827 wxPyEndAllowThreads(__tstate
);
7828 if (PyErr_Occurred()) SWIG_fail
;
7831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7839 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7840 PyObject
*resultobj
;
7841 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7842 PyObject
* obj0
= 0 ;
7844 (char *) "self", NULL
7847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
7848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7849 if (SWIG_arg_fail(1)) SWIG_fail
;
7851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7852 (arg1
)->UpdateSize();
7854 wxPyEndAllowThreads(__tstate
);
7855 if (PyErr_Occurred()) SWIG_fail
;
7857 Py_INCREF(Py_None
); resultobj
= Py_None
;
7864 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7865 PyObject
*resultobj
;
7866 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7868 PyObject
* obj0
= 0 ;
7870 (char *) "self", NULL
7873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
7874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7875 if (SWIG_arg_fail(1)) SWIG_fail
;
7877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7878 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
7880 wxPyEndAllowThreads(__tstate
);
7881 if (PyErr_Occurred()) SWIG_fail
;
7884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7892 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7893 PyObject
*resultobj
;
7894 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7896 PyObject
* obj0
= 0 ;
7897 PyObject
* obj1
= 0 ;
7899 (char *) "self",(char *) "width", NULL
7902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7904 if (SWIG_arg_fail(1)) SWIG_fail
;
7906 arg2
= (int)(SWIG_As_int(obj1
));
7907 if (SWIG_arg_fail(2)) SWIG_fail
;
7910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7911 (arg1
)->SetSashSize(arg2
);
7913 wxPyEndAllowThreads(__tstate
);
7914 if (PyErr_Occurred()) SWIG_fail
;
7916 Py_INCREF(Py_None
); resultobj
= Py_None
;
7923 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7924 PyObject
*resultobj
;
7925 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7927 PyObject
* obj0
= 0 ;
7928 PyObject
* obj1
= 0 ;
7930 (char *) "self",(char *) "width", NULL
7933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7935 if (SWIG_arg_fail(1)) SWIG_fail
;
7937 arg2
= (int)(SWIG_As_int(obj1
));
7938 if (SWIG_arg_fail(2)) SWIG_fail
;
7941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7942 (arg1
)->SetBorderSize(arg2
);
7944 wxPyEndAllowThreads(__tstate
);
7945 if (PyErr_Occurred()) SWIG_fail
;
7947 Py_INCREF(Py_None
); resultobj
= Py_None
;
7954 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7955 PyObject
*resultobj
;
7956 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7958 PyObject
* obj0
= 0 ;
7960 (char *) "self", NULL
7963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
7964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7965 if (SWIG_arg_fail(1)) SWIG_fail
;
7967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7968 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
7970 wxPyEndAllowThreads(__tstate
);
7971 if (PyErr_Occurred()) SWIG_fail
;
7974 resultobj
= SWIG_From_int((int)(result
));
7982 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7983 PyObject
*resultobj
;
7984 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7986 PyObject
* obj0
= 0 ;
7988 (char *) "self", NULL
7991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
7992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7993 if (SWIG_arg_fail(1)) SWIG_fail
;
7995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7996 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
7998 wxPyEndAllowThreads(__tstate
);
7999 if (PyErr_Occurred()) SWIG_fail
;
8002 resultobj
= SWIG_From_int((int)(result
));
8010 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8011 PyObject
*resultobj
;
8012 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8014 bool arg3
= (bool) true ;
8015 PyObject
* obj0
= 0 ;
8016 PyObject
* obj1
= 0 ;
8017 PyObject
* obj2
= 0 ;
8019 (char *) "self",(char *) "position",(char *) "redraw", NULL
8022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8024 if (SWIG_arg_fail(1)) SWIG_fail
;
8026 arg2
= (int)(SWIG_As_int(obj1
));
8027 if (SWIG_arg_fail(2)) SWIG_fail
;
8031 arg3
= (bool)(SWIG_As_bool(obj2
));
8032 if (SWIG_arg_fail(3)) SWIG_fail
;
8036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8037 (arg1
)->SetSashPosition(arg2
,arg3
);
8039 wxPyEndAllowThreads(__tstate
);
8040 if (PyErr_Occurred()) SWIG_fail
;
8042 Py_INCREF(Py_None
); resultobj
= Py_None
;
8049 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8050 PyObject
*resultobj
;
8051 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8053 PyObject
* obj0
= 0 ;
8055 (char *) "self", NULL
8058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
8059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8060 if (SWIG_arg_fail(1)) SWIG_fail
;
8062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8063 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
8065 wxPyEndAllowThreads(__tstate
);
8066 if (PyErr_Occurred()) SWIG_fail
;
8069 resultobj
= SWIG_From_int((int)(result
));
8077 static PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8078 PyObject
*resultobj
;
8079 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8081 PyObject
* obj0
= 0 ;
8082 PyObject
* obj1
= 0 ;
8084 (char *) "self",(char *) "gravity", NULL
8087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) goto fail
;
8088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8089 if (SWIG_arg_fail(1)) SWIG_fail
;
8091 arg2
= (double)(SWIG_As_double(obj1
));
8092 if (SWIG_arg_fail(2)) SWIG_fail
;
8095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8096 (arg1
)->SetSashGravity(arg2
);
8098 wxPyEndAllowThreads(__tstate
);
8099 if (PyErr_Occurred()) SWIG_fail
;
8101 Py_INCREF(Py_None
); resultobj
= Py_None
;
8108 static PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8109 PyObject
*resultobj
;
8110 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8112 PyObject
* obj0
= 0 ;
8114 (char *) "self", NULL
8117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashGravity",kwnames
,&obj0
)) goto fail
;
8118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8119 if (SWIG_arg_fail(1)) SWIG_fail
;
8121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8122 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
8124 wxPyEndAllowThreads(__tstate
);
8125 if (PyErr_Occurred()) SWIG_fail
;
8128 resultobj
= SWIG_From_double((double)(result
));
8136 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8137 PyObject
*resultobj
;
8138 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8140 PyObject
* obj0
= 0 ;
8141 PyObject
* obj1
= 0 ;
8143 (char *) "self",(char *) "min", NULL
8146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8148 if (SWIG_arg_fail(1)) SWIG_fail
;
8150 arg2
= (int)(SWIG_As_int(obj1
));
8151 if (SWIG_arg_fail(2)) SWIG_fail
;
8154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8155 (arg1
)->SetMinimumPaneSize(arg2
);
8157 wxPyEndAllowThreads(__tstate
);
8158 if (PyErr_Occurred()) SWIG_fail
;
8160 Py_INCREF(Py_None
); resultobj
= Py_None
;
8167 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8168 PyObject
*resultobj
;
8169 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8171 PyObject
* obj0
= 0 ;
8173 (char *) "self", NULL
8176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
8177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8178 if (SWIG_arg_fail(1)) SWIG_fail
;
8180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8181 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
8183 wxPyEndAllowThreads(__tstate
);
8184 if (PyErr_Occurred()) SWIG_fail
;
8187 resultobj
= SWIG_From_int((int)(result
));
8195 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8196 PyObject
*resultobj
;
8197 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8200 int arg4
= (int) 5 ;
8202 PyObject
* obj0
= 0 ;
8203 PyObject
* obj1
= 0 ;
8204 PyObject
* obj2
= 0 ;
8205 PyObject
* obj3
= 0 ;
8207 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
8210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8212 if (SWIG_arg_fail(1)) SWIG_fail
;
8214 arg2
= (int)(SWIG_As_int(obj1
));
8215 if (SWIG_arg_fail(2)) SWIG_fail
;
8218 arg3
= (int)(SWIG_As_int(obj2
));
8219 if (SWIG_arg_fail(3)) SWIG_fail
;
8223 arg4
= (int)(SWIG_As_int(obj3
));
8224 if (SWIG_arg_fail(4)) SWIG_fail
;
8228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8229 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
8231 wxPyEndAllowThreads(__tstate
);
8232 if (PyErr_Occurred()) SWIG_fail
;
8235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8243 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8244 PyObject
*resultobj
;
8245 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8246 PyObject
* obj0
= 0 ;
8248 (char *) "self", NULL
8251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
8252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8253 if (SWIG_arg_fail(1)) SWIG_fail
;
8255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8256 (arg1
)->SizeWindows();
8258 wxPyEndAllowThreads(__tstate
);
8259 if (PyErr_Occurred()) SWIG_fail
;
8261 Py_INCREF(Py_None
); resultobj
= Py_None
;
8268 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8269 PyObject
*resultobj
;
8270 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8272 PyObject
* obj0
= 0 ;
8273 PyObject
* obj1
= 0 ;
8275 (char *) "self",(char *) "needUpdating", NULL
8278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
8279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8280 if (SWIG_arg_fail(1)) SWIG_fail
;
8282 arg2
= (bool)(SWIG_As_bool(obj1
));
8283 if (SWIG_arg_fail(2)) SWIG_fail
;
8286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8287 (arg1
)->SetNeedUpdating(arg2
);
8289 wxPyEndAllowThreads(__tstate
);
8290 if (PyErr_Occurred()) SWIG_fail
;
8292 Py_INCREF(Py_None
); resultobj
= Py_None
;
8299 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8300 PyObject
*resultobj
;
8301 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8303 PyObject
* obj0
= 0 ;
8305 (char *) "self", NULL
8308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
8309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8310 if (SWIG_arg_fail(1)) SWIG_fail
;
8312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8313 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
8315 wxPyEndAllowThreads(__tstate
);
8316 if (PyErr_Occurred()) SWIG_fail
;
8319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8327 static PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8328 PyObject
*resultobj
;
8329 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8330 wxVisualAttributes result
;
8331 PyObject
* obj0
= 0 ;
8333 (char *) "variant", NULL
8336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
8339 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
8340 if (SWIG_arg_fail(1)) SWIG_fail
;
8344 if (!wxPyCheckForApp()) SWIG_fail
;
8345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8346 result
= wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
8348 wxPyEndAllowThreads(__tstate
);
8349 if (PyErr_Occurred()) SWIG_fail
;
8352 wxVisualAttributes
* resultptr
;
8353 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
8354 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
8362 static PyObject
* SplitterWindow_swigregister(PyObject
*, PyObject
*args
) {
8364 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8365 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
8367 return Py_BuildValue((char *)"");
8369 static PyObject
*_wrap_new_SplitterEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8370 PyObject
*resultobj
;
8371 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
8372 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
8373 wxSplitterEvent
*result
;
8374 PyObject
* obj0
= 0 ;
8375 PyObject
* obj1
= 0 ;
8377 (char *) "type",(char *) "splitter", NULL
8380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
8383 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
8384 if (SWIG_arg_fail(1)) SWIG_fail
;
8388 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8389 if (SWIG_arg_fail(2)) SWIG_fail
;
8392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8393 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
8395 wxPyEndAllowThreads(__tstate
);
8396 if (PyErr_Occurred()) SWIG_fail
;
8398 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
8405 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8406 PyObject
*resultobj
;
8407 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8409 PyObject
* obj0
= 0 ;
8410 PyObject
* obj1
= 0 ;
8412 (char *) "self",(char *) "pos", NULL
8415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
8416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8417 if (SWIG_arg_fail(1)) SWIG_fail
;
8419 arg2
= (int)(SWIG_As_int(obj1
));
8420 if (SWIG_arg_fail(2)) SWIG_fail
;
8423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8424 (arg1
)->SetSashPosition(arg2
);
8426 wxPyEndAllowThreads(__tstate
);
8427 if (PyErr_Occurred()) SWIG_fail
;
8429 Py_INCREF(Py_None
); resultobj
= Py_None
;
8436 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8437 PyObject
*resultobj
;
8438 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8440 PyObject
* obj0
= 0 ;
8442 (char *) "self", NULL
8445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
8446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8447 if (SWIG_arg_fail(1)) SWIG_fail
;
8449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8450 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
8452 wxPyEndAllowThreads(__tstate
);
8453 if (PyErr_Occurred()) SWIG_fail
;
8456 resultobj
= SWIG_From_int((int)(result
));
8464 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8465 PyObject
*resultobj
;
8466 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8468 PyObject
* obj0
= 0 ;
8470 (char *) "self", NULL
8473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
8474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8475 if (SWIG_arg_fail(1)) SWIG_fail
;
8477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8478 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
8480 wxPyEndAllowThreads(__tstate
);
8481 if (PyErr_Occurred()) SWIG_fail
;
8484 resultobj
= wxPyMake_wxObject(result
, 0);
8492 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8493 PyObject
*resultobj
;
8494 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8496 PyObject
* obj0
= 0 ;
8498 (char *) "self", NULL
8501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
8502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8503 if (SWIG_arg_fail(1)) SWIG_fail
;
8505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8506 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
8508 wxPyEndAllowThreads(__tstate
);
8509 if (PyErr_Occurred()) SWIG_fail
;
8512 resultobj
= SWIG_From_int((int)(result
));
8520 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8521 PyObject
*resultobj
;
8522 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8524 PyObject
* obj0
= 0 ;
8526 (char *) "self", NULL
8529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
8530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8531 if (SWIG_arg_fail(1)) SWIG_fail
;
8533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8534 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
8536 wxPyEndAllowThreads(__tstate
);
8537 if (PyErr_Occurred()) SWIG_fail
;
8540 resultobj
= SWIG_From_int((int)(result
));
8548 static PyObject
* SplitterEvent_swigregister(PyObject
*, PyObject
*args
) {
8550 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8551 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
8553 return Py_BuildValue((char *)"");
8555 static int _wrap_SashNameStr_set(PyObject
*) {
8556 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
8561 static PyObject
*_wrap_SashNameStr_get(void) {
8566 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
8568 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
8575 static int _wrap_SashLayoutNameStr_set(PyObject
*) {
8576 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
8581 static PyObject
*_wrap_SashLayoutNameStr_get(void) {
8586 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
8588 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
8595 static PyObject
*_wrap_new_SashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8596 PyObject
*resultobj
;
8597 wxWindow
*arg1
= (wxWindow
*) 0 ;
8598 int arg2
= (int) -1 ;
8599 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8600 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8601 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8602 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8603 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8604 wxString
const &arg6_defvalue
= wxPySashNameStr
;
8605 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8606 wxSashWindow
*result
;
8609 bool temp6
= false ;
8610 PyObject
* obj0
= 0 ;
8611 PyObject
* obj1
= 0 ;
8612 PyObject
* obj2
= 0 ;
8613 PyObject
* obj3
= 0 ;
8614 PyObject
* obj4
= 0 ;
8615 PyObject
* obj5
= 0 ;
8617 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8622 if (SWIG_arg_fail(1)) SWIG_fail
;
8625 arg2
= (int)(SWIG_As_int(obj1
));
8626 if (SWIG_arg_fail(2)) SWIG_fail
;
8632 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8638 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8643 arg5
= (long)(SWIG_As_long(obj4
));
8644 if (SWIG_arg_fail(5)) SWIG_fail
;
8649 arg6
= wxString_in_helper(obj5
);
8650 if (arg6
== NULL
) SWIG_fail
;
8655 if (!wxPyCheckForApp()) SWIG_fail
;
8656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8657 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8659 wxPyEndAllowThreads(__tstate
);
8660 if (PyErr_Occurred()) SWIG_fail
;
8662 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
8677 static PyObject
*_wrap_new_PreSashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8678 PyObject
*resultobj
;
8679 wxSashWindow
*result
;
8684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
8686 if (!wxPyCheckForApp()) SWIG_fail
;
8687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8688 result
= (wxSashWindow
*)new wxSashWindow();
8690 wxPyEndAllowThreads(__tstate
);
8691 if (PyErr_Occurred()) SWIG_fail
;
8693 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
8700 static PyObject
*_wrap_SashWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8701 PyObject
*resultobj
;
8702 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8703 wxWindow
*arg2
= (wxWindow
*) 0 ;
8704 int arg3
= (int) -1 ;
8705 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8706 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8707 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8708 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8709 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8710 wxString
const &arg7_defvalue
= wxPySashNameStr
;
8711 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8715 bool temp7
= false ;
8716 PyObject
* obj0
= 0 ;
8717 PyObject
* obj1
= 0 ;
8718 PyObject
* obj2
= 0 ;
8719 PyObject
* obj3
= 0 ;
8720 PyObject
* obj4
= 0 ;
8721 PyObject
* obj5
= 0 ;
8722 PyObject
* obj6
= 0 ;
8724 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8729 if (SWIG_arg_fail(1)) SWIG_fail
;
8730 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8731 if (SWIG_arg_fail(2)) SWIG_fail
;
8734 arg3
= (int)(SWIG_As_int(obj2
));
8735 if (SWIG_arg_fail(3)) SWIG_fail
;
8741 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8747 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8752 arg6
= (long)(SWIG_As_long(obj5
));
8753 if (SWIG_arg_fail(6)) SWIG_fail
;
8758 arg7
= wxString_in_helper(obj6
);
8759 if (arg7
== NULL
) SWIG_fail
;
8764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8765 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8767 wxPyEndAllowThreads(__tstate
);
8768 if (PyErr_Occurred()) SWIG_fail
;
8771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8787 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8788 PyObject
*resultobj
;
8789 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8790 wxSashEdgePosition arg2
;
8792 PyObject
* obj0
= 0 ;
8793 PyObject
* obj1
= 0 ;
8794 PyObject
* obj2
= 0 ;
8796 (char *) "self",(char *) "edge",(char *) "sash", NULL
8799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8801 if (SWIG_arg_fail(1)) SWIG_fail
;
8803 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8804 if (SWIG_arg_fail(2)) SWIG_fail
;
8807 arg3
= (bool)(SWIG_As_bool(obj2
));
8808 if (SWIG_arg_fail(3)) SWIG_fail
;
8811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8812 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
8814 wxPyEndAllowThreads(__tstate
);
8815 if (PyErr_Occurred()) SWIG_fail
;
8817 Py_INCREF(Py_None
); resultobj
= Py_None
;
8824 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8825 PyObject
*resultobj
;
8826 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8827 wxSashEdgePosition arg2
;
8829 PyObject
* obj0
= 0 ;
8830 PyObject
* obj1
= 0 ;
8832 (char *) "self",(char *) "edge", NULL
8835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
8836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8837 if (SWIG_arg_fail(1)) SWIG_fail
;
8839 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8840 if (SWIG_arg_fail(2)) SWIG_fail
;
8843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8844 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
8846 wxPyEndAllowThreads(__tstate
);
8847 if (PyErr_Occurred()) SWIG_fail
;
8850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8858 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8859 PyObject
*resultobj
;
8860 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8861 wxSashEdgePosition arg2
;
8863 PyObject
* obj0
= 0 ;
8864 PyObject
* obj1
= 0 ;
8865 PyObject
* obj2
= 0 ;
8867 (char *) "self",(char *) "edge",(char *) "border", NULL
8870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8872 if (SWIG_arg_fail(1)) SWIG_fail
;
8874 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8875 if (SWIG_arg_fail(2)) SWIG_fail
;
8878 arg3
= (bool)(SWIG_As_bool(obj2
));
8879 if (SWIG_arg_fail(3)) SWIG_fail
;
8882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8883 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
8885 wxPyEndAllowThreads(__tstate
);
8886 if (PyErr_Occurred()) SWIG_fail
;
8888 Py_INCREF(Py_None
); resultobj
= Py_None
;
8895 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8896 PyObject
*resultobj
;
8897 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8898 wxSashEdgePosition arg2
;
8900 PyObject
* obj0
= 0 ;
8901 PyObject
* obj1
= 0 ;
8903 (char *) "self",(char *) "edge", NULL
8906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
8907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8908 if (SWIG_arg_fail(1)) SWIG_fail
;
8910 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8911 if (SWIG_arg_fail(2)) SWIG_fail
;
8914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8915 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
8917 wxPyEndAllowThreads(__tstate
);
8918 if (PyErr_Occurred()) SWIG_fail
;
8921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8929 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8930 PyObject
*resultobj
;
8931 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8932 wxSashEdgePosition arg2
;
8934 PyObject
* obj0
= 0 ;
8935 PyObject
* obj1
= 0 ;
8937 (char *) "self",(char *) "edge", NULL
8940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
8941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8942 if (SWIG_arg_fail(1)) SWIG_fail
;
8944 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8945 if (SWIG_arg_fail(2)) SWIG_fail
;
8948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8949 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
8951 wxPyEndAllowThreads(__tstate
);
8952 if (PyErr_Occurred()) SWIG_fail
;
8955 resultobj
= SWIG_From_int((int)(result
));
8963 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8964 PyObject
*resultobj
;
8965 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8967 PyObject
* obj0
= 0 ;
8968 PyObject
* obj1
= 0 ;
8970 (char *) "self",(char *) "width", NULL
8973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8975 if (SWIG_arg_fail(1)) SWIG_fail
;
8977 arg2
= (int)(SWIG_As_int(obj1
));
8978 if (SWIG_arg_fail(2)) SWIG_fail
;
8981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8982 (arg1
)->SetDefaultBorderSize(arg2
);
8984 wxPyEndAllowThreads(__tstate
);
8985 if (PyErr_Occurred()) SWIG_fail
;
8987 Py_INCREF(Py_None
); resultobj
= Py_None
;
8994 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8995 PyObject
*resultobj
;
8996 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8998 PyObject
* obj0
= 0 ;
9000 (char *) "self", NULL
9003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
9004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9005 if (SWIG_arg_fail(1)) SWIG_fail
;
9007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9008 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
9010 wxPyEndAllowThreads(__tstate
);
9011 if (PyErr_Occurred()) SWIG_fail
;
9014 resultobj
= SWIG_From_int((int)(result
));
9022 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9023 PyObject
*resultobj
;
9024 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9026 PyObject
* obj0
= 0 ;
9027 PyObject
* obj1
= 0 ;
9029 (char *) "self",(char *) "width", NULL
9032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9034 if (SWIG_arg_fail(1)) SWIG_fail
;
9036 arg2
= (int)(SWIG_As_int(obj1
));
9037 if (SWIG_arg_fail(2)) SWIG_fail
;
9040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9041 (arg1
)->SetExtraBorderSize(arg2
);
9043 wxPyEndAllowThreads(__tstate
);
9044 if (PyErr_Occurred()) SWIG_fail
;
9046 Py_INCREF(Py_None
); resultobj
= Py_None
;
9053 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9054 PyObject
*resultobj
;
9055 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9057 PyObject
* obj0
= 0 ;
9059 (char *) "self", NULL
9062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
9063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9064 if (SWIG_arg_fail(1)) SWIG_fail
;
9066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9067 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
9069 wxPyEndAllowThreads(__tstate
);
9070 if (PyErr_Occurred()) SWIG_fail
;
9073 resultobj
= SWIG_From_int((int)(result
));
9081 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9082 PyObject
*resultobj
;
9083 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9085 PyObject
* obj0
= 0 ;
9086 PyObject
* obj1
= 0 ;
9088 (char *) "self",(char *) "min", NULL
9091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
9092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9093 if (SWIG_arg_fail(1)) SWIG_fail
;
9095 arg2
= (int)(SWIG_As_int(obj1
));
9096 if (SWIG_arg_fail(2)) SWIG_fail
;
9099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9100 (arg1
)->SetMinimumSizeX(arg2
);
9102 wxPyEndAllowThreads(__tstate
);
9103 if (PyErr_Occurred()) SWIG_fail
;
9105 Py_INCREF(Py_None
); resultobj
= Py_None
;
9112 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9113 PyObject
*resultobj
;
9114 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9116 PyObject
* obj0
= 0 ;
9117 PyObject
* obj1
= 0 ;
9119 (char *) "self",(char *) "min", NULL
9122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
9123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9124 if (SWIG_arg_fail(1)) SWIG_fail
;
9126 arg2
= (int)(SWIG_As_int(obj1
));
9127 if (SWIG_arg_fail(2)) SWIG_fail
;
9130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9131 (arg1
)->SetMinimumSizeY(arg2
);
9133 wxPyEndAllowThreads(__tstate
);
9134 if (PyErr_Occurred()) SWIG_fail
;
9136 Py_INCREF(Py_None
); resultobj
= Py_None
;
9143 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9144 PyObject
*resultobj
;
9145 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9147 PyObject
* obj0
= 0 ;
9149 (char *) "self", NULL
9152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
9153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9154 if (SWIG_arg_fail(1)) SWIG_fail
;
9156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9157 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
9159 wxPyEndAllowThreads(__tstate
);
9160 if (PyErr_Occurred()) SWIG_fail
;
9163 resultobj
= SWIG_From_int((int)(result
));
9171 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9172 PyObject
*resultobj
;
9173 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9175 PyObject
* obj0
= 0 ;
9177 (char *) "self", NULL
9180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
9181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9182 if (SWIG_arg_fail(1)) SWIG_fail
;
9184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9185 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
9187 wxPyEndAllowThreads(__tstate
);
9188 if (PyErr_Occurred()) SWIG_fail
;
9191 resultobj
= SWIG_From_int((int)(result
));
9199 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9200 PyObject
*resultobj
;
9201 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9203 PyObject
* obj0
= 0 ;
9204 PyObject
* obj1
= 0 ;
9206 (char *) "self",(char *) "max", NULL
9209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
9210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9211 if (SWIG_arg_fail(1)) SWIG_fail
;
9213 arg2
= (int)(SWIG_As_int(obj1
));
9214 if (SWIG_arg_fail(2)) SWIG_fail
;
9217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9218 (arg1
)->SetMaximumSizeX(arg2
);
9220 wxPyEndAllowThreads(__tstate
);
9221 if (PyErr_Occurred()) SWIG_fail
;
9223 Py_INCREF(Py_None
); resultobj
= Py_None
;
9230 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9231 PyObject
*resultobj
;
9232 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9234 PyObject
* obj0
= 0 ;
9235 PyObject
* obj1
= 0 ;
9237 (char *) "self",(char *) "max", NULL
9240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
9241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9242 if (SWIG_arg_fail(1)) SWIG_fail
;
9244 arg2
= (int)(SWIG_As_int(obj1
));
9245 if (SWIG_arg_fail(2)) SWIG_fail
;
9248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9249 (arg1
)->SetMaximumSizeY(arg2
);
9251 wxPyEndAllowThreads(__tstate
);
9252 if (PyErr_Occurred()) SWIG_fail
;
9254 Py_INCREF(Py_None
); resultobj
= Py_None
;
9261 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9262 PyObject
*resultobj
;
9263 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9265 PyObject
* obj0
= 0 ;
9267 (char *) "self", NULL
9270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
9271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9272 if (SWIG_arg_fail(1)) SWIG_fail
;
9274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9275 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
9277 wxPyEndAllowThreads(__tstate
);
9278 if (PyErr_Occurred()) SWIG_fail
;
9281 resultobj
= SWIG_From_int((int)(result
));
9289 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9290 PyObject
*resultobj
;
9291 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9293 PyObject
* obj0
= 0 ;
9295 (char *) "self", NULL
9298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
9299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9300 if (SWIG_arg_fail(1)) SWIG_fail
;
9302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9303 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
9305 wxPyEndAllowThreads(__tstate
);
9306 if (PyErr_Occurred()) SWIG_fail
;
9309 resultobj
= SWIG_From_int((int)(result
));
9317 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9318 PyObject
*resultobj
;
9319 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9322 int arg4
= (int) 2 ;
9323 wxSashEdgePosition result
;
9324 PyObject
* obj0
= 0 ;
9325 PyObject
* obj1
= 0 ;
9326 PyObject
* obj2
= 0 ;
9327 PyObject
* obj3
= 0 ;
9329 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
9332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9334 if (SWIG_arg_fail(1)) SWIG_fail
;
9336 arg2
= (int)(SWIG_As_int(obj1
));
9337 if (SWIG_arg_fail(2)) SWIG_fail
;
9340 arg3
= (int)(SWIG_As_int(obj2
));
9341 if (SWIG_arg_fail(3)) SWIG_fail
;
9345 arg4
= (int)(SWIG_As_int(obj3
));
9346 if (SWIG_arg_fail(4)) SWIG_fail
;
9350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9351 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
9353 wxPyEndAllowThreads(__tstate
);
9354 if (PyErr_Occurred()) SWIG_fail
;
9356 resultobj
= SWIG_From_int((result
));
9363 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9364 PyObject
*resultobj
;
9365 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9366 PyObject
* obj0
= 0 ;
9368 (char *) "self", NULL
9371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
9372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9373 if (SWIG_arg_fail(1)) SWIG_fail
;
9375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9376 (arg1
)->SizeWindows();
9378 wxPyEndAllowThreads(__tstate
);
9379 if (PyErr_Occurred()) SWIG_fail
;
9381 Py_INCREF(Py_None
); resultobj
= Py_None
;
9388 static PyObject
* SashWindow_swigregister(PyObject
*, PyObject
*args
) {
9390 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9391 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
9393 return Py_BuildValue((char *)"");
9395 static PyObject
*_wrap_new_SashEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9396 PyObject
*resultobj
;
9397 int arg1
= (int) 0 ;
9398 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
9399 wxSashEvent
*result
;
9400 PyObject
* obj0
= 0 ;
9401 PyObject
* obj1
= 0 ;
9403 (char *) "id",(char *) "edge", NULL
9406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
9409 arg1
= (int)(SWIG_As_int(obj0
));
9410 if (SWIG_arg_fail(1)) SWIG_fail
;
9415 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
9416 if (SWIG_arg_fail(2)) SWIG_fail
;
9420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9421 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
9423 wxPyEndAllowThreads(__tstate
);
9424 if (PyErr_Occurred()) SWIG_fail
;
9426 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
9433 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9434 PyObject
*resultobj
;
9435 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9436 wxSashEdgePosition arg2
;
9437 PyObject
* obj0
= 0 ;
9438 PyObject
* obj1
= 0 ;
9440 (char *) "self",(char *) "edge", NULL
9443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
9444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9445 if (SWIG_arg_fail(1)) SWIG_fail
;
9447 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
9448 if (SWIG_arg_fail(2)) SWIG_fail
;
9451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9452 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
9454 wxPyEndAllowThreads(__tstate
);
9455 if (PyErr_Occurred()) SWIG_fail
;
9457 Py_INCREF(Py_None
); resultobj
= Py_None
;
9464 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9465 PyObject
*resultobj
;
9466 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9467 wxSashEdgePosition result
;
9468 PyObject
* obj0
= 0 ;
9470 (char *) "self", NULL
9473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
9474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9475 if (SWIG_arg_fail(1)) SWIG_fail
;
9477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9478 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
9480 wxPyEndAllowThreads(__tstate
);
9481 if (PyErr_Occurred()) SWIG_fail
;
9483 resultobj
= SWIG_From_int((result
));
9490 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9491 PyObject
*resultobj
;
9492 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9495 PyObject
* obj0
= 0 ;
9496 PyObject
* obj1
= 0 ;
9498 (char *) "self",(char *) "rect", NULL
9501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
9502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9503 if (SWIG_arg_fail(1)) SWIG_fail
;
9506 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9510 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
9512 wxPyEndAllowThreads(__tstate
);
9513 if (PyErr_Occurred()) SWIG_fail
;
9515 Py_INCREF(Py_None
); resultobj
= Py_None
;
9522 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9523 PyObject
*resultobj
;
9524 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9526 PyObject
* obj0
= 0 ;
9528 (char *) "self", NULL
9531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
9532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9533 if (SWIG_arg_fail(1)) SWIG_fail
;
9535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9536 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
9538 wxPyEndAllowThreads(__tstate
);
9539 if (PyErr_Occurred()) SWIG_fail
;
9543 resultptr
= new wxRect((wxRect
&)(result
));
9544 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
9552 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9553 PyObject
*resultobj
;
9554 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9555 wxSashDragStatus arg2
;
9556 PyObject
* obj0
= 0 ;
9557 PyObject
* obj1
= 0 ;
9559 (char *) "self",(char *) "status", NULL
9562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
9563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9564 if (SWIG_arg_fail(1)) SWIG_fail
;
9566 arg2
= (wxSashDragStatus
)(SWIG_As_int(obj1
));
9567 if (SWIG_arg_fail(2)) SWIG_fail
;
9570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9571 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
9573 wxPyEndAllowThreads(__tstate
);
9574 if (PyErr_Occurred()) SWIG_fail
;
9576 Py_INCREF(Py_None
); resultobj
= Py_None
;
9583 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9584 PyObject
*resultobj
;
9585 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9586 wxSashDragStatus result
;
9587 PyObject
* obj0
= 0 ;
9589 (char *) "self", NULL
9592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
9593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9594 if (SWIG_arg_fail(1)) SWIG_fail
;
9596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9597 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
9599 wxPyEndAllowThreads(__tstate
);
9600 if (PyErr_Occurred()) SWIG_fail
;
9602 resultobj
= SWIG_From_int((result
));
9609 static PyObject
* SashEvent_swigregister(PyObject
*, PyObject
*args
) {
9611 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9612 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
9614 return Py_BuildValue((char *)"");
9616 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9617 PyObject
*resultobj
;
9618 int arg1
= (int) 0 ;
9619 wxQueryLayoutInfoEvent
*result
;
9620 PyObject
* obj0
= 0 ;
9625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
9628 arg1
= (int)(SWIG_As_int(obj0
));
9629 if (SWIG_arg_fail(1)) SWIG_fail
;
9633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9634 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
9636 wxPyEndAllowThreads(__tstate
);
9637 if (PyErr_Occurred()) SWIG_fail
;
9639 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
9646 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9647 PyObject
*resultobj
;
9648 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9650 PyObject
* obj0
= 0 ;
9651 PyObject
* obj1
= 0 ;
9653 (char *) "self",(char *) "length", NULL
9656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
9657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9658 if (SWIG_arg_fail(1)) SWIG_fail
;
9660 arg2
= (int)(SWIG_As_int(obj1
));
9661 if (SWIG_arg_fail(2)) SWIG_fail
;
9664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9665 (arg1
)->SetRequestedLength(arg2
);
9667 wxPyEndAllowThreads(__tstate
);
9668 if (PyErr_Occurred()) SWIG_fail
;
9670 Py_INCREF(Py_None
); resultobj
= Py_None
;
9677 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9678 PyObject
*resultobj
;
9679 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9681 PyObject
* obj0
= 0 ;
9683 (char *) "self", NULL
9686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
9687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9688 if (SWIG_arg_fail(1)) SWIG_fail
;
9690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9691 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
9693 wxPyEndAllowThreads(__tstate
);
9694 if (PyErr_Occurred()) SWIG_fail
;
9697 resultobj
= SWIG_From_int((int)(result
));
9705 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9706 PyObject
*resultobj
;
9707 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9709 PyObject
* obj0
= 0 ;
9710 PyObject
* obj1
= 0 ;
9712 (char *) "self",(char *) "flags", NULL
9715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
9716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9717 if (SWIG_arg_fail(1)) SWIG_fail
;
9719 arg2
= (int)(SWIG_As_int(obj1
));
9720 if (SWIG_arg_fail(2)) SWIG_fail
;
9723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9724 (arg1
)->SetFlags(arg2
);
9726 wxPyEndAllowThreads(__tstate
);
9727 if (PyErr_Occurred()) SWIG_fail
;
9729 Py_INCREF(Py_None
); resultobj
= Py_None
;
9736 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9737 PyObject
*resultobj
;
9738 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9740 PyObject
* obj0
= 0 ;
9742 (char *) "self", NULL
9745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
9746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9747 if (SWIG_arg_fail(1)) SWIG_fail
;
9749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9750 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
9752 wxPyEndAllowThreads(__tstate
);
9753 if (PyErr_Occurred()) SWIG_fail
;
9756 resultobj
= SWIG_From_int((int)(result
));
9764 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9765 PyObject
*resultobj
;
9766 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9769 PyObject
* obj0
= 0 ;
9770 PyObject
* obj1
= 0 ;
9772 (char *) "self",(char *) "size", NULL
9775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9777 if (SWIG_arg_fail(1)) SWIG_fail
;
9780 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9784 (arg1
)->SetSize((wxSize
const &)*arg2
);
9786 wxPyEndAllowThreads(__tstate
);
9787 if (PyErr_Occurred()) SWIG_fail
;
9789 Py_INCREF(Py_None
); resultobj
= Py_None
;
9796 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9797 PyObject
*resultobj
;
9798 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9800 PyObject
* obj0
= 0 ;
9802 (char *) "self", NULL
9805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
9806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9807 if (SWIG_arg_fail(1)) SWIG_fail
;
9809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9810 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
9812 wxPyEndAllowThreads(__tstate
);
9813 if (PyErr_Occurred()) SWIG_fail
;
9817 resultptr
= new wxSize((wxSize
&)(result
));
9818 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
9826 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9827 PyObject
*resultobj
;
9828 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9829 wxLayoutOrientation arg2
;
9830 PyObject
* obj0
= 0 ;
9831 PyObject
* obj1
= 0 ;
9833 (char *) "self",(char *) "orient", NULL
9836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
9837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9838 if (SWIG_arg_fail(1)) SWIG_fail
;
9840 arg2
= (wxLayoutOrientation
)(SWIG_As_int(obj1
));
9841 if (SWIG_arg_fail(2)) SWIG_fail
;
9844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9845 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
9847 wxPyEndAllowThreads(__tstate
);
9848 if (PyErr_Occurred()) SWIG_fail
;
9850 Py_INCREF(Py_None
); resultobj
= Py_None
;
9857 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9858 PyObject
*resultobj
;
9859 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9860 wxLayoutOrientation result
;
9861 PyObject
* obj0
= 0 ;
9863 (char *) "self", NULL
9866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
9867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9868 if (SWIG_arg_fail(1)) SWIG_fail
;
9870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9871 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
9873 wxPyEndAllowThreads(__tstate
);
9874 if (PyErr_Occurred()) SWIG_fail
;
9876 resultobj
= SWIG_From_int((result
));
9883 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9884 PyObject
*resultobj
;
9885 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9886 wxLayoutAlignment arg2
;
9887 PyObject
* obj0
= 0 ;
9888 PyObject
* obj1
= 0 ;
9890 (char *) "self",(char *) "align", NULL
9893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
9894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9895 if (SWIG_arg_fail(1)) SWIG_fail
;
9897 arg2
= (wxLayoutAlignment
)(SWIG_As_int(obj1
));
9898 if (SWIG_arg_fail(2)) SWIG_fail
;
9901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9902 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
9904 wxPyEndAllowThreads(__tstate
);
9905 if (PyErr_Occurred()) SWIG_fail
;
9907 Py_INCREF(Py_None
); resultobj
= Py_None
;
9914 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9915 PyObject
*resultobj
;
9916 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9917 wxLayoutAlignment result
;
9918 PyObject
* obj0
= 0 ;
9920 (char *) "self", NULL
9923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
9924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9925 if (SWIG_arg_fail(1)) SWIG_fail
;
9927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9928 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
9930 wxPyEndAllowThreads(__tstate
);
9931 if (PyErr_Occurred()) SWIG_fail
;
9933 resultobj
= SWIG_From_int((result
));
9940 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*, PyObject
*args
) {
9942 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9943 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
9945 return Py_BuildValue((char *)"");
9947 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9948 PyObject
*resultobj
;
9949 int arg1
= (int) 0 ;
9950 wxCalculateLayoutEvent
*result
;
9951 PyObject
* obj0
= 0 ;
9956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
9959 arg1
= (int)(SWIG_As_int(obj0
));
9960 if (SWIG_arg_fail(1)) SWIG_fail
;
9964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9965 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
9967 wxPyEndAllowThreads(__tstate
);
9968 if (PyErr_Occurred()) SWIG_fail
;
9970 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
9977 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9978 PyObject
*resultobj
;
9979 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
9981 PyObject
* obj0
= 0 ;
9982 PyObject
* obj1
= 0 ;
9984 (char *) "self",(char *) "flags", NULL
9987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
9988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
9989 if (SWIG_arg_fail(1)) SWIG_fail
;
9991 arg2
= (int)(SWIG_As_int(obj1
));
9992 if (SWIG_arg_fail(2)) SWIG_fail
;
9995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9996 (arg1
)->SetFlags(arg2
);
9998 wxPyEndAllowThreads(__tstate
);
9999 if (PyErr_Occurred()) SWIG_fail
;
10001 Py_INCREF(Py_None
); resultobj
= Py_None
;
10008 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10009 PyObject
*resultobj
;
10010 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10012 PyObject
* obj0
= 0 ;
10013 char *kwnames
[] = {
10014 (char *) "self", NULL
10017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
10018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10019 if (SWIG_arg_fail(1)) SWIG_fail
;
10021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10022 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
10024 wxPyEndAllowThreads(__tstate
);
10025 if (PyErr_Occurred()) SWIG_fail
;
10028 resultobj
= SWIG_From_int((int)(result
));
10036 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10037 PyObject
*resultobj
;
10038 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10041 PyObject
* obj0
= 0 ;
10042 PyObject
* obj1
= 0 ;
10043 char *kwnames
[] = {
10044 (char *) "self",(char *) "rect", NULL
10047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10049 if (SWIG_arg_fail(1)) SWIG_fail
;
10052 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10056 (arg1
)->SetRect((wxRect
const &)*arg2
);
10058 wxPyEndAllowThreads(__tstate
);
10059 if (PyErr_Occurred()) SWIG_fail
;
10061 Py_INCREF(Py_None
); resultobj
= Py_None
;
10068 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10069 PyObject
*resultobj
;
10070 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10072 PyObject
* obj0
= 0 ;
10073 char *kwnames
[] = {
10074 (char *) "self", NULL
10077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
10078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10079 if (SWIG_arg_fail(1)) SWIG_fail
;
10081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10082 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
10084 wxPyEndAllowThreads(__tstate
);
10085 if (PyErr_Occurred()) SWIG_fail
;
10088 wxRect
* resultptr
;
10089 resultptr
= new wxRect((wxRect
&)(result
));
10090 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
10098 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*, PyObject
*args
) {
10100 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10101 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
10103 return Py_BuildValue((char *)"");
10105 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10106 PyObject
*resultobj
;
10107 wxWindow
*arg1
= (wxWindow
*) 0 ;
10108 int arg2
= (int) -1 ;
10109 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10110 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10111 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10112 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10113 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10114 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
10115 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10116 wxSashLayoutWindow
*result
;
10119 bool temp6
= false ;
10120 PyObject
* obj0
= 0 ;
10121 PyObject
* obj1
= 0 ;
10122 PyObject
* obj2
= 0 ;
10123 PyObject
* obj3
= 0 ;
10124 PyObject
* obj4
= 0 ;
10125 PyObject
* obj5
= 0 ;
10126 char *kwnames
[] = {
10127 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10132 if (SWIG_arg_fail(1)) SWIG_fail
;
10135 arg2
= (int)(SWIG_As_int(obj1
));
10136 if (SWIG_arg_fail(2)) SWIG_fail
;
10142 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10148 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10153 arg5
= (long)(SWIG_As_long(obj4
));
10154 if (SWIG_arg_fail(5)) SWIG_fail
;
10159 arg6
= wxString_in_helper(obj5
);
10160 if (arg6
== NULL
) SWIG_fail
;
10165 if (!wxPyCheckForApp()) SWIG_fail
;
10166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10167 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10169 wxPyEndAllowThreads(__tstate
);
10170 if (PyErr_Occurred()) SWIG_fail
;
10172 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
10187 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10188 PyObject
*resultobj
;
10189 wxSashLayoutWindow
*result
;
10190 char *kwnames
[] = {
10194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
10196 if (!wxPyCheckForApp()) SWIG_fail
;
10197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10198 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
10200 wxPyEndAllowThreads(__tstate
);
10201 if (PyErr_Occurred()) SWIG_fail
;
10203 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
10210 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10211 PyObject
*resultobj
;
10212 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10213 wxWindow
*arg2
= (wxWindow
*) 0 ;
10214 int arg3
= (int) -1 ;
10215 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10216 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10217 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10218 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10219 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10220 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
10221 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10225 bool temp7
= false ;
10226 PyObject
* obj0
= 0 ;
10227 PyObject
* obj1
= 0 ;
10228 PyObject
* obj2
= 0 ;
10229 PyObject
* obj3
= 0 ;
10230 PyObject
* obj4
= 0 ;
10231 PyObject
* obj5
= 0 ;
10232 PyObject
* obj6
= 0 ;
10233 char *kwnames
[] = {
10234 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10239 if (SWIG_arg_fail(1)) SWIG_fail
;
10240 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10241 if (SWIG_arg_fail(2)) SWIG_fail
;
10244 arg3
= (int)(SWIG_As_int(obj2
));
10245 if (SWIG_arg_fail(3)) SWIG_fail
;
10251 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10257 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10262 arg6
= (long)(SWIG_As_long(obj5
));
10263 if (SWIG_arg_fail(6)) SWIG_fail
;
10268 arg7
= wxString_in_helper(obj6
);
10269 if (arg7
== NULL
) SWIG_fail
;
10274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10275 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10277 wxPyEndAllowThreads(__tstate
);
10278 if (PyErr_Occurred()) SWIG_fail
;
10281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10297 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10298 PyObject
*resultobj
;
10299 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10300 wxLayoutAlignment result
;
10301 PyObject
* obj0
= 0 ;
10302 char *kwnames
[] = {
10303 (char *) "self", NULL
10306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
10307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10308 if (SWIG_arg_fail(1)) SWIG_fail
;
10310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10311 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
10313 wxPyEndAllowThreads(__tstate
);
10314 if (PyErr_Occurred()) SWIG_fail
;
10316 resultobj
= SWIG_From_int((result
));
10323 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10324 PyObject
*resultobj
;
10325 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10326 wxLayoutOrientation result
;
10327 PyObject
* obj0
= 0 ;
10328 char *kwnames
[] = {
10329 (char *) "self", NULL
10332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
10333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10334 if (SWIG_arg_fail(1)) SWIG_fail
;
10336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10337 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
10339 wxPyEndAllowThreads(__tstate
);
10340 if (PyErr_Occurred()) SWIG_fail
;
10342 resultobj
= SWIG_From_int((result
));
10349 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10350 PyObject
*resultobj
;
10351 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10352 wxLayoutAlignment arg2
;
10353 PyObject
* obj0
= 0 ;
10354 PyObject
* obj1
= 0 ;
10355 char *kwnames
[] = {
10356 (char *) "self",(char *) "alignment", NULL
10359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",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
;
10363 arg2
= (wxLayoutAlignment
)(SWIG_As_int(obj1
));
10364 if (SWIG_arg_fail(2)) SWIG_fail
;
10367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10368 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
10370 wxPyEndAllowThreads(__tstate
);
10371 if (PyErr_Occurred()) SWIG_fail
;
10373 Py_INCREF(Py_None
); resultobj
= Py_None
;
10380 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10381 PyObject
*resultobj
;
10382 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10385 PyObject
* obj0
= 0 ;
10386 PyObject
* obj1
= 0 ;
10387 char *kwnames
[] = {
10388 (char *) "self",(char *) "size", NULL
10391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10393 if (SWIG_arg_fail(1)) SWIG_fail
;
10396 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10400 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
10402 wxPyEndAllowThreads(__tstate
);
10403 if (PyErr_Occurred()) SWIG_fail
;
10405 Py_INCREF(Py_None
); resultobj
= Py_None
;
10412 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10413 PyObject
*resultobj
;
10414 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10415 wxLayoutOrientation arg2
;
10416 PyObject
* obj0
= 0 ;
10417 PyObject
* obj1
= 0 ;
10418 char *kwnames
[] = {
10419 (char *) "self",(char *) "orientation", NULL
10422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
10423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10424 if (SWIG_arg_fail(1)) SWIG_fail
;
10426 arg2
= (wxLayoutOrientation
)(SWIG_As_int(obj1
));
10427 if (SWIG_arg_fail(2)) SWIG_fail
;
10430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10431 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
10433 wxPyEndAllowThreads(__tstate
);
10434 if (PyErr_Occurred()) SWIG_fail
;
10436 Py_INCREF(Py_None
); resultobj
= Py_None
;
10443 static PyObject
* SashLayoutWindow_swigregister(PyObject
*, PyObject
*args
) {
10445 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10446 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
10448 return Py_BuildValue((char *)"");
10450 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10451 PyObject
*resultobj
;
10452 wxLayoutAlgorithm
*result
;
10453 char *kwnames
[] = {
10457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
10459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10460 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
10462 wxPyEndAllowThreads(__tstate
);
10463 if (PyErr_Occurred()) SWIG_fail
;
10465 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
10472 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10473 PyObject
*resultobj
;
10474 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10475 PyObject
* obj0
= 0 ;
10476 char *kwnames
[] = {
10477 (char *) "self", NULL
10480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
10481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10482 if (SWIG_arg_fail(1)) SWIG_fail
;
10484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10487 wxPyEndAllowThreads(__tstate
);
10488 if (PyErr_Occurred()) SWIG_fail
;
10490 Py_INCREF(Py_None
); resultobj
= Py_None
;
10497 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10498 PyObject
*resultobj
;
10499 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10500 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
10501 wxRect
*arg3
= (wxRect
*) NULL
;
10503 PyObject
* obj0
= 0 ;
10504 PyObject
* obj1
= 0 ;
10505 PyObject
* obj2
= 0 ;
10506 char *kwnames
[] = {
10507 (char *) "self",(char *) "frame",(char *) "rect", NULL
10510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10512 if (SWIG_arg_fail(1)) SWIG_fail
;
10513 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
10514 if (SWIG_arg_fail(2)) SWIG_fail
;
10516 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
10517 if (SWIG_arg_fail(3)) SWIG_fail
;
10520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10521 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
10523 wxPyEndAllowThreads(__tstate
);
10524 if (PyErr_Occurred()) SWIG_fail
;
10527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10535 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10536 PyObject
*resultobj
;
10537 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10538 wxFrame
*arg2
= (wxFrame
*) 0 ;
10539 wxWindow
*arg3
= (wxWindow
*) NULL
;
10541 PyObject
* obj0
= 0 ;
10542 PyObject
* obj1
= 0 ;
10543 PyObject
* obj2
= 0 ;
10544 char *kwnames
[] = {
10545 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
10548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10550 if (SWIG_arg_fail(1)) SWIG_fail
;
10551 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
10552 if (SWIG_arg_fail(2)) SWIG_fail
;
10554 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10555 if (SWIG_arg_fail(3)) SWIG_fail
;
10558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10559 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
10561 wxPyEndAllowThreads(__tstate
);
10562 if (PyErr_Occurred()) SWIG_fail
;
10565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10573 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10574 PyObject
*resultobj
;
10575 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10576 wxWindow
*arg2
= (wxWindow
*) 0 ;
10577 wxWindow
*arg3
= (wxWindow
*) NULL
;
10579 PyObject
* obj0
= 0 ;
10580 PyObject
* obj1
= 0 ;
10581 PyObject
* obj2
= 0 ;
10582 char *kwnames
[] = {
10583 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
10586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10588 if (SWIG_arg_fail(1)) SWIG_fail
;
10589 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10590 if (SWIG_arg_fail(2)) SWIG_fail
;
10592 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10593 if (SWIG_arg_fail(3)) SWIG_fail
;
10596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10597 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
10599 wxPyEndAllowThreads(__tstate
);
10600 if (PyErr_Occurred()) SWIG_fail
;
10603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10611 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*, PyObject
*args
) {
10613 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10614 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
10616 return Py_BuildValue((char *)"");
10618 static PyObject
*_wrap_new_PopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10619 PyObject
*resultobj
;
10620 wxWindow
*arg1
= (wxWindow
*) 0 ;
10621 int arg2
= (int) wxBORDER_NONE
;
10622 wxPopupWindow
*result
;
10623 PyObject
* obj0
= 0 ;
10624 PyObject
* obj1
= 0 ;
10625 char *kwnames
[] = {
10626 (char *) "parent",(char *) "flags", NULL
10629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
10630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10631 if (SWIG_arg_fail(1)) SWIG_fail
;
10634 arg2
= (int)(SWIG_As_int(obj1
));
10635 if (SWIG_arg_fail(2)) SWIG_fail
;
10639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10640 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
10642 wxPyEndAllowThreads(__tstate
);
10643 if (PyErr_Occurred()) SWIG_fail
;
10645 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
10652 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10653 PyObject
*resultobj
;
10654 wxPopupWindow
*result
;
10655 char *kwnames
[] = {
10659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
10661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10662 result
= (wxPopupWindow
*)new wxPopupWindow();
10664 wxPyEndAllowThreads(__tstate
);
10665 if (PyErr_Occurred()) SWIG_fail
;
10667 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
10674 static PyObject
* PopupWindow_swigregister(PyObject
*, PyObject
*args
) {
10676 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10677 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
10679 return Py_BuildValue((char *)"");
10681 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10682 PyObject
*resultobj
;
10683 wxWindow
*arg1
= (wxWindow
*) 0 ;
10684 int arg2
= (int) wxBORDER_NONE
;
10685 wxPyPopupTransientWindow
*result
;
10686 PyObject
* obj0
= 0 ;
10687 PyObject
* obj1
= 0 ;
10688 char *kwnames
[] = {
10689 (char *) "parent",(char *) "style", NULL
10692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
10693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10694 if (SWIG_arg_fail(1)) SWIG_fail
;
10697 arg2
= (int)(SWIG_As_int(obj1
));
10698 if (SWIG_arg_fail(2)) SWIG_fail
;
10702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10703 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
10705 wxPyEndAllowThreads(__tstate
);
10706 if (PyErr_Occurred()) SWIG_fail
;
10708 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
10715 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10716 PyObject
*resultobj
;
10717 wxPyPopupTransientWindow
*result
;
10718 char *kwnames
[] = {
10722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
10724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10725 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
10727 wxPyEndAllowThreads(__tstate
);
10728 if (PyErr_Occurred()) SWIG_fail
;
10730 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
10737 static PyObject
* PopupTransientWindow_swigregister(PyObject
*, PyObject
*args
) {
10739 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10740 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
10742 return Py_BuildValue((char *)"");
10744 static PyObject
*_wrap_new_TipWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10745 PyObject
*resultobj
;
10746 wxWindow
*arg1
= (wxWindow
*) 0 ;
10747 wxString
*arg2
= 0 ;
10748 int arg3
= (int) 100 ;
10749 wxRect
*arg4
= (wxRect
*) NULL
;
10750 wxTipWindow
*result
;
10751 bool temp2
= false ;
10752 PyObject
* obj0
= 0 ;
10753 PyObject
* obj1
= 0 ;
10754 PyObject
* obj2
= 0 ;
10755 PyObject
* obj3
= 0 ;
10756 char *kwnames
[] = {
10757 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
10760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10762 if (SWIG_arg_fail(1)) SWIG_fail
;
10764 arg2
= wxString_in_helper(obj1
);
10765 if (arg2
== NULL
) SWIG_fail
;
10770 arg3
= (int)(SWIG_As_int(obj2
));
10771 if (SWIG_arg_fail(3)) SWIG_fail
;
10775 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
10776 if (SWIG_arg_fail(4)) SWIG_fail
;
10779 if (!wxPyCheckForApp()) SWIG_fail
;
10780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10781 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
10783 wxPyEndAllowThreads(__tstate
);
10784 if (PyErr_Occurred()) SWIG_fail
;
10786 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
10801 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10802 PyObject
*resultobj
;
10803 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
10806 PyObject
* obj0
= 0 ;
10807 PyObject
* obj1
= 0 ;
10808 char *kwnames
[] = {
10809 (char *) "self",(char *) "rectBound", NULL
10812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_EXCEPTION
| 0);
10814 if (SWIG_arg_fail(1)) SWIG_fail
;
10817 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10821 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
10823 wxPyEndAllowThreads(__tstate
);
10824 if (PyErr_Occurred()) SWIG_fail
;
10826 Py_INCREF(Py_None
); resultobj
= Py_None
;
10833 static PyObject
*_wrap_TipWindow_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10834 PyObject
*resultobj
;
10835 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
10836 PyObject
* obj0
= 0 ;
10837 char *kwnames
[] = {
10838 (char *) "self", NULL
10841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
10842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_EXCEPTION
| 0);
10843 if (SWIG_arg_fail(1)) SWIG_fail
;
10845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10848 wxPyEndAllowThreads(__tstate
);
10849 if (PyErr_Occurred()) SWIG_fail
;
10851 Py_INCREF(Py_None
); resultobj
= Py_None
;
10858 static PyObject
* TipWindow_swigregister(PyObject
*, PyObject
*args
) {
10860 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10861 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
10863 return Py_BuildValue((char *)"");
10865 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10866 PyObject
*resultobj
;
10867 wxWindow
*arg1
= (wxWindow
*) 0 ;
10868 int arg2
= (int) wxID_ANY
;
10869 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10870 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10871 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10872 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10873 long arg5
= (long) 0 ;
10874 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
10875 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10876 wxPyVScrolledWindow
*result
;
10879 bool temp6
= false ;
10880 PyObject
* obj0
= 0 ;
10881 PyObject
* obj1
= 0 ;
10882 PyObject
* obj2
= 0 ;
10883 PyObject
* obj3
= 0 ;
10884 PyObject
* obj4
= 0 ;
10885 PyObject
* obj5
= 0 ;
10886 char *kwnames
[] = {
10887 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10892 if (SWIG_arg_fail(1)) SWIG_fail
;
10895 arg2
= (int)(SWIG_As_int(obj1
));
10896 if (SWIG_arg_fail(2)) SWIG_fail
;
10902 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10908 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10913 arg5
= (long)(SWIG_As_long(obj4
));
10914 if (SWIG_arg_fail(5)) SWIG_fail
;
10919 arg6
= wxString_in_helper(obj5
);
10920 if (arg6
== NULL
) SWIG_fail
;
10925 if (!wxPyCheckForApp()) SWIG_fail
;
10926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10927 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10929 wxPyEndAllowThreads(__tstate
);
10930 if (PyErr_Occurred()) SWIG_fail
;
10932 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
10947 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10948 PyObject
*resultobj
;
10949 wxPyVScrolledWindow
*result
;
10950 char *kwnames
[] = {
10954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
10956 if (!wxPyCheckForApp()) SWIG_fail
;
10957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10958 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
10960 wxPyEndAllowThreads(__tstate
);
10961 if (PyErr_Occurred()) SWIG_fail
;
10963 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
10970 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10971 PyObject
*resultobj
;
10972 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
10973 PyObject
*arg2
= (PyObject
*) 0 ;
10974 PyObject
*arg3
= (PyObject
*) 0 ;
10975 PyObject
* obj0
= 0 ;
10976 PyObject
* obj1
= 0 ;
10977 PyObject
* obj2
= 0 ;
10978 char *kwnames
[] = {
10979 (char *) "self",(char *) "self",(char *) "_class", NULL
10982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
10984 if (SWIG_arg_fail(1)) SWIG_fail
;
10988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10989 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10991 wxPyEndAllowThreads(__tstate
);
10992 if (PyErr_Occurred()) SWIG_fail
;
10994 Py_INCREF(Py_None
); resultobj
= Py_None
;
11001 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11002 PyObject
*resultobj
;
11003 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11004 wxWindow
*arg2
= (wxWindow
*) 0 ;
11005 int arg3
= (int) wxID_ANY
;
11006 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11007 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11008 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11009 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11010 long arg6
= (long) 0 ;
11011 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
11012 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11016 bool temp7
= false ;
11017 PyObject
* obj0
= 0 ;
11018 PyObject
* obj1
= 0 ;
11019 PyObject
* obj2
= 0 ;
11020 PyObject
* obj3
= 0 ;
11021 PyObject
* obj4
= 0 ;
11022 PyObject
* obj5
= 0 ;
11023 PyObject
* obj6
= 0 ;
11024 char *kwnames
[] = {
11025 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11030 if (SWIG_arg_fail(1)) SWIG_fail
;
11031 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11032 if (SWIG_arg_fail(2)) SWIG_fail
;
11035 arg3
= (int)(SWIG_As_int(obj2
));
11036 if (SWIG_arg_fail(3)) SWIG_fail
;
11042 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11048 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11053 arg6
= (long)(SWIG_As_long(obj5
));
11054 if (SWIG_arg_fail(6)) SWIG_fail
;
11059 arg7
= wxString_in_helper(obj6
);
11060 if (arg7
== NULL
) SWIG_fail
;
11065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11066 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11068 wxPyEndAllowThreads(__tstate
);
11069 if (PyErr_Occurred()) SWIG_fail
;
11072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11088 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11089 PyObject
*resultobj
;
11090 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11092 PyObject
* obj0
= 0 ;
11093 PyObject
* obj1
= 0 ;
11094 char *kwnames
[] = {
11095 (char *) "self",(char *) "count", NULL
11098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11100 if (SWIG_arg_fail(1)) SWIG_fail
;
11102 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11103 if (SWIG_arg_fail(2)) SWIG_fail
;
11106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11107 (arg1
)->SetLineCount(arg2
);
11109 wxPyEndAllowThreads(__tstate
);
11110 if (PyErr_Occurred()) SWIG_fail
;
11112 Py_INCREF(Py_None
); resultobj
= Py_None
;
11119 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11120 PyObject
*resultobj
;
11121 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11124 PyObject
* obj0
= 0 ;
11125 PyObject
* obj1
= 0 ;
11126 char *kwnames
[] = {
11127 (char *) "self",(char *) "line", NULL
11130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
11131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11132 if (SWIG_arg_fail(1)) SWIG_fail
;
11134 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11135 if (SWIG_arg_fail(2)) SWIG_fail
;
11138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11139 result
= (bool)(arg1
)->ScrollToLine(arg2
);
11141 wxPyEndAllowThreads(__tstate
);
11142 if (PyErr_Occurred()) SWIG_fail
;
11145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11153 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11154 PyObject
*resultobj
;
11155 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11158 PyObject
* obj0
= 0 ;
11159 PyObject
* obj1
= 0 ;
11160 char *kwnames
[] = {
11161 (char *) "self",(char *) "lines", NULL
11164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
11165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11166 if (SWIG_arg_fail(1)) SWIG_fail
;
11168 arg2
= (int)(SWIG_As_int(obj1
));
11169 if (SWIG_arg_fail(2)) SWIG_fail
;
11172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11173 result
= (bool)(arg1
)->ScrollLines(arg2
);
11175 wxPyEndAllowThreads(__tstate
);
11176 if (PyErr_Occurred()) SWIG_fail
;
11179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11187 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11188 PyObject
*resultobj
;
11189 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11192 PyObject
* obj0
= 0 ;
11193 PyObject
* obj1
= 0 ;
11194 char *kwnames
[] = {
11195 (char *) "self",(char *) "pages", NULL
11198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
11199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11200 if (SWIG_arg_fail(1)) SWIG_fail
;
11202 arg2
= (int)(SWIG_As_int(obj1
));
11203 if (SWIG_arg_fail(2)) SWIG_fail
;
11206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11207 result
= (bool)(arg1
)->ScrollPages(arg2
);
11209 wxPyEndAllowThreads(__tstate
);
11210 if (PyErr_Occurred()) SWIG_fail
;
11213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11221 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11222 PyObject
*resultobj
;
11223 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11225 PyObject
* obj0
= 0 ;
11226 PyObject
* obj1
= 0 ;
11227 char *kwnames
[] = {
11228 (char *) "self",(char *) "line", NULL
11231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
11232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11233 if (SWIG_arg_fail(1)) SWIG_fail
;
11235 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11236 if (SWIG_arg_fail(2)) SWIG_fail
;
11239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11240 (arg1
)->RefreshLine(arg2
);
11242 wxPyEndAllowThreads(__tstate
);
11243 if (PyErr_Occurred()) SWIG_fail
;
11245 Py_INCREF(Py_None
); resultobj
= Py_None
;
11252 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11253 PyObject
*resultobj
;
11254 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11257 PyObject
* obj0
= 0 ;
11258 PyObject
* obj1
= 0 ;
11259 PyObject
* obj2
= 0 ;
11260 char *kwnames
[] = {
11261 (char *) "self",(char *) "from",(char *) "to", NULL
11264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11266 if (SWIG_arg_fail(1)) SWIG_fail
;
11268 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11269 if (SWIG_arg_fail(2)) SWIG_fail
;
11272 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
11273 if (SWIG_arg_fail(3)) SWIG_fail
;
11276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11277 (arg1
)->RefreshLines(arg2
,arg3
);
11279 wxPyEndAllowThreads(__tstate
);
11280 if (PyErr_Occurred()) SWIG_fail
;
11282 Py_INCREF(Py_None
); resultobj
= Py_None
;
11289 static PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11290 PyObject
*resultobj
;
11291 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11295 PyObject
* obj0
= 0 ;
11296 PyObject
* obj1
= 0 ;
11297 PyObject
* obj2
= 0 ;
11298 char *kwnames
[] = {
11299 (char *) "self",(char *) "x",(char *) "y", NULL
11302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) 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 arg3
= (int)(SWIG_As_int(obj2
));
11311 if (SWIG_arg_fail(3)) SWIG_fail
;
11314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11315 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
11317 wxPyEndAllowThreads(__tstate
);
11318 if (PyErr_Occurred()) SWIG_fail
;
11321 resultobj
= SWIG_From_int((int)(result
));
11329 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11330 PyObject
*resultobj
;
11331 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11332 wxPoint
*arg2
= 0 ;
11335 PyObject
* obj0
= 0 ;
11336 PyObject
* obj1
= 0 ;
11337 char *kwnames
[] = {
11338 (char *) "self",(char *) "pt", NULL
11341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
11342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11343 if (SWIG_arg_fail(1)) SWIG_fail
;
11346 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11350 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
11352 wxPyEndAllowThreads(__tstate
);
11353 if (PyErr_Occurred()) SWIG_fail
;
11356 resultobj
= SWIG_From_int((int)(result
));
11364 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11365 PyObject
*resultobj
;
11366 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11367 PyObject
* obj0
= 0 ;
11368 char *kwnames
[] = {
11369 (char *) "self", NULL
11372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
11373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11374 if (SWIG_arg_fail(1)) SWIG_fail
;
11376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11377 (arg1
)->RefreshAll();
11379 wxPyEndAllowThreads(__tstate
);
11380 if (PyErr_Occurred()) SWIG_fail
;
11382 Py_INCREF(Py_None
); resultobj
= Py_None
;
11389 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11390 PyObject
*resultobj
;
11391 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11393 PyObject
* obj0
= 0 ;
11394 char *kwnames
[] = {
11395 (char *) "self", NULL
11398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
11399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11400 if (SWIG_arg_fail(1)) SWIG_fail
;
11402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11403 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
11405 wxPyEndAllowThreads(__tstate
);
11406 if (PyErr_Occurred()) SWIG_fail
;
11409 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11417 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11418 PyObject
*resultobj
;
11419 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11421 PyObject
* obj0
= 0 ;
11422 char *kwnames
[] = {
11423 (char *) "self", NULL
11426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
11427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11428 if (SWIG_arg_fail(1)) SWIG_fail
;
11430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11431 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
11433 wxPyEndAllowThreads(__tstate
);
11434 if (PyErr_Occurred()) SWIG_fail
;
11437 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11445 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11446 PyObject
*resultobj
;
11447 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11449 PyObject
* obj0
= 0 ;
11450 char *kwnames
[] = {
11451 (char *) "self", NULL
11454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
11455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11456 if (SWIG_arg_fail(1)) SWIG_fail
;
11458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11459 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
11461 wxPyEndAllowThreads(__tstate
);
11462 if (PyErr_Occurred()) SWIG_fail
;
11465 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11473 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11474 PyObject
*resultobj
;
11475 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11478 PyObject
* obj0
= 0 ;
11479 PyObject
* obj1
= 0 ;
11480 char *kwnames
[] = {
11481 (char *) "self",(char *) "line", NULL
11484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
11485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11486 if (SWIG_arg_fail(1)) SWIG_fail
;
11488 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11489 if (SWIG_arg_fail(2)) SWIG_fail
;
11492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11493 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
11495 wxPyEndAllowThreads(__tstate
);
11496 if (PyErr_Occurred()) SWIG_fail
;
11499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11507 static PyObject
* VScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
11509 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11510 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
11512 return Py_BuildValue((char *)"");
11514 static int _wrap_VListBoxNameStr_set(PyObject
*) {
11515 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
11520 static PyObject
*_wrap_VListBoxNameStr_get(void) {
11525 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
11527 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
11534 static PyObject
*_wrap_new_VListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11535 PyObject
*resultobj
;
11536 wxWindow
*arg1
= (wxWindow
*) 0 ;
11537 int arg2
= (int) wxID_ANY
;
11538 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11539 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11540 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11541 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11542 long arg5
= (long) 0 ;
11543 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
11544 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11545 wxPyVListBox
*result
;
11548 bool temp6
= false ;
11549 PyObject
* obj0
= 0 ;
11550 PyObject
* obj1
= 0 ;
11551 PyObject
* obj2
= 0 ;
11552 PyObject
* obj3
= 0 ;
11553 PyObject
* obj4
= 0 ;
11554 PyObject
* obj5
= 0 ;
11555 char *kwnames
[] = {
11556 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11561 if (SWIG_arg_fail(1)) SWIG_fail
;
11564 arg2
= (int)(SWIG_As_int(obj1
));
11565 if (SWIG_arg_fail(2)) SWIG_fail
;
11571 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11577 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11582 arg5
= (long)(SWIG_As_long(obj4
));
11583 if (SWIG_arg_fail(5)) SWIG_fail
;
11588 arg6
= wxString_in_helper(obj5
);
11589 if (arg6
== NULL
) SWIG_fail
;
11594 if (!wxPyCheckForApp()) SWIG_fail
;
11595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11596 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
11598 wxPyEndAllowThreads(__tstate
);
11599 if (PyErr_Occurred()) SWIG_fail
;
11601 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
11616 static PyObject
*_wrap_new_PreVListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11617 PyObject
*resultobj
;
11618 wxPyVListBox
*result
;
11619 char *kwnames
[] = {
11623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
11625 if (!wxPyCheckForApp()) SWIG_fail
;
11626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11627 result
= (wxPyVListBox
*)new wxPyVListBox();
11629 wxPyEndAllowThreads(__tstate
);
11630 if (PyErr_Occurred()) SWIG_fail
;
11632 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
11639 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11640 PyObject
*resultobj
;
11641 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11642 PyObject
*arg2
= (PyObject
*) 0 ;
11643 PyObject
*arg3
= (PyObject
*) 0 ;
11644 PyObject
* obj0
= 0 ;
11645 PyObject
* obj1
= 0 ;
11646 PyObject
* obj2
= 0 ;
11647 char *kwnames
[] = {
11648 (char *) "self",(char *) "self",(char *) "_class", NULL
11651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11653 if (SWIG_arg_fail(1)) SWIG_fail
;
11657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11658 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11660 wxPyEndAllowThreads(__tstate
);
11661 if (PyErr_Occurred()) SWIG_fail
;
11663 Py_INCREF(Py_None
); resultobj
= Py_None
;
11670 static PyObject
*_wrap_VListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11671 PyObject
*resultobj
;
11672 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11673 wxWindow
*arg2
= (wxWindow
*) 0 ;
11674 int arg3
= (int) wxID_ANY
;
11675 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11676 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11677 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11678 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11679 long arg6
= (long) 0 ;
11680 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
11681 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11685 bool temp7
= false ;
11686 PyObject
* obj0
= 0 ;
11687 PyObject
* obj1
= 0 ;
11688 PyObject
* obj2
= 0 ;
11689 PyObject
* obj3
= 0 ;
11690 PyObject
* obj4
= 0 ;
11691 PyObject
* obj5
= 0 ;
11692 PyObject
* obj6
= 0 ;
11693 char *kwnames
[] = {
11694 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11699 if (SWIG_arg_fail(1)) SWIG_fail
;
11700 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11701 if (SWIG_arg_fail(2)) SWIG_fail
;
11704 arg3
= (int)(SWIG_As_int(obj2
));
11705 if (SWIG_arg_fail(3)) SWIG_fail
;
11711 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11717 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11722 arg6
= (long)(SWIG_As_long(obj5
));
11723 if (SWIG_arg_fail(6)) SWIG_fail
;
11728 arg7
= wxString_in_helper(obj6
);
11729 if (arg7
== NULL
) SWIG_fail
;
11734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11735 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11737 wxPyEndAllowThreads(__tstate
);
11738 if (PyErr_Occurred()) SWIG_fail
;
11741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11757 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11758 PyObject
*resultobj
;
11759 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11761 PyObject
* obj0
= 0 ;
11762 char *kwnames
[] = {
11763 (char *) "self", NULL
11766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
11767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11768 if (SWIG_arg_fail(1)) SWIG_fail
;
11770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11771 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
11773 wxPyEndAllowThreads(__tstate
);
11774 if (PyErr_Occurred()) SWIG_fail
;
11777 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11785 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11786 PyObject
*resultobj
;
11787 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11789 PyObject
* obj0
= 0 ;
11790 char *kwnames
[] = {
11791 (char *) "self", NULL
11794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
11795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11796 if (SWIG_arg_fail(1)) SWIG_fail
;
11798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11799 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
11801 wxPyEndAllowThreads(__tstate
);
11802 if (PyErr_Occurred()) SWIG_fail
;
11805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11813 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11814 PyObject
*resultobj
;
11815 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11817 PyObject
* obj0
= 0 ;
11818 char *kwnames
[] = {
11819 (char *) "self", NULL
11822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
11823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11824 if (SWIG_arg_fail(1)) SWIG_fail
;
11826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11827 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
11829 wxPyEndAllowThreads(__tstate
);
11830 if (PyErr_Occurred()) SWIG_fail
;
11833 resultobj
= SWIG_From_int((int)(result
));
11841 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11842 PyObject
*resultobj
;
11843 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11846 PyObject
* obj0
= 0 ;
11847 PyObject
* obj1
= 0 ;
11848 char *kwnames
[] = {
11849 (char *) "self",(char *) "item", NULL
11852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
11853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11854 if (SWIG_arg_fail(1)) SWIG_fail
;
11856 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11857 if (SWIG_arg_fail(2)) SWIG_fail
;
11860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11861 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
11863 wxPyEndAllowThreads(__tstate
);
11864 if (PyErr_Occurred()) SWIG_fail
;
11867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11875 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11876 PyObject
*resultobj
;
11877 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11880 PyObject
* obj0
= 0 ;
11881 PyObject
* obj1
= 0 ;
11882 char *kwnames
[] = {
11883 (char *) "self",(char *) "item", NULL
11886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
11887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11888 if (SWIG_arg_fail(1)) SWIG_fail
;
11890 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11891 if (SWIG_arg_fail(2)) SWIG_fail
;
11894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11895 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
11897 wxPyEndAllowThreads(__tstate
);
11898 if (PyErr_Occurred()) SWIG_fail
;
11901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11909 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11910 PyObject
*resultobj
;
11911 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11913 PyObject
* obj0
= 0 ;
11914 char *kwnames
[] = {
11915 (char *) "self", NULL
11918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
11919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11920 if (SWIG_arg_fail(1)) SWIG_fail
;
11922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11923 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
11925 wxPyEndAllowThreads(__tstate
);
11926 if (PyErr_Occurred()) SWIG_fail
;
11929 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11937 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11938 PyObject
*resultobj
;
11939 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11941 PyObject
* obj0
= 0 ;
11942 char *kwnames
[] = {
11943 (char *) "self", NULL
11946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
11947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11948 if (SWIG_arg_fail(1)) SWIG_fail
;
11950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11951 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
11953 wxPyEndAllowThreads(__tstate
);
11954 if (PyErr_Occurred()) SWIG_fail
;
11956 resultobj
= result
;
11963 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11964 PyObject
*resultobj
;
11965 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11966 unsigned long arg2
;
11968 PyObject
* obj0
= 0 ;
11969 PyObject
* obj1
= 0 ;
11970 char *kwnames
[] = {
11971 (char *) "self",(char *) "cookie", NULL
11974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
11975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11976 if (SWIG_arg_fail(1)) SWIG_fail
;
11978 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
11979 if (SWIG_arg_fail(2)) SWIG_fail
;
11982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11983 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
11985 wxPyEndAllowThreads(__tstate
);
11986 if (PyErr_Occurred()) SWIG_fail
;
11988 resultobj
= result
;
11995 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11996 PyObject
*resultobj
;
11997 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11999 PyObject
* obj0
= 0 ;
12000 char *kwnames
[] = {
12001 (char *) "self", NULL
12004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
12005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12006 if (SWIG_arg_fail(1)) SWIG_fail
;
12008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12009 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
12011 wxPyEndAllowThreads(__tstate
);
12012 if (PyErr_Occurred()) SWIG_fail
;
12015 wxPoint
* resultptr
;
12016 resultptr
= new wxPoint((wxPoint
&)(result
));
12017 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
12025 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12026 PyObject
*resultobj
;
12027 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12029 PyObject
* obj0
= 0 ;
12030 char *kwnames
[] = {
12031 (char *) "self", NULL
12034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
12035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12036 if (SWIG_arg_fail(1)) SWIG_fail
;
12038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12040 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
12041 result
= (wxColour
*) &_result_ref
;
12044 wxPyEndAllowThreads(__tstate
);
12045 if (PyErr_Occurred()) SWIG_fail
;
12047 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
12054 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12055 PyObject
*resultobj
;
12056 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12058 PyObject
* obj0
= 0 ;
12059 PyObject
* obj1
= 0 ;
12060 char *kwnames
[] = {
12061 (char *) "self",(char *) "count", NULL
12064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
12065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12066 if (SWIG_arg_fail(1)) SWIG_fail
;
12068 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12069 if (SWIG_arg_fail(2)) SWIG_fail
;
12072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12073 (arg1
)->SetItemCount(arg2
);
12075 wxPyEndAllowThreads(__tstate
);
12076 if (PyErr_Occurred()) SWIG_fail
;
12078 Py_INCREF(Py_None
); resultobj
= Py_None
;
12085 static PyObject
*_wrap_VListBox_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12086 PyObject
*resultobj
;
12087 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12088 PyObject
* obj0
= 0 ;
12089 char *kwnames
[] = {
12090 (char *) "self", NULL
12093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
12094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12095 if (SWIG_arg_fail(1)) SWIG_fail
;
12097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12100 wxPyEndAllowThreads(__tstate
);
12101 if (PyErr_Occurred()) SWIG_fail
;
12103 Py_INCREF(Py_None
); resultobj
= Py_None
;
12110 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12111 PyObject
*resultobj
;
12112 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12114 PyObject
* obj0
= 0 ;
12115 PyObject
* obj1
= 0 ;
12116 char *kwnames
[] = {
12117 (char *) "self",(char *) "selection", NULL
12120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12122 if (SWIG_arg_fail(1)) SWIG_fail
;
12124 arg2
= (int)(SWIG_As_int(obj1
));
12125 if (SWIG_arg_fail(2)) SWIG_fail
;
12128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12129 (arg1
)->SetSelection(arg2
);
12131 wxPyEndAllowThreads(__tstate
);
12132 if (PyErr_Occurred()) SWIG_fail
;
12134 Py_INCREF(Py_None
); resultobj
= Py_None
;
12141 static PyObject
*_wrap_VListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12142 PyObject
*resultobj
;
12143 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12145 bool arg3
= (bool) true ;
12147 PyObject
* obj0
= 0 ;
12148 PyObject
* obj1
= 0 ;
12149 PyObject
* obj2
= 0 ;
12150 char *kwnames
[] = {
12151 (char *) "self",(char *) "item",(char *) "select", NULL
12154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12156 if (SWIG_arg_fail(1)) SWIG_fail
;
12158 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12159 if (SWIG_arg_fail(2)) SWIG_fail
;
12163 arg3
= (bool)(SWIG_As_bool(obj2
));
12164 if (SWIG_arg_fail(3)) SWIG_fail
;
12168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12169 result
= (bool)(arg1
)->Select(arg2
,arg3
);
12171 wxPyEndAllowThreads(__tstate
);
12172 if (PyErr_Occurred()) SWIG_fail
;
12175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12183 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12184 PyObject
*resultobj
;
12185 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12189 PyObject
* obj0
= 0 ;
12190 PyObject
* obj1
= 0 ;
12191 PyObject
* obj2
= 0 ;
12192 char *kwnames
[] = {
12193 (char *) "self",(char *) "from",(char *) "to", NULL
12196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12198 if (SWIG_arg_fail(1)) SWIG_fail
;
12200 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12201 if (SWIG_arg_fail(2)) SWIG_fail
;
12204 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
12205 if (SWIG_arg_fail(3)) SWIG_fail
;
12208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12209 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
12211 wxPyEndAllowThreads(__tstate
);
12212 if (PyErr_Occurred()) SWIG_fail
;
12215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12223 static PyObject
*_wrap_VListBox_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12224 PyObject
*resultobj
;
12225 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12227 PyObject
* obj0
= 0 ;
12228 PyObject
* obj1
= 0 ;
12229 char *kwnames
[] = {
12230 (char *) "self",(char *) "item", NULL
12233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
12234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12235 if (SWIG_arg_fail(1)) SWIG_fail
;
12237 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12238 if (SWIG_arg_fail(2)) SWIG_fail
;
12241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12242 (arg1
)->Toggle(arg2
);
12244 wxPyEndAllowThreads(__tstate
);
12245 if (PyErr_Occurred()) SWIG_fail
;
12247 Py_INCREF(Py_None
); resultobj
= Py_None
;
12254 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12255 PyObject
*resultobj
;
12256 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12258 PyObject
* obj0
= 0 ;
12259 char *kwnames
[] = {
12260 (char *) "self", NULL
12263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
12264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12265 if (SWIG_arg_fail(1)) SWIG_fail
;
12267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12268 result
= (bool)(arg1
)->SelectAll();
12270 wxPyEndAllowThreads(__tstate
);
12271 if (PyErr_Occurred()) SWIG_fail
;
12274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12282 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12283 PyObject
*resultobj
;
12284 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12286 PyObject
* obj0
= 0 ;
12287 char *kwnames
[] = {
12288 (char *) "self", NULL
12291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
12292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12293 if (SWIG_arg_fail(1)) SWIG_fail
;
12295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12296 result
= (bool)(arg1
)->DeselectAll();
12298 wxPyEndAllowThreads(__tstate
);
12299 if (PyErr_Occurred()) SWIG_fail
;
12302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12310 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12311 PyObject
*resultobj
;
12312 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12313 wxPoint
*arg2
= 0 ;
12315 PyObject
* obj0
= 0 ;
12316 PyObject
* obj1
= 0 ;
12317 char *kwnames
[] = {
12318 (char *) "self",(char *) "pt", NULL
12321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
12322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12323 if (SWIG_arg_fail(1)) SWIG_fail
;
12326 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12330 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
12332 wxPyEndAllowThreads(__tstate
);
12333 if (PyErr_Occurred()) SWIG_fail
;
12335 Py_INCREF(Py_None
); resultobj
= Py_None
;
12342 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12343 PyObject
*resultobj
;
12344 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12347 PyObject
* obj0
= 0 ;
12348 PyObject
* obj1
= 0 ;
12349 PyObject
* obj2
= 0 ;
12350 char *kwnames
[] = {
12351 (char *) "self",(char *) "x",(char *) "y", NULL
12354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12356 if (SWIG_arg_fail(1)) SWIG_fail
;
12358 arg2
= (int)(SWIG_As_int(obj1
));
12359 if (SWIG_arg_fail(2)) SWIG_fail
;
12362 arg3
= (int)(SWIG_As_int(obj2
));
12363 if (SWIG_arg_fail(3)) SWIG_fail
;
12366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12367 (arg1
)->SetMargins(arg2
,arg3
);
12369 wxPyEndAllowThreads(__tstate
);
12370 if (PyErr_Occurred()) SWIG_fail
;
12372 Py_INCREF(Py_None
); resultobj
= Py_None
;
12379 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12380 PyObject
*resultobj
;
12381 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12382 wxColour
*arg2
= 0 ;
12384 PyObject
* obj0
= 0 ;
12385 PyObject
* obj1
= 0 ;
12386 char *kwnames
[] = {
12387 (char *) "self",(char *) "col", NULL
12390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
12391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12392 if (SWIG_arg_fail(1)) SWIG_fail
;
12395 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12399 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
12401 wxPyEndAllowThreads(__tstate
);
12402 if (PyErr_Occurred()) SWIG_fail
;
12404 Py_INCREF(Py_None
); resultobj
= Py_None
;
12411 static PyObject
* VListBox_swigregister(PyObject
*, PyObject
*args
) {
12413 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12414 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
12416 return Py_BuildValue((char *)"");
12418 static PyObject
*_wrap_new_HtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12419 PyObject
*resultobj
;
12420 wxWindow
*arg1
= (wxWindow
*) 0 ;
12421 int arg2
= (int) wxID_ANY
;
12422 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12423 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12424 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12425 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12426 long arg5
= (long) 0 ;
12427 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
12428 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12429 wxPyHtmlListBox
*result
;
12432 bool temp6
= false ;
12433 PyObject
* obj0
= 0 ;
12434 PyObject
* obj1
= 0 ;
12435 PyObject
* obj2
= 0 ;
12436 PyObject
* obj3
= 0 ;
12437 PyObject
* obj4
= 0 ;
12438 PyObject
* obj5
= 0 ;
12439 char *kwnames
[] = {
12440 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12445 if (SWIG_arg_fail(1)) SWIG_fail
;
12448 arg2
= (int)(SWIG_As_int(obj1
));
12449 if (SWIG_arg_fail(2)) SWIG_fail
;
12455 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12461 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12466 arg5
= (long)(SWIG_As_long(obj4
));
12467 if (SWIG_arg_fail(5)) SWIG_fail
;
12472 arg6
= wxString_in_helper(obj5
);
12473 if (arg6
== NULL
) SWIG_fail
;
12478 if (!wxPyCheckForApp()) SWIG_fail
;
12479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12480 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12482 wxPyEndAllowThreads(__tstate
);
12483 if (PyErr_Occurred()) SWIG_fail
;
12485 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
12500 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12501 PyObject
*resultobj
;
12502 wxPyHtmlListBox
*result
;
12503 char *kwnames
[] = {
12507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
12509 if (!wxPyCheckForApp()) SWIG_fail
;
12510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12511 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
12513 wxPyEndAllowThreads(__tstate
);
12514 if (PyErr_Occurred()) SWIG_fail
;
12516 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
12523 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12524 PyObject
*resultobj
;
12525 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12526 PyObject
*arg2
= (PyObject
*) 0 ;
12527 PyObject
*arg3
= (PyObject
*) 0 ;
12528 PyObject
* obj0
= 0 ;
12529 PyObject
* obj1
= 0 ;
12530 PyObject
* obj2
= 0 ;
12531 char *kwnames
[] = {
12532 (char *) "self",(char *) "self",(char *) "_class", NULL
12535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12537 if (SWIG_arg_fail(1)) SWIG_fail
;
12541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12542 (arg1
)->_setCallbackInfo(arg2
,arg3
);
12544 wxPyEndAllowThreads(__tstate
);
12545 if (PyErr_Occurred()) SWIG_fail
;
12547 Py_INCREF(Py_None
); resultobj
= Py_None
;
12554 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12555 PyObject
*resultobj
;
12556 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12557 wxWindow
*arg2
= (wxWindow
*) 0 ;
12558 int arg3
= (int) wxID_ANY
;
12559 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12560 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12561 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12562 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12563 long arg6
= (long) 0 ;
12564 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
12565 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12569 bool temp7
= false ;
12570 PyObject
* obj0
= 0 ;
12571 PyObject
* obj1
= 0 ;
12572 PyObject
* obj2
= 0 ;
12573 PyObject
* obj3
= 0 ;
12574 PyObject
* obj4
= 0 ;
12575 PyObject
* obj5
= 0 ;
12576 PyObject
* obj6
= 0 ;
12577 char *kwnames
[] = {
12578 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12583 if (SWIG_arg_fail(1)) SWIG_fail
;
12584 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12585 if (SWIG_arg_fail(2)) SWIG_fail
;
12588 arg3
= (int)(SWIG_As_int(obj2
));
12589 if (SWIG_arg_fail(3)) SWIG_fail
;
12595 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12601 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12606 arg6
= (long)(SWIG_As_long(obj5
));
12607 if (SWIG_arg_fail(6)) SWIG_fail
;
12612 arg7
= wxString_in_helper(obj6
);
12613 if (arg7
== NULL
) SWIG_fail
;
12618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12619 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12621 wxPyEndAllowThreads(__tstate
);
12622 if (PyErr_Occurred()) SWIG_fail
;
12625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12641 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12642 PyObject
*resultobj
;
12643 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12644 PyObject
* obj0
= 0 ;
12645 char *kwnames
[] = {
12646 (char *) "self", NULL
12649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
12650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12651 if (SWIG_arg_fail(1)) SWIG_fail
;
12653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12654 (arg1
)->RefreshAll();
12656 wxPyEndAllowThreads(__tstate
);
12657 if (PyErr_Occurred()) SWIG_fail
;
12659 Py_INCREF(Py_None
); resultobj
= Py_None
;
12666 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12667 PyObject
*resultobj
;
12668 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12670 PyObject
* obj0
= 0 ;
12671 PyObject
* obj1
= 0 ;
12672 char *kwnames
[] = {
12673 (char *) "self",(char *) "count", NULL
12676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
12677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12678 if (SWIG_arg_fail(1)) SWIG_fail
;
12680 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12681 if (SWIG_arg_fail(2)) SWIG_fail
;
12684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12685 (arg1
)->SetItemCount(arg2
);
12687 wxPyEndAllowThreads(__tstate
);
12688 if (PyErr_Occurred()) SWIG_fail
;
12690 Py_INCREF(Py_None
); resultobj
= Py_None
;
12697 static PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12698 PyObject
*resultobj
;
12699 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12700 wxFileSystem
*result
;
12701 PyObject
* obj0
= 0 ;
12702 char *kwnames
[] = {
12703 (char *) "self", NULL
12706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_GetFileSystem",kwnames
,&obj0
)) goto fail
;
12707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12708 if (SWIG_arg_fail(1)) SWIG_fail
;
12710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12712 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
12713 result
= (wxFileSystem
*) &_result_ref
;
12716 wxPyEndAllowThreads(__tstate
);
12717 if (PyErr_Occurred()) SWIG_fail
;
12719 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileSystem
, 0);
12726 static PyObject
* HtmlListBox_swigregister(PyObject
*, PyObject
*args
) {
12728 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12729 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
12731 return Py_BuildValue((char *)"");
12733 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12734 PyObject
*resultobj
;
12735 wxPyTaskBarIcon
*result
;
12736 char *kwnames
[] = {
12740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
12742 if (!wxPyCheckForApp()) SWIG_fail
;
12743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12744 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
12746 wxPyEndAllowThreads(__tstate
);
12747 if (PyErr_Occurred()) SWIG_fail
;
12749 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTaskBarIcon
, 1);
12756 static PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12757 PyObject
*resultobj
;
12758 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12759 PyObject
*arg2
= (PyObject
*) 0 ;
12760 PyObject
*arg3
= (PyObject
*) 0 ;
12762 PyObject
* obj0
= 0 ;
12763 PyObject
* obj1
= 0 ;
12764 PyObject
* obj2
= 0 ;
12765 PyObject
* obj3
= 0 ;
12766 char *kwnames
[] = {
12767 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
12770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12772 if (SWIG_arg_fail(1)) SWIG_fail
;
12776 arg4
= (int)(SWIG_As_int(obj3
));
12777 if (SWIG_arg_fail(4)) SWIG_fail
;
12780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12781 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
12783 wxPyEndAllowThreads(__tstate
);
12784 if (PyErr_Occurred()) SWIG_fail
;
12786 Py_INCREF(Py_None
); resultobj
= Py_None
;
12793 static PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12794 PyObject
*resultobj
;
12795 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12796 PyObject
* obj0
= 0 ;
12797 char *kwnames
[] = {
12798 (char *) "self", NULL
12801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_Destroy",kwnames
,&obj0
)) goto fail
;
12802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12803 if (SWIG_arg_fail(1)) SWIG_fail
;
12805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12806 wxPyTaskBarIcon_Destroy(arg1
);
12808 wxPyEndAllowThreads(__tstate
);
12809 if (PyErr_Occurred()) SWIG_fail
;
12811 Py_INCREF(Py_None
); resultobj
= Py_None
;
12818 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12819 PyObject
*resultobj
;
12820 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12822 PyObject
* obj0
= 0 ;
12823 char *kwnames
[] = {
12824 (char *) "self", NULL
12827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
12828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12829 if (SWIG_arg_fail(1)) SWIG_fail
;
12831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12832 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
12834 wxPyEndAllowThreads(__tstate
);
12835 if (PyErr_Occurred()) SWIG_fail
;
12838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12846 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12847 PyObject
*resultobj
;
12848 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12850 PyObject
* obj0
= 0 ;
12851 char *kwnames
[] = {
12852 (char *) "self", NULL
12855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
12856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12857 if (SWIG_arg_fail(1)) SWIG_fail
;
12859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12860 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
12862 wxPyEndAllowThreads(__tstate
);
12863 if (PyErr_Occurred()) SWIG_fail
;
12866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12874 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12875 PyObject
*resultobj
;
12876 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12878 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12879 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12881 bool temp3
= false ;
12882 PyObject
* obj0
= 0 ;
12883 PyObject
* obj1
= 0 ;
12884 PyObject
* obj2
= 0 ;
12885 char *kwnames
[] = {
12886 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
12889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12891 if (SWIG_arg_fail(1)) SWIG_fail
;
12893 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
12894 if (SWIG_arg_fail(2)) SWIG_fail
;
12895 if (arg2
== NULL
) {
12896 SWIG_null_ref("wxIcon");
12898 if (SWIG_arg_fail(2)) SWIG_fail
;
12902 arg3
= wxString_in_helper(obj2
);
12903 if (arg3
== NULL
) SWIG_fail
;
12908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12909 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
12911 wxPyEndAllowThreads(__tstate
);
12912 if (PyErr_Occurred()) SWIG_fail
;
12915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12931 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12932 PyObject
*resultobj
;
12933 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12935 PyObject
* obj0
= 0 ;
12936 char *kwnames
[] = {
12937 (char *) "self", NULL
12940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
12941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12942 if (SWIG_arg_fail(1)) SWIG_fail
;
12944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12945 result
= (bool)(arg1
)->RemoveIcon();
12947 wxPyEndAllowThreads(__tstate
);
12948 if (PyErr_Occurred()) SWIG_fail
;
12951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12959 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12960 PyObject
*resultobj
;
12961 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12962 wxMenu
*arg2
= (wxMenu
*) 0 ;
12964 PyObject
* obj0
= 0 ;
12965 PyObject
* obj1
= 0 ;
12966 char *kwnames
[] = {
12967 (char *) "self",(char *) "menu", NULL
12970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
12971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12972 if (SWIG_arg_fail(1)) SWIG_fail
;
12973 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
12974 if (SWIG_arg_fail(2)) SWIG_fail
;
12976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12977 result
= (bool)(arg1
)->PopupMenu(arg2
);
12979 wxPyEndAllowThreads(__tstate
);
12980 if (PyErr_Occurred()) SWIG_fail
;
12983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12991 static PyObject
* TaskBarIcon_swigregister(PyObject
*, PyObject
*args
) {
12993 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12994 SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon
, obj
);
12996 return Py_BuildValue((char *)"");
12998 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12999 PyObject
*resultobj
;
13001 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
13002 wxTaskBarIconEvent
*result
;
13003 PyObject
* obj0
= 0 ;
13004 PyObject
* obj1
= 0 ;
13005 char *kwnames
[] = {
13006 (char *) "evtType",(char *) "tbIcon", NULL
13009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13011 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
13012 if (SWIG_arg_fail(1)) SWIG_fail
;
13014 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13015 if (SWIG_arg_fail(2)) SWIG_fail
;
13017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13018 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
13020 wxPyEndAllowThreads(__tstate
);
13021 if (PyErr_Occurred()) SWIG_fail
;
13023 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
13030 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*, PyObject
*args
) {
13032 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13033 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
13035 return Py_BuildValue((char *)"");
13037 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
13038 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
13043 static PyObject
*_wrap_FileSelectorPromptStr_get(void) {
13048 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
13050 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
13057 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
13058 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
13063 static PyObject
*_wrap_DirSelectorPromptStr_get(void) {
13068 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
13070 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
13077 static int _wrap_DirDialogNameStr_set(PyObject
*) {
13078 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
13083 static PyObject
*_wrap_DirDialogNameStr_get(void) {
13088 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
13090 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
13097 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
13098 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
13103 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get(void) {
13108 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
13110 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
13117 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*) {
13118 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
13123 static PyObject
*_wrap_GetTextFromUserPromptStr_get(void) {
13128 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
13130 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
13137 static int _wrap_MessageBoxCaptionStr_set(PyObject
*) {
13138 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
13143 static PyObject
*_wrap_MessageBoxCaptionStr_get(void) {
13148 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
13150 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
13157 static PyObject
*_wrap_new_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13158 PyObject
*resultobj
;
13159 wxColourData
*result
;
13160 char *kwnames
[] = {
13164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
13166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13167 result
= (wxColourData
*)new wxColourData();
13169 wxPyEndAllowThreads(__tstate
);
13170 if (PyErr_Occurred()) SWIG_fail
;
13172 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
13179 static PyObject
*_wrap_delete_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13180 PyObject
*resultobj
;
13181 wxColourData
*arg1
= (wxColourData
*) 0 ;
13182 PyObject
* obj0
= 0 ;
13183 char *kwnames
[] = {
13184 (char *) "self", NULL
13187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
13188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13189 if (SWIG_arg_fail(1)) SWIG_fail
;
13191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13194 wxPyEndAllowThreads(__tstate
);
13195 if (PyErr_Occurred()) SWIG_fail
;
13197 Py_INCREF(Py_None
); resultobj
= Py_None
;
13204 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13205 PyObject
*resultobj
;
13206 wxColourData
*arg1
= (wxColourData
*) 0 ;
13208 PyObject
* obj0
= 0 ;
13209 char *kwnames
[] = {
13210 (char *) "self", NULL
13213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
13214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13215 if (SWIG_arg_fail(1)) SWIG_fail
;
13217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13218 result
= (bool)(arg1
)->GetChooseFull();
13220 wxPyEndAllowThreads(__tstate
);
13221 if (PyErr_Occurred()) SWIG_fail
;
13224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13232 static PyObject
*_wrap_ColourData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13233 PyObject
*resultobj
;
13234 wxColourData
*arg1
= (wxColourData
*) 0 ;
13236 PyObject
* obj0
= 0 ;
13237 char *kwnames
[] = {
13238 (char *) "self", NULL
13241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
13242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13243 if (SWIG_arg_fail(1)) SWIG_fail
;
13245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13246 result
= (arg1
)->GetColour();
13248 wxPyEndAllowThreads(__tstate
);
13249 if (PyErr_Occurred()) SWIG_fail
;
13252 wxColour
* resultptr
;
13253 resultptr
= new wxColour((wxColour
&)(result
));
13254 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13262 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13263 PyObject
*resultobj
;
13264 wxColourData
*arg1
= (wxColourData
*) 0 ;
13267 PyObject
* obj0
= 0 ;
13268 PyObject
* obj1
= 0 ;
13269 char *kwnames
[] = {
13270 (char *) "self",(char *) "i", NULL
13273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13275 if (SWIG_arg_fail(1)) SWIG_fail
;
13277 arg2
= (int)(SWIG_As_int(obj1
));
13278 if (SWIG_arg_fail(2)) SWIG_fail
;
13281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13282 result
= (arg1
)->GetCustomColour(arg2
);
13284 wxPyEndAllowThreads(__tstate
);
13285 if (PyErr_Occurred()) SWIG_fail
;
13288 wxColour
* resultptr
;
13289 resultptr
= new wxColour((wxColour
&)(result
));
13290 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13298 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13299 PyObject
*resultobj
;
13300 wxColourData
*arg1
= (wxColourData
*) 0 ;
13302 PyObject
* obj0
= 0 ;
13303 PyObject
* obj1
= 0 ;
13304 char *kwnames
[] = {
13305 (char *) "self",(char *) "flag", NULL
13308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
13309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13310 if (SWIG_arg_fail(1)) SWIG_fail
;
13312 arg2
= (int)(SWIG_As_int(obj1
));
13313 if (SWIG_arg_fail(2)) SWIG_fail
;
13316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13317 (arg1
)->SetChooseFull(arg2
);
13319 wxPyEndAllowThreads(__tstate
);
13320 if (PyErr_Occurred()) SWIG_fail
;
13322 Py_INCREF(Py_None
); resultobj
= Py_None
;
13329 static PyObject
*_wrap_ColourData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13330 PyObject
*resultobj
;
13331 wxColourData
*arg1
= (wxColourData
*) 0 ;
13332 wxColour
*arg2
= 0 ;
13334 PyObject
* obj0
= 0 ;
13335 PyObject
* obj1
= 0 ;
13336 char *kwnames
[] = {
13337 (char *) "self",(char *) "colour", NULL
13340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13342 if (SWIG_arg_fail(1)) SWIG_fail
;
13345 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13349 (arg1
)->SetColour((wxColour
const &)*arg2
);
13351 wxPyEndAllowThreads(__tstate
);
13352 if (PyErr_Occurred()) SWIG_fail
;
13354 Py_INCREF(Py_None
); resultobj
= Py_None
;
13361 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13362 PyObject
*resultobj
;
13363 wxColourData
*arg1
= (wxColourData
*) 0 ;
13365 wxColour
*arg3
= 0 ;
13367 PyObject
* obj0
= 0 ;
13368 PyObject
* obj1
= 0 ;
13369 PyObject
* obj2
= 0 ;
13370 char *kwnames
[] = {
13371 (char *) "self",(char *) "i",(char *) "colour", NULL
13374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13376 if (SWIG_arg_fail(1)) SWIG_fail
;
13378 arg2
= (int)(SWIG_As_int(obj1
));
13379 if (SWIG_arg_fail(2)) SWIG_fail
;
13383 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
13386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13387 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
13389 wxPyEndAllowThreads(__tstate
);
13390 if (PyErr_Occurred()) SWIG_fail
;
13392 Py_INCREF(Py_None
); resultobj
= Py_None
;
13399 static PyObject
* ColourData_swigregister(PyObject
*, PyObject
*args
) {
13401 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13402 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
13404 return Py_BuildValue((char *)"");
13406 static PyObject
*_wrap_new_ColourDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13407 PyObject
*resultobj
;
13408 wxWindow
*arg1
= (wxWindow
*) 0 ;
13409 wxColourData
*arg2
= (wxColourData
*) NULL
;
13410 wxColourDialog
*result
;
13411 PyObject
* obj0
= 0 ;
13412 PyObject
* obj1
= 0 ;
13413 char *kwnames
[] = {
13414 (char *) "parent",(char *) "data", NULL
13417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
13418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13419 if (SWIG_arg_fail(1)) SWIG_fail
;
13421 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13422 if (SWIG_arg_fail(2)) SWIG_fail
;
13425 if (!wxPyCheckForApp()) SWIG_fail
;
13426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13427 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
13429 wxPyEndAllowThreads(__tstate
);
13430 if (PyErr_Occurred()) SWIG_fail
;
13432 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
13439 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13440 PyObject
*resultobj
;
13441 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
13442 wxColourData
*result
;
13443 PyObject
* obj0
= 0 ;
13444 char *kwnames
[] = {
13445 (char *) "self", NULL
13448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
13449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_EXCEPTION
| 0);
13450 if (SWIG_arg_fail(1)) SWIG_fail
;
13452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13454 wxColourData
&_result_ref
= (arg1
)->GetColourData();
13455 result
= (wxColourData
*) &_result_ref
;
13458 wxPyEndAllowThreads(__tstate
);
13459 if (PyErr_Occurred()) SWIG_fail
;
13461 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
13468 static PyObject
* ColourDialog_swigregister(PyObject
*, PyObject
*args
) {
13470 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13471 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
13473 return Py_BuildValue((char *)"");
13475 static PyObject
*_wrap_new_DirDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13476 PyObject
*resultobj
;
13477 wxWindow
*arg1
= (wxWindow
*) 0 ;
13478 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
13479 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13480 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13481 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13482 long arg4
= (long) 0 ;
13483 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13484 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13485 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13486 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13487 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
13488 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13489 wxDirDialog
*result
;
13490 bool temp2
= false ;
13491 bool temp3
= false ;
13494 bool temp7
= false ;
13495 PyObject
* obj0
= 0 ;
13496 PyObject
* obj1
= 0 ;
13497 PyObject
* obj2
= 0 ;
13498 PyObject
* obj3
= 0 ;
13499 PyObject
* obj4
= 0 ;
13500 PyObject
* obj5
= 0 ;
13501 PyObject
* obj6
= 0 ;
13502 char *kwnames
[] = {
13503 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
13506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13508 if (SWIG_arg_fail(1)) SWIG_fail
;
13511 arg2
= wxString_in_helper(obj1
);
13512 if (arg2
== NULL
) SWIG_fail
;
13518 arg3
= wxString_in_helper(obj2
);
13519 if (arg3
== NULL
) SWIG_fail
;
13525 arg4
= (long)(SWIG_As_long(obj3
));
13526 if (SWIG_arg_fail(4)) SWIG_fail
;
13532 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13538 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13543 arg7
= wxString_in_helper(obj6
);
13544 if (arg7
== NULL
) SWIG_fail
;
13549 if (!wxPyCheckForApp()) SWIG_fail
;
13550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13551 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
13553 wxPyEndAllowThreads(__tstate
);
13554 if (PyErr_Occurred()) SWIG_fail
;
13556 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
13587 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13588 PyObject
*resultobj
;
13589 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13591 PyObject
* obj0
= 0 ;
13592 char *kwnames
[] = {
13593 (char *) "self", NULL
13596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
13597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13598 if (SWIG_arg_fail(1)) SWIG_fail
;
13600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13601 result
= (arg1
)->GetPath();
13603 wxPyEndAllowThreads(__tstate
);
13604 if (PyErr_Occurred()) SWIG_fail
;
13608 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13610 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13619 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13620 PyObject
*resultobj
;
13621 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13623 PyObject
* obj0
= 0 ;
13624 char *kwnames
[] = {
13625 (char *) "self", NULL
13628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
13629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13630 if (SWIG_arg_fail(1)) SWIG_fail
;
13632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13633 result
= (arg1
)->GetMessage();
13635 wxPyEndAllowThreads(__tstate
);
13636 if (PyErr_Occurred()) SWIG_fail
;
13640 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13642 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13651 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13652 PyObject
*resultobj
;
13653 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13655 PyObject
* obj0
= 0 ;
13656 char *kwnames
[] = {
13657 (char *) "self", NULL
13660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
13661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13662 if (SWIG_arg_fail(1)) SWIG_fail
;
13664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13665 result
= (long)(arg1
)->GetStyle();
13667 wxPyEndAllowThreads(__tstate
);
13668 if (PyErr_Occurred()) SWIG_fail
;
13671 resultobj
= SWIG_From_long((long)(result
));
13679 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13680 PyObject
*resultobj
;
13681 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13682 wxString
*arg2
= 0 ;
13683 bool temp2
= false ;
13684 PyObject
* obj0
= 0 ;
13685 PyObject
* obj1
= 0 ;
13686 char *kwnames
[] = {
13687 (char *) "self",(char *) "message", NULL
13690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
13691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13692 if (SWIG_arg_fail(1)) SWIG_fail
;
13694 arg2
= wxString_in_helper(obj1
);
13695 if (arg2
== NULL
) SWIG_fail
;
13699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13700 (arg1
)->SetMessage((wxString
const &)*arg2
);
13702 wxPyEndAllowThreads(__tstate
);
13703 if (PyErr_Occurred()) SWIG_fail
;
13705 Py_INCREF(Py_None
); resultobj
= Py_None
;
13720 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13721 PyObject
*resultobj
;
13722 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13723 wxString
*arg2
= 0 ;
13724 bool temp2
= false ;
13725 PyObject
* obj0
= 0 ;
13726 PyObject
* obj1
= 0 ;
13727 char *kwnames
[] = {
13728 (char *) "self",(char *) "path", NULL
13731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
13732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13733 if (SWIG_arg_fail(1)) SWIG_fail
;
13735 arg2
= wxString_in_helper(obj1
);
13736 if (arg2
== NULL
) SWIG_fail
;
13740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13741 (arg1
)->SetPath((wxString
const &)*arg2
);
13743 wxPyEndAllowThreads(__tstate
);
13744 if (PyErr_Occurred()) SWIG_fail
;
13746 Py_INCREF(Py_None
); resultobj
= Py_None
;
13761 static PyObject
* DirDialog_swigregister(PyObject
*, PyObject
*args
) {
13763 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13764 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
13766 return Py_BuildValue((char *)"");
13768 static PyObject
*_wrap_new_FileDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13769 PyObject
*resultobj
;
13770 wxWindow
*arg1
= (wxWindow
*) 0 ;
13771 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
13772 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13773 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13774 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13775 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13776 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13777 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
13778 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
13779 long arg6
= (long) 0 ;
13780 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
13781 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
13782 wxFileDialog
*result
;
13783 bool temp2
= false ;
13784 bool temp3
= false ;
13785 bool temp4
= false ;
13786 bool temp5
= false ;
13788 PyObject
* obj0
= 0 ;
13789 PyObject
* obj1
= 0 ;
13790 PyObject
* obj2
= 0 ;
13791 PyObject
* obj3
= 0 ;
13792 PyObject
* obj4
= 0 ;
13793 PyObject
* obj5
= 0 ;
13794 PyObject
* obj6
= 0 ;
13795 char *kwnames
[] = {
13796 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
13799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13801 if (SWIG_arg_fail(1)) SWIG_fail
;
13804 arg2
= wxString_in_helper(obj1
);
13805 if (arg2
== NULL
) SWIG_fail
;
13811 arg3
= wxString_in_helper(obj2
);
13812 if (arg3
== NULL
) SWIG_fail
;
13818 arg4
= wxString_in_helper(obj3
);
13819 if (arg4
== NULL
) SWIG_fail
;
13825 arg5
= wxString_in_helper(obj4
);
13826 if (arg5
== NULL
) SWIG_fail
;
13832 arg6
= (long)(SWIG_As_long(obj5
));
13833 if (SWIG_arg_fail(6)) SWIG_fail
;
13839 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
13843 if (!wxPyCheckForApp()) SWIG_fail
;
13844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13845 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
13847 wxPyEndAllowThreads(__tstate
);
13848 if (PyErr_Occurred()) SWIG_fail
;
13850 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
13889 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13890 PyObject
*resultobj
;
13891 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
13892 wxString
*arg2
= 0 ;
13893 bool temp2
= false ;
13894 PyObject
* obj0
= 0 ;
13895 PyObject
* obj1
= 0 ;
13896 char *kwnames
[] = {
13897 (char *) "self",(char *) "message", NULL
13900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
13901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
13902 if (SWIG_arg_fail(1)) SWIG_fail
;
13904 arg2
= wxString_in_helper(obj1
);
13905 if (arg2
== NULL
) SWIG_fail
;
13909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13910 (arg1
)->SetMessage((wxString
const &)*arg2
);
13912 wxPyEndAllowThreads(__tstate
);
13913 if (PyErr_Occurred()) SWIG_fail
;
13915 Py_INCREF(Py_None
); resultobj
= Py_None
;
13930 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13931 PyObject
*resultobj
;
13932 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
13933 wxString
*arg2
= 0 ;
13934 bool temp2
= false ;
13935 PyObject
* obj0
= 0 ;
13936 PyObject
* obj1
= 0 ;
13937 char *kwnames
[] = {
13938 (char *) "self",(char *) "path", NULL
13941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
13942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
13943 if (SWIG_arg_fail(1)) SWIG_fail
;
13945 arg2
= wxString_in_helper(obj1
);
13946 if (arg2
== NULL
) SWIG_fail
;
13950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13951 (arg1
)->SetPath((wxString
const &)*arg2
);
13953 wxPyEndAllowThreads(__tstate
);
13954 if (PyErr_Occurred()) SWIG_fail
;
13956 Py_INCREF(Py_None
); resultobj
= Py_None
;
13971 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13972 PyObject
*resultobj
;
13973 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
13974 wxString
*arg2
= 0 ;
13975 bool temp2
= false ;
13976 PyObject
* obj0
= 0 ;
13977 PyObject
* obj1
= 0 ;
13978 char *kwnames
[] = {
13979 (char *) "self",(char *) "dir", NULL
13982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
13983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
13984 if (SWIG_arg_fail(1)) SWIG_fail
;
13986 arg2
= wxString_in_helper(obj1
);
13987 if (arg2
== NULL
) SWIG_fail
;
13991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13992 (arg1
)->SetDirectory((wxString
const &)*arg2
);
13994 wxPyEndAllowThreads(__tstate
);
13995 if (PyErr_Occurred()) SWIG_fail
;
13997 Py_INCREF(Py_None
); resultobj
= Py_None
;
14012 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14013 PyObject
*resultobj
;
14014 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14015 wxString
*arg2
= 0 ;
14016 bool temp2
= false ;
14017 PyObject
* obj0
= 0 ;
14018 PyObject
* obj1
= 0 ;
14019 char *kwnames
[] = {
14020 (char *) "self",(char *) "name", NULL
14023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
14024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14025 if (SWIG_arg_fail(1)) SWIG_fail
;
14027 arg2
= wxString_in_helper(obj1
);
14028 if (arg2
== NULL
) SWIG_fail
;
14032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14033 (arg1
)->SetFilename((wxString
const &)*arg2
);
14035 wxPyEndAllowThreads(__tstate
);
14036 if (PyErr_Occurred()) SWIG_fail
;
14038 Py_INCREF(Py_None
); resultobj
= Py_None
;
14053 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14054 PyObject
*resultobj
;
14055 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14056 wxString
*arg2
= 0 ;
14057 bool temp2
= false ;
14058 PyObject
* obj0
= 0 ;
14059 PyObject
* obj1
= 0 ;
14060 char *kwnames
[] = {
14061 (char *) "self",(char *) "wildCard", NULL
14064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
14065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14066 if (SWIG_arg_fail(1)) SWIG_fail
;
14068 arg2
= wxString_in_helper(obj1
);
14069 if (arg2
== NULL
) SWIG_fail
;
14073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14074 (arg1
)->SetWildcard((wxString
const &)*arg2
);
14076 wxPyEndAllowThreads(__tstate
);
14077 if (PyErr_Occurred()) SWIG_fail
;
14079 Py_INCREF(Py_None
); resultobj
= Py_None
;
14094 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14095 PyObject
*resultobj
;
14096 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14098 PyObject
* obj0
= 0 ;
14099 PyObject
* obj1
= 0 ;
14100 char *kwnames
[] = {
14101 (char *) "self",(char *) "style", NULL
14104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
14105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14106 if (SWIG_arg_fail(1)) SWIG_fail
;
14108 arg2
= (long)(SWIG_As_long(obj1
));
14109 if (SWIG_arg_fail(2)) SWIG_fail
;
14112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14113 (arg1
)->SetStyle(arg2
);
14115 wxPyEndAllowThreads(__tstate
);
14116 if (PyErr_Occurred()) SWIG_fail
;
14118 Py_INCREF(Py_None
); resultobj
= Py_None
;
14125 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14126 PyObject
*resultobj
;
14127 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14129 PyObject
* obj0
= 0 ;
14130 PyObject
* obj1
= 0 ;
14131 char *kwnames
[] = {
14132 (char *) "self",(char *) "filterIndex", NULL
14135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",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
= (int)(SWIG_As_int(obj1
));
14140 if (SWIG_arg_fail(2)) SWIG_fail
;
14143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14144 (arg1
)->SetFilterIndex(arg2
);
14146 wxPyEndAllowThreads(__tstate
);
14147 if (PyErr_Occurred()) SWIG_fail
;
14149 Py_INCREF(Py_None
); resultobj
= Py_None
;
14156 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14157 PyObject
*resultobj
;
14158 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14160 PyObject
* obj0
= 0 ;
14161 char *kwnames
[] = {
14162 (char *) "self", NULL
14165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
14166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14167 if (SWIG_arg_fail(1)) SWIG_fail
;
14169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14170 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
14172 wxPyEndAllowThreads(__tstate
);
14173 if (PyErr_Occurred()) SWIG_fail
;
14177 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14179 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14188 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14189 PyObject
*resultobj
;
14190 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14192 PyObject
* obj0
= 0 ;
14193 char *kwnames
[] = {
14194 (char *) "self", NULL
14197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
14198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14199 if (SWIG_arg_fail(1)) SWIG_fail
;
14201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14202 result
= ((wxFileDialog
const *)arg1
)->GetPath();
14204 wxPyEndAllowThreads(__tstate
);
14205 if (PyErr_Occurred()) SWIG_fail
;
14209 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14211 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14220 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14221 PyObject
*resultobj
;
14222 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14224 PyObject
* obj0
= 0 ;
14225 char *kwnames
[] = {
14226 (char *) "self", NULL
14229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
14230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14231 if (SWIG_arg_fail(1)) SWIG_fail
;
14233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14234 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
14236 wxPyEndAllowThreads(__tstate
);
14237 if (PyErr_Occurred()) SWIG_fail
;
14241 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14243 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14252 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14253 PyObject
*resultobj
;
14254 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14256 PyObject
* obj0
= 0 ;
14257 char *kwnames
[] = {
14258 (char *) "self", NULL
14261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
14262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14263 if (SWIG_arg_fail(1)) SWIG_fail
;
14265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14266 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
14268 wxPyEndAllowThreads(__tstate
);
14269 if (PyErr_Occurred()) SWIG_fail
;
14273 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14275 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14284 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14285 PyObject
*resultobj
;
14286 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14288 PyObject
* obj0
= 0 ;
14289 char *kwnames
[] = {
14290 (char *) "self", NULL
14293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
14294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14295 if (SWIG_arg_fail(1)) SWIG_fail
;
14297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14298 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
14300 wxPyEndAllowThreads(__tstate
);
14301 if (PyErr_Occurred()) SWIG_fail
;
14305 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14307 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14316 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14317 PyObject
*resultobj
;
14318 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14320 PyObject
* obj0
= 0 ;
14321 char *kwnames
[] = {
14322 (char *) "self", NULL
14325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
14326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14327 if (SWIG_arg_fail(1)) SWIG_fail
;
14329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14330 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
14332 wxPyEndAllowThreads(__tstate
);
14333 if (PyErr_Occurred()) SWIG_fail
;
14336 resultobj
= SWIG_From_long((long)(result
));
14344 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14345 PyObject
*resultobj
;
14346 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14348 PyObject
* obj0
= 0 ;
14349 char *kwnames
[] = {
14350 (char *) "self", NULL
14353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
14354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14355 if (SWIG_arg_fail(1)) SWIG_fail
;
14357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14358 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
14360 wxPyEndAllowThreads(__tstate
);
14361 if (PyErr_Occurred()) SWIG_fail
;
14364 resultobj
= SWIG_From_int((int)(result
));
14372 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14373 PyObject
*resultobj
;
14374 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14376 PyObject
* obj0
= 0 ;
14377 char *kwnames
[] = {
14378 (char *) "self", NULL
14381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
14382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14383 if (SWIG_arg_fail(1)) SWIG_fail
;
14385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14386 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
14388 wxPyEndAllowThreads(__tstate
);
14389 if (PyErr_Occurred()) SWIG_fail
;
14391 resultobj
= result
;
14398 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14399 PyObject
*resultobj
;
14400 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14402 PyObject
* obj0
= 0 ;
14403 char *kwnames
[] = {
14404 (char *) "self", NULL
14407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
14408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14409 if (SWIG_arg_fail(1)) SWIG_fail
;
14411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14412 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
14414 wxPyEndAllowThreads(__tstate
);
14415 if (PyErr_Occurred()) SWIG_fail
;
14417 resultobj
= result
;
14424 static PyObject
* FileDialog_swigregister(PyObject
*, PyObject
*args
) {
14426 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14427 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
14429 return Py_BuildValue((char *)"");
14431 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14432 PyObject
*resultobj
;
14433 wxWindow
*arg1
= (wxWindow
*) 0 ;
14434 wxString
*arg2
= 0 ;
14435 wxString
*arg3
= 0 ;
14436 int arg4
= (int) 0 ;
14437 wxString
*arg5
= (wxString
*) NULL
;
14438 long arg6
= (long) wxCHOICEDLG_STYLE
;
14439 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14440 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14441 wxMultiChoiceDialog
*result
;
14442 bool temp2
= false ;
14443 bool temp3
= false ;
14445 PyObject
* obj0
= 0 ;
14446 PyObject
* obj1
= 0 ;
14447 PyObject
* obj2
= 0 ;
14448 PyObject
* obj3
= 0 ;
14449 PyObject
* obj4
= 0 ;
14450 PyObject
* obj5
= 0 ;
14451 char *kwnames
[] = {
14452 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14457 if (SWIG_arg_fail(1)) SWIG_fail
;
14459 arg2
= wxString_in_helper(obj1
);
14460 if (arg2
== NULL
) SWIG_fail
;
14464 arg3
= wxString_in_helper(obj2
);
14465 if (arg3
== NULL
) SWIG_fail
;
14470 arg4
= PyList_Size(obj3
);
14471 arg5
= wxString_LIST_helper(obj3
);
14472 if (arg5
== NULL
) SWIG_fail
;
14477 arg6
= (long)(SWIG_As_long(obj4
));
14478 if (SWIG_arg_fail(6)) SWIG_fail
;
14484 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
14488 if (!wxPyCheckForApp()) SWIG_fail
;
14489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14490 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
14492 wxPyEndAllowThreads(__tstate
);
14493 if (PyErr_Occurred()) SWIG_fail
;
14495 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
14505 if (arg5
) delete [] arg5
;
14518 if (arg5
) delete [] arg5
;
14524 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14525 PyObject
*resultobj
;
14526 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
14527 wxArrayInt
*arg2
= 0 ;
14528 bool temp2
= false ;
14529 PyObject
* obj0
= 0 ;
14530 PyObject
* obj1
= 0 ;
14531 char *kwnames
[] = {
14532 (char *) "self",(char *) "selections", NULL
14535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
14536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14537 if (SWIG_arg_fail(1)) SWIG_fail
;
14539 if (! PySequence_Check(obj1
)) {
14540 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
14543 arg2
= new wxArrayInt
;
14545 int i
, len
=PySequence_Length(obj1
);
14546 for (i
=0; i
<len
; i
++) {
14547 PyObject
* item
= PySequence_GetItem(obj1
, i
);
14548 PyObject
* number
= PyNumber_Int(item
);
14549 arg2
->Add(PyInt_AS_LONG(number
));
14555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14556 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
14558 wxPyEndAllowThreads(__tstate
);
14559 if (PyErr_Occurred()) SWIG_fail
;
14561 Py_INCREF(Py_None
); resultobj
= Py_None
;
14563 if (temp2
) delete arg2
;
14568 if (temp2
) delete arg2
;
14574 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14575 PyObject
*resultobj
;
14576 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
14578 PyObject
* obj0
= 0 ;
14579 char *kwnames
[] = {
14580 (char *) "self", NULL
14583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
14584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14585 if (SWIG_arg_fail(1)) SWIG_fail
;
14587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14588 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
14590 wxPyEndAllowThreads(__tstate
);
14591 if (PyErr_Occurred()) SWIG_fail
;
14593 resultobj
= result
;
14600 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
14602 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14603 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
14605 return Py_BuildValue((char *)"");
14607 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14608 PyObject
*resultobj
;
14609 wxWindow
*arg1
= (wxWindow
*) 0 ;
14610 wxString
*arg2
= 0 ;
14611 wxString
*arg3
= 0 ;
14613 wxString
*arg5
= (wxString
*) 0 ;
14614 long arg6
= (long) wxCHOICEDLG_STYLE
;
14615 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14616 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14617 wxSingleChoiceDialog
*result
;
14618 bool temp2
= false ;
14619 bool temp3
= false ;
14621 PyObject
* obj0
= 0 ;
14622 PyObject
* obj1
= 0 ;
14623 PyObject
* obj2
= 0 ;
14624 PyObject
* obj3
= 0 ;
14625 PyObject
* obj4
= 0 ;
14626 PyObject
* obj5
= 0 ;
14627 char *kwnames
[] = {
14628 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14633 if (SWIG_arg_fail(1)) SWIG_fail
;
14635 arg2
= wxString_in_helper(obj1
);
14636 if (arg2
== NULL
) SWIG_fail
;
14640 arg3
= wxString_in_helper(obj2
);
14641 if (arg3
== NULL
) SWIG_fail
;
14645 arg4
= PyList_Size(obj3
);
14646 arg5
= wxString_LIST_helper(obj3
);
14647 if (arg5
== NULL
) SWIG_fail
;
14651 arg6
= (long)(SWIG_As_long(obj4
));
14652 if (SWIG_arg_fail(6)) SWIG_fail
;
14658 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
14662 if (!wxPyCheckForApp()) SWIG_fail
;
14663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14664 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
14666 wxPyEndAllowThreads(__tstate
);
14667 if (PyErr_Occurred()) SWIG_fail
;
14669 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
14679 if (arg5
) delete [] arg5
;
14692 if (arg5
) delete [] arg5
;
14698 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14699 PyObject
*resultobj
;
14700 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
14702 PyObject
* obj0
= 0 ;
14703 char *kwnames
[] = {
14704 (char *) "self", NULL
14707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
14708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14709 if (SWIG_arg_fail(1)) SWIG_fail
;
14711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14712 result
= (int)(arg1
)->GetSelection();
14714 wxPyEndAllowThreads(__tstate
);
14715 if (PyErr_Occurred()) SWIG_fail
;
14718 resultobj
= SWIG_From_int((int)(result
));
14726 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14727 PyObject
*resultobj
;
14728 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
14730 PyObject
* obj0
= 0 ;
14731 char *kwnames
[] = {
14732 (char *) "self", NULL
14735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
14736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14737 if (SWIG_arg_fail(1)) SWIG_fail
;
14739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14740 result
= (arg1
)->GetStringSelection();
14742 wxPyEndAllowThreads(__tstate
);
14743 if (PyErr_Occurred()) SWIG_fail
;
14747 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14749 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14758 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14759 PyObject
*resultobj
;
14760 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
14762 PyObject
* obj0
= 0 ;
14763 PyObject
* obj1
= 0 ;
14764 char *kwnames
[] = {
14765 (char *) "self",(char *) "sel", NULL
14768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14770 if (SWIG_arg_fail(1)) SWIG_fail
;
14772 arg2
= (int)(SWIG_As_int(obj1
));
14773 if (SWIG_arg_fail(2)) SWIG_fail
;
14776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14777 (arg1
)->SetSelection(arg2
);
14779 wxPyEndAllowThreads(__tstate
);
14780 if (PyErr_Occurred()) SWIG_fail
;
14782 Py_INCREF(Py_None
); resultobj
= Py_None
;
14789 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
14791 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14792 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
14794 return Py_BuildValue((char *)"");
14796 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14797 PyObject
*resultobj
;
14798 wxWindow
*arg1
= (wxWindow
*) 0 ;
14799 wxString
*arg2
= 0 ;
14800 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
14801 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14802 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14803 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14804 long arg5
= (long) wxTextEntryDialogStyle
;
14805 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
14806 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
14807 wxTextEntryDialog
*result
;
14808 bool temp2
= false ;
14809 bool temp3
= false ;
14810 bool temp4
= false ;
14812 PyObject
* obj0
= 0 ;
14813 PyObject
* obj1
= 0 ;
14814 PyObject
* obj2
= 0 ;
14815 PyObject
* obj3
= 0 ;
14816 PyObject
* obj4
= 0 ;
14817 PyObject
* obj5
= 0 ;
14818 char *kwnames
[] = {
14819 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
14822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14824 if (SWIG_arg_fail(1)) SWIG_fail
;
14826 arg2
= wxString_in_helper(obj1
);
14827 if (arg2
== NULL
) SWIG_fail
;
14832 arg3
= wxString_in_helper(obj2
);
14833 if (arg3
== NULL
) SWIG_fail
;
14839 arg4
= wxString_in_helper(obj3
);
14840 if (arg4
== NULL
) SWIG_fail
;
14846 arg5
= (long)(SWIG_As_long(obj4
));
14847 if (SWIG_arg_fail(5)) SWIG_fail
;
14853 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
14857 if (!wxPyCheckForApp()) SWIG_fail
;
14858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14859 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
14861 wxPyEndAllowThreads(__tstate
);
14862 if (PyErr_Occurred()) SWIG_fail
;
14864 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
14895 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14896 PyObject
*resultobj
;
14897 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
14899 PyObject
* obj0
= 0 ;
14900 char *kwnames
[] = {
14901 (char *) "self", NULL
14904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
14905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_EXCEPTION
| 0);
14906 if (SWIG_arg_fail(1)) SWIG_fail
;
14908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14909 result
= (arg1
)->GetValue();
14911 wxPyEndAllowThreads(__tstate
);
14912 if (PyErr_Occurred()) SWIG_fail
;
14916 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14918 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14927 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14928 PyObject
*resultobj
;
14929 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
14930 wxString
*arg2
= 0 ;
14931 bool temp2
= false ;
14932 PyObject
* obj0
= 0 ;
14933 PyObject
* obj1
= 0 ;
14934 char *kwnames
[] = {
14935 (char *) "self",(char *) "value", NULL
14938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
14939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_EXCEPTION
| 0);
14940 if (SWIG_arg_fail(1)) SWIG_fail
;
14942 arg2
= wxString_in_helper(obj1
);
14943 if (arg2
== NULL
) SWIG_fail
;
14947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14948 (arg1
)->SetValue((wxString
const &)*arg2
);
14950 wxPyEndAllowThreads(__tstate
);
14951 if (PyErr_Occurred()) SWIG_fail
;
14953 Py_INCREF(Py_None
); resultobj
= Py_None
;
14968 static PyObject
* TextEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
14970 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14971 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
14973 return Py_BuildValue((char *)"");
14975 static int _wrap_GetPasswordFromUserPromptStr_set(PyObject
*) {
14976 PyErr_SetString(PyExc_TypeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
14981 static PyObject
*_wrap_GetPasswordFromUserPromptStr_get(void) {
14986 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
14988 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
14995 static PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14996 PyObject
*resultobj
;
14997 wxWindow
*arg1
= (wxWindow
*) 0 ;
14998 wxString
*arg2
= 0 ;
14999 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
15000 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15001 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15002 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15003 long arg5
= (long) wxTextEntryDialogStyle
;
15004 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
15005 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
15006 wxPasswordEntryDialog
*result
;
15007 bool temp2
= false ;
15008 bool temp3
= false ;
15009 bool temp4
= false ;
15011 PyObject
* obj0
= 0 ;
15012 PyObject
* obj1
= 0 ;
15013 PyObject
* obj2
= 0 ;
15014 PyObject
* obj3
= 0 ;
15015 PyObject
* obj4
= 0 ;
15016 PyObject
* obj5
= 0 ;
15017 char *kwnames
[] = {
15018 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
15021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15023 if (SWIG_arg_fail(1)) SWIG_fail
;
15025 arg2
= wxString_in_helper(obj1
);
15026 if (arg2
== NULL
) SWIG_fail
;
15031 arg3
= wxString_in_helper(obj2
);
15032 if (arg3
== NULL
) SWIG_fail
;
15038 arg4
= wxString_in_helper(obj3
);
15039 if (arg4
== NULL
) SWIG_fail
;
15045 arg5
= (long)(SWIG_As_long(obj4
));
15046 if (SWIG_arg_fail(5)) SWIG_fail
;
15052 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
15056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15057 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
15059 wxPyEndAllowThreads(__tstate
);
15060 if (PyErr_Occurred()) SWIG_fail
;
15062 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPasswordEntryDialog
, 1);
15093 static PyObject
* PasswordEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
15095 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15096 SWIG_TypeClientData(SWIGTYPE_p_wxPasswordEntryDialog
, obj
);
15098 return Py_BuildValue((char *)"");
15100 static PyObject
*_wrap_new_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15101 PyObject
*resultobj
;
15102 wxFontData
*result
;
15103 char *kwnames
[] = {
15107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
15109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15110 result
= (wxFontData
*)new wxFontData();
15112 wxPyEndAllowThreads(__tstate
);
15113 if (PyErr_Occurred()) SWIG_fail
;
15115 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
15122 static PyObject
*_wrap_delete_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15123 PyObject
*resultobj
;
15124 wxFontData
*arg1
= (wxFontData
*) 0 ;
15125 PyObject
* obj0
= 0 ;
15126 char *kwnames
[] = {
15127 (char *) "self", NULL
15130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
15131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15132 if (SWIG_arg_fail(1)) SWIG_fail
;
15134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15137 wxPyEndAllowThreads(__tstate
);
15138 if (PyErr_Occurred()) SWIG_fail
;
15140 Py_INCREF(Py_None
); resultobj
= Py_None
;
15147 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15148 PyObject
*resultobj
;
15149 wxFontData
*arg1
= (wxFontData
*) 0 ;
15151 PyObject
* obj0
= 0 ;
15152 PyObject
* obj1
= 0 ;
15153 char *kwnames
[] = {
15154 (char *) "self",(char *) "enable", NULL
15157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
15158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15159 if (SWIG_arg_fail(1)) SWIG_fail
;
15161 arg2
= (bool)(SWIG_As_bool(obj1
));
15162 if (SWIG_arg_fail(2)) SWIG_fail
;
15165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15166 (arg1
)->EnableEffects(arg2
);
15168 wxPyEndAllowThreads(__tstate
);
15169 if (PyErr_Occurred()) SWIG_fail
;
15171 Py_INCREF(Py_None
); resultobj
= Py_None
;
15178 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15179 PyObject
*resultobj
;
15180 wxFontData
*arg1
= (wxFontData
*) 0 ;
15182 PyObject
* obj0
= 0 ;
15183 char *kwnames
[] = {
15184 (char *) "self", NULL
15187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
15188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15189 if (SWIG_arg_fail(1)) SWIG_fail
;
15191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15192 result
= (bool)(arg1
)->GetAllowSymbols();
15194 wxPyEndAllowThreads(__tstate
);
15195 if (PyErr_Occurred()) SWIG_fail
;
15198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15206 static PyObject
*_wrap_FontData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15207 PyObject
*resultobj
;
15208 wxFontData
*arg1
= (wxFontData
*) 0 ;
15210 PyObject
* obj0
= 0 ;
15211 char *kwnames
[] = {
15212 (char *) "self", NULL
15215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
15216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15217 if (SWIG_arg_fail(1)) SWIG_fail
;
15219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15220 result
= (arg1
)->GetColour();
15222 wxPyEndAllowThreads(__tstate
);
15223 if (PyErr_Occurred()) SWIG_fail
;
15226 wxColour
* resultptr
;
15227 resultptr
= new wxColour((wxColour
&)(result
));
15228 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
15236 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15237 PyObject
*resultobj
;
15238 wxFontData
*arg1
= (wxFontData
*) 0 ;
15240 PyObject
* obj0
= 0 ;
15241 char *kwnames
[] = {
15242 (char *) "self", NULL
15245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
15246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15247 if (SWIG_arg_fail(1)) SWIG_fail
;
15249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15250 result
= (arg1
)->GetChosenFont();
15252 wxPyEndAllowThreads(__tstate
);
15253 if (PyErr_Occurred()) SWIG_fail
;
15256 wxFont
* resultptr
;
15257 resultptr
= new wxFont((wxFont
&)(result
));
15258 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
15266 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15267 PyObject
*resultobj
;
15268 wxFontData
*arg1
= (wxFontData
*) 0 ;
15270 PyObject
* obj0
= 0 ;
15271 char *kwnames
[] = {
15272 (char *) "self", NULL
15275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
15276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15277 if (SWIG_arg_fail(1)) SWIG_fail
;
15279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15280 result
= (bool)(arg1
)->GetEnableEffects();
15282 wxPyEndAllowThreads(__tstate
);
15283 if (PyErr_Occurred()) SWIG_fail
;
15286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15294 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15295 PyObject
*resultobj
;
15296 wxFontData
*arg1
= (wxFontData
*) 0 ;
15298 PyObject
* obj0
= 0 ;
15299 char *kwnames
[] = {
15300 (char *) "self", NULL
15303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
15304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15305 if (SWIG_arg_fail(1)) SWIG_fail
;
15307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15308 result
= (arg1
)->GetInitialFont();
15310 wxPyEndAllowThreads(__tstate
);
15311 if (PyErr_Occurred()) SWIG_fail
;
15314 wxFont
* resultptr
;
15315 resultptr
= new wxFont((wxFont
&)(result
));
15316 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
15324 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15325 PyObject
*resultobj
;
15326 wxFontData
*arg1
= (wxFontData
*) 0 ;
15328 PyObject
* obj0
= 0 ;
15329 char *kwnames
[] = {
15330 (char *) "self", NULL
15333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
15334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15335 if (SWIG_arg_fail(1)) SWIG_fail
;
15337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15338 result
= (bool)(arg1
)->GetShowHelp();
15340 wxPyEndAllowThreads(__tstate
);
15341 if (PyErr_Occurred()) SWIG_fail
;
15344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15352 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15353 PyObject
*resultobj
;
15354 wxFontData
*arg1
= (wxFontData
*) 0 ;
15356 PyObject
* obj0
= 0 ;
15357 PyObject
* obj1
= 0 ;
15358 char *kwnames
[] = {
15359 (char *) "self",(char *) "allowSymbols", NULL
15362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
15363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15364 if (SWIG_arg_fail(1)) SWIG_fail
;
15366 arg2
= (bool)(SWIG_As_bool(obj1
));
15367 if (SWIG_arg_fail(2)) SWIG_fail
;
15370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15371 (arg1
)->SetAllowSymbols(arg2
);
15373 wxPyEndAllowThreads(__tstate
);
15374 if (PyErr_Occurred()) SWIG_fail
;
15376 Py_INCREF(Py_None
); resultobj
= Py_None
;
15383 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15384 PyObject
*resultobj
;
15385 wxFontData
*arg1
= (wxFontData
*) 0 ;
15387 PyObject
* obj0
= 0 ;
15388 PyObject
* obj1
= 0 ;
15389 char *kwnames
[] = {
15390 (char *) "self",(char *) "font", NULL
15393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15395 if (SWIG_arg_fail(1)) SWIG_fail
;
15397 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15398 if (SWIG_arg_fail(2)) SWIG_fail
;
15399 if (arg2
== NULL
) {
15400 SWIG_null_ref("wxFont");
15402 if (SWIG_arg_fail(2)) SWIG_fail
;
15405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15406 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
15408 wxPyEndAllowThreads(__tstate
);
15409 if (PyErr_Occurred()) SWIG_fail
;
15411 Py_INCREF(Py_None
); resultobj
= Py_None
;
15418 static PyObject
*_wrap_FontData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15419 PyObject
*resultobj
;
15420 wxFontData
*arg1
= (wxFontData
*) 0 ;
15421 wxColour
*arg2
= 0 ;
15423 PyObject
* obj0
= 0 ;
15424 PyObject
* obj1
= 0 ;
15425 char *kwnames
[] = {
15426 (char *) "self",(char *) "colour", NULL
15429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15431 if (SWIG_arg_fail(1)) SWIG_fail
;
15434 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15438 (arg1
)->SetColour((wxColour
const &)*arg2
);
15440 wxPyEndAllowThreads(__tstate
);
15441 if (PyErr_Occurred()) SWIG_fail
;
15443 Py_INCREF(Py_None
); resultobj
= Py_None
;
15450 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15451 PyObject
*resultobj
;
15452 wxFontData
*arg1
= (wxFontData
*) 0 ;
15454 PyObject
* obj0
= 0 ;
15455 PyObject
* obj1
= 0 ;
15456 char *kwnames
[] = {
15457 (char *) "self",(char *) "font", NULL
15460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15462 if (SWIG_arg_fail(1)) SWIG_fail
;
15464 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15465 if (SWIG_arg_fail(2)) SWIG_fail
;
15466 if (arg2
== NULL
) {
15467 SWIG_null_ref("wxFont");
15469 if (SWIG_arg_fail(2)) SWIG_fail
;
15472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15473 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
15475 wxPyEndAllowThreads(__tstate
);
15476 if (PyErr_Occurred()) SWIG_fail
;
15478 Py_INCREF(Py_None
); resultobj
= Py_None
;
15485 static PyObject
*_wrap_FontData_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15486 PyObject
*resultobj
;
15487 wxFontData
*arg1
= (wxFontData
*) 0 ;
15490 PyObject
* obj0
= 0 ;
15491 PyObject
* obj1
= 0 ;
15492 PyObject
* obj2
= 0 ;
15493 char *kwnames
[] = {
15494 (char *) "self",(char *) "min",(char *) "max", NULL
15497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) 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 arg2
= (int)(SWIG_As_int(obj1
));
15502 if (SWIG_arg_fail(2)) SWIG_fail
;
15505 arg3
= (int)(SWIG_As_int(obj2
));
15506 if (SWIG_arg_fail(3)) SWIG_fail
;
15509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15510 (arg1
)->SetRange(arg2
,arg3
);
15512 wxPyEndAllowThreads(__tstate
);
15513 if (PyErr_Occurred()) SWIG_fail
;
15515 Py_INCREF(Py_None
); resultobj
= Py_None
;
15522 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15523 PyObject
*resultobj
;
15524 wxFontData
*arg1
= (wxFontData
*) 0 ;
15526 PyObject
* obj0
= 0 ;
15527 PyObject
* obj1
= 0 ;
15528 char *kwnames
[] = {
15529 (char *) "self",(char *) "showHelp", NULL
15532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15534 if (SWIG_arg_fail(1)) SWIG_fail
;
15536 arg2
= (bool)(SWIG_As_bool(obj1
));
15537 if (SWIG_arg_fail(2)) SWIG_fail
;
15540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15541 (arg1
)->SetShowHelp(arg2
);
15543 wxPyEndAllowThreads(__tstate
);
15544 if (PyErr_Occurred()) SWIG_fail
;
15546 Py_INCREF(Py_None
); resultobj
= Py_None
;
15553 static PyObject
* FontData_swigregister(PyObject
*, PyObject
*args
) {
15555 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15556 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
15558 return Py_BuildValue((char *)"");
15560 static PyObject
*_wrap_new_FontDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15561 PyObject
*resultobj
;
15562 wxWindow
*arg1
= (wxWindow
*) 0 ;
15563 wxFontData
*arg2
= 0 ;
15564 wxFontDialog
*result
;
15565 PyObject
* obj0
= 0 ;
15566 PyObject
* obj1
= 0 ;
15567 char *kwnames
[] = {
15568 (char *) "parent",(char *) "data", NULL
15571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
15572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15573 if (SWIG_arg_fail(1)) SWIG_fail
;
15575 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15576 if (SWIG_arg_fail(2)) SWIG_fail
;
15577 if (arg2
== NULL
) {
15578 SWIG_null_ref("wxFontData");
15580 if (SWIG_arg_fail(2)) SWIG_fail
;
15583 if (!wxPyCheckForApp()) SWIG_fail
;
15584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15585 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
15587 wxPyEndAllowThreads(__tstate
);
15588 if (PyErr_Occurred()) SWIG_fail
;
15590 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
15597 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15598 PyObject
*resultobj
;
15599 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
15600 wxFontData
*result
;
15601 PyObject
* obj0
= 0 ;
15602 char *kwnames
[] = {
15603 (char *) "self", NULL
15606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
15607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_EXCEPTION
| 0);
15608 if (SWIG_arg_fail(1)) SWIG_fail
;
15610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15612 wxFontData
&_result_ref
= (arg1
)->GetFontData();
15613 result
= (wxFontData
*) &_result_ref
;
15616 wxPyEndAllowThreads(__tstate
);
15617 if (PyErr_Occurred()) SWIG_fail
;
15619 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
15626 static PyObject
* FontDialog_swigregister(PyObject
*, PyObject
*args
) {
15628 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15629 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
15631 return Py_BuildValue((char *)"");
15633 static PyObject
*_wrap_new_MessageDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15634 PyObject
*resultobj
;
15635 wxWindow
*arg1
= (wxWindow
*) 0 ;
15636 wxString
*arg2
= 0 ;
15637 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
15638 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15639 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
15640 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15641 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15642 wxMessageDialog
*result
;
15643 bool temp2
= false ;
15644 bool temp3
= false ;
15646 PyObject
* obj0
= 0 ;
15647 PyObject
* obj1
= 0 ;
15648 PyObject
* obj2
= 0 ;
15649 PyObject
* obj3
= 0 ;
15650 PyObject
* obj4
= 0 ;
15651 char *kwnames
[] = {
15652 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
15655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15657 if (SWIG_arg_fail(1)) SWIG_fail
;
15659 arg2
= wxString_in_helper(obj1
);
15660 if (arg2
== NULL
) SWIG_fail
;
15665 arg3
= wxString_in_helper(obj2
);
15666 if (arg3
== NULL
) SWIG_fail
;
15672 arg4
= (long)(SWIG_As_long(obj3
));
15673 if (SWIG_arg_fail(4)) SWIG_fail
;
15679 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15683 if (!wxPyCheckForApp()) SWIG_fail
;
15684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15685 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
15687 wxPyEndAllowThreads(__tstate
);
15688 if (PyErr_Occurred()) SWIG_fail
;
15690 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
15713 static PyObject
* MessageDialog_swigregister(PyObject
*, PyObject
*args
) {
15715 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15716 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
15718 return Py_BuildValue((char *)"");
15720 static PyObject
*_wrap_new_ProgressDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15721 PyObject
*resultobj
;
15722 wxString
*arg1
= 0 ;
15723 wxString
*arg2
= 0 ;
15724 int arg3
= (int) 100 ;
15725 wxWindow
*arg4
= (wxWindow
*) NULL
;
15726 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
15727 wxProgressDialog
*result
;
15728 bool temp1
= false ;
15729 bool temp2
= false ;
15730 PyObject
* obj0
= 0 ;
15731 PyObject
* obj1
= 0 ;
15732 PyObject
* obj2
= 0 ;
15733 PyObject
* obj3
= 0 ;
15734 PyObject
* obj4
= 0 ;
15735 char *kwnames
[] = {
15736 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
15739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15741 arg1
= wxString_in_helper(obj0
);
15742 if (arg1
== NULL
) SWIG_fail
;
15746 arg2
= wxString_in_helper(obj1
);
15747 if (arg2
== NULL
) SWIG_fail
;
15752 arg3
= (int)(SWIG_As_int(obj2
));
15753 if (SWIG_arg_fail(3)) SWIG_fail
;
15757 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15758 if (SWIG_arg_fail(4)) SWIG_fail
;
15762 arg5
= (int)(SWIG_As_int(obj4
));
15763 if (SWIG_arg_fail(5)) SWIG_fail
;
15767 if (!wxPyCheckForApp()) SWIG_fail
;
15768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15769 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
15771 wxPyEndAllowThreads(__tstate
);
15772 if (PyErr_Occurred()) SWIG_fail
;
15774 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
15797 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15798 PyObject
*resultobj
;
15799 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
15801 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15802 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15804 bool temp3
= false ;
15805 PyObject
* obj0
= 0 ;
15806 PyObject
* obj1
= 0 ;
15807 PyObject
* obj2
= 0 ;
15808 char *kwnames
[] = {
15809 (char *) "self",(char *) "value",(char *) "newmsg", NULL
15812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_EXCEPTION
| 0);
15814 if (SWIG_arg_fail(1)) SWIG_fail
;
15816 arg2
= (int)(SWIG_As_int(obj1
));
15817 if (SWIG_arg_fail(2)) SWIG_fail
;
15821 arg3
= wxString_in_helper(obj2
);
15822 if (arg3
== NULL
) SWIG_fail
;
15827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15828 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
15830 wxPyEndAllowThreads(__tstate
);
15831 if (PyErr_Occurred()) SWIG_fail
;
15834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15850 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15851 PyObject
*resultobj
;
15852 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
15853 PyObject
* obj0
= 0 ;
15854 char *kwnames
[] = {
15855 (char *) "self", NULL
15858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
15859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_EXCEPTION
| 0);
15860 if (SWIG_arg_fail(1)) SWIG_fail
;
15862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15865 wxPyEndAllowThreads(__tstate
);
15866 if (PyErr_Occurred()) SWIG_fail
;
15868 Py_INCREF(Py_None
); resultobj
= Py_None
;
15875 static PyObject
* ProgressDialog_swigregister(PyObject
*, PyObject
*args
) {
15877 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15878 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
15880 return Py_BuildValue((char *)"");
15882 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15883 PyObject
*resultobj
;
15884 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15885 int arg2
= (int) 0 ;
15886 wxFindDialogEvent
*result
;
15887 PyObject
* obj0
= 0 ;
15888 PyObject
* obj1
= 0 ;
15889 char *kwnames
[] = {
15890 (char *) "commandType",(char *) "id", NULL
15893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15896 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15897 if (SWIG_arg_fail(1)) SWIG_fail
;
15902 arg2
= (int)(SWIG_As_int(obj1
));
15903 if (SWIG_arg_fail(2)) SWIG_fail
;
15907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15908 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
15910 wxPyEndAllowThreads(__tstate
);
15911 if (PyErr_Occurred()) SWIG_fail
;
15913 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
15920 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15921 PyObject
*resultobj
;
15922 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
15924 PyObject
* obj0
= 0 ;
15925 char *kwnames
[] = {
15926 (char *) "self", NULL
15929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
15930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
15931 if (SWIG_arg_fail(1)) SWIG_fail
;
15933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15934 result
= (int)(arg1
)->GetFlags();
15936 wxPyEndAllowThreads(__tstate
);
15937 if (PyErr_Occurred()) SWIG_fail
;
15940 resultobj
= SWIG_From_int((int)(result
));
15948 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15949 PyObject
*resultobj
;
15950 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
15952 PyObject
* obj0
= 0 ;
15953 char *kwnames
[] = {
15954 (char *) "self", NULL
15957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
15958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
15959 if (SWIG_arg_fail(1)) SWIG_fail
;
15961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15963 wxString
const &_result_ref
= (arg1
)->GetFindString();
15964 result
= (wxString
*) &_result_ref
;
15967 wxPyEndAllowThreads(__tstate
);
15968 if (PyErr_Occurred()) SWIG_fail
;
15972 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15974 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15983 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15984 PyObject
*resultobj
;
15985 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
15987 PyObject
* obj0
= 0 ;
15988 char *kwnames
[] = {
15989 (char *) "self", NULL
15992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
15993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
15994 if (SWIG_arg_fail(1)) SWIG_fail
;
15996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15998 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
15999 result
= (wxString
*) &_result_ref
;
16002 wxPyEndAllowThreads(__tstate
);
16003 if (PyErr_Occurred()) SWIG_fail
;
16007 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16009 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16018 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16019 PyObject
*resultobj
;
16020 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16021 wxFindReplaceDialog
*result
;
16022 PyObject
* obj0
= 0 ;
16023 char *kwnames
[] = {
16024 (char *) "self", NULL
16027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
16028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16029 if (SWIG_arg_fail(1)) SWIG_fail
;
16031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16032 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
16034 wxPyEndAllowThreads(__tstate
);
16035 if (PyErr_Occurred()) SWIG_fail
;
16037 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
16044 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16045 PyObject
*resultobj
;
16046 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16048 PyObject
* obj0
= 0 ;
16049 PyObject
* obj1
= 0 ;
16050 char *kwnames
[] = {
16051 (char *) "self",(char *) "flags", NULL
16054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
16055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16056 if (SWIG_arg_fail(1)) SWIG_fail
;
16058 arg2
= (int)(SWIG_As_int(obj1
));
16059 if (SWIG_arg_fail(2)) SWIG_fail
;
16062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16063 (arg1
)->SetFlags(arg2
);
16065 wxPyEndAllowThreads(__tstate
);
16066 if (PyErr_Occurred()) SWIG_fail
;
16068 Py_INCREF(Py_None
); resultobj
= Py_None
;
16075 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16076 PyObject
*resultobj
;
16077 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16078 wxString
*arg2
= 0 ;
16079 bool temp2
= false ;
16080 PyObject
* obj0
= 0 ;
16081 PyObject
* obj1
= 0 ;
16082 char *kwnames
[] = {
16083 (char *) "self",(char *) "str", NULL
16086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
16087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16088 if (SWIG_arg_fail(1)) SWIG_fail
;
16090 arg2
= wxString_in_helper(obj1
);
16091 if (arg2
== NULL
) SWIG_fail
;
16095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16096 (arg1
)->SetFindString((wxString
const &)*arg2
);
16098 wxPyEndAllowThreads(__tstate
);
16099 if (PyErr_Occurred()) SWIG_fail
;
16101 Py_INCREF(Py_None
); resultobj
= Py_None
;
16116 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16117 PyObject
*resultobj
;
16118 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16119 wxString
*arg2
= 0 ;
16120 bool temp2
= false ;
16121 PyObject
* obj0
= 0 ;
16122 PyObject
* obj1
= 0 ;
16123 char *kwnames
[] = {
16124 (char *) "self",(char *) "str", NULL
16127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
16128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16129 if (SWIG_arg_fail(1)) SWIG_fail
;
16131 arg2
= wxString_in_helper(obj1
);
16132 if (arg2
== NULL
) SWIG_fail
;
16136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16137 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
16139 wxPyEndAllowThreads(__tstate
);
16140 if (PyErr_Occurred()) SWIG_fail
;
16142 Py_INCREF(Py_None
); resultobj
= Py_None
;
16157 static PyObject
* FindDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
16159 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16160 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
16162 return Py_BuildValue((char *)"");
16164 static PyObject
*_wrap_new_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16165 PyObject
*resultobj
;
16166 int arg1
= (int) 0 ;
16167 wxFindReplaceData
*result
;
16168 PyObject
* obj0
= 0 ;
16169 char *kwnames
[] = {
16170 (char *) "flags", NULL
16173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
16176 arg1
= (int)(SWIG_As_int(obj0
));
16177 if (SWIG_arg_fail(1)) SWIG_fail
;
16181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16182 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
16184 wxPyEndAllowThreads(__tstate
);
16185 if (PyErr_Occurred()) SWIG_fail
;
16187 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
16194 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16195 PyObject
*resultobj
;
16196 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16197 PyObject
* obj0
= 0 ;
16198 char *kwnames
[] = {
16199 (char *) "self", NULL
16202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
16203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16204 if (SWIG_arg_fail(1)) SWIG_fail
;
16206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16209 wxPyEndAllowThreads(__tstate
);
16210 if (PyErr_Occurred()) SWIG_fail
;
16212 Py_INCREF(Py_None
); resultobj
= Py_None
;
16219 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16220 PyObject
*resultobj
;
16221 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16223 PyObject
* obj0
= 0 ;
16224 char *kwnames
[] = {
16225 (char *) "self", NULL
16228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
16229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16230 if (SWIG_arg_fail(1)) SWIG_fail
;
16232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16234 wxString
const &_result_ref
= (arg1
)->GetFindString();
16235 result
= (wxString
*) &_result_ref
;
16238 wxPyEndAllowThreads(__tstate
);
16239 if (PyErr_Occurred()) SWIG_fail
;
16243 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16245 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16254 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16255 PyObject
*resultobj
;
16256 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16258 PyObject
* obj0
= 0 ;
16259 char *kwnames
[] = {
16260 (char *) "self", NULL
16263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
16264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16265 if (SWIG_arg_fail(1)) SWIG_fail
;
16267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16269 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
16270 result
= (wxString
*) &_result_ref
;
16273 wxPyEndAllowThreads(__tstate
);
16274 if (PyErr_Occurred()) SWIG_fail
;
16278 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16280 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16289 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16290 PyObject
*resultobj
;
16291 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16293 PyObject
* obj0
= 0 ;
16294 char *kwnames
[] = {
16295 (char *) "self", NULL
16298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
16299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16300 if (SWIG_arg_fail(1)) SWIG_fail
;
16302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16303 result
= (int)(arg1
)->GetFlags();
16305 wxPyEndAllowThreads(__tstate
);
16306 if (PyErr_Occurred()) SWIG_fail
;
16309 resultobj
= SWIG_From_int((int)(result
));
16317 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16318 PyObject
*resultobj
;
16319 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16321 PyObject
* obj0
= 0 ;
16322 PyObject
* obj1
= 0 ;
16323 char *kwnames
[] = {
16324 (char *) "self",(char *) "flags", NULL
16327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
16328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16329 if (SWIG_arg_fail(1)) SWIG_fail
;
16331 arg2
= (int)(SWIG_As_int(obj1
));
16332 if (SWIG_arg_fail(2)) SWIG_fail
;
16335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16336 (arg1
)->SetFlags(arg2
);
16338 wxPyEndAllowThreads(__tstate
);
16339 if (PyErr_Occurred()) SWIG_fail
;
16341 Py_INCREF(Py_None
); resultobj
= Py_None
;
16348 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16349 PyObject
*resultobj
;
16350 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16351 wxString
*arg2
= 0 ;
16352 bool temp2
= false ;
16353 PyObject
* obj0
= 0 ;
16354 PyObject
* obj1
= 0 ;
16355 char *kwnames
[] = {
16356 (char *) "self",(char *) "str", NULL
16359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
16360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16361 if (SWIG_arg_fail(1)) SWIG_fail
;
16363 arg2
= wxString_in_helper(obj1
);
16364 if (arg2
== NULL
) SWIG_fail
;
16368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16369 (arg1
)->SetFindString((wxString
const &)*arg2
);
16371 wxPyEndAllowThreads(__tstate
);
16372 if (PyErr_Occurred()) SWIG_fail
;
16374 Py_INCREF(Py_None
); resultobj
= Py_None
;
16389 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16390 PyObject
*resultobj
;
16391 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16392 wxString
*arg2
= 0 ;
16393 bool temp2
= false ;
16394 PyObject
* obj0
= 0 ;
16395 PyObject
* obj1
= 0 ;
16396 char *kwnames
[] = {
16397 (char *) "self",(char *) "str", NULL
16400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
16401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16402 if (SWIG_arg_fail(1)) SWIG_fail
;
16404 arg2
= wxString_in_helper(obj1
);
16405 if (arg2
== NULL
) SWIG_fail
;
16409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16410 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
16412 wxPyEndAllowThreads(__tstate
);
16413 if (PyErr_Occurred()) SWIG_fail
;
16415 Py_INCREF(Py_None
); resultobj
= Py_None
;
16430 static PyObject
* FindReplaceData_swigregister(PyObject
*, PyObject
*args
) {
16432 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16433 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
16435 return Py_BuildValue((char *)"");
16437 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16438 PyObject
*resultobj
;
16439 wxWindow
*arg1
= (wxWindow
*) 0 ;
16440 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
16441 wxString
*arg3
= 0 ;
16442 int arg4
= (int) 0 ;
16443 wxFindReplaceDialog
*result
;
16444 bool temp3
= false ;
16445 PyObject
* obj0
= 0 ;
16446 PyObject
* obj1
= 0 ;
16447 PyObject
* obj2
= 0 ;
16448 PyObject
* obj3
= 0 ;
16449 char *kwnames
[] = {
16450 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16455 if (SWIG_arg_fail(1)) SWIG_fail
;
16456 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16457 if (SWIG_arg_fail(2)) SWIG_fail
;
16459 arg3
= wxString_in_helper(obj2
);
16460 if (arg3
== NULL
) SWIG_fail
;
16465 arg4
= (int)(SWIG_As_int(obj3
));
16466 if (SWIG_arg_fail(4)) SWIG_fail
;
16470 if (!wxPyCheckForApp()) SWIG_fail
;
16471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16472 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
16474 wxPyEndAllowThreads(__tstate
);
16475 if (PyErr_Occurred()) SWIG_fail
;
16477 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
16492 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16493 PyObject
*resultobj
;
16494 wxFindReplaceDialog
*result
;
16495 char *kwnames
[] = {
16499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
16501 if (!wxPyCheckForApp()) SWIG_fail
;
16502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16503 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
16505 wxPyEndAllowThreads(__tstate
);
16506 if (PyErr_Occurred()) SWIG_fail
;
16508 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
16515 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16516 PyObject
*resultobj
;
16517 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
16518 wxWindow
*arg2
= (wxWindow
*) 0 ;
16519 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
16520 wxString
*arg4
= 0 ;
16521 int arg5
= (int) 0 ;
16523 bool temp4
= false ;
16524 PyObject
* obj0
= 0 ;
16525 PyObject
* obj1
= 0 ;
16526 PyObject
* obj2
= 0 ;
16527 PyObject
* obj3
= 0 ;
16528 PyObject
* obj4
= 0 ;
16529 char *kwnames
[] = {
16530 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
16535 if (SWIG_arg_fail(1)) SWIG_fail
;
16536 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16537 if (SWIG_arg_fail(2)) SWIG_fail
;
16538 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16539 if (SWIG_arg_fail(3)) SWIG_fail
;
16541 arg4
= wxString_in_helper(obj3
);
16542 if (arg4
== NULL
) SWIG_fail
;
16547 arg5
= (int)(SWIG_As_int(obj4
));
16548 if (SWIG_arg_fail(5)) SWIG_fail
;
16552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16553 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
16555 wxPyEndAllowThreads(__tstate
);
16556 if (PyErr_Occurred()) SWIG_fail
;
16559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16575 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16576 PyObject
*resultobj
;
16577 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
16578 wxFindReplaceData
*result
;
16579 PyObject
* obj0
= 0 ;
16580 char *kwnames
[] = {
16581 (char *) "self", NULL
16584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
16585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
16586 if (SWIG_arg_fail(1)) SWIG_fail
;
16588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16589 result
= (wxFindReplaceData
*)(arg1
)->GetData();
16591 wxPyEndAllowThreads(__tstate
);
16592 if (PyErr_Occurred()) SWIG_fail
;
16594 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
16601 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16602 PyObject
*resultobj
;
16603 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
16604 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
16605 PyObject
* obj0
= 0 ;
16606 PyObject
* obj1
= 0 ;
16607 char *kwnames
[] = {
16608 (char *) "self",(char *) "data", NULL
16611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
16612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
16613 if (SWIG_arg_fail(1)) SWIG_fail
;
16614 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16615 if (SWIG_arg_fail(2)) SWIG_fail
;
16617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16618 (arg1
)->SetData(arg2
);
16620 wxPyEndAllowThreads(__tstate
);
16621 if (PyErr_Occurred()) SWIG_fail
;
16623 Py_INCREF(Py_None
); resultobj
= Py_None
;
16630 static PyObject
* FindReplaceDialog_swigregister(PyObject
*, PyObject
*args
) {
16632 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16633 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
16635 return Py_BuildValue((char *)"");
16637 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16638 PyObject
*resultobj
;
16639 wxWindow
*arg1
= (wxWindow
*) 0 ;
16640 int arg2
= (int) (int)-1 ;
16641 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16642 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16643 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16644 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16645 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16646 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16647 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
16648 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
16649 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16650 wxMDIParentFrame
*result
;
16651 bool temp3
= false ;
16654 bool temp7
= false ;
16655 PyObject
* obj0
= 0 ;
16656 PyObject
* obj1
= 0 ;
16657 PyObject
* obj2
= 0 ;
16658 PyObject
* obj3
= 0 ;
16659 PyObject
* obj4
= 0 ;
16660 PyObject
* obj5
= 0 ;
16661 PyObject
* obj6
= 0 ;
16662 char *kwnames
[] = {
16663 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16668 if (SWIG_arg_fail(1)) SWIG_fail
;
16671 arg2
= (int const)(SWIG_As_int(obj1
));
16672 if (SWIG_arg_fail(2)) SWIG_fail
;
16677 arg3
= wxString_in_helper(obj2
);
16678 if (arg3
== NULL
) SWIG_fail
;
16685 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16691 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16696 arg6
= (long)(SWIG_As_long(obj5
));
16697 if (SWIG_arg_fail(6)) SWIG_fail
;
16702 arg7
= wxString_in_helper(obj6
);
16703 if (arg7
== NULL
) SWIG_fail
;
16708 if (!wxPyCheckForApp()) SWIG_fail
;
16709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16710 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
16712 wxPyEndAllowThreads(__tstate
);
16713 if (PyErr_Occurred()) SWIG_fail
;
16715 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
16738 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16739 PyObject
*resultobj
;
16740 wxMDIParentFrame
*result
;
16741 char *kwnames
[] = {
16745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
16747 if (!wxPyCheckForApp()) SWIG_fail
;
16748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16749 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
16751 wxPyEndAllowThreads(__tstate
);
16752 if (PyErr_Occurred()) SWIG_fail
;
16754 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
16761 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16762 PyObject
*resultobj
;
16763 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
16764 wxWindow
*arg2
= (wxWindow
*) 0 ;
16765 int arg3
= (int) (int)-1 ;
16766 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16767 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16768 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16769 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16770 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16771 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16772 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
16773 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
16774 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16776 bool temp4
= false ;
16779 bool temp8
= false ;
16780 PyObject
* obj0
= 0 ;
16781 PyObject
* obj1
= 0 ;
16782 PyObject
* obj2
= 0 ;
16783 PyObject
* obj3
= 0 ;
16784 PyObject
* obj4
= 0 ;
16785 PyObject
* obj5
= 0 ;
16786 PyObject
* obj6
= 0 ;
16787 PyObject
* obj7
= 0 ;
16788 char *kwnames
[] = {
16789 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
16793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
16794 if (SWIG_arg_fail(1)) SWIG_fail
;
16795 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16796 if (SWIG_arg_fail(2)) SWIG_fail
;
16799 arg3
= (int const)(SWIG_As_int(obj2
));
16800 if (SWIG_arg_fail(3)) SWIG_fail
;
16805 arg4
= wxString_in_helper(obj3
);
16806 if (arg4
== NULL
) SWIG_fail
;
16813 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16819 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16824 arg7
= (long)(SWIG_As_long(obj6
));
16825 if (SWIG_arg_fail(7)) SWIG_fail
;
16830 arg8
= wxString_in_helper(obj7
);
16831 if (arg8
== NULL
) SWIG_fail
;
16836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16837 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
16839 wxPyEndAllowThreads(__tstate
);
16840 if (PyErr_Occurred()) SWIG_fail
;
16843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16867 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16868 PyObject
*resultobj
;
16869 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
16870 PyObject
* obj0
= 0 ;
16871 char *kwnames
[] = {
16872 (char *) "self", NULL
16875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
16876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
16877 if (SWIG_arg_fail(1)) SWIG_fail
;
16879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16880 (arg1
)->ActivateNext();
16882 wxPyEndAllowThreads(__tstate
);
16883 if (PyErr_Occurred()) SWIG_fail
;
16885 Py_INCREF(Py_None
); resultobj
= Py_None
;
16892 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16893 PyObject
*resultobj
;
16894 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
16895 PyObject
* obj0
= 0 ;
16896 char *kwnames
[] = {
16897 (char *) "self", NULL
16900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
16901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
16902 if (SWIG_arg_fail(1)) SWIG_fail
;
16904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16905 (arg1
)->ActivatePrevious();
16907 wxPyEndAllowThreads(__tstate
);
16908 if (PyErr_Occurred()) SWIG_fail
;
16910 Py_INCREF(Py_None
); resultobj
= Py_None
;
16917 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16918 PyObject
*resultobj
;
16919 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
16920 PyObject
* obj0
= 0 ;
16921 char *kwnames
[] = {
16922 (char *) "self", NULL
16925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
16926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
16927 if (SWIG_arg_fail(1)) SWIG_fail
;
16929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16930 (arg1
)->ArrangeIcons();
16932 wxPyEndAllowThreads(__tstate
);
16933 if (PyErr_Occurred()) SWIG_fail
;
16935 Py_INCREF(Py_None
); resultobj
= Py_None
;
16942 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16943 PyObject
*resultobj
;
16944 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
16945 PyObject
* obj0
= 0 ;
16946 char *kwnames
[] = {
16947 (char *) "self", NULL
16950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
16951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
16952 if (SWIG_arg_fail(1)) SWIG_fail
;
16954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16957 wxPyEndAllowThreads(__tstate
);
16958 if (PyErr_Occurred()) SWIG_fail
;
16960 Py_INCREF(Py_None
); resultobj
= Py_None
;
16967 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16968 PyObject
*resultobj
;
16969 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
16970 wxMDIChildFrame
*result
;
16971 PyObject
* obj0
= 0 ;
16972 char *kwnames
[] = {
16973 (char *) "self", NULL
16976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
16977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
16978 if (SWIG_arg_fail(1)) SWIG_fail
;
16980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16981 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
16983 wxPyEndAllowThreads(__tstate
);
16984 if (PyErr_Occurred()) SWIG_fail
;
16987 resultobj
= wxPyMake_wxObject(result
, 0);
16995 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16996 PyObject
*resultobj
;
16997 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
16998 wxMDIClientWindow
*result
;
16999 PyObject
* obj0
= 0 ;
17000 char *kwnames
[] = {
17001 (char *) "self", NULL
17004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
17005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17006 if (SWIG_arg_fail(1)) SWIG_fail
;
17008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17009 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
17011 wxPyEndAllowThreads(__tstate
);
17012 if (PyErr_Occurred()) SWIG_fail
;
17015 resultobj
= wxPyMake_wxObject(result
, 0);
17023 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17024 PyObject
*resultobj
;
17025 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17027 PyObject
* obj0
= 0 ;
17028 char *kwnames
[] = {
17029 (char *) "self", NULL
17032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
17033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17034 if (SWIG_arg_fail(1)) SWIG_fail
;
17036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17037 result
= (wxWindow
*)(arg1
)->GetToolBar();
17039 wxPyEndAllowThreads(__tstate
);
17040 if (PyErr_Occurred()) SWIG_fail
;
17043 resultobj
= wxPyMake_wxObject(result
, 0);
17051 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17052 PyObject
*resultobj
;
17053 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17054 PyObject
* obj0
= 0 ;
17055 char *kwnames
[] = {
17056 (char *) "self", NULL
17059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
17060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17061 if (SWIG_arg_fail(1)) SWIG_fail
;
17063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17066 wxPyEndAllowThreads(__tstate
);
17067 if (PyErr_Occurred()) SWIG_fail
;
17069 Py_INCREF(Py_None
); resultobj
= Py_None
;
17076 static PyObject
* MDIParentFrame_swigregister(PyObject
*, PyObject
*args
) {
17078 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17079 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
17081 return Py_BuildValue((char *)"");
17083 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17084 PyObject
*resultobj
;
17085 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17086 int arg2
= (int) (int)-1 ;
17087 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17088 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17089 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17090 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17091 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17092 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17093 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
17094 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
17095 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17096 wxMDIChildFrame
*result
;
17097 bool temp3
= false ;
17100 bool temp7
= false ;
17101 PyObject
* obj0
= 0 ;
17102 PyObject
* obj1
= 0 ;
17103 PyObject
* obj2
= 0 ;
17104 PyObject
* obj3
= 0 ;
17105 PyObject
* obj4
= 0 ;
17106 PyObject
* obj5
= 0 ;
17107 PyObject
* obj6
= 0 ;
17108 char *kwnames
[] = {
17109 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17114 if (SWIG_arg_fail(1)) SWIG_fail
;
17117 arg2
= (int const)(SWIG_As_int(obj1
));
17118 if (SWIG_arg_fail(2)) SWIG_fail
;
17123 arg3
= wxString_in_helper(obj2
);
17124 if (arg3
== NULL
) SWIG_fail
;
17131 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17137 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17142 arg6
= (long)(SWIG_As_long(obj5
));
17143 if (SWIG_arg_fail(6)) SWIG_fail
;
17148 arg7
= wxString_in_helper(obj6
);
17149 if (arg7
== NULL
) SWIG_fail
;
17154 if (!wxPyCheckForApp()) SWIG_fail
;
17155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17156 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17158 wxPyEndAllowThreads(__tstate
);
17159 if (PyErr_Occurred()) SWIG_fail
;
17161 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
17184 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17185 PyObject
*resultobj
;
17186 wxMDIChildFrame
*result
;
17187 char *kwnames
[] = {
17191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
17193 if (!wxPyCheckForApp()) SWIG_fail
;
17194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17195 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
17197 wxPyEndAllowThreads(__tstate
);
17198 if (PyErr_Occurred()) SWIG_fail
;
17200 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
17207 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17208 PyObject
*resultobj
;
17209 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17210 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
17211 int arg3
= (int) (int)-1 ;
17212 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17213 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17214 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17215 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17216 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17217 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17218 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
17219 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
17220 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17222 bool temp4
= false ;
17225 bool temp8
= false ;
17226 PyObject
* obj0
= 0 ;
17227 PyObject
* obj1
= 0 ;
17228 PyObject
* obj2
= 0 ;
17229 PyObject
* obj3
= 0 ;
17230 PyObject
* obj4
= 0 ;
17231 PyObject
* obj5
= 0 ;
17232 PyObject
* obj6
= 0 ;
17233 PyObject
* obj7
= 0 ;
17234 char *kwnames
[] = {
17235 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17240 if (SWIG_arg_fail(1)) SWIG_fail
;
17241 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17242 if (SWIG_arg_fail(2)) SWIG_fail
;
17245 arg3
= (int const)(SWIG_As_int(obj2
));
17246 if (SWIG_arg_fail(3)) SWIG_fail
;
17251 arg4
= wxString_in_helper(obj3
);
17252 if (arg4
== NULL
) SWIG_fail
;
17259 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17265 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17270 arg7
= (long)(SWIG_As_long(obj6
));
17271 if (SWIG_arg_fail(7)) SWIG_fail
;
17276 arg8
= wxString_in_helper(obj7
);
17277 if (arg8
== NULL
) SWIG_fail
;
17282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17283 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
17285 wxPyEndAllowThreads(__tstate
);
17286 if (PyErr_Occurred()) SWIG_fail
;
17289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17313 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17314 PyObject
*resultobj
;
17315 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17316 PyObject
* obj0
= 0 ;
17317 char *kwnames
[] = {
17318 (char *) "self", NULL
17321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
17322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17323 if (SWIG_arg_fail(1)) SWIG_fail
;
17325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17326 (arg1
)->Activate();
17328 wxPyEndAllowThreads(__tstate
);
17329 if (PyErr_Occurred()) SWIG_fail
;
17331 Py_INCREF(Py_None
); resultobj
= Py_None
;
17338 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17339 PyObject
*resultobj
;
17340 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17341 bool arg2
= (bool) true ;
17342 PyObject
* obj0
= 0 ;
17343 PyObject
* obj1
= 0 ;
17344 char *kwnames
[] = {
17345 (char *) "self",(char *) "maximize", NULL
17348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
17349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17350 if (SWIG_arg_fail(1)) SWIG_fail
;
17353 arg2
= (bool)(SWIG_As_bool(obj1
));
17354 if (SWIG_arg_fail(2)) SWIG_fail
;
17358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17359 (arg1
)->Maximize(arg2
);
17361 wxPyEndAllowThreads(__tstate
);
17362 if (PyErr_Occurred()) SWIG_fail
;
17364 Py_INCREF(Py_None
); resultobj
= Py_None
;
17371 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17372 PyObject
*resultobj
;
17373 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17374 PyObject
* obj0
= 0 ;
17375 char *kwnames
[] = {
17376 (char *) "self", NULL
17379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
17380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17381 if (SWIG_arg_fail(1)) SWIG_fail
;
17383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17386 wxPyEndAllowThreads(__tstate
);
17387 if (PyErr_Occurred()) SWIG_fail
;
17389 Py_INCREF(Py_None
); resultobj
= Py_None
;
17396 static PyObject
* MDIChildFrame_swigregister(PyObject
*, PyObject
*args
) {
17398 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17399 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
17401 return Py_BuildValue((char *)"");
17403 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17404 PyObject
*resultobj
;
17405 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17406 long arg2
= (long) 0 ;
17407 wxMDIClientWindow
*result
;
17408 PyObject
* obj0
= 0 ;
17409 PyObject
* obj1
= 0 ;
17410 char *kwnames
[] = {
17411 (char *) "parent",(char *) "style", NULL
17414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
17415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17416 if (SWIG_arg_fail(1)) SWIG_fail
;
17419 arg2
= (long)(SWIG_As_long(obj1
));
17420 if (SWIG_arg_fail(2)) SWIG_fail
;
17424 if (!wxPyCheckForApp()) SWIG_fail
;
17425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17426 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
17428 wxPyEndAllowThreads(__tstate
);
17429 if (PyErr_Occurred()) SWIG_fail
;
17431 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
17438 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17439 PyObject
*resultobj
;
17440 wxMDIClientWindow
*result
;
17441 char *kwnames
[] = {
17445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
17447 if (!wxPyCheckForApp()) SWIG_fail
;
17448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17449 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
17451 wxPyEndAllowThreads(__tstate
);
17452 if (PyErr_Occurred()) SWIG_fail
;
17454 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
17461 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17462 PyObject
*resultobj
;
17463 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
17464 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
17465 long arg3
= (long) 0 ;
17467 PyObject
* obj0
= 0 ;
17468 PyObject
* obj1
= 0 ;
17469 PyObject
* obj2
= 0 ;
17470 char *kwnames
[] = {
17471 (char *) "self",(char *) "parent",(char *) "style", NULL
17474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_EXCEPTION
| 0);
17476 if (SWIG_arg_fail(1)) SWIG_fail
;
17477 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17478 if (SWIG_arg_fail(2)) SWIG_fail
;
17481 arg3
= (long)(SWIG_As_long(obj2
));
17482 if (SWIG_arg_fail(3)) SWIG_fail
;
17486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17487 result
= (bool)(arg1
)->Create(arg2
,arg3
);
17489 wxPyEndAllowThreads(__tstate
);
17490 if (PyErr_Occurred()) SWIG_fail
;
17493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17501 static PyObject
* MDIClientWindow_swigregister(PyObject
*, PyObject
*args
) {
17503 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17504 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
17506 return Py_BuildValue((char *)"");
17508 static PyObject
*_wrap_new_PyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17509 PyObject
*resultobj
;
17510 wxWindow
*arg1
= (wxWindow
*) 0 ;
17511 int arg2
= (int) (int)-1 ;
17512 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17513 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17514 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17515 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17516 long arg5
= (long) 0 ;
17517 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
17518 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17519 wxPyWindow
*result
;
17522 bool temp6
= false ;
17523 PyObject
* obj0
= 0 ;
17524 PyObject
* obj1
= 0 ;
17525 PyObject
* obj2
= 0 ;
17526 PyObject
* obj3
= 0 ;
17527 PyObject
* obj4
= 0 ;
17528 PyObject
* obj5
= 0 ;
17529 char *kwnames
[] = {
17530 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17535 if (SWIG_arg_fail(1)) SWIG_fail
;
17538 arg2
= (int const)(SWIG_As_int(obj1
));
17539 if (SWIG_arg_fail(2)) SWIG_fail
;
17545 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17551 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17556 arg5
= (long)(SWIG_As_long(obj4
));
17557 if (SWIG_arg_fail(5)) SWIG_fail
;
17562 arg6
= wxString_in_helper(obj5
);
17563 if (arg6
== NULL
) SWIG_fail
;
17568 if (!wxPyCheckForApp()) SWIG_fail
;
17569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17570 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17572 wxPyEndAllowThreads(__tstate
);
17573 if (PyErr_Occurred()) SWIG_fail
;
17575 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
17590 static PyObject
*_wrap_new_PrePyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17591 PyObject
*resultobj
;
17592 wxPyWindow
*result
;
17593 char *kwnames
[] = {
17597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
17599 if (!wxPyCheckForApp()) SWIG_fail
;
17600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17601 result
= (wxPyWindow
*)new wxPyWindow();
17603 wxPyEndAllowThreads(__tstate
);
17604 if (PyErr_Occurred()) SWIG_fail
;
17606 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
17613 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17614 PyObject
*resultobj
;
17615 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17616 PyObject
*arg2
= (PyObject
*) 0 ;
17617 PyObject
*arg3
= (PyObject
*) 0 ;
17618 PyObject
* obj0
= 0 ;
17619 PyObject
* obj1
= 0 ;
17620 PyObject
* obj2
= 0 ;
17621 char *kwnames
[] = {
17622 (char *) "self",(char *) "self",(char *) "_class", NULL
17625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17627 if (SWIG_arg_fail(1)) SWIG_fail
;
17631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17632 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17634 wxPyEndAllowThreads(__tstate
);
17635 if (PyErr_Occurred()) SWIG_fail
;
17637 Py_INCREF(Py_None
); resultobj
= Py_None
;
17644 static PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17645 PyObject
*resultobj
;
17646 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17649 PyObject
* obj0
= 0 ;
17650 PyObject
* obj1
= 0 ;
17651 char *kwnames
[] = {
17652 (char *) "self",(char *) "size", NULL
17655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17657 if (SWIG_arg_fail(1)) SWIG_fail
;
17660 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17664 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
17666 wxPyEndAllowThreads(__tstate
);
17667 if (PyErr_Occurred()) SWIG_fail
;
17669 Py_INCREF(Py_None
); resultobj
= Py_None
;
17676 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17677 PyObject
*resultobj
;
17678 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17683 PyObject
* obj0
= 0 ;
17684 PyObject
* obj1
= 0 ;
17685 PyObject
* obj2
= 0 ;
17686 PyObject
* obj3
= 0 ;
17687 PyObject
* obj4
= 0 ;
17688 char *kwnames
[] = {
17689 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17694 if (SWIG_arg_fail(1)) SWIG_fail
;
17696 arg2
= (int)(SWIG_As_int(obj1
));
17697 if (SWIG_arg_fail(2)) SWIG_fail
;
17700 arg3
= (int)(SWIG_As_int(obj2
));
17701 if (SWIG_arg_fail(3)) SWIG_fail
;
17704 arg4
= (int)(SWIG_As_int(obj3
));
17705 if (SWIG_arg_fail(4)) SWIG_fail
;
17708 arg5
= (int)(SWIG_As_int(obj4
));
17709 if (SWIG_arg_fail(5)) SWIG_fail
;
17712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17713 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
17715 wxPyEndAllowThreads(__tstate
);
17716 if (PyErr_Occurred()) SWIG_fail
;
17718 Py_INCREF(Py_None
); resultobj
= Py_None
;
17725 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17726 PyObject
*resultobj
;
17727 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17732 int arg6
= (int) wxSIZE_AUTO
;
17733 PyObject
* obj0
= 0 ;
17734 PyObject
* obj1
= 0 ;
17735 PyObject
* obj2
= 0 ;
17736 PyObject
* obj3
= 0 ;
17737 PyObject
* obj4
= 0 ;
17738 PyObject
* obj5
= 0 ;
17739 char *kwnames
[] = {
17740 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17745 if (SWIG_arg_fail(1)) SWIG_fail
;
17747 arg2
= (int)(SWIG_As_int(obj1
));
17748 if (SWIG_arg_fail(2)) SWIG_fail
;
17751 arg3
= (int)(SWIG_As_int(obj2
));
17752 if (SWIG_arg_fail(3)) SWIG_fail
;
17755 arg4
= (int)(SWIG_As_int(obj3
));
17756 if (SWIG_arg_fail(4)) SWIG_fail
;
17759 arg5
= (int)(SWIG_As_int(obj4
));
17760 if (SWIG_arg_fail(5)) SWIG_fail
;
17764 arg6
= (int)(SWIG_As_int(obj5
));
17765 if (SWIG_arg_fail(6)) SWIG_fail
;
17769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17770 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
17772 wxPyEndAllowThreads(__tstate
);
17773 if (PyErr_Occurred()) SWIG_fail
;
17775 Py_INCREF(Py_None
); resultobj
= Py_None
;
17782 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17783 PyObject
*resultobj
;
17784 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17787 PyObject
* obj0
= 0 ;
17788 PyObject
* obj1
= 0 ;
17789 PyObject
* obj2
= 0 ;
17790 char *kwnames
[] = {
17791 (char *) "self",(char *) "width",(char *) "height", NULL
17794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17796 if (SWIG_arg_fail(1)) SWIG_fail
;
17798 arg2
= (int)(SWIG_As_int(obj1
));
17799 if (SWIG_arg_fail(2)) SWIG_fail
;
17802 arg3
= (int)(SWIG_As_int(obj2
));
17803 if (SWIG_arg_fail(3)) SWIG_fail
;
17806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17807 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
17809 wxPyEndAllowThreads(__tstate
);
17810 if (PyErr_Occurred()) SWIG_fail
;
17812 Py_INCREF(Py_None
); resultobj
= Py_None
;
17819 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17820 PyObject
*resultobj
;
17821 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17824 PyObject
* obj0
= 0 ;
17825 PyObject
* obj1
= 0 ;
17826 PyObject
* obj2
= 0 ;
17827 char *kwnames
[] = {
17828 (char *) "self",(char *) "x",(char *) "y", NULL
17831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17833 if (SWIG_arg_fail(1)) SWIG_fail
;
17835 arg2
= (int)(SWIG_As_int(obj1
));
17836 if (SWIG_arg_fail(2)) SWIG_fail
;
17839 arg3
= (int)(SWIG_As_int(obj2
));
17840 if (SWIG_arg_fail(3)) SWIG_fail
;
17843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17844 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
17846 wxPyEndAllowThreads(__tstate
);
17847 if (PyErr_Occurred()) SWIG_fail
;
17849 Py_INCREF(Py_None
); resultobj
= Py_None
;
17856 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17857 PyObject
*resultobj
;
17858 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17859 int *arg2
= (int *) 0 ;
17860 int *arg3
= (int *) 0 ;
17865 PyObject
* obj0
= 0 ;
17866 char *kwnames
[] = {
17867 (char *) "self", NULL
17870 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17871 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
17873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17874 if (SWIG_arg_fail(1)) SWIG_fail
;
17876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17877 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
17879 wxPyEndAllowThreads(__tstate
);
17880 if (PyErr_Occurred()) SWIG_fail
;
17882 Py_INCREF(Py_None
); resultobj
= Py_None
;
17883 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17884 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17885 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17886 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17893 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17894 PyObject
*resultobj
;
17895 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17896 int *arg2
= (int *) 0 ;
17897 int *arg3
= (int *) 0 ;
17902 PyObject
* obj0
= 0 ;
17903 char *kwnames
[] = {
17904 (char *) "self", NULL
17907 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17908 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
17910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17911 if (SWIG_arg_fail(1)) SWIG_fail
;
17913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17914 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
17916 wxPyEndAllowThreads(__tstate
);
17917 if (PyErr_Occurred()) SWIG_fail
;
17919 Py_INCREF(Py_None
); resultobj
= Py_None
;
17920 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17921 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17922 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17923 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17930 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17931 PyObject
*resultobj
;
17932 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17933 int *arg2
= (int *) 0 ;
17934 int *arg3
= (int *) 0 ;
17939 PyObject
* obj0
= 0 ;
17940 char *kwnames
[] = {
17941 (char *) "self", NULL
17944 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17945 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
17947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17948 if (SWIG_arg_fail(1)) SWIG_fail
;
17950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17951 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
17953 wxPyEndAllowThreads(__tstate
);
17954 if (PyErr_Occurred()) SWIG_fail
;
17956 Py_INCREF(Py_None
); resultobj
= Py_None
;
17957 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17958 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17959 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17960 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17967 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17968 PyObject
*resultobj
;
17969 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17971 PyObject
* obj0
= 0 ;
17972 char *kwnames
[] = {
17973 (char *) "self", NULL
17976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
17977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17978 if (SWIG_arg_fail(1)) SWIG_fail
;
17980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17981 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
17983 wxPyEndAllowThreads(__tstate
);
17984 if (PyErr_Occurred()) SWIG_fail
;
17987 wxSize
* resultptr
;
17988 resultptr
= new wxSize((wxSize
&)(result
));
17989 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17997 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17998 PyObject
*resultobj
;
17999 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18001 PyObject
* obj0
= 0 ;
18002 char *kwnames
[] = {
18003 (char *) "self", NULL
18006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
18007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18008 if (SWIG_arg_fail(1)) SWIG_fail
;
18010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18011 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
18013 wxPyEndAllowThreads(__tstate
);
18014 if (PyErr_Occurred()) SWIG_fail
;
18017 wxSize
* resultptr
;
18018 resultptr
= new wxSize((wxSize
&)(result
));
18019 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18027 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18028 PyObject
*resultobj
;
18029 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18030 PyObject
* obj0
= 0 ;
18031 char *kwnames
[] = {
18032 (char *) "self", NULL
18035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
18036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18037 if (SWIG_arg_fail(1)) SWIG_fail
;
18039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18040 (arg1
)->base_InitDialog();
18042 wxPyEndAllowThreads(__tstate
);
18043 if (PyErr_Occurred()) SWIG_fail
;
18045 Py_INCREF(Py_None
); resultobj
= Py_None
;
18052 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18053 PyObject
*resultobj
;
18054 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18056 PyObject
* obj0
= 0 ;
18057 char *kwnames
[] = {
18058 (char *) "self", NULL
18061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
18062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18063 if (SWIG_arg_fail(1)) SWIG_fail
;
18065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18066 result
= (bool)(arg1
)->base_TransferDataToWindow();
18068 wxPyEndAllowThreads(__tstate
);
18069 if (PyErr_Occurred()) SWIG_fail
;
18072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18080 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18081 PyObject
*resultobj
;
18082 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18084 PyObject
* obj0
= 0 ;
18085 char *kwnames
[] = {
18086 (char *) "self", NULL
18089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
18090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18091 if (SWIG_arg_fail(1)) SWIG_fail
;
18093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18094 result
= (bool)(arg1
)->base_TransferDataFromWindow();
18096 wxPyEndAllowThreads(__tstate
);
18097 if (PyErr_Occurred()) SWIG_fail
;
18100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18108 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18109 PyObject
*resultobj
;
18110 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18112 PyObject
* obj0
= 0 ;
18113 char *kwnames
[] = {
18114 (char *) "self", NULL
18117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
18118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18119 if (SWIG_arg_fail(1)) SWIG_fail
;
18121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18122 result
= (bool)(arg1
)->base_Validate();
18124 wxPyEndAllowThreads(__tstate
);
18125 if (PyErr_Occurred()) SWIG_fail
;
18128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18136 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18137 PyObject
*resultobj
;
18138 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18140 PyObject
* obj0
= 0 ;
18141 char *kwnames
[] = {
18142 (char *) "self", NULL
18145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
18146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18147 if (SWIG_arg_fail(1)) SWIG_fail
;
18149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18150 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
18152 wxPyEndAllowThreads(__tstate
);
18153 if (PyErr_Occurred()) SWIG_fail
;
18156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18164 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18165 PyObject
*resultobj
;
18166 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18168 PyObject
* obj0
= 0 ;
18169 char *kwnames
[] = {
18170 (char *) "self", NULL
18173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
18174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18175 if (SWIG_arg_fail(1)) SWIG_fail
;
18177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18178 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
18180 wxPyEndAllowThreads(__tstate
);
18181 if (PyErr_Occurred()) SWIG_fail
;
18184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18192 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18193 PyObject
*resultobj
;
18194 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18196 PyObject
* obj0
= 0 ;
18197 char *kwnames
[] = {
18198 (char *) "self", NULL
18201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
18202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18203 if (SWIG_arg_fail(1)) SWIG_fail
;
18205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18206 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
18208 wxPyEndAllowThreads(__tstate
);
18209 if (PyErr_Occurred()) SWIG_fail
;
18212 wxSize
* resultptr
;
18213 resultptr
= new wxSize((wxSize
&)(result
));
18214 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18222 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18223 PyObject
*resultobj
;
18224 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18225 wxWindow
*arg2
= (wxWindow
*) 0 ;
18226 PyObject
* obj0
= 0 ;
18227 PyObject
* obj1
= 0 ;
18228 char *kwnames
[] = {
18229 (char *) "self",(char *) "child", NULL
18232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18234 if (SWIG_arg_fail(1)) SWIG_fail
;
18235 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18236 if (SWIG_arg_fail(2)) SWIG_fail
;
18238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18239 (arg1
)->base_AddChild(arg2
);
18241 wxPyEndAllowThreads(__tstate
);
18242 if (PyErr_Occurred()) SWIG_fail
;
18244 Py_INCREF(Py_None
); resultobj
= Py_None
;
18251 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18252 PyObject
*resultobj
;
18253 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18254 wxWindow
*arg2
= (wxWindow
*) 0 ;
18255 PyObject
* obj0
= 0 ;
18256 PyObject
* obj1
= 0 ;
18257 char *kwnames
[] = {
18258 (char *) "self",(char *) "child", NULL
18261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18263 if (SWIG_arg_fail(1)) SWIG_fail
;
18264 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18265 if (SWIG_arg_fail(2)) SWIG_fail
;
18267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18268 (arg1
)->base_RemoveChild(arg2
);
18270 wxPyEndAllowThreads(__tstate
);
18271 if (PyErr_Occurred()) SWIG_fail
;
18273 Py_INCREF(Py_None
); resultobj
= Py_None
;
18280 static PyObject
*_wrap_PyWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18281 PyObject
*resultobj
;
18282 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18284 PyObject
* obj0
= 0 ;
18285 char *kwnames
[] = {
18286 (char *) "self", NULL
18289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
18290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18291 if (SWIG_arg_fail(1)) SWIG_fail
;
18293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18294 result
= (bool)((wxPyWindow
const *)arg1
)->base_ShouldInheritColours();
18296 wxPyEndAllowThreads(__tstate
);
18297 if (PyErr_Occurred()) SWIG_fail
;
18300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18308 static PyObject
*_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18309 PyObject
*resultobj
;
18310 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18311 wxColour
*arg2
= 0 ;
18313 PyObject
* obj0
= 0 ;
18314 PyObject
* obj1
= 0 ;
18315 char *kwnames
[] = {
18316 (char *) "self",(char *) "c", NULL
18319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
18320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18321 if (SWIG_arg_fail(1)) SWIG_fail
;
18324 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18328 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
18330 wxPyEndAllowThreads(__tstate
);
18331 if (PyErr_Occurred()) SWIG_fail
;
18333 Py_INCREF(Py_None
); resultobj
= Py_None
;
18340 static PyObject
*_wrap_PyWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18341 PyObject
*resultobj
;
18342 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18343 wxVisualAttributes result
;
18344 PyObject
* obj0
= 0 ;
18345 char *kwnames
[] = {
18346 (char *) "self", NULL
18349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
18350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18351 if (SWIG_arg_fail(1)) SWIG_fail
;
18353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18354 result
= (arg1
)->base_GetDefaultAttributes();
18356 wxPyEndAllowThreads(__tstate
);
18357 if (PyErr_Occurred()) SWIG_fail
;
18360 wxVisualAttributes
* resultptr
;
18361 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
18362 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
18370 static PyObject
* PyWindow_swigregister(PyObject
*, PyObject
*args
) {
18372 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18373 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
18375 return Py_BuildValue((char *)"");
18377 static PyObject
*_wrap_new_PyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18378 PyObject
*resultobj
;
18379 wxWindow
*arg1
= (wxWindow
*) 0 ;
18380 int arg2
= (int) (int)-1 ;
18381 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18382 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18383 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18384 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18385 long arg5
= (long) 0 ;
18386 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
18387 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18391 bool temp6
= false ;
18392 PyObject
* obj0
= 0 ;
18393 PyObject
* obj1
= 0 ;
18394 PyObject
* obj2
= 0 ;
18395 PyObject
* obj3
= 0 ;
18396 PyObject
* obj4
= 0 ;
18397 PyObject
* obj5
= 0 ;
18398 char *kwnames
[] = {
18399 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18404 if (SWIG_arg_fail(1)) SWIG_fail
;
18407 arg2
= (int const)(SWIG_As_int(obj1
));
18408 if (SWIG_arg_fail(2)) SWIG_fail
;
18414 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18420 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18425 arg5
= (long)(SWIG_As_long(obj4
));
18426 if (SWIG_arg_fail(5)) SWIG_fail
;
18431 arg6
= wxString_in_helper(obj5
);
18432 if (arg6
== NULL
) SWIG_fail
;
18437 if (!wxPyCheckForApp()) SWIG_fail
;
18438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18439 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18441 wxPyEndAllowThreads(__tstate
);
18442 if (PyErr_Occurred()) SWIG_fail
;
18444 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
18459 static PyObject
*_wrap_new_PrePyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18460 PyObject
*resultobj
;
18462 char *kwnames
[] = {
18466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
18468 if (!wxPyCheckForApp()) SWIG_fail
;
18469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18470 result
= (wxPyPanel
*)new wxPyPanel();
18472 wxPyEndAllowThreads(__tstate
);
18473 if (PyErr_Occurred()) SWIG_fail
;
18475 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
18482 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18483 PyObject
*resultobj
;
18484 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18485 PyObject
*arg2
= (PyObject
*) 0 ;
18486 PyObject
*arg3
= (PyObject
*) 0 ;
18487 PyObject
* obj0
= 0 ;
18488 PyObject
* obj1
= 0 ;
18489 PyObject
* obj2
= 0 ;
18490 char *kwnames
[] = {
18491 (char *) "self",(char *) "self",(char *) "_class", NULL
18494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18496 if (SWIG_arg_fail(1)) SWIG_fail
;
18500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18501 (arg1
)->_setCallbackInfo(arg2
,arg3
);
18503 wxPyEndAllowThreads(__tstate
);
18504 if (PyErr_Occurred()) SWIG_fail
;
18506 Py_INCREF(Py_None
); resultobj
= Py_None
;
18513 static PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18514 PyObject
*resultobj
;
18515 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18518 PyObject
* obj0
= 0 ;
18519 PyObject
* obj1
= 0 ;
18520 char *kwnames
[] = {
18521 (char *) "self",(char *) "size", NULL
18524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18526 if (SWIG_arg_fail(1)) SWIG_fail
;
18529 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18533 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
18535 wxPyEndAllowThreads(__tstate
);
18536 if (PyErr_Occurred()) SWIG_fail
;
18538 Py_INCREF(Py_None
); resultobj
= Py_None
;
18545 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18546 PyObject
*resultobj
;
18547 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18552 PyObject
* obj0
= 0 ;
18553 PyObject
* obj1
= 0 ;
18554 PyObject
* obj2
= 0 ;
18555 PyObject
* obj3
= 0 ;
18556 PyObject
* obj4
= 0 ;
18557 char *kwnames
[] = {
18558 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18563 if (SWIG_arg_fail(1)) SWIG_fail
;
18565 arg2
= (int)(SWIG_As_int(obj1
));
18566 if (SWIG_arg_fail(2)) SWIG_fail
;
18569 arg3
= (int)(SWIG_As_int(obj2
));
18570 if (SWIG_arg_fail(3)) SWIG_fail
;
18573 arg4
= (int)(SWIG_As_int(obj3
));
18574 if (SWIG_arg_fail(4)) SWIG_fail
;
18577 arg5
= (int)(SWIG_As_int(obj4
));
18578 if (SWIG_arg_fail(5)) SWIG_fail
;
18581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18582 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
18584 wxPyEndAllowThreads(__tstate
);
18585 if (PyErr_Occurred()) SWIG_fail
;
18587 Py_INCREF(Py_None
); resultobj
= Py_None
;
18594 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18595 PyObject
*resultobj
;
18596 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18601 int arg6
= (int) wxSIZE_AUTO
;
18602 PyObject
* obj0
= 0 ;
18603 PyObject
* obj1
= 0 ;
18604 PyObject
* obj2
= 0 ;
18605 PyObject
* obj3
= 0 ;
18606 PyObject
* obj4
= 0 ;
18607 PyObject
* obj5
= 0 ;
18608 char *kwnames
[] = {
18609 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
18612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18614 if (SWIG_arg_fail(1)) SWIG_fail
;
18616 arg2
= (int)(SWIG_As_int(obj1
));
18617 if (SWIG_arg_fail(2)) SWIG_fail
;
18620 arg3
= (int)(SWIG_As_int(obj2
));
18621 if (SWIG_arg_fail(3)) SWIG_fail
;
18624 arg4
= (int)(SWIG_As_int(obj3
));
18625 if (SWIG_arg_fail(4)) SWIG_fail
;
18628 arg5
= (int)(SWIG_As_int(obj4
));
18629 if (SWIG_arg_fail(5)) SWIG_fail
;
18633 arg6
= (int)(SWIG_As_int(obj5
));
18634 if (SWIG_arg_fail(6)) SWIG_fail
;
18638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18639 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
18641 wxPyEndAllowThreads(__tstate
);
18642 if (PyErr_Occurred()) SWIG_fail
;
18644 Py_INCREF(Py_None
); resultobj
= Py_None
;
18651 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18652 PyObject
*resultobj
;
18653 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18656 PyObject
* obj0
= 0 ;
18657 PyObject
* obj1
= 0 ;
18658 PyObject
* obj2
= 0 ;
18659 char *kwnames
[] = {
18660 (char *) "self",(char *) "width",(char *) "height", NULL
18663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18665 if (SWIG_arg_fail(1)) SWIG_fail
;
18667 arg2
= (int)(SWIG_As_int(obj1
));
18668 if (SWIG_arg_fail(2)) SWIG_fail
;
18671 arg3
= (int)(SWIG_As_int(obj2
));
18672 if (SWIG_arg_fail(3)) SWIG_fail
;
18675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18676 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
18678 wxPyEndAllowThreads(__tstate
);
18679 if (PyErr_Occurred()) SWIG_fail
;
18681 Py_INCREF(Py_None
); resultobj
= Py_None
;
18688 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18689 PyObject
*resultobj
;
18690 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18693 PyObject
* obj0
= 0 ;
18694 PyObject
* obj1
= 0 ;
18695 PyObject
* obj2
= 0 ;
18696 char *kwnames
[] = {
18697 (char *) "self",(char *) "x",(char *) "y", NULL
18700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18702 if (SWIG_arg_fail(1)) SWIG_fail
;
18704 arg2
= (int)(SWIG_As_int(obj1
));
18705 if (SWIG_arg_fail(2)) SWIG_fail
;
18708 arg3
= (int)(SWIG_As_int(obj2
));
18709 if (SWIG_arg_fail(3)) SWIG_fail
;
18712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18713 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
18715 wxPyEndAllowThreads(__tstate
);
18716 if (PyErr_Occurred()) SWIG_fail
;
18718 Py_INCREF(Py_None
); resultobj
= Py_None
;
18725 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18726 PyObject
*resultobj
;
18727 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18728 int *arg2
= (int *) 0 ;
18729 int *arg3
= (int *) 0 ;
18734 PyObject
* obj0
= 0 ;
18735 char *kwnames
[] = {
18736 (char *) "self", NULL
18739 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18740 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
18742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18743 if (SWIG_arg_fail(1)) SWIG_fail
;
18745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18746 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
18748 wxPyEndAllowThreads(__tstate
);
18749 if (PyErr_Occurred()) SWIG_fail
;
18751 Py_INCREF(Py_None
); resultobj
= Py_None
;
18752 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18753 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18754 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18755 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18762 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18763 PyObject
*resultobj
;
18764 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18765 int *arg2
= (int *) 0 ;
18766 int *arg3
= (int *) 0 ;
18771 PyObject
* obj0
= 0 ;
18772 char *kwnames
[] = {
18773 (char *) "self", NULL
18776 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18777 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
18779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18780 if (SWIG_arg_fail(1)) SWIG_fail
;
18782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18783 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
18785 wxPyEndAllowThreads(__tstate
);
18786 if (PyErr_Occurred()) SWIG_fail
;
18788 Py_INCREF(Py_None
); resultobj
= Py_None
;
18789 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18790 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18791 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18792 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18799 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18800 PyObject
*resultobj
;
18801 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18802 int *arg2
= (int *) 0 ;
18803 int *arg3
= (int *) 0 ;
18808 PyObject
* obj0
= 0 ;
18809 char *kwnames
[] = {
18810 (char *) "self", NULL
18813 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18814 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
18816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18817 if (SWIG_arg_fail(1)) SWIG_fail
;
18819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18820 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
18822 wxPyEndAllowThreads(__tstate
);
18823 if (PyErr_Occurred()) SWIG_fail
;
18825 Py_INCREF(Py_None
); resultobj
= Py_None
;
18826 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18827 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18828 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18829 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18836 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18837 PyObject
*resultobj
;
18838 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18840 PyObject
* obj0
= 0 ;
18841 char *kwnames
[] = {
18842 (char *) "self", NULL
18845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
18846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18847 if (SWIG_arg_fail(1)) SWIG_fail
;
18849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18850 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
18852 wxPyEndAllowThreads(__tstate
);
18853 if (PyErr_Occurred()) SWIG_fail
;
18856 wxSize
* resultptr
;
18857 resultptr
= new wxSize((wxSize
&)(result
));
18858 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18866 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18867 PyObject
*resultobj
;
18868 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18870 PyObject
* obj0
= 0 ;
18871 char *kwnames
[] = {
18872 (char *) "self", NULL
18875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
18876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18877 if (SWIG_arg_fail(1)) SWIG_fail
;
18879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18880 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
18882 wxPyEndAllowThreads(__tstate
);
18883 if (PyErr_Occurred()) SWIG_fail
;
18886 wxSize
* resultptr
;
18887 resultptr
= new wxSize((wxSize
&)(result
));
18888 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18896 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18897 PyObject
*resultobj
;
18898 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18899 PyObject
* obj0
= 0 ;
18900 char *kwnames
[] = {
18901 (char *) "self", NULL
18904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
18905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18906 if (SWIG_arg_fail(1)) SWIG_fail
;
18908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18909 (arg1
)->base_InitDialog();
18911 wxPyEndAllowThreads(__tstate
);
18912 if (PyErr_Occurred()) SWIG_fail
;
18914 Py_INCREF(Py_None
); resultobj
= Py_None
;
18921 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18922 PyObject
*resultobj
;
18923 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18925 PyObject
* obj0
= 0 ;
18926 char *kwnames
[] = {
18927 (char *) "self", NULL
18930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
18931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18932 if (SWIG_arg_fail(1)) SWIG_fail
;
18934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18935 result
= (bool)(arg1
)->base_TransferDataToWindow();
18937 wxPyEndAllowThreads(__tstate
);
18938 if (PyErr_Occurred()) SWIG_fail
;
18941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18949 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18950 PyObject
*resultobj
;
18951 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18953 PyObject
* obj0
= 0 ;
18954 char *kwnames
[] = {
18955 (char *) "self", NULL
18958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
18959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18960 if (SWIG_arg_fail(1)) SWIG_fail
;
18962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18963 result
= (bool)(arg1
)->base_TransferDataFromWindow();
18965 wxPyEndAllowThreads(__tstate
);
18966 if (PyErr_Occurred()) SWIG_fail
;
18969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18977 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18978 PyObject
*resultobj
;
18979 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18981 PyObject
* obj0
= 0 ;
18982 char *kwnames
[] = {
18983 (char *) "self", NULL
18986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
18987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18988 if (SWIG_arg_fail(1)) SWIG_fail
;
18990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18991 result
= (bool)(arg1
)->base_Validate();
18993 wxPyEndAllowThreads(__tstate
);
18994 if (PyErr_Occurred()) SWIG_fail
;
18997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19005 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19006 PyObject
*resultobj
;
19007 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19009 PyObject
* obj0
= 0 ;
19010 char *kwnames
[] = {
19011 (char *) "self", NULL
19014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
19015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19016 if (SWIG_arg_fail(1)) SWIG_fail
;
19018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19019 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
19021 wxPyEndAllowThreads(__tstate
);
19022 if (PyErr_Occurred()) SWIG_fail
;
19025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19033 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19034 PyObject
*resultobj
;
19035 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19037 PyObject
* obj0
= 0 ;
19038 char *kwnames
[] = {
19039 (char *) "self", NULL
19042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
19043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19044 if (SWIG_arg_fail(1)) SWIG_fail
;
19046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19047 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
19049 wxPyEndAllowThreads(__tstate
);
19050 if (PyErr_Occurred()) SWIG_fail
;
19053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19061 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19062 PyObject
*resultobj
;
19063 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19065 PyObject
* obj0
= 0 ;
19066 char *kwnames
[] = {
19067 (char *) "self", NULL
19070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
19071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19072 if (SWIG_arg_fail(1)) SWIG_fail
;
19074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19075 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
19077 wxPyEndAllowThreads(__tstate
);
19078 if (PyErr_Occurred()) SWIG_fail
;
19081 wxSize
* resultptr
;
19082 resultptr
= new wxSize((wxSize
&)(result
));
19083 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19091 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19092 PyObject
*resultobj
;
19093 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19094 wxWindow
*arg2
= (wxWindow
*) 0 ;
19095 PyObject
* obj0
= 0 ;
19096 PyObject
* obj1
= 0 ;
19097 char *kwnames
[] = {
19098 (char *) "self",(char *) "child", NULL
19101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
19102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19103 if (SWIG_arg_fail(1)) SWIG_fail
;
19104 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19105 if (SWIG_arg_fail(2)) SWIG_fail
;
19107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19108 (arg1
)->base_AddChild(arg2
);
19110 wxPyEndAllowThreads(__tstate
);
19111 if (PyErr_Occurred()) SWIG_fail
;
19113 Py_INCREF(Py_None
); resultobj
= Py_None
;
19120 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19121 PyObject
*resultobj
;
19122 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19123 wxWindow
*arg2
= (wxWindow
*) 0 ;
19124 PyObject
* obj0
= 0 ;
19125 PyObject
* obj1
= 0 ;
19126 char *kwnames
[] = {
19127 (char *) "self",(char *) "child", NULL
19130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
19131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19132 if (SWIG_arg_fail(1)) SWIG_fail
;
19133 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19134 if (SWIG_arg_fail(2)) SWIG_fail
;
19136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19137 (arg1
)->base_RemoveChild(arg2
);
19139 wxPyEndAllowThreads(__tstate
);
19140 if (PyErr_Occurred()) SWIG_fail
;
19142 Py_INCREF(Py_None
); resultobj
= Py_None
;
19149 static PyObject
*_wrap_PyPanel_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19150 PyObject
*resultobj
;
19151 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19153 PyObject
* obj0
= 0 ;
19154 char *kwnames
[] = {
19155 (char *) "self", NULL
19158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
19159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19160 if (SWIG_arg_fail(1)) SWIG_fail
;
19162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19163 result
= (bool)((wxPyPanel
const *)arg1
)->base_ShouldInheritColours();
19165 wxPyEndAllowThreads(__tstate
);
19166 if (PyErr_Occurred()) SWIG_fail
;
19169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19177 static PyObject
*_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19178 PyObject
*resultobj
;
19179 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19180 wxColour
*arg2
= 0 ;
19182 PyObject
* obj0
= 0 ;
19183 PyObject
* obj1
= 0 ;
19184 char *kwnames
[] = {
19185 (char *) "self",(char *) "c", NULL
19188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
19189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19190 if (SWIG_arg_fail(1)) SWIG_fail
;
19193 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19197 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
19199 wxPyEndAllowThreads(__tstate
);
19200 if (PyErr_Occurred()) SWIG_fail
;
19202 Py_INCREF(Py_None
); resultobj
= Py_None
;
19209 static PyObject
*_wrap_PyPanel_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19210 PyObject
*resultobj
;
19211 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19212 wxVisualAttributes result
;
19213 PyObject
* obj0
= 0 ;
19214 char *kwnames
[] = {
19215 (char *) "self", NULL
19218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
19219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19220 if (SWIG_arg_fail(1)) SWIG_fail
;
19222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19223 result
= (arg1
)->base_GetDefaultAttributes();
19225 wxPyEndAllowThreads(__tstate
);
19226 if (PyErr_Occurred()) SWIG_fail
;
19229 wxVisualAttributes
* resultptr
;
19230 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
19231 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
19239 static PyObject
* PyPanel_swigregister(PyObject
*, PyObject
*args
) {
19241 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19242 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
19244 return Py_BuildValue((char *)"");
19246 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19247 PyObject
*resultobj
;
19248 wxWindow
*arg1
= (wxWindow
*) 0 ;
19249 int arg2
= (int) (int)-1 ;
19250 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19251 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19252 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19253 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19254 long arg5
= (long) 0 ;
19255 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
19256 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
19257 wxPyScrolledWindow
*result
;
19260 bool temp6
= false ;
19261 PyObject
* obj0
= 0 ;
19262 PyObject
* obj1
= 0 ;
19263 PyObject
* obj2
= 0 ;
19264 PyObject
* obj3
= 0 ;
19265 PyObject
* obj4
= 0 ;
19266 PyObject
* obj5
= 0 ;
19267 char *kwnames
[] = {
19268 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19273 if (SWIG_arg_fail(1)) SWIG_fail
;
19276 arg2
= (int const)(SWIG_As_int(obj1
));
19277 if (SWIG_arg_fail(2)) SWIG_fail
;
19283 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19289 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19294 arg5
= (long)(SWIG_As_long(obj4
));
19295 if (SWIG_arg_fail(5)) SWIG_fail
;
19300 arg6
= wxString_in_helper(obj5
);
19301 if (arg6
== NULL
) SWIG_fail
;
19306 if (!wxPyCheckForApp()) SWIG_fail
;
19307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19308 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
19310 wxPyEndAllowThreads(__tstate
);
19311 if (PyErr_Occurred()) SWIG_fail
;
19313 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
19328 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19329 PyObject
*resultobj
;
19330 wxPyScrolledWindow
*result
;
19331 char *kwnames
[] = {
19335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
19337 if (!wxPyCheckForApp()) SWIG_fail
;
19338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19339 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
19341 wxPyEndAllowThreads(__tstate
);
19342 if (PyErr_Occurred()) SWIG_fail
;
19344 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
19351 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19352 PyObject
*resultobj
;
19353 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19354 PyObject
*arg2
= (PyObject
*) 0 ;
19355 PyObject
*arg3
= (PyObject
*) 0 ;
19356 PyObject
* obj0
= 0 ;
19357 PyObject
* obj1
= 0 ;
19358 PyObject
* obj2
= 0 ;
19359 char *kwnames
[] = {
19360 (char *) "self",(char *) "self",(char *) "_class", NULL
19363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19365 if (SWIG_arg_fail(1)) SWIG_fail
;
19369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19370 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19372 wxPyEndAllowThreads(__tstate
);
19373 if (PyErr_Occurred()) SWIG_fail
;
19375 Py_INCREF(Py_None
); resultobj
= Py_None
;
19382 static PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19383 PyObject
*resultobj
;
19384 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19387 PyObject
* obj0
= 0 ;
19388 PyObject
* obj1
= 0 ;
19389 char *kwnames
[] = {
19390 (char *) "self",(char *) "size", NULL
19393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19395 if (SWIG_arg_fail(1)) SWIG_fail
;
19398 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19402 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
19404 wxPyEndAllowThreads(__tstate
);
19405 if (PyErr_Occurred()) SWIG_fail
;
19407 Py_INCREF(Py_None
); resultobj
= Py_None
;
19414 static PyObject
*_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19415 PyObject
*resultobj
;
19416 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19421 PyObject
* obj0
= 0 ;
19422 PyObject
* obj1
= 0 ;
19423 PyObject
* obj2
= 0 ;
19424 PyObject
* obj3
= 0 ;
19425 PyObject
* obj4
= 0 ;
19426 char *kwnames
[] = {
19427 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19432 if (SWIG_arg_fail(1)) SWIG_fail
;
19434 arg2
= (int)(SWIG_As_int(obj1
));
19435 if (SWIG_arg_fail(2)) SWIG_fail
;
19438 arg3
= (int)(SWIG_As_int(obj2
));
19439 if (SWIG_arg_fail(3)) SWIG_fail
;
19442 arg4
= (int)(SWIG_As_int(obj3
));
19443 if (SWIG_arg_fail(4)) SWIG_fail
;
19446 arg5
= (int)(SWIG_As_int(obj4
));
19447 if (SWIG_arg_fail(5)) SWIG_fail
;
19450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19451 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
19453 wxPyEndAllowThreads(__tstate
);
19454 if (PyErr_Occurred()) SWIG_fail
;
19456 Py_INCREF(Py_None
); resultobj
= Py_None
;
19463 static PyObject
*_wrap_PyScrolledWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19464 PyObject
*resultobj
;
19465 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19470 int arg6
= (int) wxSIZE_AUTO
;
19471 PyObject
* obj0
= 0 ;
19472 PyObject
* obj1
= 0 ;
19473 PyObject
* obj2
= 0 ;
19474 PyObject
* obj3
= 0 ;
19475 PyObject
* obj4
= 0 ;
19476 PyObject
* obj5
= 0 ;
19477 char *kwnames
[] = {
19478 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19483 if (SWIG_arg_fail(1)) SWIG_fail
;
19485 arg2
= (int)(SWIG_As_int(obj1
));
19486 if (SWIG_arg_fail(2)) SWIG_fail
;
19489 arg3
= (int)(SWIG_As_int(obj2
));
19490 if (SWIG_arg_fail(3)) SWIG_fail
;
19493 arg4
= (int)(SWIG_As_int(obj3
));
19494 if (SWIG_arg_fail(4)) SWIG_fail
;
19497 arg5
= (int)(SWIG_As_int(obj4
));
19498 if (SWIG_arg_fail(5)) SWIG_fail
;
19502 arg6
= (int)(SWIG_As_int(obj5
));
19503 if (SWIG_arg_fail(6)) SWIG_fail
;
19507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19508 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
19510 wxPyEndAllowThreads(__tstate
);
19511 if (PyErr_Occurred()) SWIG_fail
;
19513 Py_INCREF(Py_None
); resultobj
= Py_None
;
19520 static PyObject
*_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19521 PyObject
*resultobj
;
19522 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19525 PyObject
* obj0
= 0 ;
19526 PyObject
* obj1
= 0 ;
19527 PyObject
* obj2
= 0 ;
19528 char *kwnames
[] = {
19529 (char *) "self",(char *) "width",(char *) "height", NULL
19532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19534 if (SWIG_arg_fail(1)) SWIG_fail
;
19536 arg2
= (int)(SWIG_As_int(obj1
));
19537 if (SWIG_arg_fail(2)) SWIG_fail
;
19540 arg3
= (int)(SWIG_As_int(obj2
));
19541 if (SWIG_arg_fail(3)) SWIG_fail
;
19544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19545 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
19547 wxPyEndAllowThreads(__tstate
);
19548 if (PyErr_Occurred()) SWIG_fail
;
19550 Py_INCREF(Py_None
); resultobj
= Py_None
;
19557 static PyObject
*_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19558 PyObject
*resultobj
;
19559 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19562 PyObject
* obj0
= 0 ;
19563 PyObject
* obj1
= 0 ;
19564 PyObject
* obj2
= 0 ;
19565 char *kwnames
[] = {
19566 (char *) "self",(char *) "x",(char *) "y", NULL
19569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19571 if (SWIG_arg_fail(1)) SWIG_fail
;
19573 arg2
= (int)(SWIG_As_int(obj1
));
19574 if (SWIG_arg_fail(2)) SWIG_fail
;
19577 arg3
= (int)(SWIG_As_int(obj2
));
19578 if (SWIG_arg_fail(3)) SWIG_fail
;
19581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19582 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
19584 wxPyEndAllowThreads(__tstate
);
19585 if (PyErr_Occurred()) SWIG_fail
;
19587 Py_INCREF(Py_None
); resultobj
= Py_None
;
19594 static PyObject
*_wrap_PyScrolledWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19595 PyObject
*resultobj
;
19596 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19597 int *arg2
= (int *) 0 ;
19598 int *arg3
= (int *) 0 ;
19603 PyObject
* obj0
= 0 ;
19604 char *kwnames
[] = {
19605 (char *) "self", NULL
19608 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19609 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
19611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19612 if (SWIG_arg_fail(1)) SWIG_fail
;
19614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19615 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
19617 wxPyEndAllowThreads(__tstate
);
19618 if (PyErr_Occurred()) SWIG_fail
;
19620 Py_INCREF(Py_None
); resultobj
= Py_None
;
19621 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19622 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19623 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19624 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19631 static PyObject
*_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19632 PyObject
*resultobj
;
19633 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19634 int *arg2
= (int *) 0 ;
19635 int *arg3
= (int *) 0 ;
19640 PyObject
* obj0
= 0 ;
19641 char *kwnames
[] = {
19642 (char *) "self", NULL
19645 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19646 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
19648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19649 if (SWIG_arg_fail(1)) SWIG_fail
;
19651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19652 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
19654 wxPyEndAllowThreads(__tstate
);
19655 if (PyErr_Occurred()) SWIG_fail
;
19657 Py_INCREF(Py_None
); resultobj
= Py_None
;
19658 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19659 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19660 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19661 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19668 static PyObject
*_wrap_PyScrolledWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19669 PyObject
*resultobj
;
19670 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19671 int *arg2
= (int *) 0 ;
19672 int *arg3
= (int *) 0 ;
19677 PyObject
* obj0
= 0 ;
19678 char *kwnames
[] = {
19679 (char *) "self", NULL
19682 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19683 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
19685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19686 if (SWIG_arg_fail(1)) SWIG_fail
;
19688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19689 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
19691 wxPyEndAllowThreads(__tstate
);
19692 if (PyErr_Occurred()) SWIG_fail
;
19694 Py_INCREF(Py_None
); resultobj
= Py_None
;
19695 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19696 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19697 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19698 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19705 static PyObject
*_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19706 PyObject
*resultobj
;
19707 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19709 PyObject
* obj0
= 0 ;
19710 char *kwnames
[] = {
19711 (char *) "self", NULL
19714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
19715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19716 if (SWIG_arg_fail(1)) SWIG_fail
;
19718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19719 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetVirtualSize();
19721 wxPyEndAllowThreads(__tstate
);
19722 if (PyErr_Occurred()) SWIG_fail
;
19725 wxSize
* resultptr
;
19726 resultptr
= new wxSize((wxSize
&)(result
));
19727 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19735 static PyObject
*_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19736 PyObject
*resultobj
;
19737 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19739 PyObject
* obj0
= 0 ;
19740 char *kwnames
[] = {
19741 (char *) "self", NULL
19744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
19745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19746 if (SWIG_arg_fail(1)) SWIG_fail
;
19748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19749 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetBestSize();
19751 wxPyEndAllowThreads(__tstate
);
19752 if (PyErr_Occurred()) SWIG_fail
;
19755 wxSize
* resultptr
;
19756 resultptr
= new wxSize((wxSize
&)(result
));
19757 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19765 static PyObject
*_wrap_PyScrolledWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19766 PyObject
*resultobj
;
19767 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19768 PyObject
* obj0
= 0 ;
19769 char *kwnames
[] = {
19770 (char *) "self", NULL
19773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
19774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19775 if (SWIG_arg_fail(1)) SWIG_fail
;
19777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19778 (arg1
)->base_InitDialog();
19780 wxPyEndAllowThreads(__tstate
);
19781 if (PyErr_Occurred()) SWIG_fail
;
19783 Py_INCREF(Py_None
); resultobj
= Py_None
;
19790 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19791 PyObject
*resultobj
;
19792 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19794 PyObject
* obj0
= 0 ;
19795 char *kwnames
[] = {
19796 (char *) "self", NULL
19799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
19800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19801 if (SWIG_arg_fail(1)) SWIG_fail
;
19803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19804 result
= (bool)(arg1
)->base_TransferDataToWindow();
19806 wxPyEndAllowThreads(__tstate
);
19807 if (PyErr_Occurred()) SWIG_fail
;
19810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19818 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19819 PyObject
*resultobj
;
19820 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19822 PyObject
* obj0
= 0 ;
19823 char *kwnames
[] = {
19824 (char *) "self", NULL
19827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
19828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19829 if (SWIG_arg_fail(1)) SWIG_fail
;
19831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19832 result
= (bool)(arg1
)->base_TransferDataFromWindow();
19834 wxPyEndAllowThreads(__tstate
);
19835 if (PyErr_Occurred()) SWIG_fail
;
19838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19846 static PyObject
*_wrap_PyScrolledWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19847 PyObject
*resultobj
;
19848 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19850 PyObject
* obj0
= 0 ;
19851 char *kwnames
[] = {
19852 (char *) "self", NULL
19855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
19856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19857 if (SWIG_arg_fail(1)) SWIG_fail
;
19859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19860 result
= (bool)(arg1
)->base_Validate();
19862 wxPyEndAllowThreads(__tstate
);
19863 if (PyErr_Occurred()) SWIG_fail
;
19866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19874 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19875 PyObject
*resultobj
;
19876 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19878 PyObject
* obj0
= 0 ;
19879 char *kwnames
[] = {
19880 (char *) "self", NULL
19883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
19884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19885 if (SWIG_arg_fail(1)) SWIG_fail
;
19887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19888 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocus();
19890 wxPyEndAllowThreads(__tstate
);
19891 if (PyErr_Occurred()) SWIG_fail
;
19894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19902 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19903 PyObject
*resultobj
;
19904 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19906 PyObject
* obj0
= 0 ;
19907 char *kwnames
[] = {
19908 (char *) "self", NULL
19911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
19912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19913 if (SWIG_arg_fail(1)) SWIG_fail
;
19915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19916 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
19918 wxPyEndAllowThreads(__tstate
);
19919 if (PyErr_Occurred()) SWIG_fail
;
19922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19930 static PyObject
*_wrap_PyScrolledWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19931 PyObject
*resultobj
;
19932 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19934 PyObject
* obj0
= 0 ;
19935 char *kwnames
[] = {
19936 (char *) "self", NULL
19939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
19940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19941 if (SWIG_arg_fail(1)) SWIG_fail
;
19943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19944 result
= ((wxPyScrolledWindow
const *)arg1
)->base_GetMaxSize();
19946 wxPyEndAllowThreads(__tstate
);
19947 if (PyErr_Occurred()) SWIG_fail
;
19950 wxSize
* resultptr
;
19951 resultptr
= new wxSize((wxSize
&)(result
));
19952 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19960 static PyObject
*_wrap_PyScrolledWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19961 PyObject
*resultobj
;
19962 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19963 wxWindow
*arg2
= (wxWindow
*) 0 ;
19964 PyObject
* obj0
= 0 ;
19965 PyObject
* obj1
= 0 ;
19966 char *kwnames
[] = {
19967 (char *) "self",(char *) "child", NULL
19970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
19971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19972 if (SWIG_arg_fail(1)) SWIG_fail
;
19973 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19974 if (SWIG_arg_fail(2)) SWIG_fail
;
19976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19977 (arg1
)->base_AddChild(arg2
);
19979 wxPyEndAllowThreads(__tstate
);
19980 if (PyErr_Occurred()) SWIG_fail
;
19982 Py_INCREF(Py_None
); resultobj
= Py_None
;
19989 static PyObject
*_wrap_PyScrolledWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19990 PyObject
*resultobj
;
19991 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19992 wxWindow
*arg2
= (wxWindow
*) 0 ;
19993 PyObject
* obj0
= 0 ;
19994 PyObject
* obj1
= 0 ;
19995 char *kwnames
[] = {
19996 (char *) "self",(char *) "child", NULL
19999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
20000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20001 if (SWIG_arg_fail(1)) SWIG_fail
;
20002 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20003 if (SWIG_arg_fail(2)) SWIG_fail
;
20005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20006 (arg1
)->base_RemoveChild(arg2
);
20008 wxPyEndAllowThreads(__tstate
);
20009 if (PyErr_Occurred()) SWIG_fail
;
20011 Py_INCREF(Py_None
); resultobj
= Py_None
;
20018 static PyObject
*_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20019 PyObject
*resultobj
;
20020 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20022 PyObject
* obj0
= 0 ;
20023 char *kwnames
[] = {
20024 (char *) "self", NULL
20027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
20028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20029 if (SWIG_arg_fail(1)) SWIG_fail
;
20031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20032 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_ShouldInheritColours();
20034 wxPyEndAllowThreads(__tstate
);
20035 if (PyErr_Occurred()) SWIG_fail
;
20038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20046 static PyObject
*_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20047 PyObject
*resultobj
;
20048 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20049 wxColour
*arg2
= 0 ;
20051 PyObject
* obj0
= 0 ;
20052 PyObject
* obj1
= 0 ;
20053 char *kwnames
[] = {
20054 (char *) "self",(char *) "c", NULL
20057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
20058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20059 if (SWIG_arg_fail(1)) SWIG_fail
;
20062 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20066 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
20068 wxPyEndAllowThreads(__tstate
);
20069 if (PyErr_Occurred()) SWIG_fail
;
20071 Py_INCREF(Py_None
); resultobj
= Py_None
;
20078 static PyObject
*_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20079 PyObject
*resultobj
;
20080 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20081 wxVisualAttributes result
;
20082 PyObject
* obj0
= 0 ;
20083 char *kwnames
[] = {
20084 (char *) "self", NULL
20087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
20088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20089 if (SWIG_arg_fail(1)) SWIG_fail
;
20091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20092 result
= (arg1
)->base_GetDefaultAttributes();
20094 wxPyEndAllowThreads(__tstate
);
20095 if (PyErr_Occurred()) SWIG_fail
;
20098 wxVisualAttributes
* resultptr
;
20099 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
20100 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
20108 static PyObject
* PyScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
20110 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20111 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
20113 return Py_BuildValue((char *)"");
20115 static int _wrap_PrintoutTitleStr_set(PyObject
*) {
20116 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
20121 static PyObject
*_wrap_PrintoutTitleStr_get(void) {
20126 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
20128 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
20135 static int _wrap_PreviewCanvasNameStr_set(PyObject
*) {
20136 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
20141 static PyObject
*_wrap_PreviewCanvasNameStr_get(void) {
20146 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
20148 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
20155 static PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*, PyObject
*args
) {
20156 PyObject
*resultobj
;
20157 wxPrintData
*result
;
20159 if(!PyArg_ParseTuple(args
,(char *)":new_PrintData")) goto fail
;
20161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20162 result
= (wxPrintData
*)new wxPrintData();
20164 wxPyEndAllowThreads(__tstate
);
20165 if (PyErr_Occurred()) SWIG_fail
;
20167 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
20174 static PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*, PyObject
*args
) {
20175 PyObject
*resultobj
;
20176 wxPrintData
*arg1
= 0 ;
20177 wxPrintData
*result
;
20178 PyObject
* obj0
= 0 ;
20180 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintData",&obj0
)) goto fail
;
20182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20183 if (SWIG_arg_fail(1)) SWIG_fail
;
20184 if (arg1
== NULL
) {
20185 SWIG_null_ref("wxPrintData");
20187 if (SWIG_arg_fail(1)) SWIG_fail
;
20190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20191 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
20193 wxPyEndAllowThreads(__tstate
);
20194 if (PyErr_Occurred()) SWIG_fail
;
20196 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
20203 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
20208 argc
= PyObject_Length(args
);
20209 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
20210 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20213 return _wrap_new_PrintData__SWIG_0(self
,args
);
20219 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
20227 return _wrap_new_PrintData__SWIG_1(self
,args
);
20231 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
20236 static PyObject
*_wrap_delete_PrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20237 PyObject
*resultobj
;
20238 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20239 PyObject
* obj0
= 0 ;
20240 char *kwnames
[] = {
20241 (char *) "self", NULL
20244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
20245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20246 if (SWIG_arg_fail(1)) SWIG_fail
;
20248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20251 wxPyEndAllowThreads(__tstate
);
20252 if (PyErr_Occurred()) SWIG_fail
;
20254 Py_INCREF(Py_None
); resultobj
= Py_None
;
20261 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20262 PyObject
*resultobj
;
20263 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20265 PyObject
* obj0
= 0 ;
20266 char *kwnames
[] = {
20267 (char *) "self", NULL
20270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
20271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20272 if (SWIG_arg_fail(1)) SWIG_fail
;
20274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20275 result
= (int)(arg1
)->GetNoCopies();
20277 wxPyEndAllowThreads(__tstate
);
20278 if (PyErr_Occurred()) SWIG_fail
;
20281 resultobj
= SWIG_From_int((int)(result
));
20289 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20290 PyObject
*resultobj
;
20291 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20293 PyObject
* obj0
= 0 ;
20294 char *kwnames
[] = {
20295 (char *) "self", NULL
20298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
20299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20300 if (SWIG_arg_fail(1)) SWIG_fail
;
20302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20303 result
= (bool)(arg1
)->GetCollate();
20305 wxPyEndAllowThreads(__tstate
);
20306 if (PyErr_Occurred()) SWIG_fail
;
20309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20317 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20318 PyObject
*resultobj
;
20319 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20321 PyObject
* obj0
= 0 ;
20322 char *kwnames
[] = {
20323 (char *) "self", NULL
20326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
20327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20328 if (SWIG_arg_fail(1)) SWIG_fail
;
20330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20331 result
= (int)(arg1
)->GetOrientation();
20333 wxPyEndAllowThreads(__tstate
);
20334 if (PyErr_Occurred()) SWIG_fail
;
20337 resultobj
= SWIG_From_int((int)(result
));
20345 static PyObject
*_wrap_PrintData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20346 PyObject
*resultobj
;
20347 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20349 PyObject
* obj0
= 0 ;
20350 char *kwnames
[] = {
20351 (char *) "self", NULL
20354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
20355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20356 if (SWIG_arg_fail(1)) SWIG_fail
;
20358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20359 result
= (bool)(arg1
)->Ok();
20361 wxPyEndAllowThreads(__tstate
);
20362 if (PyErr_Occurred()) SWIG_fail
;
20365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20373 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20374 PyObject
*resultobj
;
20375 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20377 PyObject
* obj0
= 0 ;
20378 char *kwnames
[] = {
20379 (char *) "self", NULL
20382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
20383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20384 if (SWIG_arg_fail(1)) SWIG_fail
;
20386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20388 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
20389 result
= (wxString
*) &_result_ref
;
20392 wxPyEndAllowThreads(__tstate
);
20393 if (PyErr_Occurred()) SWIG_fail
;
20397 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20399 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20408 static PyObject
*_wrap_PrintData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20409 PyObject
*resultobj
;
20410 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20412 PyObject
* obj0
= 0 ;
20413 char *kwnames
[] = {
20414 (char *) "self", NULL
20417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
20418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20419 if (SWIG_arg_fail(1)) SWIG_fail
;
20421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20422 result
= (bool)(arg1
)->GetColour();
20424 wxPyEndAllowThreads(__tstate
);
20425 if (PyErr_Occurred()) SWIG_fail
;
20428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20436 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20437 PyObject
*resultobj
;
20438 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20439 wxDuplexMode result
;
20440 PyObject
* obj0
= 0 ;
20441 char *kwnames
[] = {
20442 (char *) "self", NULL
20445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
20446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20447 if (SWIG_arg_fail(1)) SWIG_fail
;
20449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20450 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
20452 wxPyEndAllowThreads(__tstate
);
20453 if (PyErr_Occurred()) SWIG_fail
;
20455 resultobj
= SWIG_From_int((result
));
20462 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20463 PyObject
*resultobj
;
20464 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20465 wxPaperSize result
;
20466 PyObject
* obj0
= 0 ;
20467 char *kwnames
[] = {
20468 (char *) "self", NULL
20471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
20472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20473 if (SWIG_arg_fail(1)) SWIG_fail
;
20475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20476 result
= (wxPaperSize
)(arg1
)->GetPaperId();
20478 wxPyEndAllowThreads(__tstate
);
20479 if (PyErr_Occurred()) SWIG_fail
;
20481 resultobj
= SWIG_From_int((result
));
20488 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20489 PyObject
*resultobj
;
20490 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20492 PyObject
* obj0
= 0 ;
20493 char *kwnames
[] = {
20494 (char *) "self", NULL
20497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
20498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20499 if (SWIG_arg_fail(1)) SWIG_fail
;
20501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20503 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
20504 result
= (wxSize
*) &_result_ref
;
20507 wxPyEndAllowThreads(__tstate
);
20508 if (PyErr_Occurred()) SWIG_fail
;
20510 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
20517 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20518 PyObject
*resultobj
;
20519 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20521 PyObject
* obj0
= 0 ;
20522 char *kwnames
[] = {
20523 (char *) "self", NULL
20526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
20527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20528 if (SWIG_arg_fail(1)) SWIG_fail
;
20530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20531 result
= (int)(arg1
)->GetQuality();
20533 wxPyEndAllowThreads(__tstate
);
20534 if (PyErr_Occurred()) SWIG_fail
;
20537 resultobj
= SWIG_From_int((int)(result
));
20545 static PyObject
*_wrap_PrintData_GetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20546 PyObject
*resultobj
;
20547 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20549 PyObject
* obj0
= 0 ;
20550 char *kwnames
[] = {
20551 (char *) "self", NULL
20554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetBin",kwnames
,&obj0
)) goto fail
;
20555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20556 if (SWIG_arg_fail(1)) SWIG_fail
;
20558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20559 result
= (wxPrintBin
)(arg1
)->GetBin();
20561 wxPyEndAllowThreads(__tstate
);
20562 if (PyErr_Occurred()) SWIG_fail
;
20564 resultobj
= SWIG_From_int((result
));
20571 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20572 PyObject
*resultobj
;
20573 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20574 wxPrintMode result
;
20575 PyObject
* obj0
= 0 ;
20576 char *kwnames
[] = {
20577 (char *) "self", NULL
20580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
20581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20582 if (SWIG_arg_fail(1)) SWIG_fail
;
20584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20585 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
20587 wxPyEndAllowThreads(__tstate
);
20588 if (PyErr_Occurred()) SWIG_fail
;
20590 resultobj
= SWIG_From_int((result
));
20597 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20598 PyObject
*resultobj
;
20599 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20601 PyObject
* obj0
= 0 ;
20602 PyObject
* obj1
= 0 ;
20603 char *kwnames
[] = {
20604 (char *) "self",(char *) "v", NULL
20607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
20608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20609 if (SWIG_arg_fail(1)) SWIG_fail
;
20611 arg2
= (int)(SWIG_As_int(obj1
));
20612 if (SWIG_arg_fail(2)) SWIG_fail
;
20615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20616 (arg1
)->SetNoCopies(arg2
);
20618 wxPyEndAllowThreads(__tstate
);
20619 if (PyErr_Occurred()) SWIG_fail
;
20621 Py_INCREF(Py_None
); resultobj
= Py_None
;
20628 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20629 PyObject
*resultobj
;
20630 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20632 PyObject
* obj0
= 0 ;
20633 PyObject
* obj1
= 0 ;
20634 char *kwnames
[] = {
20635 (char *) "self",(char *) "flag", NULL
20638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
20639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20640 if (SWIG_arg_fail(1)) SWIG_fail
;
20642 arg2
= (bool)(SWIG_As_bool(obj1
));
20643 if (SWIG_arg_fail(2)) SWIG_fail
;
20646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20647 (arg1
)->SetCollate(arg2
);
20649 wxPyEndAllowThreads(__tstate
);
20650 if (PyErr_Occurred()) SWIG_fail
;
20652 Py_INCREF(Py_None
); resultobj
= Py_None
;
20659 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20660 PyObject
*resultobj
;
20661 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20663 PyObject
* obj0
= 0 ;
20664 PyObject
* obj1
= 0 ;
20665 char *kwnames
[] = {
20666 (char *) "self",(char *) "orient", NULL
20669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
20670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20671 if (SWIG_arg_fail(1)) SWIG_fail
;
20673 arg2
= (int)(SWIG_As_int(obj1
));
20674 if (SWIG_arg_fail(2)) SWIG_fail
;
20677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20678 (arg1
)->SetOrientation(arg2
);
20680 wxPyEndAllowThreads(__tstate
);
20681 if (PyErr_Occurred()) SWIG_fail
;
20683 Py_INCREF(Py_None
); resultobj
= Py_None
;
20690 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20691 PyObject
*resultobj
;
20692 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20693 wxString
*arg2
= 0 ;
20694 bool temp2
= false ;
20695 PyObject
* obj0
= 0 ;
20696 PyObject
* obj1
= 0 ;
20697 char *kwnames
[] = {
20698 (char *) "self",(char *) "name", NULL
20701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
20702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20703 if (SWIG_arg_fail(1)) SWIG_fail
;
20705 arg2
= wxString_in_helper(obj1
);
20706 if (arg2
== NULL
) SWIG_fail
;
20710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20711 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
20713 wxPyEndAllowThreads(__tstate
);
20714 if (PyErr_Occurred()) SWIG_fail
;
20716 Py_INCREF(Py_None
); resultobj
= Py_None
;
20731 static PyObject
*_wrap_PrintData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20732 PyObject
*resultobj
;
20733 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20735 PyObject
* obj0
= 0 ;
20736 PyObject
* obj1
= 0 ;
20737 char *kwnames
[] = {
20738 (char *) "self",(char *) "colour", NULL
20741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20743 if (SWIG_arg_fail(1)) SWIG_fail
;
20745 arg2
= (bool)(SWIG_As_bool(obj1
));
20746 if (SWIG_arg_fail(2)) SWIG_fail
;
20749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20750 (arg1
)->SetColour(arg2
);
20752 wxPyEndAllowThreads(__tstate
);
20753 if (PyErr_Occurred()) SWIG_fail
;
20755 Py_INCREF(Py_None
); resultobj
= Py_None
;
20762 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20763 PyObject
*resultobj
;
20764 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20765 wxDuplexMode arg2
;
20766 PyObject
* obj0
= 0 ;
20767 PyObject
* obj1
= 0 ;
20768 char *kwnames
[] = {
20769 (char *) "self",(char *) "duplex", NULL
20772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
20773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20774 if (SWIG_arg_fail(1)) SWIG_fail
;
20776 arg2
= (wxDuplexMode
)(SWIG_As_int(obj1
));
20777 if (SWIG_arg_fail(2)) SWIG_fail
;
20780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20781 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
20783 wxPyEndAllowThreads(__tstate
);
20784 if (PyErr_Occurred()) SWIG_fail
;
20786 Py_INCREF(Py_None
); resultobj
= Py_None
;
20793 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20794 PyObject
*resultobj
;
20795 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20797 PyObject
* obj0
= 0 ;
20798 PyObject
* obj1
= 0 ;
20799 char *kwnames
[] = {
20800 (char *) "self",(char *) "sizeId", NULL
20803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
20804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20805 if (SWIG_arg_fail(1)) SWIG_fail
;
20807 arg2
= (wxPaperSize
)(SWIG_As_int(obj1
));
20808 if (SWIG_arg_fail(2)) SWIG_fail
;
20811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20812 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
20814 wxPyEndAllowThreads(__tstate
);
20815 if (PyErr_Occurred()) SWIG_fail
;
20817 Py_INCREF(Py_None
); resultobj
= Py_None
;
20824 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20825 PyObject
*resultobj
;
20826 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20829 PyObject
* obj0
= 0 ;
20830 PyObject
* obj1
= 0 ;
20831 char *kwnames
[] = {
20832 (char *) "self",(char *) "sz", NULL
20835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20837 if (SWIG_arg_fail(1)) SWIG_fail
;
20840 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20844 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
20846 wxPyEndAllowThreads(__tstate
);
20847 if (PyErr_Occurred()) SWIG_fail
;
20849 Py_INCREF(Py_None
); resultobj
= Py_None
;
20856 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20857 PyObject
*resultobj
;
20858 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20860 PyObject
* obj0
= 0 ;
20861 PyObject
* obj1
= 0 ;
20862 char *kwnames
[] = {
20863 (char *) "self",(char *) "quality", NULL
20866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
20867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20868 if (SWIG_arg_fail(1)) SWIG_fail
;
20870 arg2
= (int)(SWIG_As_int(obj1
));
20871 if (SWIG_arg_fail(2)) SWIG_fail
;
20874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20875 (arg1
)->SetQuality(arg2
);
20877 wxPyEndAllowThreads(__tstate
);
20878 if (PyErr_Occurred()) SWIG_fail
;
20880 Py_INCREF(Py_None
); resultobj
= Py_None
;
20887 static PyObject
*_wrap_PrintData_SetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20888 PyObject
*resultobj
;
20889 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20891 PyObject
* obj0
= 0 ;
20892 PyObject
* obj1
= 0 ;
20893 char *kwnames
[] = {
20894 (char *) "self",(char *) "bin", NULL
20897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) goto fail
;
20898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20899 if (SWIG_arg_fail(1)) SWIG_fail
;
20901 arg2
= (wxPrintBin
)(SWIG_As_int(obj1
));
20902 if (SWIG_arg_fail(2)) SWIG_fail
;
20905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20906 (arg1
)->SetBin((wxPrintBin
)arg2
);
20908 wxPyEndAllowThreads(__tstate
);
20909 if (PyErr_Occurred()) SWIG_fail
;
20911 Py_INCREF(Py_None
); resultobj
= Py_None
;
20918 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20919 PyObject
*resultobj
;
20920 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20922 PyObject
* obj0
= 0 ;
20923 PyObject
* obj1
= 0 ;
20924 char *kwnames
[] = {
20925 (char *) "self",(char *) "printMode", NULL
20928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20930 if (SWIG_arg_fail(1)) SWIG_fail
;
20932 arg2
= (wxPrintMode
)(SWIG_As_int(obj1
));
20933 if (SWIG_arg_fail(2)) SWIG_fail
;
20936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20937 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
20939 wxPyEndAllowThreads(__tstate
);
20940 if (PyErr_Occurred()) SWIG_fail
;
20942 Py_INCREF(Py_None
); resultobj
= Py_None
;
20949 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20950 PyObject
*resultobj
;
20951 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20953 PyObject
* obj0
= 0 ;
20954 char *kwnames
[] = {
20955 (char *) "self", NULL
20958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
20959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20960 if (SWIG_arg_fail(1)) SWIG_fail
;
20962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20963 result
= ((wxPrintData
const *)arg1
)->GetFilename();
20965 wxPyEndAllowThreads(__tstate
);
20966 if (PyErr_Occurred()) SWIG_fail
;
20970 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20972 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20981 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20982 PyObject
*resultobj
;
20983 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20984 wxString
*arg2
= 0 ;
20985 bool temp2
= false ;
20986 PyObject
* obj0
= 0 ;
20987 PyObject
* obj1
= 0 ;
20988 char *kwnames
[] = {
20989 (char *) "self",(char *) "filename", NULL
20992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
20993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20994 if (SWIG_arg_fail(1)) SWIG_fail
;
20996 arg2
= wxString_in_helper(obj1
);
20997 if (arg2
== NULL
) SWIG_fail
;
21001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21002 (arg1
)->SetFilename((wxString
const &)*arg2
);
21004 wxPyEndAllowThreads(__tstate
);
21005 if (PyErr_Occurred()) SWIG_fail
;
21007 Py_INCREF(Py_None
); resultobj
= Py_None
;
21022 static PyObject
*_wrap_PrintData_GetPrivData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21023 PyObject
*resultobj
;
21024 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21026 PyObject
* obj0
= 0 ;
21027 char *kwnames
[] = {
21028 (char *) "self", NULL
21031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrivData",kwnames
,&obj0
)) goto fail
;
21032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21033 if (SWIG_arg_fail(1)) SWIG_fail
;
21035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21036 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
21038 wxPyEndAllowThreads(__tstate
);
21039 if (PyErr_Occurred()) SWIG_fail
;
21041 resultobj
= result
;
21048 static PyObject
*_wrap_PrintData_SetPrivData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21049 PyObject
*resultobj
;
21050 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21051 PyObject
*arg2
= (PyObject
*) 0 ;
21052 PyObject
* obj0
= 0 ;
21053 PyObject
* obj1
= 0 ;
21054 char *kwnames
[] = {
21055 (char *) "self",(char *) "data", NULL
21058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) goto fail
;
21059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21060 if (SWIG_arg_fail(1)) SWIG_fail
;
21063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21064 wxPrintData_SetPrivData(arg1
,arg2
);
21066 wxPyEndAllowThreads(__tstate
);
21067 if (PyErr_Occurred()) SWIG_fail
;
21069 Py_INCREF(Py_None
); resultobj
= Py_None
;
21076 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21077 PyObject
*resultobj
;
21078 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21080 PyObject
* obj0
= 0 ;
21081 char *kwnames
[] = {
21082 (char *) "self", NULL
21085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
21086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21087 if (SWIG_arg_fail(1)) SWIG_fail
;
21089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21091 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
21092 result
= (wxString
*) &_result_ref
;
21095 wxPyEndAllowThreads(__tstate
);
21096 if (PyErr_Occurred()) SWIG_fail
;
21100 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21102 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21111 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21112 PyObject
*resultobj
;
21113 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21115 PyObject
* obj0
= 0 ;
21116 char *kwnames
[] = {
21117 (char *) "self", NULL
21120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
21121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21122 if (SWIG_arg_fail(1)) SWIG_fail
;
21124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21126 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
21127 result
= (wxString
*) &_result_ref
;
21130 wxPyEndAllowThreads(__tstate
);
21131 if (PyErr_Occurred()) SWIG_fail
;
21135 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21137 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21146 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21147 PyObject
*resultobj
;
21148 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21150 PyObject
* obj0
= 0 ;
21151 char *kwnames
[] = {
21152 (char *) "self", NULL
21155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
21156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21157 if (SWIG_arg_fail(1)) SWIG_fail
;
21159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21161 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
21162 result
= (wxString
*) &_result_ref
;
21165 wxPyEndAllowThreads(__tstate
);
21166 if (PyErr_Occurred()) SWIG_fail
;
21170 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21172 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21181 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21182 PyObject
*resultobj
;
21183 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21185 PyObject
* obj0
= 0 ;
21186 char *kwnames
[] = {
21187 (char *) "self", NULL
21190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
21191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21192 if (SWIG_arg_fail(1)) SWIG_fail
;
21194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21196 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
21197 result
= (wxString
*) &_result_ref
;
21200 wxPyEndAllowThreads(__tstate
);
21201 if (PyErr_Occurred()) SWIG_fail
;
21205 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21207 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21216 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21217 PyObject
*resultobj
;
21218 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21220 PyObject
* obj0
= 0 ;
21221 char *kwnames
[] = {
21222 (char *) "self", NULL
21225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
21226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21227 if (SWIG_arg_fail(1)) SWIG_fail
;
21229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21230 result
= (double)(arg1
)->GetPrinterScaleX();
21232 wxPyEndAllowThreads(__tstate
);
21233 if (PyErr_Occurred()) SWIG_fail
;
21236 resultobj
= SWIG_From_double((double)(result
));
21244 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21245 PyObject
*resultobj
;
21246 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21248 PyObject
* obj0
= 0 ;
21249 char *kwnames
[] = {
21250 (char *) "self", NULL
21253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
21254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21255 if (SWIG_arg_fail(1)) SWIG_fail
;
21257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21258 result
= (double)(arg1
)->GetPrinterScaleY();
21260 wxPyEndAllowThreads(__tstate
);
21261 if (PyErr_Occurred()) SWIG_fail
;
21264 resultobj
= SWIG_From_double((double)(result
));
21272 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21273 PyObject
*resultobj
;
21274 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21276 PyObject
* obj0
= 0 ;
21277 char *kwnames
[] = {
21278 (char *) "self", NULL
21281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
21282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21283 if (SWIG_arg_fail(1)) SWIG_fail
;
21285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21286 result
= (long)(arg1
)->GetPrinterTranslateX();
21288 wxPyEndAllowThreads(__tstate
);
21289 if (PyErr_Occurred()) SWIG_fail
;
21292 resultobj
= SWIG_From_long((long)(result
));
21300 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21301 PyObject
*resultobj
;
21302 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21304 PyObject
* obj0
= 0 ;
21305 char *kwnames
[] = {
21306 (char *) "self", NULL
21309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
21310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21311 if (SWIG_arg_fail(1)) SWIG_fail
;
21313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21314 result
= (long)(arg1
)->GetPrinterTranslateY();
21316 wxPyEndAllowThreads(__tstate
);
21317 if (PyErr_Occurred()) SWIG_fail
;
21320 resultobj
= SWIG_From_long((long)(result
));
21328 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21329 PyObject
*resultobj
;
21330 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21331 wxString
*arg2
= 0 ;
21332 bool temp2
= false ;
21333 PyObject
* obj0
= 0 ;
21334 PyObject
* obj1
= 0 ;
21335 char *kwnames
[] = {
21336 (char *) "self",(char *) "command", NULL
21339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
21340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21341 if (SWIG_arg_fail(1)) SWIG_fail
;
21343 arg2
= wxString_in_helper(obj1
);
21344 if (arg2
== NULL
) SWIG_fail
;
21348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21349 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
21351 wxPyEndAllowThreads(__tstate
);
21352 if (PyErr_Occurred()) SWIG_fail
;
21354 Py_INCREF(Py_None
); resultobj
= Py_None
;
21369 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21370 PyObject
*resultobj
;
21371 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21372 wxString
*arg2
= 0 ;
21373 bool temp2
= false ;
21374 PyObject
* obj0
= 0 ;
21375 PyObject
* obj1
= 0 ;
21376 char *kwnames
[] = {
21377 (char *) "self",(char *) "options", NULL
21380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
21381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21382 if (SWIG_arg_fail(1)) SWIG_fail
;
21384 arg2
= wxString_in_helper(obj1
);
21385 if (arg2
== NULL
) SWIG_fail
;
21389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21390 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
21392 wxPyEndAllowThreads(__tstate
);
21393 if (PyErr_Occurred()) SWIG_fail
;
21395 Py_INCREF(Py_None
); resultobj
= Py_None
;
21410 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21411 PyObject
*resultobj
;
21412 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21413 wxString
*arg2
= 0 ;
21414 bool temp2
= false ;
21415 PyObject
* obj0
= 0 ;
21416 PyObject
* obj1
= 0 ;
21417 char *kwnames
[] = {
21418 (char *) "self",(char *) "command", NULL
21421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
21422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21423 if (SWIG_arg_fail(1)) SWIG_fail
;
21425 arg2
= wxString_in_helper(obj1
);
21426 if (arg2
== NULL
) SWIG_fail
;
21430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21431 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
21433 wxPyEndAllowThreads(__tstate
);
21434 if (PyErr_Occurred()) SWIG_fail
;
21436 Py_INCREF(Py_None
); resultobj
= Py_None
;
21451 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21452 PyObject
*resultobj
;
21453 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21454 wxString
*arg2
= 0 ;
21455 bool temp2
= false ;
21456 PyObject
* obj0
= 0 ;
21457 PyObject
* obj1
= 0 ;
21458 char *kwnames
[] = {
21459 (char *) "self",(char *) "path", NULL
21462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
21463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21464 if (SWIG_arg_fail(1)) SWIG_fail
;
21466 arg2
= wxString_in_helper(obj1
);
21467 if (arg2
== NULL
) SWIG_fail
;
21471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21472 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
21474 wxPyEndAllowThreads(__tstate
);
21475 if (PyErr_Occurred()) SWIG_fail
;
21477 Py_INCREF(Py_None
); resultobj
= Py_None
;
21492 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21493 PyObject
*resultobj
;
21494 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21496 PyObject
* obj0
= 0 ;
21497 PyObject
* obj1
= 0 ;
21498 char *kwnames
[] = {
21499 (char *) "self",(char *) "x", NULL
21502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
21503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21504 if (SWIG_arg_fail(1)) SWIG_fail
;
21506 arg2
= (double)(SWIG_As_double(obj1
));
21507 if (SWIG_arg_fail(2)) SWIG_fail
;
21510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21511 (arg1
)->SetPrinterScaleX(arg2
);
21513 wxPyEndAllowThreads(__tstate
);
21514 if (PyErr_Occurred()) SWIG_fail
;
21516 Py_INCREF(Py_None
); resultobj
= Py_None
;
21523 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21524 PyObject
*resultobj
;
21525 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21527 PyObject
* obj0
= 0 ;
21528 PyObject
* obj1
= 0 ;
21529 char *kwnames
[] = {
21530 (char *) "self",(char *) "y", NULL
21533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
21534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21535 if (SWIG_arg_fail(1)) SWIG_fail
;
21537 arg2
= (double)(SWIG_As_double(obj1
));
21538 if (SWIG_arg_fail(2)) SWIG_fail
;
21541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21542 (arg1
)->SetPrinterScaleY(arg2
);
21544 wxPyEndAllowThreads(__tstate
);
21545 if (PyErr_Occurred()) SWIG_fail
;
21547 Py_INCREF(Py_None
); resultobj
= Py_None
;
21554 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21555 PyObject
*resultobj
;
21556 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21559 PyObject
* obj0
= 0 ;
21560 PyObject
* obj1
= 0 ;
21561 PyObject
* obj2
= 0 ;
21562 char *kwnames
[] = {
21563 (char *) "self",(char *) "x",(char *) "y", NULL
21566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21568 if (SWIG_arg_fail(1)) SWIG_fail
;
21570 arg2
= (double)(SWIG_As_double(obj1
));
21571 if (SWIG_arg_fail(2)) SWIG_fail
;
21574 arg3
= (double)(SWIG_As_double(obj2
));
21575 if (SWIG_arg_fail(3)) SWIG_fail
;
21578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21579 (arg1
)->SetPrinterScaling(arg2
,arg3
);
21581 wxPyEndAllowThreads(__tstate
);
21582 if (PyErr_Occurred()) SWIG_fail
;
21584 Py_INCREF(Py_None
); resultobj
= Py_None
;
21591 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21592 PyObject
*resultobj
;
21593 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21595 PyObject
* obj0
= 0 ;
21596 PyObject
* obj1
= 0 ;
21597 char *kwnames
[] = {
21598 (char *) "self",(char *) "x", NULL
21601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
21602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21603 if (SWIG_arg_fail(1)) SWIG_fail
;
21605 arg2
= (long)(SWIG_As_long(obj1
));
21606 if (SWIG_arg_fail(2)) SWIG_fail
;
21609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21610 (arg1
)->SetPrinterTranslateX(arg2
);
21612 wxPyEndAllowThreads(__tstate
);
21613 if (PyErr_Occurred()) SWIG_fail
;
21615 Py_INCREF(Py_None
); resultobj
= Py_None
;
21622 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21623 PyObject
*resultobj
;
21624 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21626 PyObject
* obj0
= 0 ;
21627 PyObject
* obj1
= 0 ;
21628 char *kwnames
[] = {
21629 (char *) "self",(char *) "y", NULL
21632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
21633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21634 if (SWIG_arg_fail(1)) SWIG_fail
;
21636 arg2
= (long)(SWIG_As_long(obj1
));
21637 if (SWIG_arg_fail(2)) SWIG_fail
;
21640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21641 (arg1
)->SetPrinterTranslateY(arg2
);
21643 wxPyEndAllowThreads(__tstate
);
21644 if (PyErr_Occurred()) SWIG_fail
;
21646 Py_INCREF(Py_None
); resultobj
= Py_None
;
21653 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21654 PyObject
*resultobj
;
21655 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21658 PyObject
* obj0
= 0 ;
21659 PyObject
* obj1
= 0 ;
21660 PyObject
* obj2
= 0 ;
21661 char *kwnames
[] = {
21662 (char *) "self",(char *) "x",(char *) "y", NULL
21665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21667 if (SWIG_arg_fail(1)) SWIG_fail
;
21669 arg2
= (long)(SWIG_As_long(obj1
));
21670 if (SWIG_arg_fail(2)) SWIG_fail
;
21673 arg3
= (long)(SWIG_As_long(obj2
));
21674 if (SWIG_arg_fail(3)) SWIG_fail
;
21677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21678 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
21680 wxPyEndAllowThreads(__tstate
);
21681 if (PyErr_Occurred()) SWIG_fail
;
21683 Py_INCREF(Py_None
); resultobj
= Py_None
;
21690 static PyObject
* PrintData_swigregister(PyObject
*, PyObject
*args
) {
21692 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21693 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
21695 return Py_BuildValue((char *)"");
21697 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
21698 PyObject
*resultobj
;
21699 wxPageSetupDialogData
*result
;
21701 if(!PyArg_ParseTuple(args
,(char *)":new_PageSetupDialogData")) goto fail
;
21703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21704 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
21706 wxPyEndAllowThreads(__tstate
);
21707 if (PyErr_Occurred()) SWIG_fail
;
21709 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
21716 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
21717 PyObject
*resultobj
;
21718 wxPageSetupDialogData
*arg1
= 0 ;
21719 wxPageSetupDialogData
*result
;
21720 PyObject
* obj0
= 0 ;
21722 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
21724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21725 if (SWIG_arg_fail(1)) SWIG_fail
;
21726 if (arg1
== NULL
) {
21727 SWIG_null_ref("wxPageSetupDialogData");
21729 if (SWIG_arg_fail(1)) SWIG_fail
;
21732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21733 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
21735 wxPyEndAllowThreads(__tstate
);
21736 if (PyErr_Occurred()) SWIG_fail
;
21738 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
21745 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*, PyObject
*args
) {
21746 PyObject
*resultobj
;
21747 wxPrintData
*arg1
= 0 ;
21748 wxPageSetupDialogData
*result
;
21749 PyObject
* obj0
= 0 ;
21751 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
21753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21754 if (SWIG_arg_fail(1)) SWIG_fail
;
21755 if (arg1
== NULL
) {
21756 SWIG_null_ref("wxPrintData");
21758 if (SWIG_arg_fail(1)) SWIG_fail
;
21761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21762 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
21764 wxPyEndAllowThreads(__tstate
);
21765 if (PyErr_Occurred()) SWIG_fail
;
21767 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
21774 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
21779 argc
= PyObject_Length(args
);
21780 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
21781 argv
[ii
] = PyTuple_GetItem(args
,ii
);
21784 return _wrap_new_PageSetupDialogData__SWIG_0(self
,args
);
21790 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPageSetupDialogData
, 0) == -1) {
21798 return _wrap_new_PageSetupDialogData__SWIG_1(self
,args
);
21805 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
21813 return _wrap_new_PageSetupDialogData__SWIG_2(self
,args
);
21817 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
21822 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21823 PyObject
*resultobj
;
21824 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21825 PyObject
* obj0
= 0 ;
21826 char *kwnames
[] = {
21827 (char *) "self", NULL
21830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
21831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21832 if (SWIG_arg_fail(1)) SWIG_fail
;
21834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21837 wxPyEndAllowThreads(__tstate
);
21838 if (PyErr_Occurred()) SWIG_fail
;
21840 Py_INCREF(Py_None
); resultobj
= Py_None
;
21847 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21848 PyObject
*resultobj
;
21849 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21851 PyObject
* obj0
= 0 ;
21852 PyObject
* obj1
= 0 ;
21853 char *kwnames
[] = {
21854 (char *) "self",(char *) "flag", NULL
21857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
21858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21859 if (SWIG_arg_fail(1)) SWIG_fail
;
21861 arg2
= (bool)(SWIG_As_bool(obj1
));
21862 if (SWIG_arg_fail(2)) SWIG_fail
;
21865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21866 (arg1
)->EnableHelp(arg2
);
21868 wxPyEndAllowThreads(__tstate
);
21869 if (PyErr_Occurred()) SWIG_fail
;
21871 Py_INCREF(Py_None
); resultobj
= Py_None
;
21878 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21879 PyObject
*resultobj
;
21880 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21882 PyObject
* obj0
= 0 ;
21883 PyObject
* obj1
= 0 ;
21884 char *kwnames
[] = {
21885 (char *) "self",(char *) "flag", NULL
21888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
21889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21890 if (SWIG_arg_fail(1)) SWIG_fail
;
21892 arg2
= (bool)(SWIG_As_bool(obj1
));
21893 if (SWIG_arg_fail(2)) SWIG_fail
;
21896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21897 (arg1
)->EnableMargins(arg2
);
21899 wxPyEndAllowThreads(__tstate
);
21900 if (PyErr_Occurred()) SWIG_fail
;
21902 Py_INCREF(Py_None
); resultobj
= Py_None
;
21909 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21910 PyObject
*resultobj
;
21911 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21913 PyObject
* obj0
= 0 ;
21914 PyObject
* obj1
= 0 ;
21915 char *kwnames
[] = {
21916 (char *) "self",(char *) "flag", NULL
21919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
21920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21921 if (SWIG_arg_fail(1)) SWIG_fail
;
21923 arg2
= (bool)(SWIG_As_bool(obj1
));
21924 if (SWIG_arg_fail(2)) SWIG_fail
;
21927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21928 (arg1
)->EnableOrientation(arg2
);
21930 wxPyEndAllowThreads(__tstate
);
21931 if (PyErr_Occurred()) SWIG_fail
;
21933 Py_INCREF(Py_None
); resultobj
= Py_None
;
21940 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21941 PyObject
*resultobj
;
21942 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21944 PyObject
* obj0
= 0 ;
21945 PyObject
* obj1
= 0 ;
21946 char *kwnames
[] = {
21947 (char *) "self",(char *) "flag", NULL
21950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
21951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21952 if (SWIG_arg_fail(1)) SWIG_fail
;
21954 arg2
= (bool)(SWIG_As_bool(obj1
));
21955 if (SWIG_arg_fail(2)) SWIG_fail
;
21958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21959 (arg1
)->EnablePaper(arg2
);
21961 wxPyEndAllowThreads(__tstate
);
21962 if (PyErr_Occurred()) SWIG_fail
;
21964 Py_INCREF(Py_None
); resultobj
= Py_None
;
21971 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21972 PyObject
*resultobj
;
21973 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21975 PyObject
* obj0
= 0 ;
21976 PyObject
* obj1
= 0 ;
21977 char *kwnames
[] = {
21978 (char *) "self",(char *) "flag", NULL
21981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
21982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21983 if (SWIG_arg_fail(1)) SWIG_fail
;
21985 arg2
= (bool)(SWIG_As_bool(obj1
));
21986 if (SWIG_arg_fail(2)) SWIG_fail
;
21989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21990 (arg1
)->EnablePrinter(arg2
);
21992 wxPyEndAllowThreads(__tstate
);
21993 if (PyErr_Occurred()) SWIG_fail
;
21995 Py_INCREF(Py_None
); resultobj
= Py_None
;
22002 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22003 PyObject
*resultobj
;
22004 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22006 PyObject
* obj0
= 0 ;
22007 char *kwnames
[] = {
22008 (char *) "self", NULL
22011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
22012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22013 if (SWIG_arg_fail(1)) SWIG_fail
;
22015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22016 result
= (bool)(arg1
)->GetDefaultMinMargins();
22018 wxPyEndAllowThreads(__tstate
);
22019 if (PyErr_Occurred()) SWIG_fail
;
22022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22030 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22031 PyObject
*resultobj
;
22032 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22034 PyObject
* obj0
= 0 ;
22035 char *kwnames
[] = {
22036 (char *) "self", NULL
22039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
22040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22041 if (SWIG_arg_fail(1)) SWIG_fail
;
22043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22044 result
= (bool)(arg1
)->GetEnableMargins();
22046 wxPyEndAllowThreads(__tstate
);
22047 if (PyErr_Occurred()) SWIG_fail
;
22050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22058 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22059 PyObject
*resultobj
;
22060 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22062 PyObject
* obj0
= 0 ;
22063 char *kwnames
[] = {
22064 (char *) "self", NULL
22067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
22068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22069 if (SWIG_arg_fail(1)) SWIG_fail
;
22071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22072 result
= (bool)(arg1
)->GetEnableOrientation();
22074 wxPyEndAllowThreads(__tstate
);
22075 if (PyErr_Occurred()) SWIG_fail
;
22078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22086 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22087 PyObject
*resultobj
;
22088 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22090 PyObject
* obj0
= 0 ;
22091 char *kwnames
[] = {
22092 (char *) "self", NULL
22095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
22096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22097 if (SWIG_arg_fail(1)) SWIG_fail
;
22099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22100 result
= (bool)(arg1
)->GetEnablePaper();
22102 wxPyEndAllowThreads(__tstate
);
22103 if (PyErr_Occurred()) SWIG_fail
;
22106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22114 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22115 PyObject
*resultobj
;
22116 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22118 PyObject
* obj0
= 0 ;
22119 char *kwnames
[] = {
22120 (char *) "self", NULL
22123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
22124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22125 if (SWIG_arg_fail(1)) SWIG_fail
;
22127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22128 result
= (bool)(arg1
)->GetEnablePrinter();
22130 wxPyEndAllowThreads(__tstate
);
22131 if (PyErr_Occurred()) SWIG_fail
;
22134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22142 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22143 PyObject
*resultobj
;
22144 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22146 PyObject
* obj0
= 0 ;
22147 char *kwnames
[] = {
22148 (char *) "self", NULL
22151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
22152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22153 if (SWIG_arg_fail(1)) SWIG_fail
;
22155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22156 result
= (bool)(arg1
)->GetEnableHelp();
22158 wxPyEndAllowThreads(__tstate
);
22159 if (PyErr_Occurred()) SWIG_fail
;
22162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22170 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22171 PyObject
*resultobj
;
22172 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22174 PyObject
* obj0
= 0 ;
22175 char *kwnames
[] = {
22176 (char *) "self", NULL
22179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
22180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22181 if (SWIG_arg_fail(1)) SWIG_fail
;
22183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22184 result
= (bool)(arg1
)->GetDefaultInfo();
22186 wxPyEndAllowThreads(__tstate
);
22187 if (PyErr_Occurred()) SWIG_fail
;
22190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22198 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22199 PyObject
*resultobj
;
22200 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22202 PyObject
* obj0
= 0 ;
22203 char *kwnames
[] = {
22204 (char *) "self", NULL
22207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
22208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22209 if (SWIG_arg_fail(1)) SWIG_fail
;
22211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22212 result
= (arg1
)->GetMarginTopLeft();
22214 wxPyEndAllowThreads(__tstate
);
22215 if (PyErr_Occurred()) SWIG_fail
;
22218 wxPoint
* resultptr
;
22219 resultptr
= new wxPoint((wxPoint
&)(result
));
22220 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22228 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22229 PyObject
*resultobj
;
22230 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22232 PyObject
* obj0
= 0 ;
22233 char *kwnames
[] = {
22234 (char *) "self", NULL
22237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
22238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22239 if (SWIG_arg_fail(1)) SWIG_fail
;
22241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22242 result
= (arg1
)->GetMarginBottomRight();
22244 wxPyEndAllowThreads(__tstate
);
22245 if (PyErr_Occurred()) SWIG_fail
;
22248 wxPoint
* resultptr
;
22249 resultptr
= new wxPoint((wxPoint
&)(result
));
22250 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22258 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22259 PyObject
*resultobj
;
22260 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22262 PyObject
* obj0
= 0 ;
22263 char *kwnames
[] = {
22264 (char *) "self", NULL
22267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
22268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22269 if (SWIG_arg_fail(1)) SWIG_fail
;
22271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22272 result
= (arg1
)->GetMinMarginTopLeft();
22274 wxPyEndAllowThreads(__tstate
);
22275 if (PyErr_Occurred()) SWIG_fail
;
22278 wxPoint
* resultptr
;
22279 resultptr
= new wxPoint((wxPoint
&)(result
));
22280 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22288 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(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_GetMinMarginBottomRight",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
= (arg1
)->GetMinMarginBottomRight();
22304 wxPyEndAllowThreads(__tstate
);
22305 if (PyErr_Occurred()) SWIG_fail
;
22308 wxPoint
* resultptr
;
22309 resultptr
= new wxPoint((wxPoint
&)(result
));
22310 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22318 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22319 PyObject
*resultobj
;
22320 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22321 wxPaperSize result
;
22322 PyObject
* obj0
= 0 ;
22323 char *kwnames
[] = {
22324 (char *) "self", NULL
22327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
22328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22329 if (SWIG_arg_fail(1)) SWIG_fail
;
22331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22332 result
= (wxPaperSize
)(arg1
)->GetPaperId();
22334 wxPyEndAllowThreads(__tstate
);
22335 if (PyErr_Occurred()) SWIG_fail
;
22337 resultobj
= SWIG_From_int((result
));
22344 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(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_GetPaperSize",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
= (arg1
)->GetPaperSize();
22360 wxPyEndAllowThreads(__tstate
);
22361 if (PyErr_Occurred()) SWIG_fail
;
22364 wxSize
* resultptr
;
22365 resultptr
= new wxSize((wxSize
&)(result
));
22366 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22374 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22375 PyObject
*resultobj
;
22376 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22377 wxPrintData
*result
;
22378 PyObject
* obj0
= 0 ;
22379 char *kwnames
[] = {
22380 (char *) "self", NULL
22383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
22384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22385 if (SWIG_arg_fail(1)) SWIG_fail
;
22387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22389 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
22390 result
= (wxPrintData
*) &_result_ref
;
22393 wxPyEndAllowThreads(__tstate
);
22394 if (PyErr_Occurred()) SWIG_fail
;
22396 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
22403 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22404 PyObject
*resultobj
;
22405 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22407 PyObject
* obj0
= 0 ;
22408 char *kwnames
[] = {
22409 (char *) "self", NULL
22412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
22413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22414 if (SWIG_arg_fail(1)) SWIG_fail
;
22416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22417 result
= (bool)(arg1
)->Ok();
22419 wxPyEndAllowThreads(__tstate
);
22420 if (PyErr_Occurred()) SWIG_fail
;
22423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22431 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22432 PyObject
*resultobj
;
22433 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22435 PyObject
* obj0
= 0 ;
22436 PyObject
* obj1
= 0 ;
22437 char *kwnames
[] = {
22438 (char *) "self",(char *) "flag", NULL
22441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
22442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22443 if (SWIG_arg_fail(1)) SWIG_fail
;
22445 arg2
= (bool)(SWIG_As_bool(obj1
));
22446 if (SWIG_arg_fail(2)) SWIG_fail
;
22449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22450 (arg1
)->SetDefaultInfo(arg2
);
22452 wxPyEndAllowThreads(__tstate
);
22453 if (PyErr_Occurred()) SWIG_fail
;
22455 Py_INCREF(Py_None
); resultobj
= Py_None
;
22462 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22463 PyObject
*resultobj
;
22464 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22466 PyObject
* obj0
= 0 ;
22467 PyObject
* obj1
= 0 ;
22468 char *kwnames
[] = {
22469 (char *) "self",(char *) "flag", NULL
22472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
22473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22474 if (SWIG_arg_fail(1)) SWIG_fail
;
22476 arg2
= (bool)(SWIG_As_bool(obj1
));
22477 if (SWIG_arg_fail(2)) SWIG_fail
;
22480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22481 (arg1
)->SetDefaultMinMargins(arg2
);
22483 wxPyEndAllowThreads(__tstate
);
22484 if (PyErr_Occurred()) SWIG_fail
;
22486 Py_INCREF(Py_None
); resultobj
= Py_None
;
22493 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22494 PyObject
*resultobj
;
22495 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22496 wxPoint
*arg2
= 0 ;
22498 PyObject
* obj0
= 0 ;
22499 PyObject
* obj1
= 0 ;
22500 char *kwnames
[] = {
22501 (char *) "self",(char *) "pt", NULL
22504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
22505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22506 if (SWIG_arg_fail(1)) SWIG_fail
;
22509 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22513 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
22515 wxPyEndAllowThreads(__tstate
);
22516 if (PyErr_Occurred()) SWIG_fail
;
22518 Py_INCREF(Py_None
); resultobj
= Py_None
;
22525 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22526 PyObject
*resultobj
;
22527 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22528 wxPoint
*arg2
= 0 ;
22530 PyObject
* obj0
= 0 ;
22531 PyObject
* obj1
= 0 ;
22532 char *kwnames
[] = {
22533 (char *) "self",(char *) "pt", NULL
22536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
22537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22538 if (SWIG_arg_fail(1)) SWIG_fail
;
22541 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22545 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
22547 wxPyEndAllowThreads(__tstate
);
22548 if (PyErr_Occurred()) SWIG_fail
;
22550 Py_INCREF(Py_None
); resultobj
= Py_None
;
22557 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22558 PyObject
*resultobj
;
22559 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22560 wxPoint
*arg2
= 0 ;
22562 PyObject
* obj0
= 0 ;
22563 PyObject
* obj1
= 0 ;
22564 char *kwnames
[] = {
22565 (char *) "self",(char *) "pt", NULL
22568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
22569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22570 if (SWIG_arg_fail(1)) SWIG_fail
;
22573 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22577 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
22579 wxPyEndAllowThreads(__tstate
);
22580 if (PyErr_Occurred()) SWIG_fail
;
22582 Py_INCREF(Py_None
); resultobj
= Py_None
;
22589 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22590 PyObject
*resultobj
;
22591 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22592 wxPoint
*arg2
= 0 ;
22594 PyObject
* obj0
= 0 ;
22595 PyObject
* obj1
= 0 ;
22596 char *kwnames
[] = {
22597 (char *) "self",(char *) "pt", NULL
22600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
22601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22602 if (SWIG_arg_fail(1)) SWIG_fail
;
22605 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22609 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
22611 wxPyEndAllowThreads(__tstate
);
22612 if (PyErr_Occurred()) SWIG_fail
;
22614 Py_INCREF(Py_None
); resultobj
= Py_None
;
22621 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22622 PyObject
*resultobj
;
22623 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22625 PyObject
* obj0
= 0 ;
22626 PyObject
* obj1
= 0 ;
22627 char *kwnames
[] = {
22628 (char *) "self",(char *) "id", NULL
22631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
22632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22633 if (SWIG_arg_fail(1)) SWIG_fail
;
22635 arg2
= (wxPaperSize
)(SWIG_As_int(obj1
));
22636 if (SWIG_arg_fail(2)) SWIG_fail
;
22639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22640 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
22642 wxPyEndAllowThreads(__tstate
);
22643 if (PyErr_Occurred()) SWIG_fail
;
22645 Py_INCREF(Py_None
); resultobj
= Py_None
;
22652 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22653 PyObject
*resultobj
;
22654 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22657 PyObject
* obj0
= 0 ;
22658 PyObject
* obj1
= 0 ;
22659 char *kwnames
[] = {
22660 (char *) "self",(char *) "size", NULL
22663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22665 if (SWIG_arg_fail(1)) SWIG_fail
;
22668 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22672 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
22674 wxPyEndAllowThreads(__tstate
);
22675 if (PyErr_Occurred()) SWIG_fail
;
22677 Py_INCREF(Py_None
); resultobj
= Py_None
;
22684 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22685 PyObject
*resultobj
;
22686 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22687 wxPrintData
*arg2
= 0 ;
22688 PyObject
* obj0
= 0 ;
22689 PyObject
* obj1
= 0 ;
22690 char *kwnames
[] = {
22691 (char *) "self",(char *) "printData", NULL
22694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
22695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22696 if (SWIG_arg_fail(1)) SWIG_fail
;
22698 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
22699 if (SWIG_arg_fail(2)) SWIG_fail
;
22700 if (arg2
== NULL
) {
22701 SWIG_null_ref("wxPrintData");
22703 if (SWIG_arg_fail(2)) SWIG_fail
;
22706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22707 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
22709 wxPyEndAllowThreads(__tstate
);
22710 if (PyErr_Occurred()) SWIG_fail
;
22712 Py_INCREF(Py_None
); resultobj
= Py_None
;
22719 static PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22720 PyObject
*resultobj
;
22721 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22722 PyObject
* obj0
= 0 ;
22723 char *kwnames
[] = {
22724 (char *) "self", NULL
22727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_CalculateIdFromPaperSize",kwnames
,&obj0
)) goto fail
;
22728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22729 if (SWIG_arg_fail(1)) SWIG_fail
;
22731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22732 (arg1
)->CalculateIdFromPaperSize();
22734 wxPyEndAllowThreads(__tstate
);
22735 if (PyErr_Occurred()) SWIG_fail
;
22737 Py_INCREF(Py_None
); resultobj
= Py_None
;
22744 static PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22745 PyObject
*resultobj
;
22746 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22747 PyObject
* obj0
= 0 ;
22748 char *kwnames
[] = {
22749 (char *) "self", NULL
22752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_CalculatePaperSizeFromId",kwnames
,&obj0
)) goto fail
;
22753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22754 if (SWIG_arg_fail(1)) SWIG_fail
;
22756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22757 (arg1
)->CalculatePaperSizeFromId();
22759 wxPyEndAllowThreads(__tstate
);
22760 if (PyErr_Occurred()) SWIG_fail
;
22762 Py_INCREF(Py_None
); resultobj
= Py_None
;
22769 static PyObject
* PageSetupDialogData_swigregister(PyObject
*, PyObject
*args
) {
22771 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22772 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
22774 return Py_BuildValue((char *)"");
22776 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22777 PyObject
*resultobj
;
22778 wxWindow
*arg1
= (wxWindow
*) 0 ;
22779 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
22780 wxPageSetupDialog
*result
;
22781 PyObject
* obj0
= 0 ;
22782 PyObject
* obj1
= 0 ;
22783 char *kwnames
[] = {
22784 (char *) "parent",(char *) "data", NULL
22787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
22788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22789 if (SWIG_arg_fail(1)) SWIG_fail
;
22791 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22792 if (SWIG_arg_fail(2)) SWIG_fail
;
22795 if (!wxPyCheckForApp()) SWIG_fail
;
22796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22797 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
22799 wxPyEndAllowThreads(__tstate
);
22800 if (PyErr_Occurred()) SWIG_fail
;
22802 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
22809 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22810 PyObject
*resultobj
;
22811 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
22812 wxPageSetupDialogData
*result
;
22813 PyObject
* obj0
= 0 ;
22814 char *kwnames
[] = {
22815 (char *) "self", NULL
22818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
22819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
22820 if (SWIG_arg_fail(1)) SWIG_fail
;
22822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22824 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
22825 result
= (wxPageSetupDialogData
*) &_result_ref
;
22828 wxPyEndAllowThreads(__tstate
);
22829 if (PyErr_Occurred()) SWIG_fail
;
22831 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
22838 static PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22839 PyObject
*resultobj
;
22840 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
22841 wxPageSetupDialogData
*result
;
22842 PyObject
* obj0
= 0 ;
22843 char *kwnames
[] = {
22844 (char *) "self", NULL
22847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupDialogData",kwnames
,&obj0
)) goto fail
;
22848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
22849 if (SWIG_arg_fail(1)) SWIG_fail
;
22851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22853 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
22854 result
= (wxPageSetupDialogData
*) &_result_ref
;
22857 wxPyEndAllowThreads(__tstate
);
22858 if (PyErr_Occurred()) SWIG_fail
;
22860 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
22867 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22868 PyObject
*resultobj
;
22869 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
22871 PyObject
* obj0
= 0 ;
22872 char *kwnames
[] = {
22873 (char *) "self", NULL
22876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
22877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
22878 if (SWIG_arg_fail(1)) SWIG_fail
;
22880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22881 result
= (int)(arg1
)->ShowModal();
22883 wxPyEndAllowThreads(__tstate
);
22884 if (PyErr_Occurred()) SWIG_fail
;
22887 resultobj
= SWIG_From_int((int)(result
));
22895 static PyObject
* PageSetupDialog_swigregister(PyObject
*, PyObject
*args
) {
22897 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22898 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
22900 return Py_BuildValue((char *)"");
22902 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
22903 PyObject
*resultobj
;
22904 wxPrintDialogData
*result
;
22906 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
22908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22909 result
= (wxPrintDialogData
*)new wxPrintDialogData();
22911 wxPyEndAllowThreads(__tstate
);
22912 if (PyErr_Occurred()) SWIG_fail
;
22914 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
22921 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
22922 PyObject
*resultobj
;
22923 wxPrintData
*arg1
= 0 ;
22924 wxPrintDialogData
*result
;
22925 PyObject
* obj0
= 0 ;
22927 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
22929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
22930 if (SWIG_arg_fail(1)) SWIG_fail
;
22931 if (arg1
== NULL
) {
22932 SWIG_null_ref("wxPrintData");
22934 if (SWIG_arg_fail(1)) SWIG_fail
;
22937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22938 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
22940 wxPyEndAllowThreads(__tstate
);
22941 if (PyErr_Occurred()) SWIG_fail
;
22943 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
22950 static PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*, PyObject
*args
) {
22951 PyObject
*resultobj
;
22952 wxPrintDialogData
*arg1
= 0 ;
22953 wxPrintDialogData
*result
;
22954 PyObject
* obj0
= 0 ;
22956 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
22958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22959 if (SWIG_arg_fail(1)) SWIG_fail
;
22960 if (arg1
== NULL
) {
22961 SWIG_null_ref("wxPrintDialogData");
22963 if (SWIG_arg_fail(1)) SWIG_fail
;
22966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22967 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
22969 wxPyEndAllowThreads(__tstate
);
22970 if (PyErr_Occurred()) SWIG_fail
;
22972 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
22979 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
22984 argc
= PyObject_Length(args
);
22985 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
22986 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22989 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
22995 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
23003 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
23010 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
23018 return _wrap_new_PrintDialogData__SWIG_2(self
,args
);
23022 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
23027 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23028 PyObject
*resultobj
;
23029 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23030 PyObject
* obj0
= 0 ;
23031 char *kwnames
[] = {
23032 (char *) "self", NULL
23035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
23036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23037 if (SWIG_arg_fail(1)) SWIG_fail
;
23039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23042 wxPyEndAllowThreads(__tstate
);
23043 if (PyErr_Occurred()) SWIG_fail
;
23045 Py_INCREF(Py_None
); resultobj
= Py_None
;
23052 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23053 PyObject
*resultobj
;
23054 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23056 PyObject
* obj0
= 0 ;
23057 char *kwnames
[] = {
23058 (char *) "self", NULL
23061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
23062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23063 if (SWIG_arg_fail(1)) SWIG_fail
;
23065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23066 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
23068 wxPyEndAllowThreads(__tstate
);
23069 if (PyErr_Occurred()) SWIG_fail
;
23072 resultobj
= SWIG_From_int((int)(result
));
23080 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23081 PyObject
*resultobj
;
23082 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23084 PyObject
* obj0
= 0 ;
23085 char *kwnames
[] = {
23086 (char *) "self", NULL
23089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
23090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23091 if (SWIG_arg_fail(1)) SWIG_fail
;
23093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23094 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
23096 wxPyEndAllowThreads(__tstate
);
23097 if (PyErr_Occurred()) SWIG_fail
;
23100 resultobj
= SWIG_From_int((int)(result
));
23108 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23109 PyObject
*resultobj
;
23110 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23112 PyObject
* obj0
= 0 ;
23113 char *kwnames
[] = {
23114 (char *) "self", NULL
23117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
23118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23119 if (SWIG_arg_fail(1)) SWIG_fail
;
23121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23122 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
23124 wxPyEndAllowThreads(__tstate
);
23125 if (PyErr_Occurred()) SWIG_fail
;
23128 resultobj
= SWIG_From_int((int)(result
));
23136 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23137 PyObject
*resultobj
;
23138 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23140 PyObject
* obj0
= 0 ;
23141 char *kwnames
[] = {
23142 (char *) "self", NULL
23145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
23146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23147 if (SWIG_arg_fail(1)) SWIG_fail
;
23149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23150 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
23152 wxPyEndAllowThreads(__tstate
);
23153 if (PyErr_Occurred()) SWIG_fail
;
23156 resultobj
= SWIG_From_int((int)(result
));
23164 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23165 PyObject
*resultobj
;
23166 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23168 PyObject
* obj0
= 0 ;
23169 char *kwnames
[] = {
23170 (char *) "self", NULL
23173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
23174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23175 if (SWIG_arg_fail(1)) SWIG_fail
;
23177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23178 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
23180 wxPyEndAllowThreads(__tstate
);
23181 if (PyErr_Occurred()) SWIG_fail
;
23184 resultobj
= SWIG_From_int((int)(result
));
23192 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23193 PyObject
*resultobj
;
23194 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23196 PyObject
* obj0
= 0 ;
23197 char *kwnames
[] = {
23198 (char *) "self", NULL
23201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
23202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23203 if (SWIG_arg_fail(1)) SWIG_fail
;
23205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23206 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
23208 wxPyEndAllowThreads(__tstate
);
23209 if (PyErr_Occurred()) SWIG_fail
;
23212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23220 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23221 PyObject
*resultobj
;
23222 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23224 PyObject
* obj0
= 0 ;
23225 char *kwnames
[] = {
23226 (char *) "self", NULL
23229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
23230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23231 if (SWIG_arg_fail(1)) SWIG_fail
;
23233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23234 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
23236 wxPyEndAllowThreads(__tstate
);
23237 if (PyErr_Occurred()) SWIG_fail
;
23240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23248 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23249 PyObject
*resultobj
;
23250 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23252 PyObject
* obj0
= 0 ;
23253 char *kwnames
[] = {
23254 (char *) "self", NULL
23257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
23258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23259 if (SWIG_arg_fail(1)) SWIG_fail
;
23261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23262 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
23264 wxPyEndAllowThreads(__tstate
);
23265 if (PyErr_Occurred()) SWIG_fail
;
23268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23276 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23277 PyObject
*resultobj
;
23278 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23280 PyObject
* obj0
= 0 ;
23281 char *kwnames
[] = {
23282 (char *) "self", NULL
23285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
23286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23287 if (SWIG_arg_fail(1)) SWIG_fail
;
23289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23290 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
23292 wxPyEndAllowThreads(__tstate
);
23293 if (PyErr_Occurred()) SWIG_fail
;
23296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23304 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23305 PyObject
*resultobj
;
23306 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23308 PyObject
* obj0
= 0 ;
23309 char *kwnames
[] = {
23310 (char *) "self", NULL
23313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
23314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23315 if (SWIG_arg_fail(1)) SWIG_fail
;
23317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23318 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
23320 wxPyEndAllowThreads(__tstate
);
23321 if (PyErr_Occurred()) SWIG_fail
;
23324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23332 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23333 PyObject
*resultobj
;
23334 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23336 PyObject
* obj0
= 0 ;
23337 PyObject
* obj1
= 0 ;
23338 char *kwnames
[] = {
23339 (char *) "self",(char *) "flag", NULL
23342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
23343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23344 if (SWIG_arg_fail(1)) SWIG_fail
;
23346 arg2
= (bool)(SWIG_As_bool(obj1
));
23347 if (SWIG_arg_fail(2)) SWIG_fail
;
23350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23351 (arg1
)->SetSetupDialog(arg2
);
23353 wxPyEndAllowThreads(__tstate
);
23354 if (PyErr_Occurred()) SWIG_fail
;
23356 Py_INCREF(Py_None
); resultobj
= Py_None
;
23363 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23364 PyObject
*resultobj
;
23365 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23367 PyObject
* obj0
= 0 ;
23368 PyObject
* obj1
= 0 ;
23369 char *kwnames
[] = {
23370 (char *) "self",(char *) "v", NULL
23373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23375 if (SWIG_arg_fail(1)) SWIG_fail
;
23377 arg2
= (int)(SWIG_As_int(obj1
));
23378 if (SWIG_arg_fail(2)) SWIG_fail
;
23381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23382 (arg1
)->SetFromPage(arg2
);
23384 wxPyEndAllowThreads(__tstate
);
23385 if (PyErr_Occurred()) SWIG_fail
;
23387 Py_INCREF(Py_None
); resultobj
= Py_None
;
23394 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23395 PyObject
*resultobj
;
23396 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23398 PyObject
* obj0
= 0 ;
23399 PyObject
* obj1
= 0 ;
23400 char *kwnames
[] = {
23401 (char *) "self",(char *) "v", NULL
23404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23406 if (SWIG_arg_fail(1)) SWIG_fail
;
23408 arg2
= (int)(SWIG_As_int(obj1
));
23409 if (SWIG_arg_fail(2)) SWIG_fail
;
23412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23413 (arg1
)->SetToPage(arg2
);
23415 wxPyEndAllowThreads(__tstate
);
23416 if (PyErr_Occurred()) SWIG_fail
;
23418 Py_INCREF(Py_None
); resultobj
= Py_None
;
23425 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23426 PyObject
*resultobj
;
23427 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23429 PyObject
* obj0
= 0 ;
23430 PyObject
* obj1
= 0 ;
23431 char *kwnames
[] = {
23432 (char *) "self",(char *) "v", NULL
23435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23437 if (SWIG_arg_fail(1)) SWIG_fail
;
23439 arg2
= (int)(SWIG_As_int(obj1
));
23440 if (SWIG_arg_fail(2)) SWIG_fail
;
23443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23444 (arg1
)->SetMinPage(arg2
);
23446 wxPyEndAllowThreads(__tstate
);
23447 if (PyErr_Occurred()) SWIG_fail
;
23449 Py_INCREF(Py_None
); resultobj
= Py_None
;
23456 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23457 PyObject
*resultobj
;
23458 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23460 PyObject
* obj0
= 0 ;
23461 PyObject
* obj1
= 0 ;
23462 char *kwnames
[] = {
23463 (char *) "self",(char *) "v", NULL
23466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23468 if (SWIG_arg_fail(1)) SWIG_fail
;
23470 arg2
= (int)(SWIG_As_int(obj1
));
23471 if (SWIG_arg_fail(2)) SWIG_fail
;
23474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23475 (arg1
)->SetMaxPage(arg2
);
23477 wxPyEndAllowThreads(__tstate
);
23478 if (PyErr_Occurred()) SWIG_fail
;
23480 Py_INCREF(Py_None
); resultobj
= Py_None
;
23487 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23488 PyObject
*resultobj
;
23489 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23491 PyObject
* obj0
= 0 ;
23492 PyObject
* obj1
= 0 ;
23493 char *kwnames
[] = {
23494 (char *) "self",(char *) "v", NULL
23497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
23498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23499 if (SWIG_arg_fail(1)) SWIG_fail
;
23501 arg2
= (int)(SWIG_As_int(obj1
));
23502 if (SWIG_arg_fail(2)) SWIG_fail
;
23505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23506 (arg1
)->SetNoCopies(arg2
);
23508 wxPyEndAllowThreads(__tstate
);
23509 if (PyErr_Occurred()) SWIG_fail
;
23511 Py_INCREF(Py_None
); resultobj
= Py_None
;
23518 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23519 PyObject
*resultobj
;
23520 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23522 PyObject
* obj0
= 0 ;
23523 PyObject
* obj1
= 0 ;
23524 char *kwnames
[] = {
23525 (char *) "self",(char *) "flag", NULL
23528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
23529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23530 if (SWIG_arg_fail(1)) SWIG_fail
;
23532 arg2
= (bool)(SWIG_As_bool(obj1
));
23533 if (SWIG_arg_fail(2)) SWIG_fail
;
23536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23537 (arg1
)->SetAllPages(arg2
);
23539 wxPyEndAllowThreads(__tstate
);
23540 if (PyErr_Occurred()) SWIG_fail
;
23542 Py_INCREF(Py_None
); resultobj
= Py_None
;
23549 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23550 PyObject
*resultobj
;
23551 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23553 PyObject
* obj0
= 0 ;
23554 PyObject
* obj1
= 0 ;
23555 char *kwnames
[] = {
23556 (char *) "self",(char *) "flag", NULL
23559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
23560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23561 if (SWIG_arg_fail(1)) SWIG_fail
;
23563 arg2
= (bool)(SWIG_As_bool(obj1
));
23564 if (SWIG_arg_fail(2)) SWIG_fail
;
23567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23568 (arg1
)->SetSelection(arg2
);
23570 wxPyEndAllowThreads(__tstate
);
23571 if (PyErr_Occurred()) SWIG_fail
;
23573 Py_INCREF(Py_None
); resultobj
= Py_None
;
23580 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23581 PyObject
*resultobj
;
23582 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23584 PyObject
* obj0
= 0 ;
23585 PyObject
* obj1
= 0 ;
23586 char *kwnames
[] = {
23587 (char *) "self",(char *) "flag", NULL
23590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
23591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23592 if (SWIG_arg_fail(1)) SWIG_fail
;
23594 arg2
= (bool)(SWIG_As_bool(obj1
));
23595 if (SWIG_arg_fail(2)) SWIG_fail
;
23598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23599 (arg1
)->SetCollate(arg2
);
23601 wxPyEndAllowThreads(__tstate
);
23602 if (PyErr_Occurred()) SWIG_fail
;
23604 Py_INCREF(Py_None
); resultobj
= Py_None
;
23611 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23612 PyObject
*resultobj
;
23613 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23615 PyObject
* obj0
= 0 ;
23616 PyObject
* obj1
= 0 ;
23617 char *kwnames
[] = {
23618 (char *) "self",(char *) "flag", NULL
23621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
23622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23623 if (SWIG_arg_fail(1)) SWIG_fail
;
23625 arg2
= (bool)(SWIG_As_bool(obj1
));
23626 if (SWIG_arg_fail(2)) SWIG_fail
;
23629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23630 (arg1
)->SetPrintToFile(arg2
);
23632 wxPyEndAllowThreads(__tstate
);
23633 if (PyErr_Occurred()) SWIG_fail
;
23635 Py_INCREF(Py_None
); resultobj
= Py_None
;
23642 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23643 PyObject
*resultobj
;
23644 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23646 PyObject
* obj0
= 0 ;
23647 PyObject
* obj1
= 0 ;
23648 char *kwnames
[] = {
23649 (char *) "self",(char *) "flag", NULL
23652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
23653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23654 if (SWIG_arg_fail(1)) SWIG_fail
;
23656 arg2
= (bool)(SWIG_As_bool(obj1
));
23657 if (SWIG_arg_fail(2)) SWIG_fail
;
23660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23661 (arg1
)->EnablePrintToFile(arg2
);
23663 wxPyEndAllowThreads(__tstate
);
23664 if (PyErr_Occurred()) SWIG_fail
;
23666 Py_INCREF(Py_None
); resultobj
= Py_None
;
23673 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23674 PyObject
*resultobj
;
23675 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23677 PyObject
* obj0
= 0 ;
23678 PyObject
* obj1
= 0 ;
23679 char *kwnames
[] = {
23680 (char *) "self",(char *) "flag", NULL
23683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
23684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23685 if (SWIG_arg_fail(1)) SWIG_fail
;
23687 arg2
= (bool)(SWIG_As_bool(obj1
));
23688 if (SWIG_arg_fail(2)) SWIG_fail
;
23691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23692 (arg1
)->EnableSelection(arg2
);
23694 wxPyEndAllowThreads(__tstate
);
23695 if (PyErr_Occurred()) SWIG_fail
;
23697 Py_INCREF(Py_None
); resultobj
= Py_None
;
23704 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23705 PyObject
*resultobj
;
23706 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23708 PyObject
* obj0
= 0 ;
23709 PyObject
* obj1
= 0 ;
23710 char *kwnames
[] = {
23711 (char *) "self",(char *) "flag", NULL
23714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
23715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23716 if (SWIG_arg_fail(1)) SWIG_fail
;
23718 arg2
= (bool)(SWIG_As_bool(obj1
));
23719 if (SWIG_arg_fail(2)) SWIG_fail
;
23722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23723 (arg1
)->EnablePageNumbers(arg2
);
23725 wxPyEndAllowThreads(__tstate
);
23726 if (PyErr_Occurred()) SWIG_fail
;
23728 Py_INCREF(Py_None
); resultobj
= Py_None
;
23735 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23736 PyObject
*resultobj
;
23737 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23739 PyObject
* obj0
= 0 ;
23740 PyObject
* obj1
= 0 ;
23741 char *kwnames
[] = {
23742 (char *) "self",(char *) "flag", NULL
23745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
23746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23747 if (SWIG_arg_fail(1)) SWIG_fail
;
23749 arg2
= (bool)(SWIG_As_bool(obj1
));
23750 if (SWIG_arg_fail(2)) SWIG_fail
;
23753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23754 (arg1
)->EnableHelp(arg2
);
23756 wxPyEndAllowThreads(__tstate
);
23757 if (PyErr_Occurred()) SWIG_fail
;
23759 Py_INCREF(Py_None
); resultobj
= Py_None
;
23766 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23767 PyObject
*resultobj
;
23768 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23770 PyObject
* obj0
= 0 ;
23771 char *kwnames
[] = {
23772 (char *) "self", NULL
23775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
23776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23777 if (SWIG_arg_fail(1)) SWIG_fail
;
23779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23780 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
23782 wxPyEndAllowThreads(__tstate
);
23783 if (PyErr_Occurred()) SWIG_fail
;
23786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23794 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23795 PyObject
*resultobj
;
23796 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23798 PyObject
* obj0
= 0 ;
23799 char *kwnames
[] = {
23800 (char *) "self", NULL
23803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
23804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23805 if (SWIG_arg_fail(1)) SWIG_fail
;
23807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23808 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
23810 wxPyEndAllowThreads(__tstate
);
23811 if (PyErr_Occurred()) SWIG_fail
;
23814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23822 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23823 PyObject
*resultobj
;
23824 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23826 PyObject
* obj0
= 0 ;
23827 char *kwnames
[] = {
23828 (char *) "self", NULL
23831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
23832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23833 if (SWIG_arg_fail(1)) SWIG_fail
;
23835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23836 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
23838 wxPyEndAllowThreads(__tstate
);
23839 if (PyErr_Occurred()) SWIG_fail
;
23842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23850 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23851 PyObject
*resultobj
;
23852 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23854 PyObject
* obj0
= 0 ;
23855 char *kwnames
[] = {
23856 (char *) "self", NULL
23859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
23860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23861 if (SWIG_arg_fail(1)) SWIG_fail
;
23863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23864 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
23866 wxPyEndAllowThreads(__tstate
);
23867 if (PyErr_Occurred()) SWIG_fail
;
23870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23878 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23879 PyObject
*resultobj
;
23880 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23882 PyObject
* obj0
= 0 ;
23883 char *kwnames
[] = {
23884 (char *) "self", NULL
23887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
23888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23889 if (SWIG_arg_fail(1)) SWIG_fail
;
23891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23892 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
23894 wxPyEndAllowThreads(__tstate
);
23895 if (PyErr_Occurred()) SWIG_fail
;
23898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23906 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23907 PyObject
*resultobj
;
23908 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23909 wxPrintData
*result
;
23910 PyObject
* obj0
= 0 ;
23911 char *kwnames
[] = {
23912 (char *) "self", NULL
23915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
23916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23917 if (SWIG_arg_fail(1)) SWIG_fail
;
23919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23921 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
23922 result
= (wxPrintData
*) &_result_ref
;
23925 wxPyEndAllowThreads(__tstate
);
23926 if (PyErr_Occurred()) SWIG_fail
;
23928 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
23935 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23936 PyObject
*resultobj
;
23937 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23938 wxPrintData
*arg2
= 0 ;
23939 PyObject
* obj0
= 0 ;
23940 PyObject
* obj1
= 0 ;
23941 char *kwnames
[] = {
23942 (char *) "self",(char *) "printData", NULL
23945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
23946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23947 if (SWIG_arg_fail(1)) SWIG_fail
;
23949 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
23950 if (SWIG_arg_fail(2)) SWIG_fail
;
23951 if (arg2
== NULL
) {
23952 SWIG_null_ref("wxPrintData");
23954 if (SWIG_arg_fail(2)) SWIG_fail
;
23957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23958 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
23960 wxPyEndAllowThreads(__tstate
);
23961 if (PyErr_Occurred()) SWIG_fail
;
23963 Py_INCREF(Py_None
); resultobj
= Py_None
;
23970 static PyObject
* PrintDialogData_swigregister(PyObject
*, PyObject
*args
) {
23972 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23973 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
23975 return Py_BuildValue((char *)"");
23977 static PyObject
*_wrap_new_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23978 PyObject
*resultobj
;
23979 wxWindow
*arg1
= (wxWindow
*) 0 ;
23980 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
23981 wxPrintDialog
*result
;
23982 PyObject
* obj0
= 0 ;
23983 PyObject
* obj1
= 0 ;
23984 char *kwnames
[] = {
23985 (char *) "parent",(char *) "data", NULL
23988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
23989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23990 if (SWIG_arg_fail(1)) SWIG_fail
;
23992 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23993 if (SWIG_arg_fail(2)) SWIG_fail
;
23996 if (!wxPyCheckForApp()) SWIG_fail
;
23997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23998 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
24000 wxPyEndAllowThreads(__tstate
);
24001 if (PyErr_Occurred()) SWIG_fail
;
24003 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
24010 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24011 PyObject
*resultobj
;
24012 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24014 PyObject
* obj0
= 0 ;
24015 char *kwnames
[] = {
24016 (char *) "self", NULL
24019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
24020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24021 if (SWIG_arg_fail(1)) SWIG_fail
;
24023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24024 result
= (int)(arg1
)->ShowModal();
24026 wxPyEndAllowThreads(__tstate
);
24027 if (PyErr_Occurred()) SWIG_fail
;
24030 resultobj
= SWIG_From_int((int)(result
));
24038 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24039 PyObject
*resultobj
;
24040 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24041 wxPrintDialogData
*result
;
24042 PyObject
* obj0
= 0 ;
24043 char *kwnames
[] = {
24044 (char *) "self", NULL
24047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
24048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24049 if (SWIG_arg_fail(1)) SWIG_fail
;
24051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24053 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
24054 result
= (wxPrintDialogData
*) &_result_ref
;
24057 wxPyEndAllowThreads(__tstate
);
24058 if (PyErr_Occurred()) SWIG_fail
;
24060 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
24067 static PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24068 PyObject
*resultobj
;
24069 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24070 wxPrintData
*result
;
24071 PyObject
* obj0
= 0 ;
24072 char *kwnames
[] = {
24073 (char *) "self", NULL
24076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintData",kwnames
,&obj0
)) goto fail
;
24077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24078 if (SWIG_arg_fail(1)) SWIG_fail
;
24080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24082 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24083 result
= (wxPrintData
*) &_result_ref
;
24086 wxPyEndAllowThreads(__tstate
);
24087 if (PyErr_Occurred()) SWIG_fail
;
24089 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
24096 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24097 PyObject
*resultobj
;
24098 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24100 PyObject
* obj0
= 0 ;
24101 char *kwnames
[] = {
24102 (char *) "self", NULL
24105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
24106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24107 if (SWIG_arg_fail(1)) SWIG_fail
;
24109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24110 result
= (wxDC
*)(arg1
)->GetPrintDC();
24112 wxPyEndAllowThreads(__tstate
);
24113 if (PyErr_Occurred()) SWIG_fail
;
24116 resultobj
= wxPyMake_wxObject(result
, 1);
24124 static PyObject
* PrintDialog_swigregister(PyObject
*, PyObject
*args
) {
24126 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24127 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
24129 return Py_BuildValue((char *)"");
24131 static PyObject
*_wrap_new_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24132 PyObject
*resultobj
;
24133 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
24135 PyObject
* obj0
= 0 ;
24136 char *kwnames
[] = {
24137 (char *) "data", NULL
24140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
24142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24143 if (SWIG_arg_fail(1)) SWIG_fail
;
24146 if (!wxPyCheckForApp()) SWIG_fail
;
24147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24148 result
= (wxPrinter
*)new wxPrinter(arg1
);
24150 wxPyEndAllowThreads(__tstate
);
24151 if (PyErr_Occurred()) SWIG_fail
;
24153 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
24160 static PyObject
*_wrap_delete_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24161 PyObject
*resultobj
;
24162 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24163 PyObject
* obj0
= 0 ;
24164 char *kwnames
[] = {
24165 (char *) "self", NULL
24168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
24169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24170 if (SWIG_arg_fail(1)) SWIG_fail
;
24172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24175 wxPyEndAllowThreads(__tstate
);
24176 if (PyErr_Occurred()) SWIG_fail
;
24178 Py_INCREF(Py_None
); resultobj
= Py_None
;
24185 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24186 PyObject
*resultobj
;
24187 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24188 wxWindow
*arg2
= (wxWindow
*) 0 ;
24189 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24191 PyObject
* obj0
= 0 ;
24192 PyObject
* obj1
= 0 ;
24193 PyObject
* obj2
= 0 ;
24194 char *kwnames
[] = {
24195 (char *) "self",(char *) "parent",(char *) "printout", NULL
24198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24200 if (SWIG_arg_fail(1)) SWIG_fail
;
24201 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24202 if (SWIG_arg_fail(2)) SWIG_fail
;
24203 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24204 if (SWIG_arg_fail(3)) SWIG_fail
;
24206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24207 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
24209 wxPyEndAllowThreads(__tstate
);
24210 if (PyErr_Occurred()) SWIG_fail
;
24213 resultobj
= wxPyMake_wxObject(result
, 0);
24221 static PyObject
*_wrap_Printer_ReportError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24222 PyObject
*resultobj
;
24223 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24224 wxWindow
*arg2
= (wxWindow
*) 0 ;
24225 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24226 wxString
*arg4
= 0 ;
24227 bool temp4
= false ;
24228 PyObject
* obj0
= 0 ;
24229 PyObject
* obj1
= 0 ;
24230 PyObject
* obj2
= 0 ;
24231 PyObject
* obj3
= 0 ;
24232 char *kwnames
[] = {
24233 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
24236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24238 if (SWIG_arg_fail(1)) SWIG_fail
;
24239 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24240 if (SWIG_arg_fail(2)) SWIG_fail
;
24241 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24242 if (SWIG_arg_fail(3)) SWIG_fail
;
24244 arg4
= wxString_in_helper(obj3
);
24245 if (arg4
== NULL
) SWIG_fail
;
24249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24250 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
24252 wxPyEndAllowThreads(__tstate
);
24253 if (PyErr_Occurred()) SWIG_fail
;
24255 Py_INCREF(Py_None
); resultobj
= Py_None
;
24270 static PyObject
*_wrap_Printer_Setup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24271 PyObject
*resultobj
;
24272 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24273 wxWindow
*arg2
= (wxWindow
*) 0 ;
24275 PyObject
* obj0
= 0 ;
24276 PyObject
* obj1
= 0 ;
24277 char *kwnames
[] = {
24278 (char *) "self",(char *) "parent", NULL
24281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
24282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24283 if (SWIG_arg_fail(1)) SWIG_fail
;
24284 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24285 if (SWIG_arg_fail(2)) SWIG_fail
;
24287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24288 result
= (bool)(arg1
)->Setup(arg2
);
24290 wxPyEndAllowThreads(__tstate
);
24291 if (PyErr_Occurred()) SWIG_fail
;
24294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24302 static PyObject
*_wrap_Printer_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24303 PyObject
*resultobj
;
24304 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24305 wxWindow
*arg2
= (wxWindow
*) 0 ;
24306 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24307 bool arg4
= (bool) true ;
24309 PyObject
* obj0
= 0 ;
24310 PyObject
* obj1
= 0 ;
24311 PyObject
* obj2
= 0 ;
24312 PyObject
* obj3
= 0 ;
24313 char *kwnames
[] = {
24314 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
24317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24319 if (SWIG_arg_fail(1)) SWIG_fail
;
24320 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24321 if (SWIG_arg_fail(2)) SWIG_fail
;
24322 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24323 if (SWIG_arg_fail(3)) SWIG_fail
;
24326 arg4
= (bool)(SWIG_As_bool(obj3
));
24327 if (SWIG_arg_fail(4)) SWIG_fail
;
24331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24332 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
24334 wxPyEndAllowThreads(__tstate
);
24335 if (PyErr_Occurred()) SWIG_fail
;
24338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24346 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24347 PyObject
*resultobj
;
24348 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24349 wxWindow
*arg2
= (wxWindow
*) 0 ;
24351 PyObject
* obj0
= 0 ;
24352 PyObject
* obj1
= 0 ;
24353 char *kwnames
[] = {
24354 (char *) "self",(char *) "parent", NULL
24357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
24358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24359 if (SWIG_arg_fail(1)) SWIG_fail
;
24360 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24361 if (SWIG_arg_fail(2)) SWIG_fail
;
24363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24364 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
24366 wxPyEndAllowThreads(__tstate
);
24367 if (PyErr_Occurred()) SWIG_fail
;
24370 resultobj
= wxPyMake_wxObject(result
, 0);
24378 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24379 PyObject
*resultobj
;
24380 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24381 wxPrintDialogData
*result
;
24382 PyObject
* obj0
= 0 ;
24383 char *kwnames
[] = {
24384 (char *) "self", NULL
24387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
24388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24389 if (SWIG_arg_fail(1)) SWIG_fail
;
24391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24393 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
24394 result
= (wxPrintDialogData
*) &_result_ref
;
24397 wxPyEndAllowThreads(__tstate
);
24398 if (PyErr_Occurred()) SWIG_fail
;
24400 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
24407 static PyObject
*_wrap_Printer_GetAbort(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24408 PyObject
*resultobj
;
24409 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24411 PyObject
* obj0
= 0 ;
24412 char *kwnames
[] = {
24413 (char *) "self", NULL
24416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
24417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24418 if (SWIG_arg_fail(1)) SWIG_fail
;
24420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24421 result
= (bool)(arg1
)->GetAbort();
24423 wxPyEndAllowThreads(__tstate
);
24424 if (PyErr_Occurred()) SWIG_fail
;
24427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24435 static PyObject
*_wrap_Printer_GetLastError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24436 PyObject
*resultobj
;
24437 wxPrinterError result
;
24438 char *kwnames
[] = {
24442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
24444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24445 result
= (wxPrinterError
)wxPrinter::GetLastError();
24447 wxPyEndAllowThreads(__tstate
);
24448 if (PyErr_Occurred()) SWIG_fail
;
24450 resultobj
= SWIG_From_int((result
));
24457 static PyObject
* Printer_swigregister(PyObject
*, PyObject
*args
) {
24459 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24460 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
24462 return Py_BuildValue((char *)"");
24464 static PyObject
*_wrap_new_Printout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24465 PyObject
*resultobj
;
24466 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
24467 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24468 wxPyPrintout
*result
;
24469 bool temp1
= false ;
24470 PyObject
* obj0
= 0 ;
24471 char *kwnames
[] = {
24472 (char *) "title", NULL
24475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
24478 arg1
= wxString_in_helper(obj0
);
24479 if (arg1
== NULL
) SWIG_fail
;
24484 if (!wxPyCheckForApp()) SWIG_fail
;
24485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24486 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
24488 wxPyEndAllowThreads(__tstate
);
24489 if (PyErr_Occurred()) SWIG_fail
;
24492 resultobj
= wxPyMake_wxObject(result
, 1);
24508 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24509 PyObject
*resultobj
;
24510 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24511 PyObject
*arg2
= (PyObject
*) 0 ;
24512 PyObject
*arg3
= (PyObject
*) 0 ;
24513 PyObject
* obj0
= 0 ;
24514 PyObject
* obj1
= 0 ;
24515 PyObject
* obj2
= 0 ;
24516 char *kwnames
[] = {
24517 (char *) "self",(char *) "self",(char *) "_class", NULL
24520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24522 if (SWIG_arg_fail(1)) SWIG_fail
;
24526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24527 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24529 wxPyEndAllowThreads(__tstate
);
24530 if (PyErr_Occurred()) SWIG_fail
;
24532 Py_INCREF(Py_None
); resultobj
= Py_None
;
24539 static PyObject
*_wrap_Printout_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24540 PyObject
*resultobj
;
24541 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24543 PyObject
* obj0
= 0 ;
24544 char *kwnames
[] = {
24545 (char *) "self", NULL
24548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
24549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24550 if (SWIG_arg_fail(1)) SWIG_fail
;
24552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24553 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
24555 wxPyEndAllowThreads(__tstate
);
24556 if (PyErr_Occurred()) SWIG_fail
;
24560 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24562 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24571 static PyObject
*_wrap_Printout_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24572 PyObject
*resultobj
;
24573 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24575 PyObject
* obj0
= 0 ;
24576 char *kwnames
[] = {
24577 (char *) "self", NULL
24580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
24581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24582 if (SWIG_arg_fail(1)) SWIG_fail
;
24584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24585 result
= (wxDC
*)(arg1
)->GetDC();
24587 wxPyEndAllowThreads(__tstate
);
24588 if (PyErr_Occurred()) SWIG_fail
;
24591 resultobj
= wxPyMake_wxObject(result
, 0);
24599 static PyObject
*_wrap_Printout_SetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24600 PyObject
*resultobj
;
24601 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24602 wxDC
*arg2
= (wxDC
*) 0 ;
24603 PyObject
* obj0
= 0 ;
24604 PyObject
* obj1
= 0 ;
24605 char *kwnames
[] = {
24606 (char *) "self",(char *) "dc", NULL
24609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
24610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24611 if (SWIG_arg_fail(1)) SWIG_fail
;
24612 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
24613 if (SWIG_arg_fail(2)) SWIG_fail
;
24615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24616 (arg1
)->SetDC(arg2
);
24618 wxPyEndAllowThreads(__tstate
);
24619 if (PyErr_Occurred()) SWIG_fail
;
24621 Py_INCREF(Py_None
); resultobj
= Py_None
;
24628 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24629 PyObject
*resultobj
;
24630 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24633 PyObject
* obj0
= 0 ;
24634 PyObject
* obj1
= 0 ;
24635 PyObject
* obj2
= 0 ;
24636 char *kwnames
[] = {
24637 (char *) "self",(char *) "w",(char *) "h", NULL
24640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24642 if (SWIG_arg_fail(1)) SWIG_fail
;
24644 arg2
= (int)(SWIG_As_int(obj1
));
24645 if (SWIG_arg_fail(2)) SWIG_fail
;
24648 arg3
= (int)(SWIG_As_int(obj2
));
24649 if (SWIG_arg_fail(3)) SWIG_fail
;
24652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24653 (arg1
)->SetPageSizePixels(arg2
,arg3
);
24655 wxPyEndAllowThreads(__tstate
);
24656 if (PyErr_Occurred()) SWIG_fail
;
24658 Py_INCREF(Py_None
); resultobj
= Py_None
;
24665 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24666 PyObject
*resultobj
;
24667 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24668 int *arg2
= (int *) 0 ;
24669 int *arg3
= (int *) 0 ;
24674 PyObject
* obj0
= 0 ;
24675 char *kwnames
[] = {
24676 (char *) "self", NULL
24679 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24680 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
24682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24683 if (SWIG_arg_fail(1)) SWIG_fail
;
24685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24686 (arg1
)->GetPageSizePixels(arg2
,arg3
);
24688 wxPyEndAllowThreads(__tstate
);
24689 if (PyErr_Occurred()) SWIG_fail
;
24691 Py_INCREF(Py_None
); resultobj
= Py_None
;
24692 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24693 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24694 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24695 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24702 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24703 PyObject
*resultobj
;
24704 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24707 PyObject
* obj0
= 0 ;
24708 PyObject
* obj1
= 0 ;
24709 PyObject
* obj2
= 0 ;
24710 char *kwnames
[] = {
24711 (char *) "self",(char *) "w",(char *) "h", NULL
24714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24716 if (SWIG_arg_fail(1)) SWIG_fail
;
24718 arg2
= (int)(SWIG_As_int(obj1
));
24719 if (SWIG_arg_fail(2)) SWIG_fail
;
24722 arg3
= (int)(SWIG_As_int(obj2
));
24723 if (SWIG_arg_fail(3)) SWIG_fail
;
24726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24727 (arg1
)->SetPageSizeMM(arg2
,arg3
);
24729 wxPyEndAllowThreads(__tstate
);
24730 if (PyErr_Occurred()) SWIG_fail
;
24732 Py_INCREF(Py_None
); resultobj
= Py_None
;
24739 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24740 PyObject
*resultobj
;
24741 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24742 int *arg2
= (int *) 0 ;
24743 int *arg3
= (int *) 0 ;
24748 PyObject
* obj0
= 0 ;
24749 char *kwnames
[] = {
24750 (char *) "self", NULL
24753 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24754 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
24756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24757 if (SWIG_arg_fail(1)) SWIG_fail
;
24759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24760 (arg1
)->GetPageSizeMM(arg2
,arg3
);
24762 wxPyEndAllowThreads(__tstate
);
24763 if (PyErr_Occurred()) SWIG_fail
;
24765 Py_INCREF(Py_None
); resultobj
= Py_None
;
24766 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24767 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24768 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24769 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24776 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24777 PyObject
*resultobj
;
24778 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24781 PyObject
* obj0
= 0 ;
24782 PyObject
* obj1
= 0 ;
24783 PyObject
* obj2
= 0 ;
24784 char *kwnames
[] = {
24785 (char *) "self",(char *) "x",(char *) "y", NULL
24788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24790 if (SWIG_arg_fail(1)) SWIG_fail
;
24792 arg2
= (int)(SWIG_As_int(obj1
));
24793 if (SWIG_arg_fail(2)) SWIG_fail
;
24796 arg3
= (int)(SWIG_As_int(obj2
));
24797 if (SWIG_arg_fail(3)) SWIG_fail
;
24800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24801 (arg1
)->SetPPIScreen(arg2
,arg3
);
24803 wxPyEndAllowThreads(__tstate
);
24804 if (PyErr_Occurred()) SWIG_fail
;
24806 Py_INCREF(Py_None
); resultobj
= Py_None
;
24813 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24814 PyObject
*resultobj
;
24815 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24816 int *arg2
= (int *) 0 ;
24817 int *arg3
= (int *) 0 ;
24822 PyObject
* obj0
= 0 ;
24823 char *kwnames
[] = {
24824 (char *) "self", NULL
24827 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24828 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
24830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24831 if (SWIG_arg_fail(1)) SWIG_fail
;
24833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24834 (arg1
)->GetPPIScreen(arg2
,arg3
);
24836 wxPyEndAllowThreads(__tstate
);
24837 if (PyErr_Occurred()) SWIG_fail
;
24839 Py_INCREF(Py_None
); resultobj
= Py_None
;
24840 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24841 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24842 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24843 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24850 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24851 PyObject
*resultobj
;
24852 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24855 PyObject
* obj0
= 0 ;
24856 PyObject
* obj1
= 0 ;
24857 PyObject
* obj2
= 0 ;
24858 char *kwnames
[] = {
24859 (char *) "self",(char *) "x",(char *) "y", NULL
24862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24864 if (SWIG_arg_fail(1)) SWIG_fail
;
24866 arg2
= (int)(SWIG_As_int(obj1
));
24867 if (SWIG_arg_fail(2)) SWIG_fail
;
24870 arg3
= (int)(SWIG_As_int(obj2
));
24871 if (SWIG_arg_fail(3)) SWIG_fail
;
24874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24875 (arg1
)->SetPPIPrinter(arg2
,arg3
);
24877 wxPyEndAllowThreads(__tstate
);
24878 if (PyErr_Occurred()) SWIG_fail
;
24880 Py_INCREF(Py_None
); resultobj
= Py_None
;
24887 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24888 PyObject
*resultobj
;
24889 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24890 int *arg2
= (int *) 0 ;
24891 int *arg3
= (int *) 0 ;
24896 PyObject
* obj0
= 0 ;
24897 char *kwnames
[] = {
24898 (char *) "self", NULL
24901 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24902 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
24904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24905 if (SWIG_arg_fail(1)) SWIG_fail
;
24907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24908 (arg1
)->GetPPIPrinter(arg2
,arg3
);
24910 wxPyEndAllowThreads(__tstate
);
24911 if (PyErr_Occurred()) SWIG_fail
;
24913 Py_INCREF(Py_None
); resultobj
= Py_None
;
24914 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24915 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24916 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24917 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24924 static PyObject
*_wrap_Printout_IsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24925 PyObject
*resultobj
;
24926 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24928 PyObject
* obj0
= 0 ;
24929 char *kwnames
[] = {
24930 (char *) "self", NULL
24933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
24934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24935 if (SWIG_arg_fail(1)) SWIG_fail
;
24937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24938 result
= (bool)(arg1
)->IsPreview();
24940 wxPyEndAllowThreads(__tstate
);
24941 if (PyErr_Occurred()) SWIG_fail
;
24944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24952 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24953 PyObject
*resultobj
;
24954 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24956 PyObject
* obj0
= 0 ;
24957 PyObject
* obj1
= 0 ;
24958 char *kwnames
[] = {
24959 (char *) "self",(char *) "p", NULL
24962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
24963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24964 if (SWIG_arg_fail(1)) SWIG_fail
;
24966 arg2
= (bool)(SWIG_As_bool(obj1
));
24967 if (SWIG_arg_fail(2)) SWIG_fail
;
24970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24971 (arg1
)->SetIsPreview(arg2
);
24973 wxPyEndAllowThreads(__tstate
);
24974 if (PyErr_Occurred()) SWIG_fail
;
24976 Py_INCREF(Py_None
); resultobj
= Py_None
;
24983 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24984 PyObject
*resultobj
;
24985 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24989 PyObject
* obj0
= 0 ;
24990 PyObject
* obj1
= 0 ;
24991 PyObject
* obj2
= 0 ;
24992 char *kwnames
[] = {
24993 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
24996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24998 if (SWIG_arg_fail(1)) SWIG_fail
;
25000 arg2
= (int)(SWIG_As_int(obj1
));
25001 if (SWIG_arg_fail(2)) SWIG_fail
;
25004 arg3
= (int)(SWIG_As_int(obj2
));
25005 if (SWIG_arg_fail(3)) SWIG_fail
;
25008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25009 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
25011 wxPyEndAllowThreads(__tstate
);
25012 if (PyErr_Occurred()) SWIG_fail
;
25015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25023 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25024 PyObject
*resultobj
;
25025 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25026 PyObject
* obj0
= 0 ;
25027 char *kwnames
[] = {
25028 (char *) "self", NULL
25031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",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
)->base_OnEndDocument();
25038 wxPyEndAllowThreads(__tstate
);
25039 if (PyErr_Occurred()) SWIG_fail
;
25041 Py_INCREF(Py_None
); resultobj
= Py_None
;
25048 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25049 PyObject
*resultobj
;
25050 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25051 PyObject
* obj0
= 0 ;
25052 char *kwnames
[] = {
25053 (char *) "self", NULL
25056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
25057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25058 if (SWIG_arg_fail(1)) SWIG_fail
;
25060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25061 (arg1
)->base_OnBeginPrinting();
25063 wxPyEndAllowThreads(__tstate
);
25064 if (PyErr_Occurred()) SWIG_fail
;
25066 Py_INCREF(Py_None
); resultobj
= Py_None
;
25073 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25074 PyObject
*resultobj
;
25075 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25076 PyObject
* obj0
= 0 ;
25077 char *kwnames
[] = {
25078 (char *) "self", NULL
25081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
25082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25083 if (SWIG_arg_fail(1)) SWIG_fail
;
25085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25086 (arg1
)->base_OnEndPrinting();
25088 wxPyEndAllowThreads(__tstate
);
25089 if (PyErr_Occurred()) SWIG_fail
;
25091 Py_INCREF(Py_None
); resultobj
= Py_None
;
25098 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25099 PyObject
*resultobj
;
25100 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25101 PyObject
* obj0
= 0 ;
25102 char *kwnames
[] = {
25103 (char *) "self", NULL
25106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
25107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25108 if (SWIG_arg_fail(1)) SWIG_fail
;
25110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25111 (arg1
)->base_OnPreparePrinting();
25113 wxPyEndAllowThreads(__tstate
);
25114 if (PyErr_Occurred()) SWIG_fail
;
25116 Py_INCREF(Py_None
); resultobj
= Py_None
;
25123 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25124 PyObject
*resultobj
;
25125 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25128 PyObject
* obj0
= 0 ;
25129 PyObject
* obj1
= 0 ;
25130 char *kwnames
[] = {
25131 (char *) "self",(char *) "page", NULL
25134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
25135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25136 if (SWIG_arg_fail(1)) SWIG_fail
;
25138 arg2
= (int)(SWIG_As_int(obj1
));
25139 if (SWIG_arg_fail(2)) SWIG_fail
;
25142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25143 result
= (bool)(arg1
)->base_HasPage(arg2
);
25145 wxPyEndAllowThreads(__tstate
);
25146 if (PyErr_Occurred()) SWIG_fail
;
25149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25157 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25158 PyObject
*resultobj
;
25159 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25160 int *arg2
= (int *) 0 ;
25161 int *arg3
= (int *) 0 ;
25162 int *arg4
= (int *) 0 ;
25163 int *arg5
= (int *) 0 ;
25172 PyObject
* obj0
= 0 ;
25173 char *kwnames
[] = {
25174 (char *) "self", NULL
25177 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25178 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25179 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
25180 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
25181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
25182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25183 if (SWIG_arg_fail(1)) SWIG_fail
;
25185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25186 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
25188 wxPyEndAllowThreads(__tstate
);
25189 if (PyErr_Occurred()) SWIG_fail
;
25191 Py_INCREF(Py_None
); resultobj
= Py_None
;
25192 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25193 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25194 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25195 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25196 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
25197 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
25198 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
25199 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
25206 static PyObject
* Printout_swigregister(PyObject
*, PyObject
*args
) {
25208 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25209 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
25211 return Py_BuildValue((char *)"");
25213 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25214 PyObject
*resultobj
;
25215 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25216 wxWindow
*arg2
= (wxWindow
*) 0 ;
25217 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25218 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25219 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25220 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25221 long arg5
= (long) 0 ;
25222 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
25223 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25224 wxPreviewCanvas
*result
;
25227 bool temp6
= false ;
25228 PyObject
* obj0
= 0 ;
25229 PyObject
* obj1
= 0 ;
25230 PyObject
* obj2
= 0 ;
25231 PyObject
* obj3
= 0 ;
25232 PyObject
* obj4
= 0 ;
25233 PyObject
* obj5
= 0 ;
25234 char *kwnames
[] = {
25235 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25240 if (SWIG_arg_fail(1)) SWIG_fail
;
25241 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25242 if (SWIG_arg_fail(2)) SWIG_fail
;
25246 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25252 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25257 arg5
= (long)(SWIG_As_long(obj4
));
25258 if (SWIG_arg_fail(5)) SWIG_fail
;
25263 arg6
= wxString_in_helper(obj5
);
25264 if (arg6
== NULL
) SWIG_fail
;
25269 if (!wxPyCheckForApp()) SWIG_fail
;
25270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25271 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25273 wxPyEndAllowThreads(__tstate
);
25274 if (PyErr_Occurred()) SWIG_fail
;
25276 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
25291 static PyObject
* PreviewCanvas_swigregister(PyObject
*, PyObject
*args
) {
25293 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25294 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
25296 return Py_BuildValue((char *)"");
25298 static PyObject
*_wrap_new_PreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25299 PyObject
*resultobj
;
25300 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25301 wxFrame
*arg2
= (wxFrame
*) 0 ;
25302 wxString
*arg3
= 0 ;
25303 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25304 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25305 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25306 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25307 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
25308 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
25309 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25310 wxPreviewFrame
*result
;
25311 bool temp3
= false ;
25314 bool temp7
= false ;
25315 PyObject
* obj0
= 0 ;
25316 PyObject
* obj1
= 0 ;
25317 PyObject
* obj2
= 0 ;
25318 PyObject
* obj3
= 0 ;
25319 PyObject
* obj4
= 0 ;
25320 PyObject
* obj5
= 0 ;
25321 PyObject
* obj6
= 0 ;
25322 char *kwnames
[] = {
25323 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25328 if (SWIG_arg_fail(1)) SWIG_fail
;
25329 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
25330 if (SWIG_arg_fail(2)) SWIG_fail
;
25332 arg3
= wxString_in_helper(obj2
);
25333 if (arg3
== NULL
) SWIG_fail
;
25339 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25345 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25350 arg6
= (long)(SWIG_As_long(obj5
));
25351 if (SWIG_arg_fail(6)) SWIG_fail
;
25356 arg7
= wxString_in_helper(obj6
);
25357 if (arg7
== NULL
) SWIG_fail
;
25362 if (!wxPyCheckForApp()) SWIG_fail
;
25363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25364 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25366 wxPyEndAllowThreads(__tstate
);
25367 if (PyErr_Occurred()) SWIG_fail
;
25369 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
25392 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25393 PyObject
*resultobj
;
25394 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25395 PyObject
* obj0
= 0 ;
25396 char *kwnames
[] = {
25397 (char *) "self", NULL
25400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
25401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25402 if (SWIG_arg_fail(1)) SWIG_fail
;
25404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25405 (arg1
)->Initialize();
25407 wxPyEndAllowThreads(__tstate
);
25408 if (PyErr_Occurred()) SWIG_fail
;
25410 Py_INCREF(Py_None
); resultobj
= Py_None
;
25417 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25418 PyObject
*resultobj
;
25419 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25420 PyObject
* obj0
= 0 ;
25421 char *kwnames
[] = {
25422 (char *) "self", NULL
25425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
25426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25427 if (SWIG_arg_fail(1)) SWIG_fail
;
25429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25430 (arg1
)->CreateControlBar();
25432 wxPyEndAllowThreads(__tstate
);
25433 if (PyErr_Occurred()) SWIG_fail
;
25435 Py_INCREF(Py_None
); resultobj
= Py_None
;
25442 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25443 PyObject
*resultobj
;
25444 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25445 PyObject
* obj0
= 0 ;
25446 char *kwnames
[] = {
25447 (char *) "self", NULL
25450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
25451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25452 if (SWIG_arg_fail(1)) SWIG_fail
;
25454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25455 (arg1
)->CreateCanvas();
25457 wxPyEndAllowThreads(__tstate
);
25458 if (PyErr_Occurred()) SWIG_fail
;
25460 Py_INCREF(Py_None
); resultobj
= Py_None
;
25467 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25468 PyObject
*resultobj
;
25469 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25470 wxPreviewControlBar
*result
;
25471 PyObject
* obj0
= 0 ;
25472 char *kwnames
[] = {
25473 (char *) "self", NULL
25476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
25477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25478 if (SWIG_arg_fail(1)) SWIG_fail
;
25480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25481 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
25483 wxPyEndAllowThreads(__tstate
);
25484 if (PyErr_Occurred()) SWIG_fail
;
25486 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
25493 static PyObject
* PreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
25495 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25496 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
25498 return Py_BuildValue((char *)"");
25500 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25501 PyObject
*resultobj
;
25502 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25504 wxWindow
*arg3
= (wxWindow
*) 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) wxTAB_TRAVERSAL
;
25510 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
25511 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25512 wxPreviewControlBar
*result
;
25515 bool temp7
= false ;
25516 PyObject
* obj0
= 0 ;
25517 PyObject
* obj1
= 0 ;
25518 PyObject
* obj2
= 0 ;
25519 PyObject
* obj3
= 0 ;
25520 PyObject
* obj4
= 0 ;
25521 PyObject
* obj5
= 0 ;
25522 PyObject
* obj6
= 0 ;
25523 char *kwnames
[] = {
25524 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25529 if (SWIG_arg_fail(1)) SWIG_fail
;
25531 arg2
= (long)(SWIG_As_long(obj1
));
25532 if (SWIG_arg_fail(2)) SWIG_fail
;
25534 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25535 if (SWIG_arg_fail(3)) SWIG_fail
;
25539 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25545 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25550 arg6
= (long)(SWIG_As_long(obj5
));
25551 if (SWIG_arg_fail(6)) SWIG_fail
;
25556 arg7
= wxString_in_helper(obj6
);
25557 if (arg7
== NULL
) SWIG_fail
;
25562 if (!wxPyCheckForApp()) SWIG_fail
;
25563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25564 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25566 wxPyEndAllowThreads(__tstate
);
25567 if (PyErr_Occurred()) SWIG_fail
;
25569 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
25584 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25585 PyObject
*resultobj
;
25586 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25588 PyObject
* obj0
= 0 ;
25589 char *kwnames
[] = {
25590 (char *) "self", NULL
25593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
25594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25595 if (SWIG_arg_fail(1)) SWIG_fail
;
25597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25598 result
= (int)(arg1
)->GetZoomControl();
25600 wxPyEndAllowThreads(__tstate
);
25601 if (PyErr_Occurred()) SWIG_fail
;
25604 resultobj
= SWIG_From_int((int)(result
));
25612 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25613 PyObject
*resultobj
;
25614 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25616 PyObject
* obj0
= 0 ;
25617 PyObject
* obj1
= 0 ;
25618 char *kwnames
[] = {
25619 (char *) "self",(char *) "zoom", NULL
25622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
25623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25624 if (SWIG_arg_fail(1)) SWIG_fail
;
25626 arg2
= (int)(SWIG_As_int(obj1
));
25627 if (SWIG_arg_fail(2)) SWIG_fail
;
25630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25631 (arg1
)->SetZoomControl(arg2
);
25633 wxPyEndAllowThreads(__tstate
);
25634 if (PyErr_Occurred()) SWIG_fail
;
25636 Py_INCREF(Py_None
); resultobj
= Py_None
;
25643 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25644 PyObject
*resultobj
;
25645 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25646 wxPrintPreview
*result
;
25647 PyObject
* obj0
= 0 ;
25648 char *kwnames
[] = {
25649 (char *) "self", NULL
25652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
25653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25654 if (SWIG_arg_fail(1)) SWIG_fail
;
25656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25657 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
25659 wxPyEndAllowThreads(__tstate
);
25660 if (PyErr_Occurred()) SWIG_fail
;
25662 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
25669 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25670 PyObject
*resultobj
;
25671 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25672 PyObject
* obj0
= 0 ;
25673 char *kwnames
[] = {
25674 (char *) "self", NULL
25677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
25678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25679 if (SWIG_arg_fail(1)) SWIG_fail
;
25681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25684 wxPyEndAllowThreads(__tstate
);
25685 if (PyErr_Occurred()) SWIG_fail
;
25687 Py_INCREF(Py_None
); resultobj
= Py_None
;
25694 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25695 PyObject
*resultobj
;
25696 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25697 PyObject
* obj0
= 0 ;
25698 char *kwnames
[] = {
25699 (char *) "self", NULL
25702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
25703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25704 if (SWIG_arg_fail(1)) SWIG_fail
;
25706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25707 (arg1
)->OnPrevious();
25709 wxPyEndAllowThreads(__tstate
);
25710 if (PyErr_Occurred()) SWIG_fail
;
25712 Py_INCREF(Py_None
); resultobj
= Py_None
;
25719 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25720 PyObject
*resultobj
;
25721 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25722 PyObject
* obj0
= 0 ;
25723 char *kwnames
[] = {
25724 (char *) "self", NULL
25727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
25728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25729 if (SWIG_arg_fail(1)) SWIG_fail
;
25731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25734 wxPyEndAllowThreads(__tstate
);
25735 if (PyErr_Occurred()) SWIG_fail
;
25737 Py_INCREF(Py_None
); resultobj
= Py_None
;
25744 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25745 PyObject
*resultobj
;
25746 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25747 PyObject
* obj0
= 0 ;
25748 char *kwnames
[] = {
25749 (char *) "self", NULL
25752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
25753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25754 if (SWIG_arg_fail(1)) SWIG_fail
;
25756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25759 wxPyEndAllowThreads(__tstate
);
25760 if (PyErr_Occurred()) SWIG_fail
;
25762 Py_INCREF(Py_None
); resultobj
= Py_None
;
25769 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25770 PyObject
*resultobj
;
25771 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25772 PyObject
* obj0
= 0 ;
25773 char *kwnames
[] = {
25774 (char *) "self", NULL
25777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
25778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25779 if (SWIG_arg_fail(1)) SWIG_fail
;
25781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25784 wxPyEndAllowThreads(__tstate
);
25785 if (PyErr_Occurred()) SWIG_fail
;
25787 Py_INCREF(Py_None
); resultobj
= Py_None
;
25794 static PyObject
* PreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
25796 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25797 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
25799 return Py_BuildValue((char *)"");
25801 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
25802 PyObject
*resultobj
;
25803 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25804 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
25805 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
25806 wxPrintPreview
*result
;
25807 PyObject
* obj0
= 0 ;
25808 PyObject
* obj1
= 0 ;
25809 PyObject
* obj2
= 0 ;
25811 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
25812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25813 if (SWIG_arg_fail(1)) SWIG_fail
;
25814 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25815 if (SWIG_arg_fail(2)) SWIG_fail
;
25817 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
25818 if (SWIG_arg_fail(3)) SWIG_fail
;
25821 if (!wxPyCheckForApp()) SWIG_fail
;
25822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25823 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
25825 wxPyEndAllowThreads(__tstate
);
25826 if (PyErr_Occurred()) SWIG_fail
;
25828 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
25835 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
25836 PyObject
*resultobj
;
25837 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25838 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
25839 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
25840 wxPrintPreview
*result
;
25841 PyObject
* obj0
= 0 ;
25842 PyObject
* obj1
= 0 ;
25843 PyObject
* obj2
= 0 ;
25845 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
25846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25847 if (SWIG_arg_fail(1)) SWIG_fail
;
25848 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25849 if (SWIG_arg_fail(2)) SWIG_fail
;
25850 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
25851 if (SWIG_arg_fail(3)) SWIG_fail
;
25853 if (!wxPyCheckForApp()) SWIG_fail
;
25854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25855 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
25857 wxPyEndAllowThreads(__tstate
);
25858 if (PyErr_Occurred()) SWIG_fail
;
25860 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
25867 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
25872 argc
= PyObject_Length(args
);
25873 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
25874 argv
[ii
] = PyTuple_GetItem(args
,ii
);
25876 if ((argc
>= 2) && (argc
<= 3)) {
25880 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25890 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25899 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
25903 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
25911 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
25920 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25930 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25940 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
25948 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
25954 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
25959 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25960 PyObject
*resultobj
;
25961 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25964 PyObject
* obj0
= 0 ;
25965 PyObject
* obj1
= 0 ;
25966 char *kwnames
[] = {
25967 (char *) "self",(char *) "pageNum", NULL
25970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
25971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25972 if (SWIG_arg_fail(1)) SWIG_fail
;
25974 arg2
= (int)(SWIG_As_int(obj1
));
25975 if (SWIG_arg_fail(2)) SWIG_fail
;
25978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25979 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
25981 wxPyEndAllowThreads(__tstate
);
25982 if (PyErr_Occurred()) SWIG_fail
;
25985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25993 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25994 PyObject
*resultobj
;
25995 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25997 PyObject
* obj0
= 0 ;
25998 char *kwnames
[] = {
25999 (char *) "self", NULL
26002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
26003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26004 if (SWIG_arg_fail(1)) SWIG_fail
;
26006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26007 result
= (int)(arg1
)->GetCurrentPage();
26009 wxPyEndAllowThreads(__tstate
);
26010 if (PyErr_Occurred()) SWIG_fail
;
26013 resultobj
= SWIG_From_int((int)(result
));
26021 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26022 PyObject
*resultobj
;
26023 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26024 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26025 PyObject
* obj0
= 0 ;
26026 PyObject
* obj1
= 0 ;
26027 char *kwnames
[] = {
26028 (char *) "self",(char *) "printout", NULL
26031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
26032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26033 if (SWIG_arg_fail(1)) SWIG_fail
;
26034 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26035 if (SWIG_arg_fail(2)) SWIG_fail
;
26037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26038 (arg1
)->SetPrintout(arg2
);
26040 wxPyEndAllowThreads(__tstate
);
26041 if (PyErr_Occurred()) SWIG_fail
;
26043 Py_INCREF(Py_None
); resultobj
= Py_None
;
26050 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26051 PyObject
*resultobj
;
26052 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26053 wxPyPrintout
*result
;
26054 PyObject
* obj0
= 0 ;
26055 char *kwnames
[] = {
26056 (char *) "self", NULL
26059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
26060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26061 if (SWIG_arg_fail(1)) SWIG_fail
;
26063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26064 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
26066 wxPyEndAllowThreads(__tstate
);
26067 if (PyErr_Occurred()) SWIG_fail
;
26070 resultobj
= wxPyMake_wxObject(result
, 0);
26078 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26079 PyObject
*resultobj
;
26080 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26081 wxPyPrintout
*result
;
26082 PyObject
* obj0
= 0 ;
26083 char *kwnames
[] = {
26084 (char *) "self", NULL
26087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
26088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26089 if (SWIG_arg_fail(1)) SWIG_fail
;
26091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26092 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
26094 wxPyEndAllowThreads(__tstate
);
26095 if (PyErr_Occurred()) SWIG_fail
;
26098 resultobj
= wxPyMake_wxObject(result
, 0);
26106 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26107 PyObject
*resultobj
;
26108 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26109 wxFrame
*arg2
= (wxFrame
*) 0 ;
26110 PyObject
* obj0
= 0 ;
26111 PyObject
* obj1
= 0 ;
26112 char *kwnames
[] = {
26113 (char *) "self",(char *) "frame", NULL
26116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
26117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26118 if (SWIG_arg_fail(1)) SWIG_fail
;
26119 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
26120 if (SWIG_arg_fail(2)) SWIG_fail
;
26122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26123 (arg1
)->SetFrame(arg2
);
26125 wxPyEndAllowThreads(__tstate
);
26126 if (PyErr_Occurred()) SWIG_fail
;
26128 Py_INCREF(Py_None
); resultobj
= Py_None
;
26135 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26136 PyObject
*resultobj
;
26137 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26138 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26139 PyObject
* obj0
= 0 ;
26140 PyObject
* obj1
= 0 ;
26141 char *kwnames
[] = {
26142 (char *) "self",(char *) "canvas", NULL
26145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
26146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26147 if (SWIG_arg_fail(1)) SWIG_fail
;
26148 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26149 if (SWIG_arg_fail(2)) SWIG_fail
;
26151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26152 (arg1
)->SetCanvas(arg2
);
26154 wxPyEndAllowThreads(__tstate
);
26155 if (PyErr_Occurred()) SWIG_fail
;
26157 Py_INCREF(Py_None
); resultobj
= Py_None
;
26164 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26165 PyObject
*resultobj
;
26166 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26168 PyObject
* obj0
= 0 ;
26169 char *kwnames
[] = {
26170 (char *) "self", NULL
26173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
26174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26175 if (SWIG_arg_fail(1)) SWIG_fail
;
26177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26178 result
= (wxFrame
*)(arg1
)->GetFrame();
26180 wxPyEndAllowThreads(__tstate
);
26181 if (PyErr_Occurred()) SWIG_fail
;
26184 resultobj
= wxPyMake_wxObject(result
, 0);
26192 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26193 PyObject
*resultobj
;
26194 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26195 wxPreviewCanvas
*result
;
26196 PyObject
* obj0
= 0 ;
26197 char *kwnames
[] = {
26198 (char *) "self", NULL
26201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
26202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26203 if (SWIG_arg_fail(1)) SWIG_fail
;
26205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26206 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
26208 wxPyEndAllowThreads(__tstate
);
26209 if (PyErr_Occurred()) SWIG_fail
;
26211 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
26218 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26219 PyObject
*resultobj
;
26220 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26221 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26224 PyObject
* obj0
= 0 ;
26225 PyObject
* obj1
= 0 ;
26226 PyObject
* obj2
= 0 ;
26227 char *kwnames
[] = {
26228 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26233 if (SWIG_arg_fail(1)) SWIG_fail
;
26234 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26235 if (SWIG_arg_fail(2)) SWIG_fail
;
26237 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26238 if (SWIG_arg_fail(3)) SWIG_fail
;
26239 if (arg3
== NULL
) {
26240 SWIG_null_ref("wxDC");
26242 if (SWIG_arg_fail(3)) SWIG_fail
;
26245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26246 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
26248 wxPyEndAllowThreads(__tstate
);
26249 if (PyErr_Occurred()) SWIG_fail
;
26252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26260 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26261 PyObject
*resultobj
;
26262 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26263 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26266 PyObject
* obj0
= 0 ;
26267 PyObject
* obj1
= 0 ;
26268 PyObject
* obj2
= 0 ;
26269 char *kwnames
[] = {
26270 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26275 if (SWIG_arg_fail(1)) SWIG_fail
;
26276 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26277 if (SWIG_arg_fail(2)) SWIG_fail
;
26279 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26280 if (SWIG_arg_fail(3)) SWIG_fail
;
26281 if (arg3
== NULL
) {
26282 SWIG_null_ref("wxDC");
26284 if (SWIG_arg_fail(3)) SWIG_fail
;
26287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26288 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
26290 wxPyEndAllowThreads(__tstate
);
26291 if (PyErr_Occurred()) SWIG_fail
;
26294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26302 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26303 PyObject
*resultobj
;
26304 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26307 PyObject
* obj0
= 0 ;
26308 PyObject
* obj1
= 0 ;
26309 char *kwnames
[] = {
26310 (char *) "self",(char *) "pageNum", NULL
26313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26315 if (SWIG_arg_fail(1)) SWIG_fail
;
26317 arg2
= (int)(SWIG_As_int(obj1
));
26318 if (SWIG_arg_fail(2)) SWIG_fail
;
26321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26322 result
= (bool)(arg1
)->RenderPage(arg2
);
26324 wxPyEndAllowThreads(__tstate
);
26325 if (PyErr_Occurred()) SWIG_fail
;
26328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26336 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26337 PyObject
*resultobj
;
26338 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26339 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26340 PyObject
* obj0
= 0 ;
26341 PyObject
* obj1
= 0 ;
26342 char *kwnames
[] = {
26343 (char *) "self",(char *) "canvas", NULL
26346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
26347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26348 if (SWIG_arg_fail(1)) SWIG_fail
;
26349 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26350 if (SWIG_arg_fail(2)) SWIG_fail
;
26352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26353 (arg1
)->AdjustScrollbars(arg2
);
26355 wxPyEndAllowThreads(__tstate
);
26356 if (PyErr_Occurred()) SWIG_fail
;
26358 Py_INCREF(Py_None
); resultobj
= Py_None
;
26365 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26366 PyObject
*resultobj
;
26367 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26368 wxPrintDialogData
*result
;
26369 PyObject
* obj0
= 0 ;
26370 char *kwnames
[] = {
26371 (char *) "self", NULL
26374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
26375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26376 if (SWIG_arg_fail(1)) SWIG_fail
;
26378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26380 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
26381 result
= (wxPrintDialogData
*) &_result_ref
;
26384 wxPyEndAllowThreads(__tstate
);
26385 if (PyErr_Occurred()) SWIG_fail
;
26387 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
26394 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26395 PyObject
*resultobj
;
26396 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26398 PyObject
* obj0
= 0 ;
26399 PyObject
* obj1
= 0 ;
26400 char *kwnames
[] = {
26401 (char *) "self",(char *) "percent", NULL
26404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
26405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26406 if (SWIG_arg_fail(1)) SWIG_fail
;
26408 arg2
= (int)(SWIG_As_int(obj1
));
26409 if (SWIG_arg_fail(2)) SWIG_fail
;
26412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26413 (arg1
)->SetZoom(arg2
);
26415 wxPyEndAllowThreads(__tstate
);
26416 if (PyErr_Occurred()) SWIG_fail
;
26418 Py_INCREF(Py_None
); resultobj
= Py_None
;
26425 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26426 PyObject
*resultobj
;
26427 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26429 PyObject
* obj0
= 0 ;
26430 char *kwnames
[] = {
26431 (char *) "self", NULL
26434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
26435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26436 if (SWIG_arg_fail(1)) SWIG_fail
;
26438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26439 result
= (int)(arg1
)->GetZoom();
26441 wxPyEndAllowThreads(__tstate
);
26442 if (PyErr_Occurred()) SWIG_fail
;
26445 resultobj
= SWIG_From_int((int)(result
));
26453 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26454 PyObject
*resultobj
;
26455 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26457 PyObject
* obj0
= 0 ;
26458 char *kwnames
[] = {
26459 (char *) "self", NULL
26462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
26463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26464 if (SWIG_arg_fail(1)) SWIG_fail
;
26466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26467 result
= (int)(arg1
)->GetMaxPage();
26469 wxPyEndAllowThreads(__tstate
);
26470 if (PyErr_Occurred()) SWIG_fail
;
26473 resultobj
= SWIG_From_int((int)(result
));
26481 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26482 PyObject
*resultobj
;
26483 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26485 PyObject
* obj0
= 0 ;
26486 char *kwnames
[] = {
26487 (char *) "self", NULL
26490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
26491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26492 if (SWIG_arg_fail(1)) SWIG_fail
;
26494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26495 result
= (int)(arg1
)->GetMinPage();
26497 wxPyEndAllowThreads(__tstate
);
26498 if (PyErr_Occurred()) SWIG_fail
;
26501 resultobj
= SWIG_From_int((int)(result
));
26509 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26510 PyObject
*resultobj
;
26511 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26513 PyObject
* obj0
= 0 ;
26514 char *kwnames
[] = {
26515 (char *) "self", NULL
26518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
26519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26520 if (SWIG_arg_fail(1)) SWIG_fail
;
26522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26523 result
= (bool)(arg1
)->Ok();
26525 wxPyEndAllowThreads(__tstate
);
26526 if (PyErr_Occurred()) SWIG_fail
;
26529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26537 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26538 PyObject
*resultobj
;
26539 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26541 PyObject
* obj0
= 0 ;
26542 PyObject
* obj1
= 0 ;
26543 char *kwnames
[] = {
26544 (char *) "self",(char *) "ok", NULL
26547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
26548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26549 if (SWIG_arg_fail(1)) SWIG_fail
;
26551 arg2
= (bool)(SWIG_As_bool(obj1
));
26552 if (SWIG_arg_fail(2)) SWIG_fail
;
26555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26556 (arg1
)->SetOk(arg2
);
26558 wxPyEndAllowThreads(__tstate
);
26559 if (PyErr_Occurred()) SWIG_fail
;
26561 Py_INCREF(Py_None
); resultobj
= Py_None
;
26568 static PyObject
*_wrap_PrintPreview_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26569 PyObject
*resultobj
;
26570 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26573 PyObject
* obj0
= 0 ;
26574 PyObject
* obj1
= 0 ;
26575 char *kwnames
[] = {
26576 (char *) "self",(char *) "interactive", NULL
26579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
26580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26581 if (SWIG_arg_fail(1)) SWIG_fail
;
26583 arg2
= (bool)(SWIG_As_bool(obj1
));
26584 if (SWIG_arg_fail(2)) SWIG_fail
;
26587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26588 result
= (bool)(arg1
)->Print(arg2
);
26590 wxPyEndAllowThreads(__tstate
);
26591 if (PyErr_Occurred()) SWIG_fail
;
26594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26602 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26603 PyObject
*resultobj
;
26604 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26605 PyObject
* obj0
= 0 ;
26606 char *kwnames
[] = {
26607 (char *) "self", NULL
26610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
26611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26612 if (SWIG_arg_fail(1)) SWIG_fail
;
26614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26615 (arg1
)->DetermineScaling();
26617 wxPyEndAllowThreads(__tstate
);
26618 if (PyErr_Occurred()) SWIG_fail
;
26620 Py_INCREF(Py_None
); resultobj
= Py_None
;
26627 static PyObject
* PrintPreview_swigregister(PyObject
*, PyObject
*args
) {
26629 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26630 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
26632 return Py_BuildValue((char *)"");
26634 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
26635 PyObject
*resultobj
;
26636 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
26637 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26638 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
26639 wxPyPrintPreview
*result
;
26640 PyObject
* obj0
= 0 ;
26641 PyObject
* obj1
= 0 ;
26642 PyObject
* obj2
= 0 ;
26644 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
26645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26646 if (SWIG_arg_fail(1)) SWIG_fail
;
26647 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26648 if (SWIG_arg_fail(2)) SWIG_fail
;
26650 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
26651 if (SWIG_arg_fail(3)) SWIG_fail
;
26654 if (!wxPyCheckForApp()) SWIG_fail
;
26655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26656 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
26658 wxPyEndAllowThreads(__tstate
);
26659 if (PyErr_Occurred()) SWIG_fail
;
26661 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
26668 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
26669 PyObject
*resultobj
;
26670 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
26671 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26672 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
26673 wxPyPrintPreview
*result
;
26674 PyObject
* obj0
= 0 ;
26675 PyObject
* obj1
= 0 ;
26676 PyObject
* obj2
= 0 ;
26678 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
26679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26680 if (SWIG_arg_fail(1)) SWIG_fail
;
26681 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26682 if (SWIG_arg_fail(2)) SWIG_fail
;
26683 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
26684 if (SWIG_arg_fail(3)) SWIG_fail
;
26686 if (!wxPyCheckForApp()) SWIG_fail
;
26687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26688 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
26690 wxPyEndAllowThreads(__tstate
);
26691 if (PyErr_Occurred()) SWIG_fail
;
26693 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
26700 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
26705 argc
= PyObject_Length(args
);
26706 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
26707 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26709 if ((argc
>= 2) && (argc
<= 3)) {
26713 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26723 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26732 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
26736 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
26744 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
26753 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26763 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26773 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
26781 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
26787 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
26792 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26793 PyObject
*resultobj
;
26794 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26795 PyObject
*arg2
= (PyObject
*) 0 ;
26796 PyObject
*arg3
= (PyObject
*) 0 ;
26797 PyObject
* obj0
= 0 ;
26798 PyObject
* obj1
= 0 ;
26799 PyObject
* obj2
= 0 ;
26800 char *kwnames
[] = {
26801 (char *) "self",(char *) "self",(char *) "_class", NULL
26804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26806 if (SWIG_arg_fail(1)) SWIG_fail
;
26810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26811 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26813 wxPyEndAllowThreads(__tstate
);
26814 if (PyErr_Occurred()) SWIG_fail
;
26816 Py_INCREF(Py_None
); resultobj
= Py_None
;
26823 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26824 PyObject
*resultobj
;
26825 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26828 PyObject
* obj0
= 0 ;
26829 PyObject
* obj1
= 0 ;
26830 char *kwnames
[] = {
26831 (char *) "self",(char *) "pageNum", NULL
26834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26836 if (SWIG_arg_fail(1)) SWIG_fail
;
26838 arg2
= (int)(SWIG_As_int(obj1
));
26839 if (SWIG_arg_fail(2)) SWIG_fail
;
26842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26843 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
26845 wxPyEndAllowThreads(__tstate
);
26846 if (PyErr_Occurred()) SWIG_fail
;
26849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26857 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26858 PyObject
*resultobj
;
26859 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26860 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26863 PyObject
* obj0
= 0 ;
26864 PyObject
* obj1
= 0 ;
26865 PyObject
* obj2
= 0 ;
26866 char *kwnames
[] = {
26867 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26872 if (SWIG_arg_fail(1)) SWIG_fail
;
26873 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26874 if (SWIG_arg_fail(2)) SWIG_fail
;
26876 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26877 if (SWIG_arg_fail(3)) SWIG_fail
;
26878 if (arg3
== NULL
) {
26879 SWIG_null_ref("wxDC");
26881 if (SWIG_arg_fail(3)) SWIG_fail
;
26884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26885 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
26887 wxPyEndAllowThreads(__tstate
);
26888 if (PyErr_Occurred()) SWIG_fail
;
26891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26899 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26900 PyObject
*resultobj
;
26901 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26902 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26905 PyObject
* obj0
= 0 ;
26906 PyObject
* obj1
= 0 ;
26907 PyObject
* obj2
= 0 ;
26908 char *kwnames
[] = {
26909 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26914 if (SWIG_arg_fail(1)) SWIG_fail
;
26915 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26916 if (SWIG_arg_fail(2)) SWIG_fail
;
26918 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26919 if (SWIG_arg_fail(3)) SWIG_fail
;
26920 if (arg3
== NULL
) {
26921 SWIG_null_ref("wxDC");
26923 if (SWIG_arg_fail(3)) SWIG_fail
;
26926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26927 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
26929 wxPyEndAllowThreads(__tstate
);
26930 if (PyErr_Occurred()) SWIG_fail
;
26933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26941 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26942 PyObject
*resultobj
;
26943 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26946 PyObject
* obj0
= 0 ;
26947 PyObject
* obj1
= 0 ;
26948 char *kwnames
[] = {
26949 (char *) "self",(char *) "pageNum", NULL
26952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26954 if (SWIG_arg_fail(1)) SWIG_fail
;
26956 arg2
= (int)(SWIG_As_int(obj1
));
26957 if (SWIG_arg_fail(2)) SWIG_fail
;
26960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26961 result
= (bool)(arg1
)->base_RenderPage(arg2
);
26963 wxPyEndAllowThreads(__tstate
);
26964 if (PyErr_Occurred()) SWIG_fail
;
26967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26975 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26976 PyObject
*resultobj
;
26977 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26979 PyObject
* obj0
= 0 ;
26980 PyObject
* obj1
= 0 ;
26981 char *kwnames
[] = {
26982 (char *) "self",(char *) "percent", NULL
26985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
26986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26987 if (SWIG_arg_fail(1)) SWIG_fail
;
26989 arg2
= (int)(SWIG_As_int(obj1
));
26990 if (SWIG_arg_fail(2)) SWIG_fail
;
26993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26994 (arg1
)->base_SetZoom(arg2
);
26996 wxPyEndAllowThreads(__tstate
);
26997 if (PyErr_Occurred()) SWIG_fail
;
26999 Py_INCREF(Py_None
); resultobj
= Py_None
;
27006 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27007 PyObject
*resultobj
;
27008 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27011 PyObject
* obj0
= 0 ;
27012 PyObject
* obj1
= 0 ;
27013 char *kwnames
[] = {
27014 (char *) "self",(char *) "interactive", NULL
27017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
27018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27019 if (SWIG_arg_fail(1)) SWIG_fail
;
27021 arg2
= (bool)(SWIG_As_bool(obj1
));
27022 if (SWIG_arg_fail(2)) SWIG_fail
;
27025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27026 result
= (bool)(arg1
)->base_Print(arg2
);
27028 wxPyEndAllowThreads(__tstate
);
27029 if (PyErr_Occurred()) SWIG_fail
;
27032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27040 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27041 PyObject
*resultobj
;
27042 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27043 PyObject
* obj0
= 0 ;
27044 char *kwnames
[] = {
27045 (char *) "self", NULL
27048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
27049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27050 if (SWIG_arg_fail(1)) SWIG_fail
;
27052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27053 (arg1
)->base_DetermineScaling();
27055 wxPyEndAllowThreads(__tstate
);
27056 if (PyErr_Occurred()) SWIG_fail
;
27058 Py_INCREF(Py_None
); resultobj
= Py_None
;
27065 static PyObject
* PyPrintPreview_swigregister(PyObject
*, PyObject
*args
) {
27067 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27068 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
27070 return Py_BuildValue((char *)"");
27072 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27073 PyObject
*resultobj
;
27074 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
27075 wxFrame
*arg2
= (wxFrame
*) 0 ;
27076 wxString
*arg3
= 0 ;
27077 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27078 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27079 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27080 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27081 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
27082 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
27083 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27084 wxPyPreviewFrame
*result
;
27085 bool temp3
= false ;
27088 bool temp7
= false ;
27089 PyObject
* obj0
= 0 ;
27090 PyObject
* obj1
= 0 ;
27091 PyObject
* obj2
= 0 ;
27092 PyObject
* obj3
= 0 ;
27093 PyObject
* obj4
= 0 ;
27094 PyObject
* obj5
= 0 ;
27095 PyObject
* obj6
= 0 ;
27096 char *kwnames
[] = {
27097 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27102 if (SWIG_arg_fail(1)) SWIG_fail
;
27103 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
27104 if (SWIG_arg_fail(2)) SWIG_fail
;
27106 arg3
= wxString_in_helper(obj2
);
27107 if (arg3
== NULL
) SWIG_fail
;
27113 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27119 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27124 arg6
= (long)(SWIG_As_long(obj5
));
27125 if (SWIG_arg_fail(6)) SWIG_fail
;
27130 arg7
= wxString_in_helper(obj6
);
27131 if (arg7
== NULL
) SWIG_fail
;
27136 if (!wxPyCheckForApp()) SWIG_fail
;
27137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27138 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
27140 wxPyEndAllowThreads(__tstate
);
27141 if (PyErr_Occurred()) SWIG_fail
;
27143 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
27166 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27167 PyObject
*resultobj
;
27168 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27169 PyObject
*arg2
= (PyObject
*) 0 ;
27170 PyObject
*arg3
= (PyObject
*) 0 ;
27171 PyObject
* obj0
= 0 ;
27172 PyObject
* obj1
= 0 ;
27173 PyObject
* obj2
= 0 ;
27174 char *kwnames
[] = {
27175 (char *) "self",(char *) "self",(char *) "_class", NULL
27178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27180 if (SWIG_arg_fail(1)) SWIG_fail
;
27184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27185 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27187 wxPyEndAllowThreads(__tstate
);
27188 if (PyErr_Occurred()) SWIG_fail
;
27190 Py_INCREF(Py_None
); resultobj
= Py_None
;
27197 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27198 PyObject
*resultobj
;
27199 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27200 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
27201 PyObject
* obj0
= 0 ;
27202 PyObject
* obj1
= 0 ;
27203 char *kwnames
[] = {
27204 (char *) "self",(char *) "canvas", NULL
27207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
27208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27209 if (SWIG_arg_fail(1)) SWIG_fail
;
27210 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
27211 if (SWIG_arg_fail(2)) SWIG_fail
;
27213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27214 (arg1
)->SetPreviewCanvas(arg2
);
27216 wxPyEndAllowThreads(__tstate
);
27217 if (PyErr_Occurred()) SWIG_fail
;
27219 Py_INCREF(Py_None
); resultobj
= Py_None
;
27226 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27227 PyObject
*resultobj
;
27228 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27229 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
27230 PyObject
* obj0
= 0 ;
27231 PyObject
* obj1
= 0 ;
27232 char *kwnames
[] = {
27233 (char *) "self",(char *) "bar", NULL
27236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
27237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27238 if (SWIG_arg_fail(1)) SWIG_fail
;
27239 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27240 if (SWIG_arg_fail(2)) SWIG_fail
;
27242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27243 (arg1
)->SetControlBar(arg2
);
27245 wxPyEndAllowThreads(__tstate
);
27246 if (PyErr_Occurred()) SWIG_fail
;
27248 Py_INCREF(Py_None
); resultobj
= Py_None
;
27255 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27256 PyObject
*resultobj
;
27257 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27258 PyObject
* obj0
= 0 ;
27259 char *kwnames
[] = {
27260 (char *) "self", NULL
27263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
27264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27265 if (SWIG_arg_fail(1)) SWIG_fail
;
27267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27268 (arg1
)->base_Initialize();
27270 wxPyEndAllowThreads(__tstate
);
27271 if (PyErr_Occurred()) SWIG_fail
;
27273 Py_INCREF(Py_None
); resultobj
= Py_None
;
27280 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27281 PyObject
*resultobj
;
27282 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27283 PyObject
* obj0
= 0 ;
27284 char *kwnames
[] = {
27285 (char *) "self", NULL
27288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
27289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27290 if (SWIG_arg_fail(1)) SWIG_fail
;
27292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27293 (arg1
)->base_CreateCanvas();
27295 wxPyEndAllowThreads(__tstate
);
27296 if (PyErr_Occurred()) SWIG_fail
;
27298 Py_INCREF(Py_None
); resultobj
= Py_None
;
27305 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27306 PyObject
*resultobj
;
27307 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27308 PyObject
* obj0
= 0 ;
27309 char *kwnames
[] = {
27310 (char *) "self", NULL
27313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
27314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27315 if (SWIG_arg_fail(1)) SWIG_fail
;
27317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27318 (arg1
)->base_CreateControlBar();
27320 wxPyEndAllowThreads(__tstate
);
27321 if (PyErr_Occurred()) SWIG_fail
;
27323 Py_INCREF(Py_None
); resultobj
= Py_None
;
27330 static PyObject
* PyPreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
27332 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27333 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
27335 return Py_BuildValue((char *)"");
27337 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27338 PyObject
*resultobj
;
27339 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
27341 wxWindow
*arg3
= (wxWindow
*) 0 ;
27342 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27343 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27344 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27345 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27346 long arg6
= (long) 0 ;
27347 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
27348 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27349 wxPyPreviewControlBar
*result
;
27352 bool temp7
= false ;
27353 PyObject
* obj0
= 0 ;
27354 PyObject
* obj1
= 0 ;
27355 PyObject
* obj2
= 0 ;
27356 PyObject
* obj3
= 0 ;
27357 PyObject
* obj4
= 0 ;
27358 PyObject
* obj5
= 0 ;
27359 PyObject
* obj6
= 0 ;
27360 char *kwnames
[] = {
27361 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27366 if (SWIG_arg_fail(1)) SWIG_fail
;
27368 arg2
= (long)(SWIG_As_long(obj1
));
27369 if (SWIG_arg_fail(2)) SWIG_fail
;
27371 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27372 if (SWIG_arg_fail(3)) SWIG_fail
;
27376 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27382 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27387 arg6
= (long)(SWIG_As_long(obj5
));
27388 if (SWIG_arg_fail(6)) SWIG_fail
;
27393 arg7
= wxString_in_helper(obj6
);
27394 if (arg7
== NULL
) SWIG_fail
;
27399 if (!wxPyCheckForApp()) SWIG_fail
;
27400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27401 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
27403 wxPyEndAllowThreads(__tstate
);
27404 if (PyErr_Occurred()) SWIG_fail
;
27406 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
27421 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27422 PyObject
*resultobj
;
27423 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27424 PyObject
*arg2
= (PyObject
*) 0 ;
27425 PyObject
*arg3
= (PyObject
*) 0 ;
27426 PyObject
* obj0
= 0 ;
27427 PyObject
* obj1
= 0 ;
27428 PyObject
* obj2
= 0 ;
27429 char *kwnames
[] = {
27430 (char *) "self",(char *) "self",(char *) "_class", NULL
27433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27435 if (SWIG_arg_fail(1)) SWIG_fail
;
27439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27440 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27442 wxPyEndAllowThreads(__tstate
);
27443 if (PyErr_Occurred()) SWIG_fail
;
27445 Py_INCREF(Py_None
); resultobj
= Py_None
;
27452 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27453 PyObject
*resultobj
;
27454 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27455 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
27456 PyObject
* obj0
= 0 ;
27457 PyObject
* obj1
= 0 ;
27458 char *kwnames
[] = {
27459 (char *) "self",(char *) "preview", NULL
27462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
27463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27464 if (SWIG_arg_fail(1)) SWIG_fail
;
27465 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27466 if (SWIG_arg_fail(2)) SWIG_fail
;
27468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27469 (arg1
)->SetPrintPreview(arg2
);
27471 wxPyEndAllowThreads(__tstate
);
27472 if (PyErr_Occurred()) SWIG_fail
;
27474 Py_INCREF(Py_None
); resultobj
= Py_None
;
27481 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27482 PyObject
*resultobj
;
27483 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27484 PyObject
* obj0
= 0 ;
27485 char *kwnames
[] = {
27486 (char *) "self", NULL
27489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
27490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27491 if (SWIG_arg_fail(1)) SWIG_fail
;
27493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27494 (arg1
)->base_CreateButtons();
27496 wxPyEndAllowThreads(__tstate
);
27497 if (PyErr_Occurred()) SWIG_fail
;
27499 Py_INCREF(Py_None
); resultobj
= Py_None
;
27506 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27507 PyObject
*resultobj
;
27508 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27510 PyObject
* obj0
= 0 ;
27511 PyObject
* obj1
= 0 ;
27512 char *kwnames
[] = {
27513 (char *) "self",(char *) "zoom", NULL
27516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
27517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27518 if (SWIG_arg_fail(1)) SWIG_fail
;
27520 arg2
= (int)(SWIG_As_int(obj1
));
27521 if (SWIG_arg_fail(2)) SWIG_fail
;
27524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27525 (arg1
)->base_SetZoomControl(arg2
);
27527 wxPyEndAllowThreads(__tstate
);
27528 if (PyErr_Occurred()) SWIG_fail
;
27530 Py_INCREF(Py_None
); resultobj
= Py_None
;
27537 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
27539 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27540 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
27542 return Py_BuildValue((char *)"");
27544 static PyMethodDef SwigMethods
[] = {
27545 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27546 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27547 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27548 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27549 { (char *)"Panel_SetFocus", (PyCFunction
) _wrap_Panel_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27550 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
) _wrap_Panel_SetFocusIgnoringChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27551 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27552 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
27553 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27554 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27555 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27556 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27557 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27558 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27559 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27560 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27561 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27562 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27563 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27564 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27565 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27566 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27567 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
27568 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
27569 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27570 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27571 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27572 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27573 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27574 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_GetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27575 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27576 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27577 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
27578 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27579 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27580 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27581 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27582 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27583 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27584 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27585 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27586 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27587 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27588 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27589 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27590 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27591 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27592 { (char *)"TopLevelWindow_IsActive", (PyCFunction
) _wrap_TopLevelWindow_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27593 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27594 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacGetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27595 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
27596 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27597 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27598 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27599 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27600 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27601 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27602 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27603 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27604 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27605 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27606 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27607 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27608 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27609 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27610 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27611 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27612 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27613 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27614 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27615 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27616 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27617 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27618 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27619 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
27620 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27621 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27622 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27623 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27624 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27625 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27626 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27627 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27628 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27629 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27630 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27631 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27632 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
27633 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27634 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27635 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27636 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
27637 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27638 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27639 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27640 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
27641 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27642 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27643 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27644 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27645 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
27646 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27647 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27648 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27649 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27650 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27651 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27652 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27653 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27654 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27655 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27656 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27657 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27658 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27659 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27660 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27661 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27662 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
27663 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27664 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27665 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27666 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27667 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27668 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27669 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27670 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27671 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27672 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27673 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27674 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27675 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27676 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27677 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27678 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27679 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27680 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27681 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27682 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27683 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27684 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
) _wrap_SplitterWindow_GetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27685 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27686 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27687 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27688 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27689 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27690 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27691 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27692 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
27693 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27694 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27695 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27696 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27697 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27698 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27699 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
27700 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27701 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27702 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27703 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27704 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27705 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27706 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27707 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27708 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27709 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27710 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27711 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27712 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27713 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27714 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27715 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27716 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27717 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27718 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27719 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27720 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27721 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27722 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
27723 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27724 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27725 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27726 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27727 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27728 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27729 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27730 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
27731 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27732 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27733 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27734 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27735 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27736 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27737 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27738 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27739 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27740 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27741 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27742 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
27743 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27744 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27745 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27746 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27747 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27748 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
27749 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27750 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27751 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27752 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27753 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27754 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27755 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27756 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27757 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
27758 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27759 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27760 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27761 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27762 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27763 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
27764 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27765 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27766 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
27767 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27768 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27769 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
27770 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27771 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27772 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27773 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
27774 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27775 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27776 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27777 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27778 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27779 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27780 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27781 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27782 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27783 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27784 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27785 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27786 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27787 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27788 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27789 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27790 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27791 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
27792 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27793 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27794 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27795 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27796 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27797 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27798 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27799 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27800 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27801 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27802 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27803 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27804 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27805 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27806 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27807 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27808 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27809 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27810 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27811 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27812 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27813 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27814 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27815 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27816 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27817 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
27818 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27819 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27820 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27821 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27822 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27823 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27824 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
) _wrap_HtmlListBox_GetFileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27825 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
27826 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27827 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27828 { (char *)"TaskBarIcon_Destroy", (PyCFunction
) _wrap_TaskBarIcon_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27829 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27830 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27831 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27832 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27833 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27834 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
27835 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27836 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
27837 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27838 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27839 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27840 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27841 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27842 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27843 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27844 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27845 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
27846 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27847 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27848 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
27849 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27850 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27851 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27852 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27853 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27854 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27855 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
27856 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27857 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27858 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27859 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27860 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27861 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27862 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27863 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27864 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27865 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27866 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27867 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27868 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27869 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27870 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27871 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27872 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27873 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
27874 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27875 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27876 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27877 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
27878 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27879 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27880 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27881 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27882 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
27883 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27884 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27885 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27886 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
27887 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27888 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
27889 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27890 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27891 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27892 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27893 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27894 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27895 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27896 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27897 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27898 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27899 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27900 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27901 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27902 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27903 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27904 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
27905 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27906 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27907 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
27908 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27909 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
27910 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27911 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27912 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27913 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
27914 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27915 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27916 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27917 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27918 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27919 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27920 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27921 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27922 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
27923 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27924 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27925 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27926 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27927 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27928 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27929 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27930 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27931 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
27932 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27933 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27934 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27935 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27936 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27937 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
27938 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27939 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27940 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27941 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27942 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27943 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27944 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27945 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27946 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27947 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27948 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27949 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
27950 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27951 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27952 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27953 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27954 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27955 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27956 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
27957 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27958 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27959 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27960 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
27961 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27962 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27963 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27964 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27965 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27966 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27967 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27968 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27969 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27970 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27971 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27972 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27973 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27974 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27975 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27976 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27977 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27978 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27979 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27980 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27981 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27982 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27983 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27984 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27985 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27986 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
27987 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27988 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27989 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27990 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27991 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27992 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27993 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27994 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27995 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27996 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27997 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27998 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27999 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28000 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28001 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28002 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28003 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28004 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28005 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28006 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28007 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28008 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28009 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28010 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyPanel_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28011 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyPanel_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28012 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
28013 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28014 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28015 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28016 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28017 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28018 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28019 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28020 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28021 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28022 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28023 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28024 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28025 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28026 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28027 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28028 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28029 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction
) _wrap_PyScrolledWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28030 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28031 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28032 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28033 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28034 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28035 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28036 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28037 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyScrolledWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28038 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
28039 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
28040 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28041 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28042 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28043 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28044 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28045 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28046 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28047 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28048 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28049 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28050 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28051 { (char *)"PrintData_GetBin", (PyCFunction
) _wrap_PrintData_GetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28052 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28053 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28054 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28055 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28056 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28057 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28058 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28059 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28060 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28061 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28062 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28063 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28064 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28065 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28066 { (char *)"PrintData_GetPrivData", (PyCFunction
) _wrap_PrintData_GetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28067 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28068 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28069 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28070 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28071 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28072 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28073 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28074 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28075 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28076 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28077 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28078 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28079 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28080 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28081 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28082 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28083 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28084 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28085 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28086 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
28087 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
28088 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28089 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28090 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28091 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28092 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28093 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28094 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28095 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28096 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28097 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28098 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28099 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28100 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28101 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28102 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28103 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28104 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28105 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28106 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28107 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28108 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28109 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28110 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28111 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28112 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28113 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28114 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28115 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28116 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28117 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28118 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28119 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
) _wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28120 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
28121 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28122 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28123 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28124 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28125 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
28126 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
28127 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28128 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28129 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28130 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28131 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28132 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28133 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28134 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28135 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28136 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28137 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28138 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28139 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28140 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28141 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28142 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28143 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28144 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28145 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28146 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28147 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28148 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28149 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28150 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28151 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28152 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28153 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28154 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28155 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28156 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28157 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28158 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28159 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
28160 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28161 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28162 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28163 { (char *)"PrintDialog_GetPrintData", (PyCFunction
) _wrap_PrintDialog_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28164 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28165 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
28166 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28167 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28168 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28169 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28170 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28171 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28172 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28173 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28174 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28175 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28176 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
28177 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28178 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28179 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28180 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28181 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28182 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28183 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28184 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28185 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28186 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28187 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28188 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28189 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28190 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28191 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28192 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28193 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28194 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28195 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28196 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28197 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28198 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28199 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
28200 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28201 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
28202 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28203 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28204 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28205 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28206 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28207 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
28208 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28209 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28210 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28211 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28212 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28213 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28214 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28215 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28216 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28217 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
28218 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
28219 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28220 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28221 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28222 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28223 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28224 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28225 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28226 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28227 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28228 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28229 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28230 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28231 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28232 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28233 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28234 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28235 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28236 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28237 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28238 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28239 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28240 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28241 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
28242 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
28243 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28244 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28245 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28246 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28247 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28248 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28249 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28250 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28251 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
28252 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28253 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28254 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28255 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28256 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28257 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28258 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28259 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
28260 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28261 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28262 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28263 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28264 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28265 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
28266 { NULL
, NULL
, 0, NULL
}
28270 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28272 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
28273 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28275 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
28276 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28278 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
28279 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
28281 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
28282 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
28284 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
28285 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
28287 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
28288 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
28290 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
28291 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
28293 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
28294 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28296 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
28297 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
28299 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
28300 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
28302 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
28303 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
28305 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
28306 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
28308 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
28309 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28311 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
28312 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
28314 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
28315 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
28317 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
28318 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28320 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
28321 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28323 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
28324 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
28326 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
28327 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
28329 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
28330 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
28332 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
28333 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
28335 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
28336 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
28338 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
28339 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
28341 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
28342 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
28344 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
28345 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
28347 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
28348 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28350 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
28351 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28353 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
28354 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28356 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
28357 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28359 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
28360 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28362 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
28363 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
28365 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
28366 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
28368 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
28369 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28371 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
28372 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
28374 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
28375 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
28377 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
28378 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
28380 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
28381 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
28383 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
28384 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28386 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
28387 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28389 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
28390 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28392 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
28393 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
28395 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
28396 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
28398 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
28399 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
28401 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
28402 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28404 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
28405 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28407 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
28408 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
28410 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
28411 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
28413 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
28414 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
28416 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
28417 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
28419 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
28420 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
28422 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
28423 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
28425 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
28426 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
28428 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
28429 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28431 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
28432 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
28434 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
28435 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
28437 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
28438 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
28440 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
28441 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
28443 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
28444 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
28446 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
28447 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
28449 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
28450 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
28452 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
28453 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
28455 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
28456 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
28458 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
28459 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
28461 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
28462 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
28464 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
28465 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
28467 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
28468 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
28470 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
28471 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
28473 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
28474 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
28476 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
28477 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
28479 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
28480 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
28482 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
28483 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
28485 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
28486 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
28488 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
28489 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
28491 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
28492 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
28494 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
28495 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
28497 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
28498 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
28500 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
28501 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
28503 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
28504 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28506 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
28507 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
28509 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
28510 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
28512 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
28513 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
28515 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
28516 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
28518 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
28519 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
28521 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
28522 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28524 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
28525 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28527 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
28528 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
28530 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
28531 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
28533 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
28534 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
28536 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
28537 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
28539 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
28540 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
28542 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
28543 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
28545 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
28546 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
28548 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
28549 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
28551 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
28552 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
28554 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
28555 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28557 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
28558 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
28560 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
28561 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
28563 static void *_p_wxTipWindowTo_p_wxFrame(void *x
) {
28564 return (void *)((wxFrame
*) ((wxTipWindow
*) x
));
28566 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
28567 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
28569 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
28570 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28572 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
28573 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
28575 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
28576 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
28578 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
28579 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
28581 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
28582 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
28584 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
28585 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
28587 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
28588 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
28590 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
28591 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28593 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
28594 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
28596 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
28597 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
28599 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
28600 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
28602 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
28603 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
28605 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
28606 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
28608 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
28609 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
28611 static void *_p_wxSizerTo_p_wxObject(void *x
) {
28612 return (void *)((wxObject
*) ((wxSizer
*) x
));
28614 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
28615 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
28617 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
28618 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28620 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
28621 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
28623 static void *_p_wxEventTo_p_wxObject(void *x
) {
28624 return (void *)((wxObject
*) ((wxEvent
*) x
));
28626 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
28627 return (void *)((wxObject
*) ((wxFontData
*) x
));
28629 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
28630 return (void *)((wxObject
*) ((wxPrintData
*) x
));
28632 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
28633 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
28635 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
28636 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
28638 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
28639 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
28641 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
28642 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
28644 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
28645 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
28647 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
28648 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
28650 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
28651 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
28653 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
28654 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
28656 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
28657 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28659 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
28660 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28662 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
28663 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28665 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
28666 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28668 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
28669 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
28671 static void *_p_wxControlTo_p_wxObject(void *x
) {
28672 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
28674 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
28675 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
28677 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
28678 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28680 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
28681 return (void *)((wxObject
*) ((wxFSFile
*) x
));
28683 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
28684 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
28686 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
28687 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
28689 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
28690 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
28692 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
28693 return (void *)((wxObject
*) ((wxColourData
*) x
));
28695 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
28696 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
28698 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
28699 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28701 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
28702 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
28704 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
28705 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
28707 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
28708 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
28710 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
28711 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
28713 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
28714 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
28716 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
28717 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
28719 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
28720 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28722 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
28723 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
28725 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
28726 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
28728 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
28729 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
28731 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
28732 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
28734 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
28735 return (void *)((wxObject
*) ((wxPrinter
*) x
));
28737 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
28738 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
28740 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
28741 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
28743 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
28744 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
28746 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
28747 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28749 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
28750 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28752 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
28753 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
28755 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
28756 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
28758 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
28759 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
28761 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
28762 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
28764 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
28765 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
28767 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
28768 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
28770 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
28771 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
28773 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
28774 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
28776 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
28777 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
28779 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
28780 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
28782 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
28783 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
28785 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
28786 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
28788 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
28789 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
28791 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
28792 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
28794 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
28795 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
28797 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
28798 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
28800 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
28801 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
28803 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
28804 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
28806 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
28807 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
28809 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
28810 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28812 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
28813 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28815 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
28816 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
28818 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
28819 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
28821 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
28822 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
28824 static void *_p_wxImageTo_p_wxObject(void *x
) {
28825 return (void *)((wxObject
*) ((wxImage
*) x
));
28827 static void *_p_wxFrameTo_p_wxObject(void *x
) {
28828 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
28830 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
28831 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
28833 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
28834 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
28836 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
28837 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
28839 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
28840 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
28842 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
28843 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
28845 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
28846 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28848 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
28849 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28851 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
28852 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
28854 static void *_p_wxWindowTo_p_wxObject(void *x
) {
28855 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
28857 static void *_p_wxMenuTo_p_wxObject(void *x
) {
28858 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
28860 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
28861 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
28863 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
28864 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
28866 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
28867 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
28869 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
28870 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
28872 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
28873 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
28875 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
28876 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
28878 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
28879 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
28881 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
28882 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
28884 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
28885 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
28887 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
28888 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
28890 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
28891 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
28893 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
28894 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
28896 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
28897 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
28899 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
28900 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
28902 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
28903 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
28905 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
28906 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
28908 static void *_p_wxPanelTo_p_wxObject(void *x
) {
28909 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
28911 static void *_p_wxDialogTo_p_wxObject(void *x
) {
28912 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
28914 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
28915 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
28917 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
28918 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
28920 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
28921 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
28923 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
28924 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
28926 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
28927 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
28929 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
28930 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
28932 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
28933 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28935 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
28936 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
28938 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
28939 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
28941 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
28942 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
28944 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
28945 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
28947 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
28948 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
28950 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
28951 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28953 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
28954 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
28956 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
28957 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
28959 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
28960 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
28962 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
28963 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
28965 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
28966 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
28968 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
28969 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28971 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
28972 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
28974 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
28975 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
28977 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
28978 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
28980 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
28981 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
28983 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
28984 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
28986 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
28987 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28989 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
28990 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28992 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
28993 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
28995 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
28996 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
28998 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
28999 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
29001 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
29002 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
29004 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
29005 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
29007 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
29008 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
29010 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
29011 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
29013 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
29014 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
29016 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
29017 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
29019 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x
) {
29020 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxTipWindow
*) x
));
29022 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
29023 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
29025 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
29026 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
29028 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
29029 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
29031 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
29032 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
29034 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
29035 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
29037 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
29038 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
29040 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
29041 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
29043 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
29044 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
29046 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
29047 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
29049 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
29050 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
29052 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
29053 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
29055 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
29056 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
29058 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
29059 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
29061 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
29062 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
29064 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
29065 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
29067 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
29068 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
29070 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
29071 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
29073 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
29074 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
29076 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
29077 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
29079 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
29080 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
29082 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
29083 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
29085 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
29086 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
29088 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
29089 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
29091 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
29092 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
29094 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
29095 return (void *)((wxWindow
*) ((wxPanel
*) x
));
29097 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
29098 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
29100 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
29101 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
29103 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
29104 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
29106 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
29107 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
29109 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
29110 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
29112 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
29113 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
29115 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
29116 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
29118 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
29119 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
29121 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
29122 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
29124 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
29125 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
29127 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
29128 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
29130 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
29131 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
29133 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
29134 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29136 static void *_p_wxControlTo_p_wxWindow(void *x
) {
29137 return (void *)((wxWindow
*) ((wxControl
*) x
));
29139 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
29140 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
29142 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
29143 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
29145 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
29146 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
29148 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
29149 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
29151 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
29152 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
29154 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
29155 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
29157 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
29158 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
29160 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
29161 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
29163 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
29164 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
29166 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
29167 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29169 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
29170 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
29172 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
29173 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
29175 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
29176 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
29178 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
29179 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
29181 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
29182 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
29184 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
29185 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
29187 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
29188 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29190 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
29191 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
29193 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
29194 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
29196 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
29197 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
29199 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
29200 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
29202 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
29203 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
29205 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
29206 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
29208 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
29209 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
29211 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
29212 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
29214 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
29215 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
29217 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
29218 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
29220 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
29221 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
29223 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
29224 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
29226 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
29227 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
29229 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
29230 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
29232 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
29233 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29235 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
29236 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
29238 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
29239 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
29241 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
29242 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
29244 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
29245 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
29247 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
29248 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
29250 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
29251 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29253 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
29254 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29256 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
29257 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
29259 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
29260 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29262 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
29263 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
29265 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
29266 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29268 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
29269 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
29271 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
29272 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29274 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
29275 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29277 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
29278 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
29280 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
29281 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29283 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
29284 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29286 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
29287 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
29289 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
29290 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29292 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}};
29293 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}};
29294 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}};
29295 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}};
29296 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}};
29297 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}};
29298 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}};
29299 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}};
29300 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}};
29301 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}};
29302 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}};
29303 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}};
29304 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}};
29305 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}};
29306 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}};
29307 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}};
29308 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}};
29309 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}};
29310 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}};
29311 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}};
29312 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}};
29313 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}};
29314 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}};
29315 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}};
29316 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}};
29317 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}};
29318 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}};
29319 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}};
29320 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}};
29321 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}};
29322 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}};
29323 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}};
29324 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}};
29325 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}};
29326 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}};
29327 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}};
29328 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}};
29329 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}};
29330 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}};
29331 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}};
29332 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}};
29333 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}};
29334 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29335 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}};
29336 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}};
29337 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}};
29338 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}};
29339 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}};
29340 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}};
29341 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}};
29342 static swig_type_info _swigt__p_wxFrame
[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29343 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}};
29344 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}};
29345 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}};
29346 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}};
29347 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}};
29348 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}};
29349 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}};
29350 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_wxTipWindow", _p_wxTipWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29351 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}};
29352 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}};
29353 static swig_type_info _swigt__p_wxPyPopupTransientWindow
[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29354 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}};
29355 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}};
29356 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}};
29357 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}};
29358 static swig_type_info _swigt__p_wxPopupWindow
[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0, 0, 0, 0},{"_p_wxPopupWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29359 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}};
29360 static swig_type_info _swigt__p_wxTopLevelWindow
[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", 0, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29361 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29362 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}};
29363 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}};
29364 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}};
29365 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}};
29366 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}};
29367 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}};
29368 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}};
29369 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}};
29370 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}};
29371 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}};
29372 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}};
29373 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}};
29374 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}};
29375 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}};
29376 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}};
29377 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}};
29378 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}};
29379 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}};
29380 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}};
29381 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}};
29382 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}};
29383 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}};
29384 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}};
29385 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}};
29386 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}};
29387 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}};
29388 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}};
29390 static swig_type_info
*swig_types_initial
[] = {
29391 _swigt__p_wxQueryLayoutInfoEvent
,
29392 _swigt__p_wxPreviewFrame
,
29393 _swigt__p_wxPyPreviewFrame
,
29394 _swigt__p_wxPyPanel
,
29396 _swigt__p_wxFontData
,
29398 _swigt__p_wxPrintData
,
29399 _swigt__p_wxTaskBarIcon
,
29400 _swigt__p_wxPyTaskBarIcon
,
29401 _swigt__p_wxIconBundle
,
29402 _swigt__p_wxLayoutAlgorithm
,
29403 _swigt__p_wxFindDialogEvent
,
29404 _swigt__p_wxPreviewCanvas
,
29406 _swigt__p_wxSplitterEvent
,
29407 _swigt__p_wxRegion
,
29409 _swigt__std__ptrdiff_t
,
29410 _swigt__p_wxFindReplaceData
,
29415 _swigt__p_wxVisualAttributes
,
29416 _swigt__p_wxMDIChildFrame
,
29417 _swigt__p_wxColourData
,
29418 _swigt__p_wxNotifyEvent
,
29419 _swigt__p_wxPyWindow
,
29420 _swigt__p_form_ops_t
,
29421 _swigt__p_wxSplashScreen
,
29422 _swigt__p_wxPasswordEntryDialog
,
29423 _swigt__p_wxSingleChoiceDialog
,
29424 _swigt__p_wxMultiChoiceDialog
,
29425 _swigt__p_wxFileDialog
,
29426 _swigt__p_wxTextEntryDialog
,
29427 _swigt__p_wxMessageDialog
,
29428 _swigt__p_wxProgressDialog
,
29429 _swigt__p_wxFindReplaceDialog
,
29430 _swigt__p_wxPrinter
,
29431 _swigt__p_wxArrayInt
,
29432 _swigt__p_wxDuplexMode
,
29433 _swigt__p_wxEvtHandler
,
29434 _swigt__p_wxCalculateLayoutEvent
,
29435 _swigt__p_wxPyHtmlListBox
,
29436 _swigt__p_wxPyVListBox
,
29438 _swigt__p_wxStdDialogButtonSizer
,
29440 _swigt__p_wxMiniFrame
,
29442 _swigt__p_wxPyPrintout
,
29443 _swigt__p_wxTaskBarIconEvent
,
29444 _swigt__p_wxScrollWinEvent
,
29445 _swigt__p_wxPaperSize
,
29446 _swigt__p_wxStatusBar
,
29447 _swigt__p_wxMDIParentFrame
,
29449 _swigt__p_wxObject
,
29450 _swigt__p_unsigned_long
,
29451 _swigt__p_wxTipWindow
,
29452 _swigt__p_wxPyPopupTransientWindow
,
29453 _swigt__p_wxSashLayoutWindow
,
29454 _swigt__p_wxSplitterWindow
,
29455 _swigt__p_wxSplashScreenWindow
,
29456 _swigt__p_wxPyVScrolledWindow
,
29457 _swigt__p_wxPopupWindow
,
29458 _swigt__p_wxSashWindow
,
29459 _swigt__p_wxTopLevelWindow
,
29460 _swigt__p_wxWindow
,
29461 _swigt__p_wxScrolledWindow
,
29462 _swigt__p_wxMenuBar
,
29463 _swigt__p_wxMDIClientWindow
,
29464 _swigt__p_wxPyScrolledWindow
,
29465 _swigt__p_wxPrintPreview
,
29466 _swigt__p_wxSashEvent
,
29467 _swigt__p_wxString
,
29468 _swigt__p_wxPyPrintPreview
,
29469 _swigt__p_wxDirDialog
,
29470 _swigt__p_wxColourDialog
,
29471 _swigt__p_wxDialog
,
29473 _swigt__p_wxFontDialog
,
29474 _swigt__p_wxPageSetupDialog
,
29475 _swigt__p_wxPrintDialog
,
29476 _swigt__p_wxFileSystem
,
29477 _swigt__p_wxBitmap
,
29478 _swigt__unsigned_int
,
29479 _swigt__p_unsigned_int
,
29480 _swigt__p_unsigned_char
,
29481 _swigt__p_wxCommandEvent
,
29482 _swigt__p_wxPreviewControlBar
,
29483 _swigt__p_wxPyPreviewControlBar
,
29484 _swigt__p_wxColour
,
29485 _swigt__p_wxToolBar
,
29486 _swigt__p_wxPageSetupDialogData
,
29487 _swigt__p_wxPrintDialogData
,
29492 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29494 static swig_const_info swig_const_table
[] = {
29495 {0, 0, 0, 0.0, 0, 0}};
29506 /* Python-specific SWIG API */
29507 #define SWIG_newvarlink() SWIG_Python_newvarlink()
29508 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
29509 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
29511 /* -----------------------------------------------------------------------------
29512 * global variable support code.
29513 * ----------------------------------------------------------------------------- */
29515 typedef struct swig_globalvar
{
29516 char *name
; /* Name of global variable */
29517 PyObject
*(*get_attr
)(); /* Return the current value */
29518 int (*set_attr
)(PyObject
*); /* Set the value */
29519 struct swig_globalvar
*next
;
29522 typedef struct swig_varlinkobject
{
29524 swig_globalvar
*vars
;
29525 } swig_varlinkobject
;
29528 swig_varlink_repr(swig_varlinkobject
*v
) {
29530 return PyString_FromString("<Swig global variables>");
29534 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
29535 swig_globalvar
*var
;
29537 fprintf(fp
,"Swig global variables { ");
29538 for (var
= v
->vars
; var
; var
=var
->next
) {
29539 fprintf(fp
,"%s", var
->name
);
29540 if (var
->next
) fprintf(fp
,", ");
29542 fprintf(fp
," }\n");
29547 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
29548 swig_globalvar
*var
= v
->vars
;
29550 if (strcmp(var
->name
,n
) == 0) {
29551 return (*var
->get_attr
)();
29555 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
29560 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
29561 swig_globalvar
*var
= v
->vars
;
29563 if (strcmp(var
->name
,n
) == 0) {
29564 return (*var
->set_attr
)(p
);
29568 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
29572 static PyTypeObject varlinktype
= {
29573 PyObject_HEAD_INIT(0)
29574 0, /* Number of items in variable part (ob_size) */
29575 (char *)"swigvarlink", /* Type name (tp_name) */
29576 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
29577 0, /* Itemsize (tp_itemsize) */
29578 0, /* Deallocator (tp_dealloc) */
29579 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
29580 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
29581 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
29582 0, /* tp_compare */
29583 (reprfunc
) swig_varlink_repr
, /* tp_repr */
29584 0, /* tp_as_number */
29585 0, /* tp_as_sequence */
29586 0, /* tp_as_mapping */
29590 0, /* tp_getattro */
29591 0, /* tp_setattro */
29592 0, /* tp_as_buffer */
29595 #if PY_VERSION_HEX >= 0x02000000
29596 0, /* tp_traverse */
29599 #if PY_VERSION_HEX >= 0x02010000
29600 0, /* tp_richcompare */
29601 0, /* tp_weaklistoffset */
29603 #if PY_VERSION_HEX >= 0x02020000
29604 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
29606 #if PY_VERSION_HEX >= 0x02030000
29609 #ifdef COUNT_ALLOCS
29610 0,0,0,0 /* tp_alloc -> tp_next */
29614 /* Create a variable linking object for use later */
29616 SWIG_Python_newvarlink(void) {
29617 swig_varlinkobject
*result
= 0;
29618 result
= PyMem_NEW(swig_varlinkobject
,1);
29619 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
29620 result
->ob_type
= &varlinktype
;
29622 result
->ob_refcnt
= 0;
29623 Py_XINCREF((PyObject
*) result
);
29624 return ((PyObject
*) result
);
29628 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
29629 swig_varlinkobject
*v
;
29630 swig_globalvar
*gv
;
29631 v
= (swig_varlinkobject
*) p
;
29632 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
29633 gv
->name
= (char *) malloc(strlen(name
)+1);
29634 strcpy(gv
->name
,name
);
29635 gv
->get_attr
= get_attr
;
29636 gv
->set_attr
= set_attr
;
29637 gv
->next
= v
->vars
;
29641 /* -----------------------------------------------------------------------------
29642 * constants/methods manipulation
29643 * ----------------------------------------------------------------------------- */
29645 /* Install Constants */
29647 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
29650 for (i
= 0; constants
[i
].type
; i
++) {
29651 switch(constants
[i
].type
) {
29653 obj
= PyInt_FromLong(constants
[i
].lvalue
);
29655 case SWIG_PY_FLOAT
:
29656 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
29658 case SWIG_PY_STRING
:
29659 if (constants
[i
].pvalue
) {
29660 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
29662 Py_INCREF(Py_None
);
29666 case SWIG_PY_POINTER
:
29667 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
29669 case SWIG_PY_BINARY
:
29670 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
29677 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
29683 /* -----------------------------------------------------------------------------*/
29684 /* Fix SwigMethods to carry the callback ptrs when needed */
29685 /* -----------------------------------------------------------------------------*/
29688 SWIG_Python_FixMethods(PyMethodDef
*methods
,
29689 swig_const_info
*const_table
,
29690 swig_type_info
**types
,
29691 swig_type_info
**types_initial
) {
29693 for (i
= 0; methods
[i
].ml_name
; ++i
) {
29694 char *c
= methods
[i
].ml_doc
;
29695 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
29697 swig_const_info
*ci
= 0;
29698 char *name
= c
+ 10;
29699 for (j
= 0; const_table
[j
].type
; j
++) {
29700 if (strncmp(const_table
[j
].name
, name
,
29701 strlen(const_table
[j
].name
)) == 0) {
29702 ci
= &(const_table
[j
]);
29707 size_t shift
= (ci
->ptype
) - types
;
29708 swig_type_info
*ty
= types_initial
[shift
];
29709 size_t ldoc
= (c
- methods
[i
].ml_doc
);
29710 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
29711 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
29713 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
29714 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
29716 strncpy(buff
, "swig_ptr: ", 10);
29718 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
29719 methods
[i
].ml_doc
= ndoc
;
29725 /* -----------------------------------------------------------------------------*
29726 * Initialize type list
29727 * -----------------------------------------------------------------------------*/
29729 #if PY_MAJOR_VERSION < 2
29730 /* PyModule_AddObject function was introduced in Python 2.0. The following function
29731 is copied out of Python/modsupport.c in python version 2.3.4 */
29733 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
29736 if (!PyModule_Check(m
)) {
29737 PyErr_SetString(PyExc_TypeError
,
29738 "PyModule_AddObject() needs module as first arg");
29742 PyErr_SetString(PyExc_TypeError
,
29743 "PyModule_AddObject() needs non-NULL value");
29747 dict
= PyModule_GetDict(m
);
29748 if (dict
== NULL
) {
29749 /* Internal error -- modules must have a dict! */
29750 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
29751 PyModule_GetName(m
));
29754 if (PyDict_SetItemString(dict
, name
, o
))
29761 static swig_type_info
**
29762 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
29763 static PyMethodDef swig_empty_runtime_method_table
[] = {
29765 NULL
, NULL
, 0, NULL
29769 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
29770 swig_empty_runtime_method_table
);
29771 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
29772 if (pointer
&& module) {
29773 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
29775 return type_list_handle
;
29778 static swig_type_info
**
29779 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
29780 swig_type_info
**type_pointer
;
29782 /* first check if module already created */
29783 type_pointer
= SWIG_Python_GetTypeListHandle();
29784 if (type_pointer
) {
29785 return type_pointer
;
29787 /* create a new module and variable */
29788 return SWIG_Python_SetTypeListHandle(type_list_handle
);
29796 /* -----------------------------------------------------------------------------*
29797 * Partial Init method
29798 * -----------------------------------------------------------------------------*/
29800 #ifdef SWIG_LINK_RUNTIME
29804 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
29810 SWIGEXPORT(void) SWIG_init(void) {
29811 static PyObject
*SWIG_globals
= 0;
29812 static int typeinit
= 0;
29815 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
29817 /* Fix SwigMethods to carry the callback ptrs when needed */
29818 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
29820 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
29821 d
= PyModule_GetDict(m
);
29824 #ifdef SWIG_LINK_RUNTIME
29825 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
29827 # ifndef SWIG_STATIC_RUNTIME
29828 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
29831 for (i
= 0; swig_types_initial
[i
]; i
++) {
29832 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
29836 SWIG_InstallConstants(d
,swig_const_table
);
29838 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
29839 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
29840 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
29841 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
29842 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
29844 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_From_int((int)(wxSTAY_ON_TOP
)));
29847 PyDict_SetItemString(d
,"ICONIZE", SWIG_From_int((int)(wxICONIZE
)));
29850 PyDict_SetItemString(d
,"MINIMIZE", SWIG_From_int((int)(wxMINIMIZE
)));
29853 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_From_int((int)(wxMAXIMIZE
)));
29856 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_From_int((int)(wxCLOSE_BOX
)));
29859 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_From_int((int)(wxTHICK_FRAME
)));
29862 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_From_int((int)(wxSYSTEM_MENU
)));
29865 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_From_int((int)(wxMINIMIZE_BOX
)));
29868 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_From_int((int)(wxMAXIMIZE_BOX
)));
29871 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_From_int((int)(wxTINY_CAPTION_HORIZ
)));
29874 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_From_int((int)(wxTINY_CAPTION_VERT
)));
29877 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_From_int((int)(wxRESIZE_BOX
)));
29880 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_From_int((int)(wxRESIZE_BORDER
)));
29883 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_From_int((int)(wxDIALOG_NO_PARENT
)));
29886 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)(wxDEFAULT_FRAME_STYLE
)));
29889 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)(wxDEFAULT_DIALOG_STYLE
)));
29892 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_From_int((int)(wxFRAME_TOOL_WINDOW
)));
29895 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)(wxFRAME_FLOAT_ON_PARENT
)));
29898 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)(wxFRAME_NO_WINDOW_MENU
)));
29901 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_From_int((int)(wxFRAME_NO_TASKBAR
)));
29904 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_From_int((int)(wxFRAME_SHAPED
)));
29907 PyDict_SetItemString(d
,"FRAME_DRAWER", SWIG_From_int((int)(wxFRAME_DRAWER
)));
29910 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_From_int((int)(wxDIALOG_MODAL
)));
29913 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_From_int((int)(wxDIALOG_MODELESS
)));
29916 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_From_int((int)(wxUSER_COLOURS
)));
29919 PyDict_SetItemString(d
,"NO_3D", SWIG_From_int((int)(wxNO_3D
)));
29922 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)(wxFULLSCREEN_NOMENUBAR
)));
29925 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)(wxFULLSCREEN_NOTOOLBAR
)));
29928 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)(wxFULLSCREEN_NOSTATUSBAR
)));
29931 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_From_int((int)(wxFULLSCREEN_NOBORDER
)));
29934 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)(wxFULLSCREEN_NOCAPTION
)));
29937 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_From_int((int)(wxFULLSCREEN_ALL
)));
29940 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)(wxTOPLEVEL_EX_DIALOG
)));
29943 PyDict_SetItemString(d
,"USER_ATTENTION_INFO", SWIG_From_int((int)(wxUSER_ATTENTION_INFO
)));
29946 PyDict_SetItemString(d
,"USER_ATTENTION_ERROR", SWIG_From_int((int)(wxUSER_ATTENTION_ERROR
)));
29949 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_PARENT
)));
29952 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_SCREEN
)));
29955 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_From_int((int)(wxSPLASH_NO_CENTRE
)));
29958 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_From_int((int)(wxSPLASH_TIMEOUT
)));
29961 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)(wxSPLASH_NO_TIMEOUT
)));
29964 PyDict_SetItemString(d
,"SB_NORMAL", SWIG_From_int((int)(wxSB_NORMAL
)));
29967 PyDict_SetItemString(d
,"SB_FLAT", SWIG_From_int((int)(wxSB_FLAT
)));
29970 PyDict_SetItemString(d
,"SB_RAISED", SWIG_From_int((int)(wxSB_RAISED
)));
29972 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
29974 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_From_int((int)(wxSP_NOBORDER
)));
29977 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_From_int((int)(wxSP_NOSASH
)));
29980 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)(wxSP_PERMIT_UNSPLIT
)));
29983 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_From_int((int)(wxSP_LIVE_UPDATE
)));
29986 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_From_int((int)(wxSP_3DSASH
)));
29989 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_From_int((int)(wxSP_3DBORDER
)));
29992 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_From_int((int)(wxSP_NO_XP_THEME
)));
29995 PyDict_SetItemString(d
,"SP_BORDER", SWIG_From_int((int)(wxSP_BORDER
)));
29998 PyDict_SetItemString(d
,"SP_3D", SWIG_From_int((int)(wxSP_3D
)));
30001 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_From_int((int)(wxSPLIT_HORIZONTAL
)));
30004 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_From_int((int)(wxSPLIT_VERTICAL
)));
30007 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_From_int((int)(wxSPLIT_DRAG_NONE
)));
30010 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)(wxSPLIT_DRAG_DRAGGING
)));
30013 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSPLIT_DRAG_LEFT_DOWN
)));
30015 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
30016 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
30017 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
30018 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
30019 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
30020 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
30022 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_From_int((int)(wxSASH_DRAG_NONE
)));
30025 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_From_int((int)(wxSASH_DRAG_DRAGGING
)));
30028 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSASH_DRAG_LEFT_DOWN
)));
30031 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_From_int((int)(wxSW_NOBORDER
)));
30034 PyDict_SetItemString(d
,"SW_BORDER", SWIG_From_int((int)(wxSW_BORDER
)));
30037 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_From_int((int)(wxSW_3DSASH
)));
30040 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_From_int((int)(wxSW_3DBORDER
)));
30043 PyDict_SetItemString(d
,"SW_3D", SWIG_From_int((int)(wxSW_3D
)));
30046 PyDict_SetItemString(d
,"SASH_TOP", SWIG_From_int((int)(wxSASH_TOP
)));
30049 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_From_int((int)(wxSASH_RIGHT
)));
30052 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_From_int((int)(wxSASH_BOTTOM
)));
30055 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_From_int((int)(wxSASH_LEFT
)));
30058 PyDict_SetItemString(d
,"SASH_NONE", SWIG_From_int((int)(wxSASH_NONE
)));
30061 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_From_int((int)(wxSASH_STATUS_OK
)));
30064 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)(wxSASH_STATUS_OUT_OF_RANGE
)));
30066 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
30068 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_From_int((int)(wxLAYOUT_HORIZONTAL
)));
30071 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_From_int((int)(wxLAYOUT_VERTICAL
)));
30074 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_From_int((int)(wxLAYOUT_NONE
)));
30077 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_From_int((int)(wxLAYOUT_TOP
)));
30080 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_From_int((int)(wxLAYOUT_LEFT
)));
30083 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_From_int((int)(wxLAYOUT_RIGHT
)));
30086 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_From_int((int)(wxLAYOUT_BOTTOM
)));
30089 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_From_int((int)(wxLAYOUT_LENGTH_Y
)));
30092 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_From_int((int)(wxLAYOUT_LENGTH_X
)));
30095 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)(wxLAYOUT_MRU_LENGTH
)));
30098 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_From_int((int)(wxLAYOUT_QUERY
)));
30100 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
30101 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
30102 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
30104 // Map renamed classes back to their common name for OOR
30105 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
30106 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
30107 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
30109 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
30110 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
30111 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
30112 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
30113 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
30114 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
30115 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
30116 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
30117 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
30118 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
30119 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
30120 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
30121 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
30123 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_From_int((int)(wxCHOICEDLG_STYLE
)));
30126 PyDict_SetItemString(d
,"TextEntryDialogStyle", SWIG_From_int((int)(wxTextEntryDialogStyle
)));
30128 SWIG_addvarlink(SWIG_globals
,(char*)"GetPasswordFromUserPromptStr",_wrap_GetPasswordFromUserPromptStr_get
, _wrap_GetPasswordFromUserPromptStr_set
);
30130 PyDict_SetItemString(d
,"FR_DOWN", SWIG_From_int((int)(wxFR_DOWN
)));
30133 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_From_int((int)(wxFR_WHOLEWORD
)));
30136 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_From_int((int)(wxFR_MATCHCASE
)));
30139 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_From_int((int)(wxFR_REPLACEDIALOG
)));
30142 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_From_int((int)(wxFR_NOUPDOWN
)));
30145 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_From_int((int)(wxFR_NOMATCHCASE
)));
30148 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_From_int((int)(wxFR_NOWHOLEWORD
)));
30150 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
30151 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
30152 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
30153 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
30154 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
30156 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_From_int((int)(4001)));
30159 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_From_int((int)(4001)));
30162 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_From_int((int)(4002)));
30165 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_From_int((int)(4003)));
30168 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_From_int((int)(4004)));
30171 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_From_int((int)(4005)));
30174 PyDict_SetItemString(d
,"IDM_WINDOWPREV", SWIG_From_int((int)(4006)));
30177 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_From_int((int)(4100)));
30180 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_From_int((int)(4600)));
30182 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
30183 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
30185 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_From_int((int)(wxPRINT_MODE_NONE
)));
30188 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_From_int((int)(wxPRINT_MODE_PREVIEW
)));
30191 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_From_int((int)(wxPRINT_MODE_FILE
)));
30194 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_From_int((int)(wxPRINT_MODE_PRINTER
)));
30197 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_From_int((int)(wxPRINT_MODE_STREAM
)));
30200 PyDict_SetItemString(d
,"PRINTBIN_DEFAULT", SWIG_From_int((int)(wxPRINTBIN_DEFAULT
)));
30203 PyDict_SetItemString(d
,"PRINTBIN_ONLYONE", SWIG_From_int((int)(wxPRINTBIN_ONLYONE
)));
30206 PyDict_SetItemString(d
,"PRINTBIN_LOWER", SWIG_From_int((int)(wxPRINTBIN_LOWER
)));
30209 PyDict_SetItemString(d
,"PRINTBIN_MIDDLE", SWIG_From_int((int)(wxPRINTBIN_MIDDLE
)));
30212 PyDict_SetItemString(d
,"PRINTBIN_MANUAL", SWIG_From_int((int)(wxPRINTBIN_MANUAL
)));
30215 PyDict_SetItemString(d
,"PRINTBIN_ENVELOPE", SWIG_From_int((int)(wxPRINTBIN_ENVELOPE
)));
30218 PyDict_SetItemString(d
,"PRINTBIN_ENVMANUAL", SWIG_From_int((int)(wxPRINTBIN_ENVMANUAL
)));
30221 PyDict_SetItemString(d
,"PRINTBIN_AUTO", SWIG_From_int((int)(wxPRINTBIN_AUTO
)));
30224 PyDict_SetItemString(d
,"PRINTBIN_TRACTOR", SWIG_From_int((int)(wxPRINTBIN_TRACTOR
)));
30227 PyDict_SetItemString(d
,"PRINTBIN_SMALLFMT", SWIG_From_int((int)(wxPRINTBIN_SMALLFMT
)));
30230 PyDict_SetItemString(d
,"PRINTBIN_LARGEFMT", SWIG_From_int((int)(wxPRINTBIN_LARGEFMT
)));
30233 PyDict_SetItemString(d
,"PRINTBIN_LARGECAPACITY", SWIG_From_int((int)(wxPRINTBIN_LARGECAPACITY
)));
30236 PyDict_SetItemString(d
,"PRINTBIN_CASSETTE", SWIG_From_int((int)(wxPRINTBIN_CASSETTE
)));
30239 PyDict_SetItemString(d
,"PRINTBIN_FORMSOURCE", SWIG_From_int((int)(wxPRINTBIN_FORMSOURCE
)));
30242 PyDict_SetItemString(d
,"PRINTBIN_USER", SWIG_From_int((int)(wxPRINTBIN_USER
)));
30245 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_From_int((int)(wxPRINTER_NO_ERROR
)));
30248 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_From_int((int)(wxPRINTER_CANCELLED
)));
30251 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_From_int((int)(wxPRINTER_ERROR
)));
30254 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_From_int((int)(wxPREVIEW_PRINT
)));
30257 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_From_int((int)(wxPREVIEW_PREVIOUS
)));
30260 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_From_int((int)(wxPREVIEW_NEXT
)));
30263 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_From_int((int)(wxPREVIEW_ZOOM
)));
30266 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_From_int((int)(wxPREVIEW_FIRST
)));
30269 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_From_int((int)(wxPREVIEW_LAST
)));
30272 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_From_int((int)(wxPREVIEW_GOTO
)));
30275 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_From_int((int)(wxPREVIEW_DEFAULT
)));
30278 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_From_int((int)(wxID_PREVIEW_CLOSE
)));
30281 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_From_int((int)(wxID_PREVIEW_NEXT
)));
30284 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)(wxID_PREVIEW_PREVIOUS
)));
30287 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_From_int((int)(wxID_PREVIEW_PRINT
)));
30290 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_From_int((int)(wxID_PREVIEW_ZOOM
)));
30293 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_From_int((int)(wxID_PREVIEW_FIRST
)));
30296 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_From_int((int)(wxID_PREVIEW_LAST
)));
30299 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_From_int((int)(wxID_PREVIEW_GOTO
)));
30302 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");