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 wxPyBlock_t 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 wxPyBlock_t 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 wxPyBlock_t 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_VIZATTR_(GetDefaultAttributes
);
2136 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2141 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
2143 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
2144 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
2145 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
2146 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
2148 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
2149 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
2150 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
2152 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
2153 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
2155 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
2156 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
2157 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
2158 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
2160 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
2161 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
2162 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
2164 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
2165 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
2167 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
2168 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
2170 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
2172 // C++ version of Python aware wxPanel
2173 class wxPyPanel
: public wxPanel
2175 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
2177 wxPyPanel() : wxPanel() {}
2178 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
2179 const wxPoint
& pos
= wxDefaultPosition
,
2180 const wxSize
& size
= wxDefaultSize
,
2182 const wxString
& name
= wxPyPanelNameStr
)
2183 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
2185 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
2188 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2189 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2190 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2191 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2193 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2194 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2195 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2197 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2198 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2200 DEC_PYCALLBACK__(InitDialog
);
2201 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2202 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2203 DEC_PYCALLBACK_BOOL_(Validate
);
2205 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2206 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2207 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2209 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2210 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2212 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2213 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2215 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2220 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
2222 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
2223 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
2224 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
2225 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
2227 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
2228 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
2229 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
2231 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
2232 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
2234 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
2235 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
2236 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
2237 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
2239 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
2240 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
2241 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
2243 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
2244 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
2246 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
2247 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
2249 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
2251 // C++ version of Python aware wxScrolledWindow
2252 class wxPyScrolledWindow
: public wxScrolledWindow
2254 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
2256 wxPyScrolledWindow() : wxScrolledWindow() {}
2257 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
2258 const wxPoint
& pos
= wxDefaultPosition
,
2259 const wxSize
& size
= wxDefaultSize
,
2261 const wxString
& name
= wxPyPanelNameStr
)
2262 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
2264 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
2266 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2267 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2268 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2269 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2271 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2272 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2273 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2275 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2276 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2278 DEC_PYCALLBACK__(InitDialog
);
2279 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2280 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2281 DEC_PYCALLBACK_BOOL_(Validate
);
2283 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2284 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2285 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2287 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2288 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2290 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2291 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2293 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2298 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
2300 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
2301 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
2302 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
2303 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
2305 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
2306 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
2307 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
2309 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
2310 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
2312 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
2313 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
2314 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
2315 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
2317 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
2318 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
2319 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
2321 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
2322 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
2324 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
2325 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
2327 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
2330 #include "wx/wxPython/printfw.h"
2333 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
2334 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
2335 static PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
2337 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2338 data
= PyString_FromStringAndSize(self
->GetPrivData(),
2339 self
->GetPrivDataLen());
2340 wxPyEndBlockThreads(blocked
);
2343 static void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
2344 if (! PyString_Check(data
)) {
2345 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
2346 "Expected string object"));
2350 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2351 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
2352 wxPyEndBlockThreads(blocked
);
2356 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
2358 // Since this one would be tough and ugly to do with the Macros...
2359 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
2360 bool hadErr
= false;
2363 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2364 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
2365 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2366 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
2369 val
= PyTuple_GetItem(result
, 0);
2370 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
2373 val
= PyTuple_GetItem(result
, 1);
2374 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
2377 val
= PyTuple_GetItem(result
, 2);
2378 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
2381 val
= PyTuple_GetItem(result
, 3);
2382 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
2389 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
2394 wxPyEndBlockThreads(blocked
);
2396 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
2399 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
2400 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
2404 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
2405 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
2406 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
2407 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
2408 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
2409 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
2410 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
2416 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
2417 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
2418 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
2421 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
2422 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2425 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2426 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2427 PyObject* win = wxPyMake_wxObject(a,false); \
2428 PyObject* dc = wxPyMake_wxObject(&b,false); \
2429 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
2433 wxPyEndBlockThreads(blocked); \
2435 rval = PCLASS::CBNAME(a, b); \
2438 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2439 return PCLASS::CBNAME(a, b); \
2445 class wxPyPrintPreview
: public wxPrintPreview
2447 DECLARE_CLASS(wxPyPrintPreview
)
2449 wxPyPrintPreview(wxPyPrintout
* printout
,
2450 wxPyPrintout
* printoutForPrinting
,
2451 wxPrintDialogData
* data
=NULL
)
2452 : wxPrintPreview(printout
, printoutForPrinting
, data
)
2454 wxPyPrintPreview(wxPyPrintout
* printout
,
2455 wxPyPrintout
* printoutForPrinting
,
2456 wxPrintData
* data
=NULL
)
2457 : wxPrintPreview(printout
, printoutForPrinting
, data
)
2460 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
2461 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
2462 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
2463 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
2464 DEC_PYCALLBACK_VOID_INT(SetZoom
);
2465 DEC_PYCALLBACK_BOOL_BOOL(Print
);
2466 DEC_PYCALLBACK_VOID_(DetermineScaling
);
2471 // Stupid renamed classes... Fix this in 2.5...
2472 #if defined(__WXMSW__)
2473 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
2474 #elif defined(__WXMAC__)
2475 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
2477 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
2480 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
2481 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
2482 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
2483 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
2484 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
2485 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
2486 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
2489 class wxPyPreviewFrame
: public wxPreviewFrame
2491 DECLARE_CLASS(wxPyPreviewFrame
);
2493 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
2494 const wxString
& title
,
2495 const wxPoint
& pos
= wxDefaultPosition
,
2496 const wxSize
& size
= wxDefaultSize
,
2497 long style
= wxDEFAULT_FRAME_STYLE
,
2498 const wxString
& name
= wxPyFrameNameStr
)
2499 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
2502 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
2503 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
2505 DEC_PYCALLBACK_VOID_(Initialize
);
2506 DEC_PYCALLBACK_VOID_(CreateCanvas
);
2507 DEC_PYCALLBACK_VOID_(CreateControlBar
);
2512 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
2514 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
2515 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
2516 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
2519 class wxPyPreviewControlBar
: public wxPreviewControlBar
2521 DECLARE_CLASS(wxPyPreviewControlBar
);
2523 wxPyPreviewControlBar(wxPrintPreview
*preview
,
2526 const wxPoint
& pos
= wxDefaultPosition
,
2527 const wxSize
& size
= wxDefaultSize
,
2529 const wxString
& name
= wxPyPanelNameStr
)
2530 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
2533 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
2535 DEC_PYCALLBACK_VOID_(CreateButtons
);
2536 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
2541 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
2542 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
2543 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
2548 static PyObject
*_wrap_new_Panel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2549 PyObject
*resultobj
;
2550 wxWindow
*arg1
= (wxWindow
*) 0 ;
2551 int arg2
= (int) (int)-1 ;
2552 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2553 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2554 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2555 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2556 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
2557 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
2558 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
2562 bool temp6
= false ;
2563 PyObject
* obj0
= 0 ;
2564 PyObject
* obj1
= 0 ;
2565 PyObject
* obj2
= 0 ;
2566 PyObject
* obj3
= 0 ;
2567 PyObject
* obj4
= 0 ;
2568 PyObject
* obj5
= 0 ;
2570 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
2574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2575 if (SWIG_arg_fail(1)) SWIG_fail
;
2578 arg2
= (int const)(SWIG_As_int(obj1
));
2579 if (SWIG_arg_fail(2)) SWIG_fail
;
2585 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2591 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2596 arg5
= (long)(SWIG_As_long(obj4
));
2597 if (SWIG_arg_fail(5)) SWIG_fail
;
2602 arg6
= wxString_in_helper(obj5
);
2603 if (arg6
== NULL
) SWIG_fail
;
2608 if (!wxPyCheckForApp()) SWIG_fail
;
2609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2610 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
2612 wxPyEndAllowThreads(__tstate
);
2613 if (PyErr_Occurred()) SWIG_fail
;
2615 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
2630 static PyObject
*_wrap_new_PrePanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2631 PyObject
*resultobj
;
2637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
2639 if (!wxPyCheckForApp()) SWIG_fail
;
2640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2641 result
= (wxPanel
*)new wxPanel();
2643 wxPyEndAllowThreads(__tstate
);
2644 if (PyErr_Occurred()) SWIG_fail
;
2646 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
2653 static PyObject
*_wrap_Panel_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2654 PyObject
*resultobj
;
2655 wxPanel
*arg1
= (wxPanel
*) 0 ;
2656 wxWindow
*arg2
= (wxWindow
*) 0 ;
2657 int arg3
= (int) (int)-1 ;
2658 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2659 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2660 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2661 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2662 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
2663 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
2664 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2668 bool temp7
= false ;
2669 PyObject
* obj0
= 0 ;
2670 PyObject
* obj1
= 0 ;
2671 PyObject
* obj2
= 0 ;
2672 PyObject
* obj3
= 0 ;
2673 PyObject
* obj4
= 0 ;
2674 PyObject
* obj5
= 0 ;
2675 PyObject
* obj6
= 0 ;
2677 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2682 if (SWIG_arg_fail(1)) SWIG_fail
;
2683 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2684 if (SWIG_arg_fail(2)) SWIG_fail
;
2687 arg3
= (int const)(SWIG_As_int(obj2
));
2688 if (SWIG_arg_fail(3)) SWIG_fail
;
2694 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2700 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2705 arg6
= (long)(SWIG_As_long(obj5
));
2706 if (SWIG_arg_fail(6)) SWIG_fail
;
2711 arg7
= wxString_in_helper(obj6
);
2712 if (arg7
== NULL
) SWIG_fail
;
2717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2718 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
2720 wxPyEndAllowThreads(__tstate
);
2721 if (PyErr_Occurred()) SWIG_fail
;
2724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2740 static PyObject
*_wrap_Panel_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2741 PyObject
*resultobj
;
2742 wxPanel
*arg1
= (wxPanel
*) 0 ;
2743 PyObject
* obj0
= 0 ;
2745 (char *) "self", NULL
2748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
2749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2750 if (SWIG_arg_fail(1)) SWIG_fail
;
2752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2753 (arg1
)->InitDialog();
2755 wxPyEndAllowThreads(__tstate
);
2756 if (PyErr_Occurred()) SWIG_fail
;
2758 Py_INCREF(Py_None
); resultobj
= Py_None
;
2765 static PyObject
*_wrap_Panel_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2766 PyObject
*resultobj
;
2767 wxPanel
*arg1
= (wxPanel
*) 0 ;
2768 PyObject
* obj0
= 0 ;
2770 (char *) "self", NULL
2773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_SetFocus",kwnames
,&obj0
)) goto fail
;
2774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2775 if (SWIG_arg_fail(1)) SWIG_fail
;
2777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2780 wxPyEndAllowThreads(__tstate
);
2781 if (PyErr_Occurred()) SWIG_fail
;
2783 Py_INCREF(Py_None
); resultobj
= Py_None
;
2790 static PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2791 PyObject
*resultobj
;
2792 wxPanel
*arg1
= (wxPanel
*) 0 ;
2793 PyObject
* obj0
= 0 ;
2795 (char *) "self", NULL
2798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_SetFocusIgnoringChildren",kwnames
,&obj0
)) goto fail
;
2799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2800 if (SWIG_arg_fail(1)) SWIG_fail
;
2802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2803 (arg1
)->SetFocusIgnoringChildren();
2805 wxPyEndAllowThreads(__tstate
);
2806 if (PyErr_Occurred()) SWIG_fail
;
2808 Py_INCREF(Py_None
); resultobj
= Py_None
;
2815 static PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2816 PyObject
*resultobj
;
2817 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
2818 wxVisualAttributes result
;
2819 PyObject
* obj0
= 0 ;
2821 (char *) "variant", NULL
2824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2827 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
2828 if (SWIG_arg_fail(1)) SWIG_fail
;
2832 if (!wxPyCheckForApp()) SWIG_fail
;
2833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2834 result
= wxPanel::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2836 wxPyEndAllowThreads(__tstate
);
2837 if (PyErr_Occurred()) SWIG_fail
;
2840 wxVisualAttributes
* resultptr
;
2841 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
2842 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2850 static PyObject
* Panel_swigregister(PyObject
*, PyObject
*args
) {
2852 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2853 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
2855 return Py_BuildValue((char *)"");
2857 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2858 PyObject
*resultobj
;
2859 wxWindow
*arg1
= (wxWindow
*) 0 ;
2860 int arg2
= (int) (int)-1 ;
2861 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2862 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2863 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2864 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2865 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
2866 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
2867 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
2868 wxScrolledWindow
*result
;
2871 bool temp6
= false ;
2872 PyObject
* obj0
= 0 ;
2873 PyObject
* obj1
= 0 ;
2874 PyObject
* obj2
= 0 ;
2875 PyObject
* obj3
= 0 ;
2876 PyObject
* obj4
= 0 ;
2877 PyObject
* obj5
= 0 ;
2879 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
2883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2884 if (SWIG_arg_fail(1)) SWIG_fail
;
2887 arg2
= (int const)(SWIG_As_int(obj1
));
2888 if (SWIG_arg_fail(2)) SWIG_fail
;
2894 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2900 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2905 arg5
= (long)(SWIG_As_long(obj4
));
2906 if (SWIG_arg_fail(5)) SWIG_fail
;
2911 arg6
= wxString_in_helper(obj5
);
2912 if (arg6
== NULL
) SWIG_fail
;
2917 if (!wxPyCheckForApp()) SWIG_fail
;
2918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2919 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
2921 wxPyEndAllowThreads(__tstate
);
2922 if (PyErr_Occurred()) SWIG_fail
;
2924 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
2939 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2940 PyObject
*resultobj
;
2941 wxScrolledWindow
*result
;
2946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
2948 if (!wxPyCheckForApp()) SWIG_fail
;
2949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2950 result
= (wxScrolledWindow
*)new wxScrolledWindow();
2952 wxPyEndAllowThreads(__tstate
);
2953 if (PyErr_Occurred()) SWIG_fail
;
2955 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
2962 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2963 PyObject
*resultobj
;
2964 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2965 wxWindow
*arg2
= (wxWindow
*) 0 ;
2966 int arg3
= (int) (int)-1 ;
2967 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2968 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2969 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2970 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2971 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
2972 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
2973 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2977 bool temp7
= false ;
2978 PyObject
* obj0
= 0 ;
2979 PyObject
* obj1
= 0 ;
2980 PyObject
* obj2
= 0 ;
2981 PyObject
* obj3
= 0 ;
2982 PyObject
* obj4
= 0 ;
2983 PyObject
* obj5
= 0 ;
2984 PyObject
* obj6
= 0 ;
2986 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
2991 if (SWIG_arg_fail(1)) SWIG_fail
;
2992 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2993 if (SWIG_arg_fail(2)) SWIG_fail
;
2996 arg3
= (int const)(SWIG_As_int(obj2
));
2997 if (SWIG_arg_fail(3)) SWIG_fail
;
3003 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3009 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3014 arg6
= (long)(SWIG_As_long(obj5
));
3015 if (SWIG_arg_fail(6)) SWIG_fail
;
3020 arg7
= wxString_in_helper(obj6
);
3021 if (arg7
== NULL
) SWIG_fail
;
3026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3027 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3029 wxPyEndAllowThreads(__tstate
);
3030 if (PyErr_Occurred()) SWIG_fail
;
3033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3049 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3050 PyObject
*resultobj
;
3051 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3056 int arg6
= (int) 0 ;
3057 int arg7
= (int) 0 ;
3058 bool arg8
= (bool) false ;
3059 PyObject
* obj0
= 0 ;
3060 PyObject
* obj1
= 0 ;
3061 PyObject
* obj2
= 0 ;
3062 PyObject
* obj3
= 0 ;
3063 PyObject
* obj4
= 0 ;
3064 PyObject
* obj5
= 0 ;
3065 PyObject
* obj6
= 0 ;
3066 PyObject
* obj7
= 0 ;
3068 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
3071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3073 if (SWIG_arg_fail(1)) SWIG_fail
;
3075 arg2
= (int)(SWIG_As_int(obj1
));
3076 if (SWIG_arg_fail(2)) SWIG_fail
;
3079 arg3
= (int)(SWIG_As_int(obj2
));
3080 if (SWIG_arg_fail(3)) SWIG_fail
;
3083 arg4
= (int)(SWIG_As_int(obj3
));
3084 if (SWIG_arg_fail(4)) SWIG_fail
;
3087 arg5
= (int)(SWIG_As_int(obj4
));
3088 if (SWIG_arg_fail(5)) SWIG_fail
;
3092 arg6
= (int)(SWIG_As_int(obj5
));
3093 if (SWIG_arg_fail(6)) SWIG_fail
;
3098 arg7
= (int)(SWIG_As_int(obj6
));
3099 if (SWIG_arg_fail(7)) SWIG_fail
;
3104 arg8
= (bool)(SWIG_As_bool(obj7
));
3105 if (SWIG_arg_fail(8)) SWIG_fail
;
3109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3110 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
3112 wxPyEndAllowThreads(__tstate
);
3113 if (PyErr_Occurred()) SWIG_fail
;
3115 Py_INCREF(Py_None
); resultobj
= Py_None
;
3122 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3123 PyObject
*resultobj
;
3124 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3127 PyObject
* obj0
= 0 ;
3128 PyObject
* obj1
= 0 ;
3129 PyObject
* obj2
= 0 ;
3131 (char *) "self",(char *) "x",(char *) "y", NULL
3134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3136 if (SWIG_arg_fail(1)) SWIG_fail
;
3138 arg2
= (int)(SWIG_As_int(obj1
));
3139 if (SWIG_arg_fail(2)) SWIG_fail
;
3142 arg3
= (int)(SWIG_As_int(obj2
));
3143 if (SWIG_arg_fail(3)) SWIG_fail
;
3146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3147 (arg1
)->Scroll(arg2
,arg3
);
3149 wxPyEndAllowThreads(__tstate
);
3150 if (PyErr_Occurred()) SWIG_fail
;
3152 Py_INCREF(Py_None
); resultobj
= Py_None
;
3159 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3160 PyObject
*resultobj
;
3161 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3164 PyObject
* obj0
= 0 ;
3165 PyObject
* obj1
= 0 ;
3167 (char *) "self",(char *) "orient", NULL
3170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3172 if (SWIG_arg_fail(1)) SWIG_fail
;
3174 arg2
= (int)(SWIG_As_int(obj1
));
3175 if (SWIG_arg_fail(2)) SWIG_fail
;
3178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3179 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
3181 wxPyEndAllowThreads(__tstate
);
3182 if (PyErr_Occurred()) SWIG_fail
;
3185 resultobj
= SWIG_From_int((int)(result
));
3193 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3194 PyObject
*resultobj
;
3195 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3198 PyObject
* obj0
= 0 ;
3199 PyObject
* obj1
= 0 ;
3200 PyObject
* obj2
= 0 ;
3202 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
3205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3207 if (SWIG_arg_fail(1)) SWIG_fail
;
3209 arg2
= (int)(SWIG_As_int(obj1
));
3210 if (SWIG_arg_fail(2)) SWIG_fail
;
3213 arg3
= (int)(SWIG_As_int(obj2
));
3214 if (SWIG_arg_fail(3)) SWIG_fail
;
3217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3218 (arg1
)->SetScrollPageSize(arg2
,arg3
);
3220 wxPyEndAllowThreads(__tstate
);
3221 if (PyErr_Occurred()) SWIG_fail
;
3223 Py_INCREF(Py_None
); resultobj
= Py_None
;
3230 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3231 PyObject
*resultobj
;
3232 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3235 PyObject
* obj0
= 0 ;
3236 PyObject
* obj1
= 0 ;
3237 PyObject
* obj2
= 0 ;
3239 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
3242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3244 if (SWIG_arg_fail(1)) SWIG_fail
;
3246 arg2
= (int)(SWIG_As_int(obj1
));
3247 if (SWIG_arg_fail(2)) SWIG_fail
;
3250 arg3
= (int)(SWIG_As_int(obj2
));
3251 if (SWIG_arg_fail(3)) SWIG_fail
;
3254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3255 (arg1
)->SetScrollRate(arg2
,arg3
);
3257 wxPyEndAllowThreads(__tstate
);
3258 if (PyErr_Occurred()) SWIG_fail
;
3260 Py_INCREF(Py_None
); resultobj
= Py_None
;
3267 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3268 PyObject
*resultobj
;
3269 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3270 int *arg2
= (int *) 0 ;
3271 int *arg3
= (int *) 0 ;
3276 PyObject
* obj0
= 0 ;
3278 (char *) "self", NULL
3281 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3282 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
3283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
3284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3285 if (SWIG_arg_fail(1)) SWIG_fail
;
3287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3288 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
3290 wxPyEndAllowThreads(__tstate
);
3291 if (PyErr_Occurred()) SWIG_fail
;
3293 Py_INCREF(Py_None
); resultobj
= Py_None
;
3294 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3295 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3296 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
3297 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
3304 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3305 PyObject
*resultobj
;
3306 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3309 PyObject
* obj0
= 0 ;
3310 PyObject
* obj1
= 0 ;
3311 PyObject
* obj2
= 0 ;
3313 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
3316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3318 if (SWIG_arg_fail(1)) SWIG_fail
;
3320 arg2
= (bool)(SWIG_As_bool(obj1
));
3321 if (SWIG_arg_fail(2)) SWIG_fail
;
3324 arg3
= (bool)(SWIG_As_bool(obj2
));
3325 if (SWIG_arg_fail(3)) SWIG_fail
;
3328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3329 (arg1
)->EnableScrolling(arg2
,arg3
);
3331 wxPyEndAllowThreads(__tstate
);
3332 if (PyErr_Occurred()) SWIG_fail
;
3334 Py_INCREF(Py_None
); resultobj
= Py_None
;
3341 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3342 PyObject
*resultobj
;
3343 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3344 int *arg2
= (int *) 0 ;
3345 int *arg3
= (int *) 0 ;
3350 PyObject
* obj0
= 0 ;
3352 (char *) "self", NULL
3355 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3356 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
3357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
3358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3359 if (SWIG_arg_fail(1)) SWIG_fail
;
3361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3362 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
3364 wxPyEndAllowThreads(__tstate
);
3365 if (PyErr_Occurred()) SWIG_fail
;
3367 Py_INCREF(Py_None
); resultobj
= Py_None
;
3368 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3369 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3370 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
3371 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
3378 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3379 PyObject
*resultobj
;
3380 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3383 PyObject
* obj0
= 0 ;
3384 PyObject
* obj1
= 0 ;
3385 PyObject
* obj2
= 0 ;
3387 (char *) "self",(char *) "xs",(char *) "ys", NULL
3390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3392 if (SWIG_arg_fail(1)) SWIG_fail
;
3394 arg2
= (double)(SWIG_As_double(obj1
));
3395 if (SWIG_arg_fail(2)) SWIG_fail
;
3398 arg3
= (double)(SWIG_As_double(obj2
));
3399 if (SWIG_arg_fail(3)) SWIG_fail
;
3402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3403 (arg1
)->SetScale(arg2
,arg3
);
3405 wxPyEndAllowThreads(__tstate
);
3406 if (PyErr_Occurred()) SWIG_fail
;
3408 Py_INCREF(Py_None
); resultobj
= Py_None
;
3415 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3416 PyObject
*resultobj
;
3417 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3419 PyObject
* obj0
= 0 ;
3421 (char *) "self", NULL
3424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
3425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3426 if (SWIG_arg_fail(1)) SWIG_fail
;
3428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3429 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
3431 wxPyEndAllowThreads(__tstate
);
3432 if (PyErr_Occurred()) SWIG_fail
;
3435 resultobj
= SWIG_From_double((double)(result
));
3443 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3444 PyObject
*resultobj
;
3445 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3447 PyObject
* obj0
= 0 ;
3449 (char *) "self", NULL
3452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
3453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3454 if (SWIG_arg_fail(1)) SWIG_fail
;
3456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3457 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
3459 wxPyEndAllowThreads(__tstate
);
3460 if (PyErr_Occurred()) SWIG_fail
;
3463 resultobj
= SWIG_From_double((double)(result
));
3471 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
3472 PyObject
*resultobj
;
3473 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3477 PyObject
* obj0
= 0 ;
3478 PyObject
* obj1
= 0 ;
3480 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
3481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3482 if (SWIG_arg_fail(1)) SWIG_fail
;
3485 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3489 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
3491 wxPyEndAllowThreads(__tstate
);
3492 if (PyErr_Occurred()) SWIG_fail
;
3495 wxPoint
* resultptr
;
3496 resultptr
= new wxPoint((wxPoint
&)(result
));
3497 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3505 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
3506 PyObject
*resultobj
;
3507 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3510 int *arg4
= (int *) 0 ;
3511 int *arg5
= (int *) 0 ;
3516 PyObject
* obj0
= 0 ;
3517 PyObject
* obj1
= 0 ;
3518 PyObject
* obj2
= 0 ;
3520 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
3521 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
3522 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
3523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3524 if (SWIG_arg_fail(1)) SWIG_fail
;
3526 arg2
= (int)(SWIG_As_int(obj1
));
3527 if (SWIG_arg_fail(2)) SWIG_fail
;
3530 arg3
= (int)(SWIG_As_int(obj2
));
3531 if (SWIG_arg_fail(3)) SWIG_fail
;
3534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3535 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
3537 wxPyEndAllowThreads(__tstate
);
3538 if (PyErr_Occurred()) SWIG_fail
;
3540 Py_INCREF(Py_None
); resultobj
= Py_None
;
3541 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
3542 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
3543 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
3544 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
3551 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
3556 argc
= PyObject_Length(args
);
3557 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
3558 argv
[ii
] = PyTuple_GetItem(args
,ii
);
3564 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3573 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
3576 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
3584 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3592 _v
= SWIG_Check_int(argv
[1]);
3594 _v
= SWIG_Check_int(argv
[2]);
3596 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
3602 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
3607 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
3608 PyObject
*resultobj
;
3609 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3613 PyObject
* obj0
= 0 ;
3614 PyObject
* obj1
= 0 ;
3616 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
3617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3618 if (SWIG_arg_fail(1)) SWIG_fail
;
3621 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3625 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
3627 wxPyEndAllowThreads(__tstate
);
3628 if (PyErr_Occurred()) SWIG_fail
;
3631 wxPoint
* resultptr
;
3632 resultptr
= new wxPoint((wxPoint
&)(result
));
3633 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3641 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
3642 PyObject
*resultobj
;
3643 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3646 int *arg4
= (int *) 0 ;
3647 int *arg5
= (int *) 0 ;
3652 PyObject
* obj0
= 0 ;
3653 PyObject
* obj1
= 0 ;
3654 PyObject
* obj2
= 0 ;
3656 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
3657 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
3658 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
3659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3660 if (SWIG_arg_fail(1)) SWIG_fail
;
3662 arg2
= (int)(SWIG_As_int(obj1
));
3663 if (SWIG_arg_fail(2)) SWIG_fail
;
3666 arg3
= (int)(SWIG_As_int(obj2
));
3667 if (SWIG_arg_fail(3)) SWIG_fail
;
3670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3671 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
3673 wxPyEndAllowThreads(__tstate
);
3674 if (PyErr_Occurred()) SWIG_fail
;
3676 Py_INCREF(Py_None
); resultobj
= Py_None
;
3677 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
3678 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
3679 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
3680 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
3687 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
3692 argc
= PyObject_Length(args
);
3693 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
3694 argv
[ii
] = PyTuple_GetItem(args
,ii
);
3700 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3709 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
3712 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
3720 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3728 _v
= SWIG_Check_int(argv
[1]);
3730 _v
= SWIG_Check_int(argv
[2]);
3732 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
3738 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
3743 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3744 PyObject
*resultobj
;
3745 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3746 PyObject
* obj0
= 0 ;
3748 (char *) "self", NULL
3751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
3752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3753 if (SWIG_arg_fail(1)) SWIG_fail
;
3755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3756 (arg1
)->AdjustScrollbars();
3758 wxPyEndAllowThreads(__tstate
);
3759 if (PyErr_Occurred()) SWIG_fail
;
3761 Py_INCREF(Py_None
); resultobj
= Py_None
;
3768 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3769 PyObject
*resultobj
;
3770 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3771 wxScrollWinEvent
*arg2
= 0 ;
3773 PyObject
* obj0
= 0 ;
3774 PyObject
* obj1
= 0 ;
3776 (char *) "self",(char *) "event", NULL
3779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
3780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3781 if (SWIG_arg_fail(1)) SWIG_fail
;
3783 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
3784 if (SWIG_arg_fail(2)) SWIG_fail
;
3786 SWIG_null_ref("wxScrollWinEvent");
3788 if (SWIG_arg_fail(2)) SWIG_fail
;
3791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3792 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
3794 wxPyEndAllowThreads(__tstate
);
3795 if (PyErr_Occurred()) SWIG_fail
;
3798 resultobj
= SWIG_From_int((int)(result
));
3806 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3807 PyObject
*resultobj
;
3808 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3809 wxWindow
*arg2
= (wxWindow
*) 0 ;
3810 PyObject
* obj0
= 0 ;
3811 PyObject
* obj1
= 0 ;
3813 (char *) "self",(char *) "target", NULL
3816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
3817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3818 if (SWIG_arg_fail(1)) SWIG_fail
;
3819 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3820 if (SWIG_arg_fail(2)) SWIG_fail
;
3822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3823 (arg1
)->SetTargetWindow(arg2
);
3825 wxPyEndAllowThreads(__tstate
);
3826 if (PyErr_Occurred()) SWIG_fail
;
3828 Py_INCREF(Py_None
); resultobj
= Py_None
;
3835 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3836 PyObject
*resultobj
;
3837 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3839 PyObject
* obj0
= 0 ;
3841 (char *) "self", NULL
3844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
3845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3846 if (SWIG_arg_fail(1)) SWIG_fail
;
3848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3849 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
3851 wxPyEndAllowThreads(__tstate
);
3852 if (PyErr_Occurred()) SWIG_fail
;
3855 resultobj
= wxPyMake_wxObject(result
, 0);
3863 static PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3864 PyObject
*resultobj
;
3865 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3868 PyObject
* obj0
= 0 ;
3869 PyObject
* obj1
= 0 ;
3871 (char *) "self",(char *) "rect", NULL
3874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
3875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3876 if (SWIG_arg_fail(1)) SWIG_fail
;
3879 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3883 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
3885 wxPyEndAllowThreads(__tstate
);
3886 if (PyErr_Occurred()) SWIG_fail
;
3888 Py_INCREF(Py_None
); resultobj
= Py_None
;
3895 static PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3896 PyObject
*resultobj
;
3897 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3899 PyObject
* obj0
= 0 ;
3901 (char *) "self", NULL
3904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetRect",kwnames
,&obj0
)) goto fail
;
3905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3906 if (SWIG_arg_fail(1)) SWIG_fail
;
3908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3909 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
3911 wxPyEndAllowThreads(__tstate
);
3912 if (PyErr_Occurred()) SWIG_fail
;
3916 resultptr
= new wxRect((wxRect
&)(result
));
3917 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
3925 static PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3926 PyObject
*resultobj
;
3927 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3929 PyObject
* obj0
= 0 ;
3930 PyObject
* obj1
= 0 ;
3932 (char *) "self",(char *) "dc", NULL
3935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
3936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3937 if (SWIG_arg_fail(1)) SWIG_fail
;
3939 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
3940 if (SWIG_arg_fail(2)) SWIG_fail
;
3942 SWIG_null_ref("wxDC");
3944 if (SWIG_arg_fail(2)) SWIG_fail
;
3947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3948 (arg1
)->DoPrepareDC(*arg2
);
3950 wxPyEndAllowThreads(__tstate
);
3951 if (PyErr_Occurred()) SWIG_fail
;
3953 Py_INCREF(Py_None
); resultobj
= Py_None
;
3960 static PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3961 PyObject
*resultobj
;
3962 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3963 wxVisualAttributes result
;
3964 PyObject
* obj0
= 0 ;
3966 (char *) "variant", NULL
3969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3972 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
3973 if (SWIG_arg_fail(1)) SWIG_fail
;
3977 if (!wxPyCheckForApp()) SWIG_fail
;
3978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3979 result
= wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3981 wxPyEndAllowThreads(__tstate
);
3982 if (PyErr_Occurred()) SWIG_fail
;
3985 wxVisualAttributes
* resultptr
;
3986 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
3987 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3995 static PyObject
* ScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
3997 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3998 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
4000 return Py_BuildValue((char *)"");
4002 static int _wrap_FrameNameStr_set(PyObject
*) {
4003 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
4008 static PyObject
*_wrap_FrameNameStr_get(void) {
4013 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
4015 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
4022 static int _wrap_DialogNameStr_set(PyObject
*) {
4023 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
4028 static PyObject
*_wrap_DialogNameStr_get(void) {
4033 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
4035 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
4042 static int _wrap_StatusLineNameStr_set(PyObject
*) {
4043 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
4048 static PyObject
*_wrap_StatusLineNameStr_get(void) {
4053 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
4055 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
4062 static int _wrap_ToolBarNameStr_set(PyObject
*) {
4063 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
4068 static PyObject
*_wrap_ToolBarNameStr_get(void) {
4073 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
4075 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
4082 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4083 PyObject
*resultobj
;
4084 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4085 bool arg2
= (bool) true ;
4086 PyObject
* obj0
= 0 ;
4087 PyObject
* obj1
= 0 ;
4089 (char *) "self",(char *) "maximize", NULL
4092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
4093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4094 if (SWIG_arg_fail(1)) SWIG_fail
;
4097 arg2
= (bool)(SWIG_As_bool(obj1
));
4098 if (SWIG_arg_fail(2)) SWIG_fail
;
4102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4103 (arg1
)->Maximize(arg2
);
4105 wxPyEndAllowThreads(__tstate
);
4106 if (PyErr_Occurred()) SWIG_fail
;
4108 Py_INCREF(Py_None
); resultobj
= Py_None
;
4115 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4116 PyObject
*resultobj
;
4117 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4118 PyObject
* obj0
= 0 ;
4120 (char *) "self", NULL
4123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
4124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4125 if (SWIG_arg_fail(1)) SWIG_fail
;
4127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4130 wxPyEndAllowThreads(__tstate
);
4131 if (PyErr_Occurred()) SWIG_fail
;
4133 Py_INCREF(Py_None
); resultobj
= Py_None
;
4140 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4141 PyObject
*resultobj
;
4142 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4143 bool arg2
= (bool) true ;
4144 PyObject
* obj0
= 0 ;
4145 PyObject
* obj1
= 0 ;
4147 (char *) "self",(char *) "iconize", NULL
4150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
4151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4152 if (SWIG_arg_fail(1)) SWIG_fail
;
4155 arg2
= (bool)(SWIG_As_bool(obj1
));
4156 if (SWIG_arg_fail(2)) SWIG_fail
;
4160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4161 (arg1
)->Iconize(arg2
);
4163 wxPyEndAllowThreads(__tstate
);
4164 if (PyErr_Occurred()) SWIG_fail
;
4166 Py_INCREF(Py_None
); resultobj
= Py_None
;
4173 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4174 PyObject
*resultobj
;
4175 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4177 PyObject
* obj0
= 0 ;
4179 (char *) "self", NULL
4182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
4183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4184 if (SWIG_arg_fail(1)) SWIG_fail
;
4186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4187 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
4189 wxPyEndAllowThreads(__tstate
);
4190 if (PyErr_Occurred()) SWIG_fail
;
4193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4201 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4202 PyObject
*resultobj
;
4203 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4205 PyObject
* obj0
= 0 ;
4207 (char *) "self", NULL
4210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
4211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4212 if (SWIG_arg_fail(1)) SWIG_fail
;
4214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4215 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
4217 wxPyEndAllowThreads(__tstate
);
4218 if (PyErr_Occurred()) SWIG_fail
;
4221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4229 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4230 PyObject
*resultobj
;
4231 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4233 PyObject
* obj0
= 0 ;
4235 (char *) "self", NULL
4238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
4239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4240 if (SWIG_arg_fail(1)) SWIG_fail
;
4242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4243 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
4245 wxPyEndAllowThreads(__tstate
);
4246 if (PyErr_Occurred()) SWIG_fail
;
4250 resultptr
= new wxIcon((wxIcon
&)(result
));
4251 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
4259 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4260 PyObject
*resultobj
;
4261 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4263 PyObject
* obj0
= 0 ;
4264 PyObject
* obj1
= 0 ;
4266 (char *) "self",(char *) "icon", NULL
4269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4271 if (SWIG_arg_fail(1)) SWIG_fail
;
4273 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
4274 if (SWIG_arg_fail(2)) SWIG_fail
;
4276 SWIG_null_ref("wxIcon");
4278 if (SWIG_arg_fail(2)) SWIG_fail
;
4281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4282 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
4284 wxPyEndAllowThreads(__tstate
);
4285 if (PyErr_Occurred()) SWIG_fail
;
4287 Py_INCREF(Py_None
); resultobj
= Py_None
;
4294 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4295 PyObject
*resultobj
;
4296 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4297 wxIconBundle
*arg2
= 0 ;
4298 PyObject
* obj0
= 0 ;
4299 PyObject
* obj1
= 0 ;
4301 (char *) "self",(char *) "icons", NULL
4304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
4305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4306 if (SWIG_arg_fail(1)) SWIG_fail
;
4308 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
4309 if (SWIG_arg_fail(2)) SWIG_fail
;
4311 SWIG_null_ref("wxIconBundle");
4313 if (SWIG_arg_fail(2)) SWIG_fail
;
4316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4317 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
4319 wxPyEndAllowThreads(__tstate
);
4320 if (PyErr_Occurred()) SWIG_fail
;
4322 Py_INCREF(Py_None
); resultobj
= Py_None
;
4329 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4330 PyObject
*resultobj
;
4331 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4333 long arg3
= (long) wxFULLSCREEN_ALL
;
4335 PyObject
* obj0
= 0 ;
4336 PyObject
* obj1
= 0 ;
4337 PyObject
* obj2
= 0 ;
4339 (char *) "self",(char *) "show",(char *) "style", NULL
4342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4344 if (SWIG_arg_fail(1)) SWIG_fail
;
4346 arg2
= (bool)(SWIG_As_bool(obj1
));
4347 if (SWIG_arg_fail(2)) SWIG_fail
;
4351 arg3
= (long)(SWIG_As_long(obj2
));
4352 if (SWIG_arg_fail(3)) SWIG_fail
;
4356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4357 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
4359 wxPyEndAllowThreads(__tstate
);
4360 if (PyErr_Occurred()) SWIG_fail
;
4363 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4371 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4372 PyObject
*resultobj
;
4373 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4375 PyObject
* obj0
= 0 ;
4377 (char *) "self", NULL
4380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
4381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4382 if (SWIG_arg_fail(1)) SWIG_fail
;
4384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4385 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
4387 wxPyEndAllowThreads(__tstate
);
4388 if (PyErr_Occurred()) SWIG_fail
;
4391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4399 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4400 PyObject
*resultobj
;
4401 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4402 wxString
*arg2
= 0 ;
4403 bool temp2
= false ;
4404 PyObject
* obj0
= 0 ;
4405 PyObject
* obj1
= 0 ;
4407 (char *) "self",(char *) "title", NULL
4410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
4411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4412 if (SWIG_arg_fail(1)) SWIG_fail
;
4414 arg2
= wxString_in_helper(obj1
);
4415 if (arg2
== NULL
) SWIG_fail
;
4419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4420 (arg1
)->SetTitle((wxString
const &)*arg2
);
4422 wxPyEndAllowThreads(__tstate
);
4423 if (PyErr_Occurred()) SWIG_fail
;
4425 Py_INCREF(Py_None
); resultobj
= Py_None
;
4440 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4441 PyObject
*resultobj
;
4442 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4444 PyObject
* obj0
= 0 ;
4446 (char *) "self", NULL
4449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
4450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4451 if (SWIG_arg_fail(1)) SWIG_fail
;
4453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4454 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
4456 wxPyEndAllowThreads(__tstate
);
4457 if (PyErr_Occurred()) SWIG_fail
;
4461 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4463 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4472 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4473 PyObject
*resultobj
;
4474 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4475 wxRegion
*arg2
= 0 ;
4477 PyObject
* obj0
= 0 ;
4478 PyObject
* obj1
= 0 ;
4480 (char *) "self",(char *) "region", NULL
4483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
4484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4485 if (SWIG_arg_fail(1)) SWIG_fail
;
4487 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
4488 if (SWIG_arg_fail(2)) SWIG_fail
;
4490 SWIG_null_ref("wxRegion");
4492 if (SWIG_arg_fail(2)) SWIG_fail
;
4495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4496 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
4498 wxPyEndAllowThreads(__tstate
);
4499 if (PyErr_Occurred()) SWIG_fail
;
4502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4510 static PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4511 PyObject
*resultobj
;
4512 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4513 int arg2
= (int) wxUSER_ATTENTION_INFO
;
4514 PyObject
* obj0
= 0 ;
4515 PyObject
* obj1
= 0 ;
4517 (char *) "self",(char *) "flags", NULL
4520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) goto fail
;
4521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4522 if (SWIG_arg_fail(1)) SWIG_fail
;
4525 arg2
= (int)(SWIG_As_int(obj1
));
4526 if (SWIG_arg_fail(2)) SWIG_fail
;
4530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4531 (arg1
)->RequestUserAttention(arg2
);
4533 wxPyEndAllowThreads(__tstate
);
4534 if (PyErr_Occurred()) SWIG_fail
;
4536 Py_INCREF(Py_None
); resultobj
= Py_None
;
4543 static PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4544 PyObject
*resultobj
;
4545 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4547 PyObject
* obj0
= 0 ;
4549 (char *) "self", NULL
4552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsActive",kwnames
,&obj0
)) goto fail
;
4553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4554 if (SWIG_arg_fail(1)) SWIG_fail
;
4556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4557 result
= (bool)(arg1
)->IsActive();
4559 wxPyEndAllowThreads(__tstate
);
4560 if (PyErr_Occurred()) SWIG_fail
;
4563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4571 static PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4572 PyObject
*resultobj
;
4573 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4575 PyObject
* obj0
= 0 ;
4576 PyObject
* obj1
= 0 ;
4578 (char *) "self",(char *) "on", NULL
4581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) goto fail
;
4582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4583 if (SWIG_arg_fail(1)) SWIG_fail
;
4585 arg2
= (bool)(SWIG_As_bool(obj1
));
4586 if (SWIG_arg_fail(2)) SWIG_fail
;
4589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4590 (arg1
)->MacSetMetalAppearance(arg2
);
4592 wxPyEndAllowThreads(__tstate
);
4593 if (PyErr_Occurred()) SWIG_fail
;
4595 Py_INCREF(Py_None
); resultobj
= Py_None
;
4602 static PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4603 PyObject
*resultobj
;
4604 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4606 PyObject
* obj0
= 0 ;
4608 (char *) "self", NULL
4611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames
,&obj0
)) goto fail
;
4612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4613 if (SWIG_arg_fail(1)) SWIG_fail
;
4615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4616 result
= (bool)((wxTopLevelWindow
const *)arg1
)->MacGetMetalAppearance();
4618 wxPyEndAllowThreads(__tstate
);
4619 if (PyErr_Occurred()) SWIG_fail
;
4622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4630 static PyObject
* TopLevelWindow_swigregister(PyObject
*, PyObject
*args
) {
4632 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4633 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
4635 return Py_BuildValue((char *)"");
4637 static PyObject
*_wrap_new_Frame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4638 PyObject
*resultobj
;
4639 wxWindow
*arg1
= (wxWindow
*) 0 ;
4640 int arg2
= (int) (int)-1 ;
4641 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4642 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4643 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4644 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4645 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4646 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4647 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4648 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4649 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4651 bool temp3
= false ;
4654 bool temp7
= false ;
4655 PyObject
* obj0
= 0 ;
4656 PyObject
* obj1
= 0 ;
4657 PyObject
* obj2
= 0 ;
4658 PyObject
* obj3
= 0 ;
4659 PyObject
* obj4
= 0 ;
4660 PyObject
* obj5
= 0 ;
4661 PyObject
* obj6
= 0 ;
4663 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4668 if (SWIG_arg_fail(1)) SWIG_fail
;
4671 arg2
= (int const)(SWIG_As_int(obj1
));
4672 if (SWIG_arg_fail(2)) SWIG_fail
;
4677 arg3
= wxString_in_helper(obj2
);
4678 if (arg3
== NULL
) SWIG_fail
;
4685 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4691 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4696 arg6
= (long)(SWIG_As_long(obj5
));
4697 if (SWIG_arg_fail(6)) SWIG_fail
;
4702 arg7
= wxString_in_helper(obj6
);
4703 if (arg7
== NULL
) SWIG_fail
;
4708 if (!wxPyCheckForApp()) SWIG_fail
;
4709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4710 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4712 wxPyEndAllowThreads(__tstate
);
4713 if (PyErr_Occurred()) SWIG_fail
;
4715 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
4738 static PyObject
*_wrap_new_PreFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4739 PyObject
*resultobj
;
4745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
4747 if (!wxPyCheckForApp()) SWIG_fail
;
4748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4749 result
= (wxFrame
*)new wxFrame();
4751 wxPyEndAllowThreads(__tstate
);
4752 if (PyErr_Occurred()) SWIG_fail
;
4754 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
4761 static PyObject
*_wrap_Frame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4762 PyObject
*resultobj
;
4763 wxFrame
*arg1
= (wxFrame
*) 0 ;
4764 wxWindow
*arg2
= (wxWindow
*) 0 ;
4765 int arg3
= (int) (int)-1 ;
4766 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4767 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4768 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4769 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4770 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4771 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4772 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4773 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4774 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4776 bool temp4
= false ;
4779 bool temp8
= false ;
4780 PyObject
* obj0
= 0 ;
4781 PyObject
* obj1
= 0 ;
4782 PyObject
* obj2
= 0 ;
4783 PyObject
* obj3
= 0 ;
4784 PyObject
* obj4
= 0 ;
4785 PyObject
* obj5
= 0 ;
4786 PyObject
* obj6
= 0 ;
4787 PyObject
* obj7
= 0 ;
4789 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4794 if (SWIG_arg_fail(1)) SWIG_fail
;
4795 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4796 if (SWIG_arg_fail(2)) SWIG_fail
;
4799 arg3
= (int const)(SWIG_As_int(obj2
));
4800 if (SWIG_arg_fail(3)) SWIG_fail
;
4805 arg4
= wxString_in_helper(obj3
);
4806 if (arg4
== NULL
) SWIG_fail
;
4813 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4819 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4824 arg7
= (long)(SWIG_As_long(obj6
));
4825 if (SWIG_arg_fail(7)) SWIG_fail
;
4830 arg8
= wxString_in_helper(obj7
);
4831 if (arg8
== NULL
) SWIG_fail
;
4836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4837 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4839 wxPyEndAllowThreads(__tstate
);
4840 if (PyErr_Occurred()) SWIG_fail
;
4843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4867 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4868 PyObject
*resultobj
;
4869 wxFrame
*arg1
= (wxFrame
*) 0 ;
4871 PyObject
* obj0
= 0 ;
4873 (char *) "self", NULL
4876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
4877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4878 if (SWIG_arg_fail(1)) SWIG_fail
;
4880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4881 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
4883 wxPyEndAllowThreads(__tstate
);
4884 if (PyErr_Occurred()) SWIG_fail
;
4887 wxPoint
* resultptr
;
4888 resultptr
= new wxPoint((wxPoint
&)(result
));
4889 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4897 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4898 PyObject
*resultobj
;
4899 wxFrame
*arg1
= (wxFrame
*) 0 ;
4900 PyObject
* obj0
= 0 ;
4902 (char *) "self", NULL
4905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
4906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4907 if (SWIG_arg_fail(1)) SWIG_fail
;
4909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4910 (arg1
)->SendSizeEvent();
4912 wxPyEndAllowThreads(__tstate
);
4913 if (PyErr_Occurred()) SWIG_fail
;
4915 Py_INCREF(Py_None
); resultobj
= Py_None
;
4922 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4923 PyObject
*resultobj
;
4924 wxFrame
*arg1
= (wxFrame
*) 0 ;
4925 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
4926 PyObject
* obj0
= 0 ;
4927 PyObject
* obj1
= 0 ;
4929 (char *) "self",(char *) "menubar", NULL
4932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
4933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4934 if (SWIG_arg_fail(1)) SWIG_fail
;
4935 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
4936 if (SWIG_arg_fail(2)) SWIG_fail
;
4938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4939 (arg1
)->SetMenuBar(arg2
);
4941 wxPyEndAllowThreads(__tstate
);
4942 if (PyErr_Occurred()) SWIG_fail
;
4944 Py_INCREF(Py_None
); resultobj
= Py_None
;
4951 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4952 PyObject
*resultobj
;
4953 wxFrame
*arg1
= (wxFrame
*) 0 ;
4955 PyObject
* obj0
= 0 ;
4957 (char *) "self", NULL
4960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
4961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4962 if (SWIG_arg_fail(1)) SWIG_fail
;
4964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4965 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
4967 wxPyEndAllowThreads(__tstate
);
4968 if (PyErr_Occurred()) SWIG_fail
;
4971 resultobj
= wxPyMake_wxObject(result
, 0);
4979 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4980 PyObject
*resultobj
;
4981 wxFrame
*arg1
= (wxFrame
*) 0 ;
4984 PyObject
* obj0
= 0 ;
4985 PyObject
* obj1
= 0 ;
4987 (char *) "self",(char *) "winid", NULL
4990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
4991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4992 if (SWIG_arg_fail(1)) SWIG_fail
;
4994 arg2
= (int)(SWIG_As_int(obj1
));
4995 if (SWIG_arg_fail(2)) SWIG_fail
;
4998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4999 result
= (bool)(arg1
)->ProcessCommand(arg2
);
5001 wxPyEndAllowThreads(__tstate
);
5002 if (PyErr_Occurred()) SWIG_fail
;
5005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5013 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5014 PyObject
*resultobj
;
5015 wxFrame
*arg1
= (wxFrame
*) 0 ;
5016 int arg2
= (int) 1 ;
5017 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
5018 int arg4
= (int) 0 ;
5019 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
5020 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5021 wxStatusBar
*result
;
5022 bool temp5
= false ;
5023 PyObject
* obj0
= 0 ;
5024 PyObject
* obj1
= 0 ;
5025 PyObject
* obj2
= 0 ;
5026 PyObject
* obj3
= 0 ;
5027 PyObject
* obj4
= 0 ;
5029 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
5032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5034 if (SWIG_arg_fail(1)) SWIG_fail
;
5037 arg2
= (int)(SWIG_As_int(obj1
));
5038 if (SWIG_arg_fail(2)) SWIG_fail
;
5043 arg3
= (long)(SWIG_As_long(obj2
));
5044 if (SWIG_arg_fail(3)) SWIG_fail
;
5049 arg4
= (int)(SWIG_As_int(obj3
));
5050 if (SWIG_arg_fail(4)) SWIG_fail
;
5055 arg5
= wxString_in_helper(obj4
);
5056 if (arg5
== NULL
) SWIG_fail
;
5061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5062 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
5064 wxPyEndAllowThreads(__tstate
);
5065 if (PyErr_Occurred()) SWIG_fail
;
5068 resultobj
= wxPyMake_wxObject(result
, 0);
5084 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5085 PyObject
*resultobj
;
5086 wxFrame
*arg1
= (wxFrame
*) 0 ;
5087 wxStatusBar
*result
;
5088 PyObject
* obj0
= 0 ;
5090 (char *) "self", NULL
5093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
5094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5095 if (SWIG_arg_fail(1)) SWIG_fail
;
5097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5098 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
5100 wxPyEndAllowThreads(__tstate
);
5101 if (PyErr_Occurred()) SWIG_fail
;
5104 resultobj
= wxPyMake_wxObject(result
, 0);
5112 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5113 PyObject
*resultobj
;
5114 wxFrame
*arg1
= (wxFrame
*) 0 ;
5115 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
5116 PyObject
* obj0
= 0 ;
5117 PyObject
* obj1
= 0 ;
5119 (char *) "self",(char *) "statBar", NULL
5122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
5123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5124 if (SWIG_arg_fail(1)) SWIG_fail
;
5125 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
5126 if (SWIG_arg_fail(2)) SWIG_fail
;
5128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5129 (arg1
)->SetStatusBar(arg2
);
5131 wxPyEndAllowThreads(__tstate
);
5132 if (PyErr_Occurred()) SWIG_fail
;
5134 Py_INCREF(Py_None
); resultobj
= Py_None
;
5141 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5142 PyObject
*resultobj
;
5143 wxFrame
*arg1
= (wxFrame
*) 0 ;
5144 wxString
*arg2
= 0 ;
5145 int arg3
= (int) 0 ;
5146 bool temp2
= false ;
5147 PyObject
* obj0
= 0 ;
5148 PyObject
* obj1
= 0 ;
5149 PyObject
* obj2
= 0 ;
5151 (char *) "self",(char *) "text",(char *) "number", NULL
5154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5156 if (SWIG_arg_fail(1)) SWIG_fail
;
5158 arg2
= wxString_in_helper(obj1
);
5159 if (arg2
== NULL
) SWIG_fail
;
5164 arg3
= (int)(SWIG_As_int(obj2
));
5165 if (SWIG_arg_fail(3)) SWIG_fail
;
5169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5170 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5172 wxPyEndAllowThreads(__tstate
);
5173 if (PyErr_Occurred()) SWIG_fail
;
5175 Py_INCREF(Py_None
); resultobj
= Py_None
;
5190 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5191 PyObject
*resultobj
;
5192 wxFrame
*arg1
= (wxFrame
*) 0 ;
5194 int *arg3
= (int *) 0 ;
5195 PyObject
* obj0
= 0 ;
5196 PyObject
* obj1
= 0 ;
5198 (char *) "self",(char *) "widths", NULL
5201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5203 if (SWIG_arg_fail(1)) SWIG_fail
;
5205 arg2
= PyList_Size(obj1
);
5206 arg3
= int_LIST_helper(obj1
);
5207 if (arg3
== NULL
) SWIG_fail
;
5210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5211 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5213 wxPyEndAllowThreads(__tstate
);
5214 if (PyErr_Occurred()) SWIG_fail
;
5216 Py_INCREF(Py_None
); resultobj
= Py_None
;
5218 if (arg3
) delete [] arg3
;
5223 if (arg3
) delete [] arg3
;
5229 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5230 PyObject
*resultobj
;
5231 wxFrame
*arg1
= (wxFrame
*) 0 ;
5232 wxString
*arg2
= 0 ;
5233 int arg3
= (int) 0 ;
5234 bool temp2
= false ;
5235 PyObject
* obj0
= 0 ;
5236 PyObject
* obj1
= 0 ;
5237 PyObject
* obj2
= 0 ;
5239 (char *) "self",(char *) "text",(char *) "number", NULL
5242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5244 if (SWIG_arg_fail(1)) SWIG_fail
;
5246 arg2
= wxString_in_helper(obj1
);
5247 if (arg2
== NULL
) SWIG_fail
;
5252 arg3
= (int)(SWIG_As_int(obj2
));
5253 if (SWIG_arg_fail(3)) SWIG_fail
;
5257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5258 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5260 wxPyEndAllowThreads(__tstate
);
5261 if (PyErr_Occurred()) SWIG_fail
;
5263 Py_INCREF(Py_None
); resultobj
= Py_None
;
5278 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5279 PyObject
*resultobj
;
5280 wxFrame
*arg1
= (wxFrame
*) 0 ;
5281 int arg2
= (int) 0 ;
5282 PyObject
* obj0
= 0 ;
5283 PyObject
* obj1
= 0 ;
5285 (char *) "self",(char *) "number", NULL
5288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5290 if (SWIG_arg_fail(1)) SWIG_fail
;
5293 arg2
= (int)(SWIG_As_int(obj1
));
5294 if (SWIG_arg_fail(2)) SWIG_fail
;
5298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5299 (arg1
)->PopStatusText(arg2
);
5301 wxPyEndAllowThreads(__tstate
);
5302 if (PyErr_Occurred()) SWIG_fail
;
5304 Py_INCREF(Py_None
); resultobj
= Py_None
;
5311 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5312 PyObject
*resultobj
;
5313 wxFrame
*arg1
= (wxFrame
*) 0 ;
5315 PyObject
* obj0
= 0 ;
5316 PyObject
* obj1
= 0 ;
5318 (char *) "self",(char *) "n", NULL
5321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
5322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5323 if (SWIG_arg_fail(1)) SWIG_fail
;
5325 arg2
= (int)(SWIG_As_int(obj1
));
5326 if (SWIG_arg_fail(2)) SWIG_fail
;
5329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5330 (arg1
)->SetStatusBarPane(arg2
);
5332 wxPyEndAllowThreads(__tstate
);
5333 if (PyErr_Occurred()) SWIG_fail
;
5335 Py_INCREF(Py_None
); resultobj
= Py_None
;
5342 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5343 PyObject
*resultobj
;
5344 wxFrame
*arg1
= (wxFrame
*) 0 ;
5346 PyObject
* obj0
= 0 ;
5348 (char *) "self", NULL
5351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
5352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5353 if (SWIG_arg_fail(1)) SWIG_fail
;
5355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5356 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
5358 wxPyEndAllowThreads(__tstate
);
5359 if (PyErr_Occurred()) SWIG_fail
;
5362 resultobj
= SWIG_From_int((int)(result
));
5370 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5371 PyObject
*resultobj
;
5372 wxFrame
*arg1
= (wxFrame
*) 0 ;
5373 long arg2
= (long) -1 ;
5374 int arg3
= (int) -1 ;
5375 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
5376 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5378 bool temp4
= false ;
5379 PyObject
* obj0
= 0 ;
5380 PyObject
* obj1
= 0 ;
5381 PyObject
* obj2
= 0 ;
5382 PyObject
* obj3
= 0 ;
5384 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
5387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5389 if (SWIG_arg_fail(1)) SWIG_fail
;
5392 arg2
= (long)(SWIG_As_long(obj1
));
5393 if (SWIG_arg_fail(2)) SWIG_fail
;
5398 arg3
= (int)(SWIG_As_int(obj2
));
5399 if (SWIG_arg_fail(3)) SWIG_fail
;
5404 arg4
= wxString_in_helper(obj3
);
5405 if (arg4
== NULL
) SWIG_fail
;
5410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5411 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
5413 wxPyEndAllowThreads(__tstate
);
5414 if (PyErr_Occurred()) SWIG_fail
;
5417 resultobj
= wxPyMake_wxObject(result
, 0);
5433 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5434 PyObject
*resultobj
;
5435 wxFrame
*arg1
= (wxFrame
*) 0 ;
5437 PyObject
* obj0
= 0 ;
5439 (char *) "self", NULL
5442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
5443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5444 if (SWIG_arg_fail(1)) SWIG_fail
;
5446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5447 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
5449 wxPyEndAllowThreads(__tstate
);
5450 if (PyErr_Occurred()) SWIG_fail
;
5453 resultobj
= wxPyMake_wxObject(result
, 0);
5461 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5462 PyObject
*resultobj
;
5463 wxFrame
*arg1
= (wxFrame
*) 0 ;
5464 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
5465 PyObject
* obj0
= 0 ;
5466 PyObject
* obj1
= 0 ;
5468 (char *) "self",(char *) "toolbar", NULL
5471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
5472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5473 if (SWIG_arg_fail(1)) SWIG_fail
;
5474 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
5475 if (SWIG_arg_fail(2)) SWIG_fail
;
5477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5478 (arg1
)->SetToolBar(arg2
);
5480 wxPyEndAllowThreads(__tstate
);
5481 if (PyErr_Occurred()) SWIG_fail
;
5483 Py_INCREF(Py_None
); resultobj
= Py_None
;
5490 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5491 PyObject
*resultobj
;
5492 wxFrame
*arg1
= (wxFrame
*) 0 ;
5493 wxString
*arg2
= 0 ;
5495 bool temp2
= false ;
5496 PyObject
* obj0
= 0 ;
5497 PyObject
* obj1
= 0 ;
5498 PyObject
* obj2
= 0 ;
5500 (char *) "self",(char *) "text",(char *) "show", NULL
5503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5505 if (SWIG_arg_fail(1)) SWIG_fail
;
5507 arg2
= wxString_in_helper(obj1
);
5508 if (arg2
== NULL
) SWIG_fail
;
5512 arg3
= (bool)(SWIG_As_bool(obj2
));
5513 if (SWIG_arg_fail(3)) SWIG_fail
;
5516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5517 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
5519 wxPyEndAllowThreads(__tstate
);
5520 if (PyErr_Occurred()) SWIG_fail
;
5522 Py_INCREF(Py_None
); resultobj
= Py_None
;
5537 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5538 PyObject
*resultobj
;
5539 wxFrame
*arg1
= (wxFrame
*) 0 ;
5540 wxMenu
*arg2
= (wxMenu
*) NULL
;
5541 PyObject
* obj0
= 0 ;
5542 PyObject
* obj1
= 0 ;
5544 (char *) "self",(char *) "menu", NULL
5547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
5548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5549 if (SWIG_arg_fail(1)) SWIG_fail
;
5551 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
5552 if (SWIG_arg_fail(2)) SWIG_fail
;
5555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5556 (arg1
)->DoMenuUpdates(arg2
);
5558 wxPyEndAllowThreads(__tstate
);
5559 if (PyErr_Occurred()) SWIG_fail
;
5561 Py_INCREF(Py_None
); resultobj
= Py_None
;
5568 static PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5569 PyObject
*resultobj
;
5570 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5571 wxVisualAttributes result
;
5572 PyObject
* obj0
= 0 ;
5574 (char *) "variant", NULL
5577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5580 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
5581 if (SWIG_arg_fail(1)) SWIG_fail
;
5585 if (!wxPyCheckForApp()) SWIG_fail
;
5586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5587 result
= wxFrame::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5589 wxPyEndAllowThreads(__tstate
);
5590 if (PyErr_Occurred()) SWIG_fail
;
5593 wxVisualAttributes
* resultptr
;
5594 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
5595 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5603 static PyObject
* Frame_swigregister(PyObject
*, PyObject
*args
) {
5605 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5606 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
5608 return Py_BuildValue((char *)"");
5610 static PyObject
*_wrap_new_Dialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5611 PyObject
*resultobj
;
5612 wxWindow
*arg1
= (wxWindow
*) 0 ;
5613 int arg2
= (int) (int)-1 ;
5614 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5615 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5616 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5617 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5618 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5619 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5620 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
5621 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
5622 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5624 bool temp3
= false ;
5627 bool temp7
= false ;
5628 PyObject
* obj0
= 0 ;
5629 PyObject
* obj1
= 0 ;
5630 PyObject
* obj2
= 0 ;
5631 PyObject
* obj3
= 0 ;
5632 PyObject
* obj4
= 0 ;
5633 PyObject
* obj5
= 0 ;
5634 PyObject
* obj6
= 0 ;
5636 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5641 if (SWIG_arg_fail(1)) SWIG_fail
;
5644 arg2
= (int const)(SWIG_As_int(obj1
));
5645 if (SWIG_arg_fail(2)) SWIG_fail
;
5650 arg3
= wxString_in_helper(obj2
);
5651 if (arg3
== NULL
) SWIG_fail
;
5658 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5664 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5669 arg6
= (long)(SWIG_As_long(obj5
));
5670 if (SWIG_arg_fail(6)) SWIG_fail
;
5675 arg7
= wxString_in_helper(obj6
);
5676 if (arg7
== NULL
) SWIG_fail
;
5681 if (!wxPyCheckForApp()) SWIG_fail
;
5682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5683 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5685 wxPyEndAllowThreads(__tstate
);
5686 if (PyErr_Occurred()) SWIG_fail
;
5688 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
5711 static PyObject
*_wrap_new_PreDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5712 PyObject
*resultobj
;
5718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
5720 if (!wxPyCheckForApp()) SWIG_fail
;
5721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5722 result
= (wxDialog
*)new wxDialog();
5724 wxPyEndAllowThreads(__tstate
);
5725 if (PyErr_Occurred()) SWIG_fail
;
5727 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
5734 static PyObject
*_wrap_Dialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5735 PyObject
*resultobj
;
5736 wxDialog
*arg1
= (wxDialog
*) 0 ;
5737 wxWindow
*arg2
= (wxWindow
*) 0 ;
5738 int arg3
= (int) (int)-1 ;
5739 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5740 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5741 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5742 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5743 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5744 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5745 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
5746 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
5747 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5749 bool temp4
= false ;
5752 bool temp8
= false ;
5753 PyObject
* obj0
= 0 ;
5754 PyObject
* obj1
= 0 ;
5755 PyObject
* obj2
= 0 ;
5756 PyObject
* obj3
= 0 ;
5757 PyObject
* obj4
= 0 ;
5758 PyObject
* obj5
= 0 ;
5759 PyObject
* obj6
= 0 ;
5760 PyObject
* obj7
= 0 ;
5762 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5767 if (SWIG_arg_fail(1)) SWIG_fail
;
5768 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5769 if (SWIG_arg_fail(2)) SWIG_fail
;
5772 arg3
= (int const)(SWIG_As_int(obj2
));
5773 if (SWIG_arg_fail(3)) SWIG_fail
;
5778 arg4
= wxString_in_helper(obj3
);
5779 if (arg4
== NULL
) SWIG_fail
;
5786 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5792 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5797 arg7
= (long)(SWIG_As_long(obj6
));
5798 if (SWIG_arg_fail(7)) SWIG_fail
;
5803 arg8
= wxString_in_helper(obj7
);
5804 if (arg8
== NULL
) SWIG_fail
;
5809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5810 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5812 wxPyEndAllowThreads(__tstate
);
5813 if (PyErr_Occurred()) SWIG_fail
;
5816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5840 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5841 PyObject
*resultobj
;
5842 wxDialog
*arg1
= (wxDialog
*) 0 ;
5844 PyObject
* obj0
= 0 ;
5845 PyObject
* obj1
= 0 ;
5847 (char *) "self",(char *) "returnCode", NULL
5850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
5851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5852 if (SWIG_arg_fail(1)) SWIG_fail
;
5854 arg2
= (int)(SWIG_As_int(obj1
));
5855 if (SWIG_arg_fail(2)) SWIG_fail
;
5858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5859 (arg1
)->SetReturnCode(arg2
);
5861 wxPyEndAllowThreads(__tstate
);
5862 if (PyErr_Occurred()) SWIG_fail
;
5864 Py_INCREF(Py_None
); resultobj
= Py_None
;
5871 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5872 PyObject
*resultobj
;
5873 wxDialog
*arg1
= (wxDialog
*) 0 ;
5875 PyObject
* obj0
= 0 ;
5877 (char *) "self", NULL
5880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
5881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5882 if (SWIG_arg_fail(1)) SWIG_fail
;
5884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5885 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
5887 wxPyEndAllowThreads(__tstate
);
5888 if (PyErr_Occurred()) SWIG_fail
;
5891 resultobj
= SWIG_From_int((int)(result
));
5899 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5900 PyObject
*resultobj
;
5901 wxDialog
*arg1
= (wxDialog
*) 0 ;
5902 wxString
*arg2
= 0 ;
5904 bool temp2
= false ;
5905 PyObject
* obj0
= 0 ;
5906 PyObject
* obj1
= 0 ;
5908 (char *) "self",(char *) "message", NULL
5911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
5912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5913 if (SWIG_arg_fail(1)) SWIG_fail
;
5915 arg2
= wxString_in_helper(obj1
);
5916 if (arg2
== NULL
) SWIG_fail
;
5920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5921 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
5923 wxPyEndAllowThreads(__tstate
);
5924 if (PyErr_Occurred()) SWIG_fail
;
5927 resultobj
= wxPyMake_wxSizer(result
, 0);
5943 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5944 PyObject
*resultobj
;
5945 wxDialog
*arg1
= (wxDialog
*) 0 ;
5948 PyObject
* obj0
= 0 ;
5949 PyObject
* obj1
= 0 ;
5951 (char *) "self",(char *) "flags", NULL
5954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
5955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5956 if (SWIG_arg_fail(1)) SWIG_fail
;
5958 arg2
= (long)(SWIG_As_long(obj1
));
5959 if (SWIG_arg_fail(2)) SWIG_fail
;
5962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5963 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
5965 wxPyEndAllowThreads(__tstate
);
5966 if (PyErr_Occurred()) SWIG_fail
;
5969 resultobj
= wxPyMake_wxSizer(result
, 0);
5977 static PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5978 PyObject
*resultobj
;
5979 wxDialog
*arg1
= (wxDialog
*) 0 ;
5981 wxStdDialogButtonSizer
*result
;
5982 PyObject
* obj0
= 0 ;
5983 PyObject
* obj1
= 0 ;
5985 (char *) "self",(char *) "flags", NULL
5988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
5989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5990 if (SWIG_arg_fail(1)) SWIG_fail
;
5992 arg2
= (long)(SWIG_As_long(obj1
));
5993 if (SWIG_arg_fail(2)) SWIG_fail
;
5996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5997 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
5999 wxPyEndAllowThreads(__tstate
);
6000 if (PyErr_Occurred()) SWIG_fail
;
6002 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0);
6009 static PyObject
*_wrap_Dialog_IsModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6010 PyObject
*resultobj
;
6011 wxDialog
*arg1
= (wxDialog
*) 0 ;
6013 PyObject
* obj0
= 0 ;
6015 (char *) "self", NULL
6018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
6019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6020 if (SWIG_arg_fail(1)) SWIG_fail
;
6022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6023 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
6025 wxPyEndAllowThreads(__tstate
);
6026 if (PyErr_Occurred()) SWIG_fail
;
6029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6037 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6038 PyObject
*resultobj
;
6039 wxDialog
*arg1
= (wxDialog
*) 0 ;
6041 PyObject
* obj0
= 0 ;
6043 (char *) "self", NULL
6046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
6047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6048 if (SWIG_arg_fail(1)) SWIG_fail
;
6050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6051 result
= (int)(arg1
)->ShowModal();
6053 wxPyEndAllowThreads(__tstate
);
6054 if (PyErr_Occurred()) SWIG_fail
;
6057 resultobj
= SWIG_From_int((int)(result
));
6065 static PyObject
*_wrap_Dialog_EndModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6066 PyObject
*resultobj
;
6067 wxDialog
*arg1
= (wxDialog
*) 0 ;
6069 PyObject
* obj0
= 0 ;
6070 PyObject
* obj1
= 0 ;
6072 (char *) "self",(char *) "retCode", NULL
6075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
6076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6077 if (SWIG_arg_fail(1)) SWIG_fail
;
6079 arg2
= (int)(SWIG_As_int(obj1
));
6080 if (SWIG_arg_fail(2)) SWIG_fail
;
6083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6084 (arg1
)->EndModal(arg2
);
6086 wxPyEndAllowThreads(__tstate
);
6087 if (PyErr_Occurred()) SWIG_fail
;
6089 Py_INCREF(Py_None
); resultobj
= Py_None
;
6096 static PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6097 PyObject
*resultobj
;
6098 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6099 wxVisualAttributes result
;
6100 PyObject
* obj0
= 0 ;
6102 (char *) "variant", NULL
6105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6108 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6109 if (SWIG_arg_fail(1)) SWIG_fail
;
6113 if (!wxPyCheckForApp()) SWIG_fail
;
6114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6115 result
= wxDialog::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6117 wxPyEndAllowThreads(__tstate
);
6118 if (PyErr_Occurred()) SWIG_fail
;
6121 wxVisualAttributes
* resultptr
;
6122 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6123 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6131 static PyObject
* Dialog_swigregister(PyObject
*, PyObject
*args
) {
6133 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6134 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
6136 return Py_BuildValue((char *)"");
6138 static PyObject
*_wrap_new_MiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6139 PyObject
*resultobj
;
6140 wxWindow
*arg1
= (wxWindow
*) 0 ;
6141 int arg2
= (int) (int)-1 ;
6142 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6143 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6144 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6145 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6146 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6147 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6148 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6149 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6150 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6151 wxMiniFrame
*result
;
6152 bool temp3
= false ;
6155 bool temp7
= false ;
6156 PyObject
* obj0
= 0 ;
6157 PyObject
* obj1
= 0 ;
6158 PyObject
* obj2
= 0 ;
6159 PyObject
* obj3
= 0 ;
6160 PyObject
* obj4
= 0 ;
6161 PyObject
* obj5
= 0 ;
6162 PyObject
* obj6
= 0 ;
6164 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6169 if (SWIG_arg_fail(1)) SWIG_fail
;
6172 arg2
= (int const)(SWIG_As_int(obj1
));
6173 if (SWIG_arg_fail(2)) SWIG_fail
;
6178 arg3
= wxString_in_helper(obj2
);
6179 if (arg3
== NULL
) SWIG_fail
;
6186 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6192 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6197 arg6
= (long)(SWIG_As_long(obj5
));
6198 if (SWIG_arg_fail(6)) SWIG_fail
;
6203 arg7
= wxString_in_helper(obj6
);
6204 if (arg7
== NULL
) SWIG_fail
;
6209 if (!wxPyCheckForApp()) SWIG_fail
;
6210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6211 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6213 wxPyEndAllowThreads(__tstate
);
6214 if (PyErr_Occurred()) SWIG_fail
;
6216 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
6239 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6240 PyObject
*resultobj
;
6241 wxMiniFrame
*result
;
6246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
6248 if (!wxPyCheckForApp()) SWIG_fail
;
6249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6250 result
= (wxMiniFrame
*)new wxMiniFrame();
6252 wxPyEndAllowThreads(__tstate
);
6253 if (PyErr_Occurred()) SWIG_fail
;
6255 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
6262 static PyObject
*_wrap_MiniFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6263 PyObject
*resultobj
;
6264 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
6265 wxWindow
*arg2
= (wxWindow
*) 0 ;
6266 int arg3
= (int) (int)-1 ;
6267 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6268 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6269 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6270 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6271 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6272 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6273 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6274 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6275 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6277 bool temp4
= false ;
6280 bool temp8
= false ;
6281 PyObject
* obj0
= 0 ;
6282 PyObject
* obj1
= 0 ;
6283 PyObject
* obj2
= 0 ;
6284 PyObject
* obj3
= 0 ;
6285 PyObject
* obj4
= 0 ;
6286 PyObject
* obj5
= 0 ;
6287 PyObject
* obj6
= 0 ;
6288 PyObject
* obj7
= 0 ;
6290 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_EXCEPTION
| 0);
6295 if (SWIG_arg_fail(1)) SWIG_fail
;
6296 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6297 if (SWIG_arg_fail(2)) SWIG_fail
;
6300 arg3
= (int const)(SWIG_As_int(obj2
));
6301 if (SWIG_arg_fail(3)) SWIG_fail
;
6306 arg4
= wxString_in_helper(obj3
);
6307 if (arg4
== NULL
) SWIG_fail
;
6314 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6320 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6325 arg7
= (long)(SWIG_As_long(obj6
));
6326 if (SWIG_arg_fail(7)) SWIG_fail
;
6331 arg8
= wxString_in_helper(obj7
);
6332 if (arg8
== NULL
) SWIG_fail
;
6337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6338 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6340 wxPyEndAllowThreads(__tstate
);
6341 if (PyErr_Occurred()) SWIG_fail
;
6344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6368 static PyObject
* MiniFrame_swigregister(PyObject
*, PyObject
*args
) {
6370 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6371 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
6373 return Py_BuildValue((char *)"");
6375 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6376 PyObject
*resultobj
;
6377 wxBitmap
*arg1
= 0 ;
6378 wxWindow
*arg2
= (wxWindow
*) 0 ;
6380 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6381 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6382 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6383 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6384 long arg6
= (long) wxNO_BORDER
;
6385 wxSplashScreenWindow
*result
;
6388 PyObject
* obj0
= 0 ;
6389 PyObject
* obj1
= 0 ;
6390 PyObject
* obj2
= 0 ;
6391 PyObject
* obj3
= 0 ;
6392 PyObject
* obj4
= 0 ;
6393 PyObject
* obj5
= 0 ;
6395 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6401 if (SWIG_arg_fail(1)) SWIG_fail
;
6403 SWIG_null_ref("wxBitmap");
6405 if (SWIG_arg_fail(1)) SWIG_fail
;
6407 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6408 if (SWIG_arg_fail(2)) SWIG_fail
;
6410 arg3
= (int)(SWIG_As_int(obj2
));
6411 if (SWIG_arg_fail(3)) SWIG_fail
;
6416 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6422 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6427 arg6
= (long)(SWIG_As_long(obj5
));
6428 if (SWIG_arg_fail(6)) SWIG_fail
;
6432 if (!wxPyCheckForApp()) SWIG_fail
;
6433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6434 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
6436 wxPyEndAllowThreads(__tstate
);
6437 if (PyErr_Occurred()) SWIG_fail
;
6439 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
6446 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6447 PyObject
*resultobj
;
6448 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
6449 wxBitmap
*arg2
= 0 ;
6450 PyObject
* obj0
= 0 ;
6451 PyObject
* obj1
= 0 ;
6453 (char *) "self",(char *) "bitmap", NULL
6456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
6457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_EXCEPTION
| 0);
6458 if (SWIG_arg_fail(1)) SWIG_fail
;
6460 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6461 if (SWIG_arg_fail(2)) SWIG_fail
;
6463 SWIG_null_ref("wxBitmap");
6465 if (SWIG_arg_fail(2)) SWIG_fail
;
6468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6469 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
6471 wxPyEndAllowThreads(__tstate
);
6472 if (PyErr_Occurred()) SWIG_fail
;
6474 Py_INCREF(Py_None
); resultobj
= Py_None
;
6481 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6482 PyObject
*resultobj
;
6483 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
6485 PyObject
* obj0
= 0 ;
6487 (char *) "self", NULL
6490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
6491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_EXCEPTION
| 0);
6492 if (SWIG_arg_fail(1)) SWIG_fail
;
6494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6496 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
6497 result
= (wxBitmap
*) &_result_ref
;
6500 wxPyEndAllowThreads(__tstate
);
6501 if (PyErr_Occurred()) SWIG_fail
;
6504 wxBitmap
* resultptr
= new wxBitmap(*result
);
6505 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
6513 static PyObject
* SplashScreenWindow_swigregister(PyObject
*, PyObject
*args
) {
6515 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6516 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
6518 return Py_BuildValue((char *)"");
6520 static PyObject
*_wrap_new_SplashScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6521 PyObject
*resultobj
;
6522 wxBitmap
*arg1
= 0 ;
6525 wxWindow
*arg4
= (wxWindow
*) 0 ;
6526 int arg5
= (int) -1 ;
6527 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
6528 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
6529 wxSize
const &arg7_defvalue
= wxDefaultSize
;
6530 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
6531 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
6532 wxSplashScreen
*result
;
6535 PyObject
* obj0
= 0 ;
6536 PyObject
* obj1
= 0 ;
6537 PyObject
* obj2
= 0 ;
6538 PyObject
* obj3
= 0 ;
6539 PyObject
* obj4
= 0 ;
6540 PyObject
* obj5
= 0 ;
6541 PyObject
* obj6
= 0 ;
6542 PyObject
* obj7
= 0 ;
6544 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6550 if (SWIG_arg_fail(1)) SWIG_fail
;
6552 SWIG_null_ref("wxBitmap");
6554 if (SWIG_arg_fail(1)) SWIG_fail
;
6557 arg2
= (long)(SWIG_As_long(obj1
));
6558 if (SWIG_arg_fail(2)) SWIG_fail
;
6561 arg3
= (int)(SWIG_As_int(obj2
));
6562 if (SWIG_arg_fail(3)) SWIG_fail
;
6564 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6565 if (SWIG_arg_fail(4)) SWIG_fail
;
6568 arg5
= (int)(SWIG_As_int(obj4
));
6569 if (SWIG_arg_fail(5)) SWIG_fail
;
6575 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
6581 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
6586 arg8
= (long)(SWIG_As_long(obj7
));
6587 if (SWIG_arg_fail(8)) SWIG_fail
;
6591 if (!wxPyCheckForApp()) SWIG_fail
;
6592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6593 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
6595 wxPyEndAllowThreads(__tstate
);
6596 if (PyErr_Occurred()) SWIG_fail
;
6598 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
6605 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6606 PyObject
*resultobj
;
6607 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6609 PyObject
* obj0
= 0 ;
6611 (char *) "self", NULL
6614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
6615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6616 if (SWIG_arg_fail(1)) SWIG_fail
;
6618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6619 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
6621 wxPyEndAllowThreads(__tstate
);
6622 if (PyErr_Occurred()) SWIG_fail
;
6625 resultobj
= SWIG_From_long((long)(result
));
6633 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6634 PyObject
*resultobj
;
6635 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6636 wxSplashScreenWindow
*result
;
6637 PyObject
* obj0
= 0 ;
6639 (char *) "self", NULL
6642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
6643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6644 if (SWIG_arg_fail(1)) SWIG_fail
;
6646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6647 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
6649 wxPyEndAllowThreads(__tstate
);
6650 if (PyErr_Occurred()) SWIG_fail
;
6652 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
6659 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6660 PyObject
*resultobj
;
6661 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6663 PyObject
* obj0
= 0 ;
6665 (char *) "self", NULL
6668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
6669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6670 if (SWIG_arg_fail(1)) SWIG_fail
;
6672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6673 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
6675 wxPyEndAllowThreads(__tstate
);
6676 if (PyErr_Occurred()) SWIG_fail
;
6679 resultobj
= SWIG_From_int((int)(result
));
6687 static PyObject
* SplashScreen_swigregister(PyObject
*, PyObject
*args
) {
6689 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6690 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
6692 return Py_BuildValue((char *)"");
6694 static PyObject
*_wrap_new_StatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6695 PyObject
*resultobj
;
6696 wxWindow
*arg1
= (wxWindow
*) 0 ;
6697 int arg2
= (int) -1 ;
6698 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
6699 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
6700 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6701 wxStatusBar
*result
;
6702 bool temp4
= false ;
6703 PyObject
* obj0
= 0 ;
6704 PyObject
* obj1
= 0 ;
6705 PyObject
* obj2
= 0 ;
6706 PyObject
* obj3
= 0 ;
6708 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6713 if (SWIG_arg_fail(1)) SWIG_fail
;
6716 arg2
= (int)(SWIG_As_int(obj1
));
6717 if (SWIG_arg_fail(2)) SWIG_fail
;
6722 arg3
= (long)(SWIG_As_long(obj2
));
6723 if (SWIG_arg_fail(3)) SWIG_fail
;
6728 arg4
= wxString_in_helper(obj3
);
6729 if (arg4
== NULL
) SWIG_fail
;
6734 if (!wxPyCheckForApp()) SWIG_fail
;
6735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6736 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
6738 wxPyEndAllowThreads(__tstate
);
6739 if (PyErr_Occurred()) SWIG_fail
;
6741 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
6756 static PyObject
*_wrap_new_PreStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6757 PyObject
*resultobj
;
6758 wxStatusBar
*result
;
6763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
6765 if (!wxPyCheckForApp()) SWIG_fail
;
6766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6767 result
= (wxStatusBar
*)new wxStatusBar();
6769 wxPyEndAllowThreads(__tstate
);
6770 if (PyErr_Occurred()) SWIG_fail
;
6772 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
6779 static PyObject
*_wrap_StatusBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6780 PyObject
*resultobj
;
6781 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6782 wxWindow
*arg2
= (wxWindow
*) 0 ;
6783 int arg3
= (int) -1 ;
6784 long arg4
= (long) wxST_SIZEGRIP
;
6785 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6786 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6788 bool temp5
= false ;
6789 PyObject
* obj0
= 0 ;
6790 PyObject
* obj1
= 0 ;
6791 PyObject
* obj2
= 0 ;
6792 PyObject
* obj3
= 0 ;
6793 PyObject
* obj4
= 0 ;
6795 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6800 if (SWIG_arg_fail(1)) SWIG_fail
;
6801 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6802 if (SWIG_arg_fail(2)) SWIG_fail
;
6805 arg3
= (int)(SWIG_As_int(obj2
));
6806 if (SWIG_arg_fail(3)) SWIG_fail
;
6811 arg4
= (long)(SWIG_As_long(obj3
));
6812 if (SWIG_arg_fail(4)) SWIG_fail
;
6817 arg5
= wxString_in_helper(obj4
);
6818 if (arg5
== NULL
) SWIG_fail
;
6823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6824 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6826 wxPyEndAllowThreads(__tstate
);
6827 if (PyErr_Occurred()) SWIG_fail
;
6830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6846 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6847 PyObject
*resultobj
;
6848 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6849 int arg2
= (int) 1 ;
6850 PyObject
* obj0
= 0 ;
6851 PyObject
* obj1
= 0 ;
6853 (char *) "self",(char *) "number", NULL
6856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
6857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6858 if (SWIG_arg_fail(1)) SWIG_fail
;
6861 arg2
= (int)(SWIG_As_int(obj1
));
6862 if (SWIG_arg_fail(2)) SWIG_fail
;
6866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6867 (arg1
)->SetFieldsCount(arg2
);
6869 wxPyEndAllowThreads(__tstate
);
6870 if (PyErr_Occurred()) SWIG_fail
;
6872 Py_INCREF(Py_None
); resultobj
= Py_None
;
6879 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6880 PyObject
*resultobj
;
6881 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6883 PyObject
* obj0
= 0 ;
6885 (char *) "self", NULL
6888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
6889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6890 if (SWIG_arg_fail(1)) SWIG_fail
;
6892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6893 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
6895 wxPyEndAllowThreads(__tstate
);
6896 if (PyErr_Occurred()) SWIG_fail
;
6899 resultobj
= SWIG_From_int((int)(result
));
6907 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6908 PyObject
*resultobj
;
6909 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6910 wxString
*arg2
= 0 ;
6911 int arg3
= (int) 0 ;
6912 bool temp2
= false ;
6913 PyObject
* obj0
= 0 ;
6914 PyObject
* obj1
= 0 ;
6915 PyObject
* obj2
= 0 ;
6917 (char *) "self",(char *) "text",(char *) "number", NULL
6920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6922 if (SWIG_arg_fail(1)) SWIG_fail
;
6924 arg2
= wxString_in_helper(obj1
);
6925 if (arg2
== NULL
) SWIG_fail
;
6930 arg3
= (int)(SWIG_As_int(obj2
));
6931 if (SWIG_arg_fail(3)) SWIG_fail
;
6935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6936 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6938 wxPyEndAllowThreads(__tstate
);
6939 if (PyErr_Occurred()) SWIG_fail
;
6941 Py_INCREF(Py_None
); resultobj
= Py_None
;
6956 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6957 PyObject
*resultobj
;
6958 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6959 int arg2
= (int) 0 ;
6961 PyObject
* obj0
= 0 ;
6962 PyObject
* obj1
= 0 ;
6964 (char *) "self",(char *) "number", NULL
6967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
6968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6969 if (SWIG_arg_fail(1)) SWIG_fail
;
6972 arg2
= (int)(SWIG_As_int(obj1
));
6973 if (SWIG_arg_fail(2)) SWIG_fail
;
6977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6978 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
6980 wxPyEndAllowThreads(__tstate
);
6981 if (PyErr_Occurred()) SWIG_fail
;
6985 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6987 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6996 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6997 PyObject
*resultobj
;
6998 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6999 wxString
*arg2
= 0 ;
7000 int arg3
= (int) 0 ;
7001 bool temp2
= false ;
7002 PyObject
* obj0
= 0 ;
7003 PyObject
* obj1
= 0 ;
7004 PyObject
* obj2
= 0 ;
7006 (char *) "self",(char *) "text",(char *) "number", NULL
7009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7011 if (SWIG_arg_fail(1)) SWIG_fail
;
7013 arg2
= wxString_in_helper(obj1
);
7014 if (arg2
== NULL
) SWIG_fail
;
7019 arg3
= (int)(SWIG_As_int(obj2
));
7020 if (SWIG_arg_fail(3)) SWIG_fail
;
7024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7025 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
7027 wxPyEndAllowThreads(__tstate
);
7028 if (PyErr_Occurred()) SWIG_fail
;
7030 Py_INCREF(Py_None
); resultobj
= Py_None
;
7045 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7046 PyObject
*resultobj
;
7047 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7048 int arg2
= (int) 0 ;
7049 PyObject
* obj0
= 0 ;
7050 PyObject
* obj1
= 0 ;
7052 (char *) "self",(char *) "number", NULL
7055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
7056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7057 if (SWIG_arg_fail(1)) SWIG_fail
;
7060 arg2
= (int)(SWIG_As_int(obj1
));
7061 if (SWIG_arg_fail(2)) SWIG_fail
;
7065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7066 (arg1
)->PopStatusText(arg2
);
7068 wxPyEndAllowThreads(__tstate
);
7069 if (PyErr_Occurred()) SWIG_fail
;
7071 Py_INCREF(Py_None
); resultobj
= Py_None
;
7078 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7079 PyObject
*resultobj
;
7080 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7082 int *arg3
= (int *) 0 ;
7083 PyObject
* obj0
= 0 ;
7084 PyObject
* obj1
= 0 ;
7086 (char *) "self",(char *) "widths", NULL
7089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
7090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7091 if (SWIG_arg_fail(1)) SWIG_fail
;
7093 arg2
= PyList_Size(obj1
);
7094 arg3
= int_LIST_helper(obj1
);
7095 if (arg3
== NULL
) SWIG_fail
;
7098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7099 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
7101 wxPyEndAllowThreads(__tstate
);
7102 if (PyErr_Occurred()) SWIG_fail
;
7104 Py_INCREF(Py_None
); resultobj
= Py_None
;
7106 if (arg3
) delete [] arg3
;
7111 if (arg3
) delete [] arg3
;
7117 static PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7118 PyObject
*resultobj
;
7119 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7121 int *arg3
= (int *) 0 ;
7122 PyObject
* obj0
= 0 ;
7123 PyObject
* obj1
= 0 ;
7125 (char *) "self",(char *) "styles", NULL
7128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) goto fail
;
7129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7130 if (SWIG_arg_fail(1)) SWIG_fail
;
7132 arg2
= PyList_Size(obj1
);
7133 arg3
= int_LIST_helper(obj1
);
7134 if (arg3
== NULL
) SWIG_fail
;
7137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7138 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
7140 wxPyEndAllowThreads(__tstate
);
7141 if (PyErr_Occurred()) SWIG_fail
;
7143 Py_INCREF(Py_None
); resultobj
= Py_None
;
7145 if (arg3
) delete [] arg3
;
7150 if (arg3
) delete [] arg3
;
7156 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7157 PyObject
*resultobj
;
7158 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7161 PyObject
* obj0
= 0 ;
7162 PyObject
* obj1
= 0 ;
7164 (char *) "self",(char *) "i", NULL
7167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7169 if (SWIG_arg_fail(1)) SWIG_fail
;
7171 arg2
= (int)(SWIG_As_int(obj1
));
7172 if (SWIG_arg_fail(2)) SWIG_fail
;
7175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7176 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
7178 wxPyEndAllowThreads(__tstate
);
7179 if (PyErr_Occurred()) SWIG_fail
;
7183 resultptr
= new wxRect((wxRect
&)(result
));
7184 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7192 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7193 PyObject
*resultobj
;
7194 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7196 PyObject
* obj0
= 0 ;
7197 PyObject
* obj1
= 0 ;
7199 (char *) "self",(char *) "height", NULL
7202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
7203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7204 if (SWIG_arg_fail(1)) SWIG_fail
;
7206 arg2
= (int)(SWIG_As_int(obj1
));
7207 if (SWIG_arg_fail(2)) SWIG_fail
;
7210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7211 (arg1
)->SetMinHeight(arg2
);
7213 wxPyEndAllowThreads(__tstate
);
7214 if (PyErr_Occurred()) SWIG_fail
;
7216 Py_INCREF(Py_None
); resultobj
= Py_None
;
7223 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7224 PyObject
*resultobj
;
7225 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7227 PyObject
* obj0
= 0 ;
7229 (char *) "self", NULL
7232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
7233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7234 if (SWIG_arg_fail(1)) SWIG_fail
;
7236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7237 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
7239 wxPyEndAllowThreads(__tstate
);
7240 if (PyErr_Occurred()) SWIG_fail
;
7243 resultobj
= SWIG_From_int((int)(result
));
7251 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7252 PyObject
*resultobj
;
7253 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7255 PyObject
* obj0
= 0 ;
7257 (char *) "self", NULL
7260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
7261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7262 if (SWIG_arg_fail(1)) SWIG_fail
;
7264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7265 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
7267 wxPyEndAllowThreads(__tstate
);
7268 if (PyErr_Occurred()) SWIG_fail
;
7271 resultobj
= SWIG_From_int((int)(result
));
7279 static PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7280 PyObject
*resultobj
;
7281 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7282 wxVisualAttributes result
;
7283 PyObject
* obj0
= 0 ;
7285 (char *) "variant", NULL
7288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
7291 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
7292 if (SWIG_arg_fail(1)) SWIG_fail
;
7296 if (!wxPyCheckForApp()) SWIG_fail
;
7297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7298 result
= wxStatusBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
7300 wxPyEndAllowThreads(__tstate
);
7301 if (PyErr_Occurred()) SWIG_fail
;
7304 wxVisualAttributes
* resultptr
;
7305 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
7306 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
7314 static PyObject
* StatusBar_swigregister(PyObject
*, PyObject
*args
) {
7316 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7317 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
7319 return Py_BuildValue((char *)"");
7321 static int _wrap_SplitterNameStr_set(PyObject
*) {
7322 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
7327 static PyObject
*_wrap_SplitterNameStr_get(void) {
7332 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
7334 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
7341 static PyObject
*_wrap_new_SplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7342 PyObject
*resultobj
;
7343 wxWindow
*arg1
= (wxWindow
*) 0 ;
7344 int arg2
= (int) -1 ;
7345 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7346 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7347 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7348 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7349 long arg5
= (long) wxSP_3D
;
7350 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
7351 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7352 wxSplitterWindow
*result
;
7355 bool temp6
= false ;
7356 PyObject
* obj0
= 0 ;
7357 PyObject
* obj1
= 0 ;
7358 PyObject
* obj2
= 0 ;
7359 PyObject
* obj3
= 0 ;
7360 PyObject
* obj4
= 0 ;
7361 PyObject
* obj5
= 0 ;
7363 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7368 if (SWIG_arg_fail(1)) SWIG_fail
;
7371 arg2
= (int)(SWIG_As_int(obj1
));
7372 if (SWIG_arg_fail(2)) SWIG_fail
;
7378 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7384 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7389 arg5
= (long)(SWIG_As_long(obj4
));
7390 if (SWIG_arg_fail(5)) SWIG_fail
;
7395 arg6
= wxString_in_helper(obj5
);
7396 if (arg6
== NULL
) SWIG_fail
;
7401 if (!wxPyCheckForApp()) SWIG_fail
;
7402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7403 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7405 wxPyEndAllowThreads(__tstate
);
7406 if (PyErr_Occurred()) SWIG_fail
;
7408 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
7423 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7424 PyObject
*resultobj
;
7425 wxSplitterWindow
*result
;
7430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
7432 if (!wxPyCheckForApp()) SWIG_fail
;
7433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7434 result
= (wxSplitterWindow
*)new wxSplitterWindow();
7436 wxPyEndAllowThreads(__tstate
);
7437 if (PyErr_Occurred()) SWIG_fail
;
7439 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
7446 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7447 PyObject
*resultobj
;
7448 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7449 wxWindow
*arg2
= (wxWindow
*) 0 ;
7450 int arg3
= (int) -1 ;
7451 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7452 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7453 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7454 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7455 long arg6
= (long) wxSP_3D
;
7456 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
7457 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7461 bool temp7
= false ;
7462 PyObject
* obj0
= 0 ;
7463 PyObject
* obj1
= 0 ;
7464 PyObject
* obj2
= 0 ;
7465 PyObject
* obj3
= 0 ;
7466 PyObject
* obj4
= 0 ;
7467 PyObject
* obj5
= 0 ;
7468 PyObject
* obj6
= 0 ;
7470 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7475 if (SWIG_arg_fail(1)) SWIG_fail
;
7476 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7477 if (SWIG_arg_fail(2)) SWIG_fail
;
7480 arg3
= (int)(SWIG_As_int(obj2
));
7481 if (SWIG_arg_fail(3)) SWIG_fail
;
7487 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7493 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7498 arg6
= (long)(SWIG_As_long(obj5
));
7499 if (SWIG_arg_fail(6)) SWIG_fail
;
7504 arg7
= wxString_in_helper(obj6
);
7505 if (arg7
== NULL
) SWIG_fail
;
7510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7511 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7513 wxPyEndAllowThreads(__tstate
);
7514 if (PyErr_Occurred()) SWIG_fail
;
7517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7533 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7534 PyObject
*resultobj
;
7535 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7537 PyObject
* obj0
= 0 ;
7539 (char *) "self", NULL
7542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
7543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7544 if (SWIG_arg_fail(1)) SWIG_fail
;
7546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7547 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
7549 wxPyEndAllowThreads(__tstate
);
7550 if (PyErr_Occurred()) SWIG_fail
;
7553 resultobj
= wxPyMake_wxObject(result
, 0);
7561 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7562 PyObject
*resultobj
;
7563 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7565 PyObject
* obj0
= 0 ;
7567 (char *) "self", NULL
7570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
7571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7572 if (SWIG_arg_fail(1)) SWIG_fail
;
7574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7575 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
7577 wxPyEndAllowThreads(__tstate
);
7578 if (PyErr_Occurred()) SWIG_fail
;
7581 resultobj
= wxPyMake_wxObject(result
, 0);
7589 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7590 PyObject
*resultobj
;
7591 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7593 PyObject
* obj0
= 0 ;
7594 PyObject
* obj1
= 0 ;
7596 (char *) "self",(char *) "mode", NULL
7599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
7600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7601 if (SWIG_arg_fail(1)) SWIG_fail
;
7603 arg2
= (int)(SWIG_As_int(obj1
));
7604 if (SWIG_arg_fail(2)) SWIG_fail
;
7607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7608 (arg1
)->SetSplitMode(arg2
);
7610 wxPyEndAllowThreads(__tstate
);
7611 if (PyErr_Occurred()) SWIG_fail
;
7613 Py_INCREF(Py_None
); resultobj
= Py_None
;
7620 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7621 PyObject
*resultobj
;
7622 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7624 PyObject
* obj0
= 0 ;
7626 (char *) "self", NULL
7629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
7630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7631 if (SWIG_arg_fail(1)) SWIG_fail
;
7633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7634 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
7636 wxPyEndAllowThreads(__tstate
);
7637 if (PyErr_Occurred()) SWIG_fail
;
7639 resultobj
= SWIG_From_int((result
));
7646 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7647 PyObject
*resultobj
;
7648 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7649 wxWindow
*arg2
= (wxWindow
*) 0 ;
7650 PyObject
* obj0
= 0 ;
7651 PyObject
* obj1
= 0 ;
7653 (char *) "self",(char *) "window", NULL
7656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
7657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7658 if (SWIG_arg_fail(1)) SWIG_fail
;
7659 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7660 if (SWIG_arg_fail(2)) SWIG_fail
;
7662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7663 (arg1
)->Initialize(arg2
);
7665 wxPyEndAllowThreads(__tstate
);
7666 if (PyErr_Occurred()) SWIG_fail
;
7668 Py_INCREF(Py_None
); resultobj
= Py_None
;
7675 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7676 PyObject
*resultobj
;
7677 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7678 wxWindow
*arg2
= (wxWindow
*) 0 ;
7679 wxWindow
*arg3
= (wxWindow
*) 0 ;
7680 int arg4
= (int) 0 ;
7682 PyObject
* obj0
= 0 ;
7683 PyObject
* obj1
= 0 ;
7684 PyObject
* obj2
= 0 ;
7685 PyObject
* obj3
= 0 ;
7687 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7692 if (SWIG_arg_fail(1)) SWIG_fail
;
7693 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7694 if (SWIG_arg_fail(2)) SWIG_fail
;
7695 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7696 if (SWIG_arg_fail(3)) SWIG_fail
;
7699 arg4
= (int)(SWIG_As_int(obj3
));
7700 if (SWIG_arg_fail(4)) SWIG_fail
;
7704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7705 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
7707 wxPyEndAllowThreads(__tstate
);
7708 if (PyErr_Occurred()) SWIG_fail
;
7711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7719 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7720 PyObject
*resultobj
;
7721 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7722 wxWindow
*arg2
= (wxWindow
*) 0 ;
7723 wxWindow
*arg3
= (wxWindow
*) 0 ;
7724 int arg4
= (int) 0 ;
7726 PyObject
* obj0
= 0 ;
7727 PyObject
* obj1
= 0 ;
7728 PyObject
* obj2
= 0 ;
7729 PyObject
* obj3
= 0 ;
7731 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7736 if (SWIG_arg_fail(1)) SWIG_fail
;
7737 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7738 if (SWIG_arg_fail(2)) SWIG_fail
;
7739 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7740 if (SWIG_arg_fail(3)) SWIG_fail
;
7743 arg4
= (int)(SWIG_As_int(obj3
));
7744 if (SWIG_arg_fail(4)) SWIG_fail
;
7748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7749 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
7751 wxPyEndAllowThreads(__tstate
);
7752 if (PyErr_Occurred()) SWIG_fail
;
7755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7763 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7764 PyObject
*resultobj
;
7765 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7766 wxWindow
*arg2
= (wxWindow
*) NULL
;
7768 PyObject
* obj0
= 0 ;
7769 PyObject
* obj1
= 0 ;
7771 (char *) "self",(char *) "toRemove", NULL
7774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
7775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7776 if (SWIG_arg_fail(1)) SWIG_fail
;
7778 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7779 if (SWIG_arg_fail(2)) SWIG_fail
;
7782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7783 result
= (bool)(arg1
)->Unsplit(arg2
);
7785 wxPyEndAllowThreads(__tstate
);
7786 if (PyErr_Occurred()) SWIG_fail
;
7789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7797 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7798 PyObject
*resultobj
;
7799 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7800 wxWindow
*arg2
= (wxWindow
*) 0 ;
7801 wxWindow
*arg3
= (wxWindow
*) 0 ;
7803 PyObject
* obj0
= 0 ;
7804 PyObject
* obj1
= 0 ;
7805 PyObject
* obj2
= 0 ;
7807 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
7810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7812 if (SWIG_arg_fail(1)) SWIG_fail
;
7813 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7814 if (SWIG_arg_fail(2)) SWIG_fail
;
7815 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7816 if (SWIG_arg_fail(3)) SWIG_fail
;
7818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7819 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
7821 wxPyEndAllowThreads(__tstate
);
7822 if (PyErr_Occurred()) SWIG_fail
;
7825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7833 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7834 PyObject
*resultobj
;
7835 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7836 PyObject
* obj0
= 0 ;
7838 (char *) "self", NULL
7841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
7842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7843 if (SWIG_arg_fail(1)) SWIG_fail
;
7845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7846 (arg1
)->UpdateSize();
7848 wxPyEndAllowThreads(__tstate
);
7849 if (PyErr_Occurred()) SWIG_fail
;
7851 Py_INCREF(Py_None
); resultobj
= Py_None
;
7858 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7859 PyObject
*resultobj
;
7860 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7862 PyObject
* obj0
= 0 ;
7864 (char *) "self", NULL
7867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
7868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7869 if (SWIG_arg_fail(1)) SWIG_fail
;
7871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7872 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
7874 wxPyEndAllowThreads(__tstate
);
7875 if (PyErr_Occurred()) SWIG_fail
;
7878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7886 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7887 PyObject
*resultobj
;
7888 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7890 PyObject
* obj0
= 0 ;
7891 PyObject
* obj1
= 0 ;
7893 (char *) "self",(char *) "width", NULL
7896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7898 if (SWIG_arg_fail(1)) SWIG_fail
;
7900 arg2
= (int)(SWIG_As_int(obj1
));
7901 if (SWIG_arg_fail(2)) SWIG_fail
;
7904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7905 (arg1
)->SetSashSize(arg2
);
7907 wxPyEndAllowThreads(__tstate
);
7908 if (PyErr_Occurred()) SWIG_fail
;
7910 Py_INCREF(Py_None
); resultobj
= Py_None
;
7917 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7918 PyObject
*resultobj
;
7919 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7921 PyObject
* obj0
= 0 ;
7922 PyObject
* obj1
= 0 ;
7924 (char *) "self",(char *) "width", NULL
7927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7929 if (SWIG_arg_fail(1)) SWIG_fail
;
7931 arg2
= (int)(SWIG_As_int(obj1
));
7932 if (SWIG_arg_fail(2)) SWIG_fail
;
7935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7936 (arg1
)->SetBorderSize(arg2
);
7938 wxPyEndAllowThreads(__tstate
);
7939 if (PyErr_Occurred()) SWIG_fail
;
7941 Py_INCREF(Py_None
); resultobj
= Py_None
;
7948 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7949 PyObject
*resultobj
;
7950 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7952 PyObject
* obj0
= 0 ;
7954 (char *) "self", NULL
7957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
7958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7959 if (SWIG_arg_fail(1)) SWIG_fail
;
7961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7962 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
7964 wxPyEndAllowThreads(__tstate
);
7965 if (PyErr_Occurred()) SWIG_fail
;
7968 resultobj
= SWIG_From_int((int)(result
));
7976 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7977 PyObject
*resultobj
;
7978 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7980 PyObject
* obj0
= 0 ;
7982 (char *) "self", NULL
7985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
7986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7987 if (SWIG_arg_fail(1)) SWIG_fail
;
7989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7990 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
7992 wxPyEndAllowThreads(__tstate
);
7993 if (PyErr_Occurred()) SWIG_fail
;
7996 resultobj
= SWIG_From_int((int)(result
));
8004 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8005 PyObject
*resultobj
;
8006 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8008 bool arg3
= (bool) true ;
8009 PyObject
* obj0
= 0 ;
8010 PyObject
* obj1
= 0 ;
8011 PyObject
* obj2
= 0 ;
8013 (char *) "self",(char *) "position",(char *) "redraw", NULL
8016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8018 if (SWIG_arg_fail(1)) SWIG_fail
;
8020 arg2
= (int)(SWIG_As_int(obj1
));
8021 if (SWIG_arg_fail(2)) SWIG_fail
;
8025 arg3
= (bool)(SWIG_As_bool(obj2
));
8026 if (SWIG_arg_fail(3)) SWIG_fail
;
8030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8031 (arg1
)->SetSashPosition(arg2
,arg3
);
8033 wxPyEndAllowThreads(__tstate
);
8034 if (PyErr_Occurred()) SWIG_fail
;
8036 Py_INCREF(Py_None
); resultobj
= Py_None
;
8043 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8044 PyObject
*resultobj
;
8045 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8047 PyObject
* obj0
= 0 ;
8049 (char *) "self", NULL
8052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
8053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8054 if (SWIG_arg_fail(1)) SWIG_fail
;
8056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8057 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
8059 wxPyEndAllowThreads(__tstate
);
8060 if (PyErr_Occurred()) SWIG_fail
;
8063 resultobj
= SWIG_From_int((int)(result
));
8071 static PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8072 PyObject
*resultobj
;
8073 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8075 PyObject
* obj0
= 0 ;
8076 PyObject
* obj1
= 0 ;
8078 (char *) "self",(char *) "gravity", NULL
8081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) goto fail
;
8082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8083 if (SWIG_arg_fail(1)) SWIG_fail
;
8085 arg2
= (double)(SWIG_As_double(obj1
));
8086 if (SWIG_arg_fail(2)) SWIG_fail
;
8089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8090 (arg1
)->SetSashGravity(arg2
);
8092 wxPyEndAllowThreads(__tstate
);
8093 if (PyErr_Occurred()) SWIG_fail
;
8095 Py_INCREF(Py_None
); resultobj
= Py_None
;
8102 static PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8103 PyObject
*resultobj
;
8104 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8106 PyObject
* obj0
= 0 ;
8108 (char *) "self", NULL
8111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashGravity",kwnames
,&obj0
)) goto fail
;
8112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8113 if (SWIG_arg_fail(1)) SWIG_fail
;
8115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8116 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
8118 wxPyEndAllowThreads(__tstate
);
8119 if (PyErr_Occurred()) SWIG_fail
;
8122 resultobj
= SWIG_From_double((double)(result
));
8130 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8131 PyObject
*resultobj
;
8132 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8134 PyObject
* obj0
= 0 ;
8135 PyObject
* obj1
= 0 ;
8137 (char *) "self",(char *) "min", NULL
8140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8142 if (SWIG_arg_fail(1)) SWIG_fail
;
8144 arg2
= (int)(SWIG_As_int(obj1
));
8145 if (SWIG_arg_fail(2)) SWIG_fail
;
8148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8149 (arg1
)->SetMinimumPaneSize(arg2
);
8151 wxPyEndAllowThreads(__tstate
);
8152 if (PyErr_Occurred()) SWIG_fail
;
8154 Py_INCREF(Py_None
); resultobj
= Py_None
;
8161 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8162 PyObject
*resultobj
;
8163 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8165 PyObject
* obj0
= 0 ;
8167 (char *) "self", NULL
8170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
8171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8172 if (SWIG_arg_fail(1)) SWIG_fail
;
8174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8175 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
8177 wxPyEndAllowThreads(__tstate
);
8178 if (PyErr_Occurred()) SWIG_fail
;
8181 resultobj
= SWIG_From_int((int)(result
));
8189 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8190 PyObject
*resultobj
;
8191 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8194 int arg4
= (int) 5 ;
8196 PyObject
* obj0
= 0 ;
8197 PyObject
* obj1
= 0 ;
8198 PyObject
* obj2
= 0 ;
8199 PyObject
* obj3
= 0 ;
8201 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
8204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8206 if (SWIG_arg_fail(1)) SWIG_fail
;
8208 arg2
= (int)(SWIG_As_int(obj1
));
8209 if (SWIG_arg_fail(2)) SWIG_fail
;
8212 arg3
= (int)(SWIG_As_int(obj2
));
8213 if (SWIG_arg_fail(3)) SWIG_fail
;
8217 arg4
= (int)(SWIG_As_int(obj3
));
8218 if (SWIG_arg_fail(4)) SWIG_fail
;
8222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8223 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
8225 wxPyEndAllowThreads(__tstate
);
8226 if (PyErr_Occurred()) SWIG_fail
;
8229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8237 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8238 PyObject
*resultobj
;
8239 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8240 PyObject
* obj0
= 0 ;
8242 (char *) "self", NULL
8245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
8246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8247 if (SWIG_arg_fail(1)) SWIG_fail
;
8249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8250 (arg1
)->SizeWindows();
8252 wxPyEndAllowThreads(__tstate
);
8253 if (PyErr_Occurred()) SWIG_fail
;
8255 Py_INCREF(Py_None
); resultobj
= Py_None
;
8262 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8263 PyObject
*resultobj
;
8264 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8266 PyObject
* obj0
= 0 ;
8267 PyObject
* obj1
= 0 ;
8269 (char *) "self",(char *) "needUpdating", NULL
8272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
8273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8274 if (SWIG_arg_fail(1)) SWIG_fail
;
8276 arg2
= (bool)(SWIG_As_bool(obj1
));
8277 if (SWIG_arg_fail(2)) SWIG_fail
;
8280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8281 (arg1
)->SetNeedUpdating(arg2
);
8283 wxPyEndAllowThreads(__tstate
);
8284 if (PyErr_Occurred()) SWIG_fail
;
8286 Py_INCREF(Py_None
); resultobj
= Py_None
;
8293 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8294 PyObject
*resultobj
;
8295 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8297 PyObject
* obj0
= 0 ;
8299 (char *) "self", NULL
8302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
8303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8304 if (SWIG_arg_fail(1)) SWIG_fail
;
8306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8307 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
8309 wxPyEndAllowThreads(__tstate
);
8310 if (PyErr_Occurred()) SWIG_fail
;
8313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8321 static PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8322 PyObject
*resultobj
;
8323 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8324 wxVisualAttributes result
;
8325 PyObject
* obj0
= 0 ;
8327 (char *) "variant", NULL
8330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
8333 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
8334 if (SWIG_arg_fail(1)) SWIG_fail
;
8338 if (!wxPyCheckForApp()) SWIG_fail
;
8339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8340 result
= wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
8342 wxPyEndAllowThreads(__tstate
);
8343 if (PyErr_Occurred()) SWIG_fail
;
8346 wxVisualAttributes
* resultptr
;
8347 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
8348 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
8356 static PyObject
* SplitterWindow_swigregister(PyObject
*, PyObject
*args
) {
8358 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8359 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
8361 return Py_BuildValue((char *)"");
8363 static PyObject
*_wrap_new_SplitterEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8364 PyObject
*resultobj
;
8365 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
8366 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
8367 wxSplitterEvent
*result
;
8368 PyObject
* obj0
= 0 ;
8369 PyObject
* obj1
= 0 ;
8371 (char *) "type",(char *) "splitter", NULL
8374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
8377 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
8378 if (SWIG_arg_fail(1)) SWIG_fail
;
8382 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8383 if (SWIG_arg_fail(2)) SWIG_fail
;
8386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8387 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
8389 wxPyEndAllowThreads(__tstate
);
8390 if (PyErr_Occurred()) SWIG_fail
;
8392 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
8399 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8400 PyObject
*resultobj
;
8401 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8403 PyObject
* obj0
= 0 ;
8404 PyObject
* obj1
= 0 ;
8406 (char *) "self",(char *) "pos", NULL
8409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
8410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8411 if (SWIG_arg_fail(1)) SWIG_fail
;
8413 arg2
= (int)(SWIG_As_int(obj1
));
8414 if (SWIG_arg_fail(2)) SWIG_fail
;
8417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8418 (arg1
)->SetSashPosition(arg2
);
8420 wxPyEndAllowThreads(__tstate
);
8421 if (PyErr_Occurred()) SWIG_fail
;
8423 Py_INCREF(Py_None
); resultobj
= Py_None
;
8430 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8431 PyObject
*resultobj
;
8432 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8434 PyObject
* obj0
= 0 ;
8436 (char *) "self", NULL
8439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
8440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8441 if (SWIG_arg_fail(1)) SWIG_fail
;
8443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8444 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
8446 wxPyEndAllowThreads(__tstate
);
8447 if (PyErr_Occurred()) SWIG_fail
;
8450 resultobj
= SWIG_From_int((int)(result
));
8458 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8459 PyObject
*resultobj
;
8460 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8462 PyObject
* obj0
= 0 ;
8464 (char *) "self", NULL
8467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
8468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8469 if (SWIG_arg_fail(1)) SWIG_fail
;
8471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8472 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
8474 wxPyEndAllowThreads(__tstate
);
8475 if (PyErr_Occurred()) SWIG_fail
;
8478 resultobj
= wxPyMake_wxObject(result
, 0);
8486 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8487 PyObject
*resultobj
;
8488 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8490 PyObject
* obj0
= 0 ;
8492 (char *) "self", NULL
8495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
8496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8497 if (SWIG_arg_fail(1)) SWIG_fail
;
8499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8500 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
8502 wxPyEndAllowThreads(__tstate
);
8503 if (PyErr_Occurred()) SWIG_fail
;
8506 resultobj
= SWIG_From_int((int)(result
));
8514 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8515 PyObject
*resultobj
;
8516 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8518 PyObject
* obj0
= 0 ;
8520 (char *) "self", NULL
8523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
8524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8525 if (SWIG_arg_fail(1)) SWIG_fail
;
8527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8528 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
8530 wxPyEndAllowThreads(__tstate
);
8531 if (PyErr_Occurred()) SWIG_fail
;
8534 resultobj
= SWIG_From_int((int)(result
));
8542 static PyObject
* SplitterEvent_swigregister(PyObject
*, PyObject
*args
) {
8544 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8545 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
8547 return Py_BuildValue((char *)"");
8549 static int _wrap_SashNameStr_set(PyObject
*) {
8550 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
8555 static PyObject
*_wrap_SashNameStr_get(void) {
8560 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
8562 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
8569 static int _wrap_SashLayoutNameStr_set(PyObject
*) {
8570 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
8575 static PyObject
*_wrap_SashLayoutNameStr_get(void) {
8580 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
8582 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
8589 static PyObject
*_wrap_new_SashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8590 PyObject
*resultobj
;
8591 wxWindow
*arg1
= (wxWindow
*) 0 ;
8592 int arg2
= (int) -1 ;
8593 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8594 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8595 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8596 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8597 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8598 wxString
const &arg6_defvalue
= wxPySashNameStr
;
8599 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8600 wxSashWindow
*result
;
8603 bool temp6
= false ;
8604 PyObject
* obj0
= 0 ;
8605 PyObject
* obj1
= 0 ;
8606 PyObject
* obj2
= 0 ;
8607 PyObject
* obj3
= 0 ;
8608 PyObject
* obj4
= 0 ;
8609 PyObject
* obj5
= 0 ;
8611 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8616 if (SWIG_arg_fail(1)) SWIG_fail
;
8619 arg2
= (int)(SWIG_As_int(obj1
));
8620 if (SWIG_arg_fail(2)) SWIG_fail
;
8626 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8632 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8637 arg5
= (long)(SWIG_As_long(obj4
));
8638 if (SWIG_arg_fail(5)) SWIG_fail
;
8643 arg6
= wxString_in_helper(obj5
);
8644 if (arg6
== NULL
) SWIG_fail
;
8649 if (!wxPyCheckForApp()) SWIG_fail
;
8650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8651 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8653 wxPyEndAllowThreads(__tstate
);
8654 if (PyErr_Occurred()) SWIG_fail
;
8656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
8671 static PyObject
*_wrap_new_PreSashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8672 PyObject
*resultobj
;
8673 wxSashWindow
*result
;
8678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
8680 if (!wxPyCheckForApp()) SWIG_fail
;
8681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8682 result
= (wxSashWindow
*)new wxSashWindow();
8684 wxPyEndAllowThreads(__tstate
);
8685 if (PyErr_Occurred()) SWIG_fail
;
8687 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
8694 static PyObject
*_wrap_SashWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8695 PyObject
*resultobj
;
8696 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8697 wxWindow
*arg2
= (wxWindow
*) 0 ;
8698 int arg3
= (int) -1 ;
8699 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8700 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8701 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8702 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8703 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8704 wxString
const &arg7_defvalue
= wxPySashNameStr
;
8705 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8709 bool temp7
= false ;
8710 PyObject
* obj0
= 0 ;
8711 PyObject
* obj1
= 0 ;
8712 PyObject
* obj2
= 0 ;
8713 PyObject
* obj3
= 0 ;
8714 PyObject
* obj4
= 0 ;
8715 PyObject
* obj5
= 0 ;
8716 PyObject
* obj6
= 0 ;
8718 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8723 if (SWIG_arg_fail(1)) SWIG_fail
;
8724 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8725 if (SWIG_arg_fail(2)) SWIG_fail
;
8728 arg3
= (int)(SWIG_As_int(obj2
));
8729 if (SWIG_arg_fail(3)) SWIG_fail
;
8735 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8741 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8746 arg6
= (long)(SWIG_As_long(obj5
));
8747 if (SWIG_arg_fail(6)) SWIG_fail
;
8752 arg7
= wxString_in_helper(obj6
);
8753 if (arg7
== NULL
) SWIG_fail
;
8758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8759 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8761 wxPyEndAllowThreads(__tstate
);
8762 if (PyErr_Occurred()) SWIG_fail
;
8765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8781 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8782 PyObject
*resultobj
;
8783 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8784 wxSashEdgePosition arg2
;
8786 PyObject
* obj0
= 0 ;
8787 PyObject
* obj1
= 0 ;
8788 PyObject
* obj2
= 0 ;
8790 (char *) "self",(char *) "edge",(char *) "sash", NULL
8793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8795 if (SWIG_arg_fail(1)) SWIG_fail
;
8797 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8798 if (SWIG_arg_fail(2)) SWIG_fail
;
8801 arg3
= (bool)(SWIG_As_bool(obj2
));
8802 if (SWIG_arg_fail(3)) SWIG_fail
;
8805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8806 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
8808 wxPyEndAllowThreads(__tstate
);
8809 if (PyErr_Occurred()) SWIG_fail
;
8811 Py_INCREF(Py_None
); resultobj
= Py_None
;
8818 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8819 PyObject
*resultobj
;
8820 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8821 wxSashEdgePosition arg2
;
8823 PyObject
* obj0
= 0 ;
8824 PyObject
* obj1
= 0 ;
8826 (char *) "self",(char *) "edge", NULL
8829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
8830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8831 if (SWIG_arg_fail(1)) SWIG_fail
;
8833 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8834 if (SWIG_arg_fail(2)) SWIG_fail
;
8837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8838 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
8840 wxPyEndAllowThreads(__tstate
);
8841 if (PyErr_Occurred()) SWIG_fail
;
8844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8852 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8853 PyObject
*resultobj
;
8854 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8855 wxSashEdgePosition arg2
;
8857 PyObject
* obj0
= 0 ;
8858 PyObject
* obj1
= 0 ;
8859 PyObject
* obj2
= 0 ;
8861 (char *) "self",(char *) "edge",(char *) "border", NULL
8864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8866 if (SWIG_arg_fail(1)) SWIG_fail
;
8868 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8869 if (SWIG_arg_fail(2)) SWIG_fail
;
8872 arg3
= (bool)(SWIG_As_bool(obj2
));
8873 if (SWIG_arg_fail(3)) SWIG_fail
;
8876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8877 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
8879 wxPyEndAllowThreads(__tstate
);
8880 if (PyErr_Occurred()) SWIG_fail
;
8882 Py_INCREF(Py_None
); resultobj
= Py_None
;
8889 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8890 PyObject
*resultobj
;
8891 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8892 wxSashEdgePosition arg2
;
8894 PyObject
* obj0
= 0 ;
8895 PyObject
* obj1
= 0 ;
8897 (char *) "self",(char *) "edge", NULL
8900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
8901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8902 if (SWIG_arg_fail(1)) SWIG_fail
;
8904 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8905 if (SWIG_arg_fail(2)) SWIG_fail
;
8908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8909 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
8911 wxPyEndAllowThreads(__tstate
);
8912 if (PyErr_Occurred()) SWIG_fail
;
8915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8923 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8924 PyObject
*resultobj
;
8925 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8926 wxSashEdgePosition arg2
;
8928 PyObject
* obj0
= 0 ;
8929 PyObject
* obj1
= 0 ;
8931 (char *) "self",(char *) "edge", NULL
8934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
8935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8936 if (SWIG_arg_fail(1)) SWIG_fail
;
8938 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8939 if (SWIG_arg_fail(2)) SWIG_fail
;
8942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8943 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
8945 wxPyEndAllowThreads(__tstate
);
8946 if (PyErr_Occurred()) SWIG_fail
;
8949 resultobj
= SWIG_From_int((int)(result
));
8957 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8958 PyObject
*resultobj
;
8959 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8961 PyObject
* obj0
= 0 ;
8962 PyObject
* obj1
= 0 ;
8964 (char *) "self",(char *) "width", NULL
8967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8969 if (SWIG_arg_fail(1)) SWIG_fail
;
8971 arg2
= (int)(SWIG_As_int(obj1
));
8972 if (SWIG_arg_fail(2)) SWIG_fail
;
8975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8976 (arg1
)->SetDefaultBorderSize(arg2
);
8978 wxPyEndAllowThreads(__tstate
);
8979 if (PyErr_Occurred()) SWIG_fail
;
8981 Py_INCREF(Py_None
); resultobj
= Py_None
;
8988 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8989 PyObject
*resultobj
;
8990 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8992 PyObject
* obj0
= 0 ;
8994 (char *) "self", NULL
8997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
8998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8999 if (SWIG_arg_fail(1)) SWIG_fail
;
9001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9002 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
9004 wxPyEndAllowThreads(__tstate
);
9005 if (PyErr_Occurred()) SWIG_fail
;
9008 resultobj
= SWIG_From_int((int)(result
));
9016 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9017 PyObject
*resultobj
;
9018 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9020 PyObject
* obj0
= 0 ;
9021 PyObject
* obj1
= 0 ;
9023 (char *) "self",(char *) "width", NULL
9026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9028 if (SWIG_arg_fail(1)) SWIG_fail
;
9030 arg2
= (int)(SWIG_As_int(obj1
));
9031 if (SWIG_arg_fail(2)) SWIG_fail
;
9034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9035 (arg1
)->SetExtraBorderSize(arg2
);
9037 wxPyEndAllowThreads(__tstate
);
9038 if (PyErr_Occurred()) SWIG_fail
;
9040 Py_INCREF(Py_None
); resultobj
= Py_None
;
9047 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9048 PyObject
*resultobj
;
9049 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9051 PyObject
* obj0
= 0 ;
9053 (char *) "self", NULL
9056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
9057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9058 if (SWIG_arg_fail(1)) SWIG_fail
;
9060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9061 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
9063 wxPyEndAllowThreads(__tstate
);
9064 if (PyErr_Occurred()) SWIG_fail
;
9067 resultobj
= SWIG_From_int((int)(result
));
9075 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9076 PyObject
*resultobj
;
9077 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9079 PyObject
* obj0
= 0 ;
9080 PyObject
* obj1
= 0 ;
9082 (char *) "self",(char *) "min", NULL
9085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
9086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9087 if (SWIG_arg_fail(1)) SWIG_fail
;
9089 arg2
= (int)(SWIG_As_int(obj1
));
9090 if (SWIG_arg_fail(2)) SWIG_fail
;
9093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9094 (arg1
)->SetMinimumSizeX(arg2
);
9096 wxPyEndAllowThreads(__tstate
);
9097 if (PyErr_Occurred()) SWIG_fail
;
9099 Py_INCREF(Py_None
); resultobj
= Py_None
;
9106 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9107 PyObject
*resultobj
;
9108 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9110 PyObject
* obj0
= 0 ;
9111 PyObject
* obj1
= 0 ;
9113 (char *) "self",(char *) "min", NULL
9116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
9117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9118 if (SWIG_arg_fail(1)) SWIG_fail
;
9120 arg2
= (int)(SWIG_As_int(obj1
));
9121 if (SWIG_arg_fail(2)) SWIG_fail
;
9124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9125 (arg1
)->SetMinimumSizeY(arg2
);
9127 wxPyEndAllowThreads(__tstate
);
9128 if (PyErr_Occurred()) SWIG_fail
;
9130 Py_INCREF(Py_None
); resultobj
= Py_None
;
9137 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9138 PyObject
*resultobj
;
9139 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9141 PyObject
* obj0
= 0 ;
9143 (char *) "self", NULL
9146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
9147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9148 if (SWIG_arg_fail(1)) SWIG_fail
;
9150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9151 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
9153 wxPyEndAllowThreads(__tstate
);
9154 if (PyErr_Occurred()) SWIG_fail
;
9157 resultobj
= SWIG_From_int((int)(result
));
9165 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9166 PyObject
*resultobj
;
9167 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9169 PyObject
* obj0
= 0 ;
9171 (char *) "self", NULL
9174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
9175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9176 if (SWIG_arg_fail(1)) SWIG_fail
;
9178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9179 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
9181 wxPyEndAllowThreads(__tstate
);
9182 if (PyErr_Occurred()) SWIG_fail
;
9185 resultobj
= SWIG_From_int((int)(result
));
9193 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9194 PyObject
*resultobj
;
9195 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9197 PyObject
* obj0
= 0 ;
9198 PyObject
* obj1
= 0 ;
9200 (char *) "self",(char *) "max", NULL
9203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
9204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9205 if (SWIG_arg_fail(1)) SWIG_fail
;
9207 arg2
= (int)(SWIG_As_int(obj1
));
9208 if (SWIG_arg_fail(2)) SWIG_fail
;
9211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9212 (arg1
)->SetMaximumSizeX(arg2
);
9214 wxPyEndAllowThreads(__tstate
);
9215 if (PyErr_Occurred()) SWIG_fail
;
9217 Py_INCREF(Py_None
); resultobj
= Py_None
;
9224 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9225 PyObject
*resultobj
;
9226 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9228 PyObject
* obj0
= 0 ;
9229 PyObject
* obj1
= 0 ;
9231 (char *) "self",(char *) "max", NULL
9234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
9235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9236 if (SWIG_arg_fail(1)) SWIG_fail
;
9238 arg2
= (int)(SWIG_As_int(obj1
));
9239 if (SWIG_arg_fail(2)) SWIG_fail
;
9242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9243 (arg1
)->SetMaximumSizeY(arg2
);
9245 wxPyEndAllowThreads(__tstate
);
9246 if (PyErr_Occurred()) SWIG_fail
;
9248 Py_INCREF(Py_None
); resultobj
= Py_None
;
9255 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9256 PyObject
*resultobj
;
9257 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9259 PyObject
* obj0
= 0 ;
9261 (char *) "self", NULL
9264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
9265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9266 if (SWIG_arg_fail(1)) SWIG_fail
;
9268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9269 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
9271 wxPyEndAllowThreads(__tstate
);
9272 if (PyErr_Occurred()) SWIG_fail
;
9275 resultobj
= SWIG_From_int((int)(result
));
9283 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9284 PyObject
*resultobj
;
9285 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9287 PyObject
* obj0
= 0 ;
9289 (char *) "self", NULL
9292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
9293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9294 if (SWIG_arg_fail(1)) SWIG_fail
;
9296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9297 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
9299 wxPyEndAllowThreads(__tstate
);
9300 if (PyErr_Occurred()) SWIG_fail
;
9303 resultobj
= SWIG_From_int((int)(result
));
9311 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9312 PyObject
*resultobj
;
9313 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9316 int arg4
= (int) 2 ;
9317 wxSashEdgePosition result
;
9318 PyObject
* obj0
= 0 ;
9319 PyObject
* obj1
= 0 ;
9320 PyObject
* obj2
= 0 ;
9321 PyObject
* obj3
= 0 ;
9323 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
9326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9328 if (SWIG_arg_fail(1)) SWIG_fail
;
9330 arg2
= (int)(SWIG_As_int(obj1
));
9331 if (SWIG_arg_fail(2)) SWIG_fail
;
9334 arg3
= (int)(SWIG_As_int(obj2
));
9335 if (SWIG_arg_fail(3)) SWIG_fail
;
9339 arg4
= (int)(SWIG_As_int(obj3
));
9340 if (SWIG_arg_fail(4)) SWIG_fail
;
9344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9345 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
9347 wxPyEndAllowThreads(__tstate
);
9348 if (PyErr_Occurred()) SWIG_fail
;
9350 resultobj
= SWIG_From_int((result
));
9357 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9358 PyObject
*resultobj
;
9359 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9360 PyObject
* obj0
= 0 ;
9362 (char *) "self", NULL
9365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
9366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9367 if (SWIG_arg_fail(1)) SWIG_fail
;
9369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9370 (arg1
)->SizeWindows();
9372 wxPyEndAllowThreads(__tstate
);
9373 if (PyErr_Occurred()) SWIG_fail
;
9375 Py_INCREF(Py_None
); resultobj
= Py_None
;
9382 static PyObject
* SashWindow_swigregister(PyObject
*, PyObject
*args
) {
9384 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9385 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
9387 return Py_BuildValue((char *)"");
9389 static PyObject
*_wrap_new_SashEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9390 PyObject
*resultobj
;
9391 int arg1
= (int) 0 ;
9392 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
9393 wxSashEvent
*result
;
9394 PyObject
* obj0
= 0 ;
9395 PyObject
* obj1
= 0 ;
9397 (char *) "id",(char *) "edge", NULL
9400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
9403 arg1
= (int)(SWIG_As_int(obj0
));
9404 if (SWIG_arg_fail(1)) SWIG_fail
;
9409 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
9410 if (SWIG_arg_fail(2)) SWIG_fail
;
9414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9415 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
9417 wxPyEndAllowThreads(__tstate
);
9418 if (PyErr_Occurred()) SWIG_fail
;
9420 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
9427 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9428 PyObject
*resultobj
;
9429 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9430 wxSashEdgePosition arg2
;
9431 PyObject
* obj0
= 0 ;
9432 PyObject
* obj1
= 0 ;
9434 (char *) "self",(char *) "edge", NULL
9437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
9438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9439 if (SWIG_arg_fail(1)) SWIG_fail
;
9441 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
9442 if (SWIG_arg_fail(2)) SWIG_fail
;
9445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9446 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
9448 wxPyEndAllowThreads(__tstate
);
9449 if (PyErr_Occurred()) SWIG_fail
;
9451 Py_INCREF(Py_None
); resultobj
= Py_None
;
9458 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9459 PyObject
*resultobj
;
9460 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9461 wxSashEdgePosition result
;
9462 PyObject
* obj0
= 0 ;
9464 (char *) "self", NULL
9467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
9468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9469 if (SWIG_arg_fail(1)) SWIG_fail
;
9471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9472 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
9474 wxPyEndAllowThreads(__tstate
);
9475 if (PyErr_Occurred()) SWIG_fail
;
9477 resultobj
= SWIG_From_int((result
));
9484 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9485 PyObject
*resultobj
;
9486 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9489 PyObject
* obj0
= 0 ;
9490 PyObject
* obj1
= 0 ;
9492 (char *) "self",(char *) "rect", NULL
9495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
9496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9497 if (SWIG_arg_fail(1)) SWIG_fail
;
9500 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9504 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
9506 wxPyEndAllowThreads(__tstate
);
9507 if (PyErr_Occurred()) SWIG_fail
;
9509 Py_INCREF(Py_None
); resultobj
= Py_None
;
9516 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9517 PyObject
*resultobj
;
9518 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9520 PyObject
* obj0
= 0 ;
9522 (char *) "self", NULL
9525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
9526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9527 if (SWIG_arg_fail(1)) SWIG_fail
;
9529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9530 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
9532 wxPyEndAllowThreads(__tstate
);
9533 if (PyErr_Occurred()) SWIG_fail
;
9537 resultptr
= new wxRect((wxRect
&)(result
));
9538 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
9546 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9547 PyObject
*resultobj
;
9548 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9549 wxSashDragStatus arg2
;
9550 PyObject
* obj0
= 0 ;
9551 PyObject
* obj1
= 0 ;
9553 (char *) "self",(char *) "status", NULL
9556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
9557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9558 if (SWIG_arg_fail(1)) SWIG_fail
;
9560 arg2
= (wxSashDragStatus
)(SWIG_As_int(obj1
));
9561 if (SWIG_arg_fail(2)) SWIG_fail
;
9564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9565 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
9567 wxPyEndAllowThreads(__tstate
);
9568 if (PyErr_Occurred()) SWIG_fail
;
9570 Py_INCREF(Py_None
); resultobj
= Py_None
;
9577 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9578 PyObject
*resultobj
;
9579 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9580 wxSashDragStatus result
;
9581 PyObject
* obj0
= 0 ;
9583 (char *) "self", NULL
9586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
9587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9588 if (SWIG_arg_fail(1)) SWIG_fail
;
9590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9591 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
9593 wxPyEndAllowThreads(__tstate
);
9594 if (PyErr_Occurred()) SWIG_fail
;
9596 resultobj
= SWIG_From_int((result
));
9603 static PyObject
* SashEvent_swigregister(PyObject
*, PyObject
*args
) {
9605 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9606 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
9608 return Py_BuildValue((char *)"");
9610 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9611 PyObject
*resultobj
;
9612 int arg1
= (int) 0 ;
9613 wxQueryLayoutInfoEvent
*result
;
9614 PyObject
* obj0
= 0 ;
9619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
9622 arg1
= (int)(SWIG_As_int(obj0
));
9623 if (SWIG_arg_fail(1)) SWIG_fail
;
9627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9628 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
9630 wxPyEndAllowThreads(__tstate
);
9631 if (PyErr_Occurred()) SWIG_fail
;
9633 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
9640 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9641 PyObject
*resultobj
;
9642 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9644 PyObject
* obj0
= 0 ;
9645 PyObject
* obj1
= 0 ;
9647 (char *) "self",(char *) "length", NULL
9650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
9651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9652 if (SWIG_arg_fail(1)) SWIG_fail
;
9654 arg2
= (int)(SWIG_As_int(obj1
));
9655 if (SWIG_arg_fail(2)) SWIG_fail
;
9658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9659 (arg1
)->SetRequestedLength(arg2
);
9661 wxPyEndAllowThreads(__tstate
);
9662 if (PyErr_Occurred()) SWIG_fail
;
9664 Py_INCREF(Py_None
); resultobj
= Py_None
;
9671 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9672 PyObject
*resultobj
;
9673 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9675 PyObject
* obj0
= 0 ;
9677 (char *) "self", NULL
9680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
9681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9682 if (SWIG_arg_fail(1)) SWIG_fail
;
9684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9685 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
9687 wxPyEndAllowThreads(__tstate
);
9688 if (PyErr_Occurred()) SWIG_fail
;
9691 resultobj
= SWIG_From_int((int)(result
));
9699 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9700 PyObject
*resultobj
;
9701 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9703 PyObject
* obj0
= 0 ;
9704 PyObject
* obj1
= 0 ;
9706 (char *) "self",(char *) "flags", NULL
9709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
9710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9711 if (SWIG_arg_fail(1)) SWIG_fail
;
9713 arg2
= (int)(SWIG_As_int(obj1
));
9714 if (SWIG_arg_fail(2)) SWIG_fail
;
9717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9718 (arg1
)->SetFlags(arg2
);
9720 wxPyEndAllowThreads(__tstate
);
9721 if (PyErr_Occurred()) SWIG_fail
;
9723 Py_INCREF(Py_None
); resultobj
= Py_None
;
9730 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9731 PyObject
*resultobj
;
9732 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9734 PyObject
* obj0
= 0 ;
9736 (char *) "self", NULL
9739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
9740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9741 if (SWIG_arg_fail(1)) SWIG_fail
;
9743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9744 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
9746 wxPyEndAllowThreads(__tstate
);
9747 if (PyErr_Occurred()) SWIG_fail
;
9750 resultobj
= SWIG_From_int((int)(result
));
9758 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9759 PyObject
*resultobj
;
9760 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9763 PyObject
* obj0
= 0 ;
9764 PyObject
* obj1
= 0 ;
9766 (char *) "self",(char *) "size", NULL
9769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9771 if (SWIG_arg_fail(1)) SWIG_fail
;
9774 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9778 (arg1
)->SetSize((wxSize
const &)*arg2
);
9780 wxPyEndAllowThreads(__tstate
);
9781 if (PyErr_Occurred()) SWIG_fail
;
9783 Py_INCREF(Py_None
); resultobj
= Py_None
;
9790 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9791 PyObject
*resultobj
;
9792 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9794 PyObject
* obj0
= 0 ;
9796 (char *) "self", NULL
9799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
9800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9801 if (SWIG_arg_fail(1)) SWIG_fail
;
9803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9804 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
9806 wxPyEndAllowThreads(__tstate
);
9807 if (PyErr_Occurred()) SWIG_fail
;
9811 resultptr
= new wxSize((wxSize
&)(result
));
9812 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
9820 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9821 PyObject
*resultobj
;
9822 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9823 wxLayoutOrientation arg2
;
9824 PyObject
* obj0
= 0 ;
9825 PyObject
* obj1
= 0 ;
9827 (char *) "self",(char *) "orient", NULL
9830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
9831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9832 if (SWIG_arg_fail(1)) SWIG_fail
;
9834 arg2
= (wxLayoutOrientation
)(SWIG_As_int(obj1
));
9835 if (SWIG_arg_fail(2)) SWIG_fail
;
9838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9839 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
9841 wxPyEndAllowThreads(__tstate
);
9842 if (PyErr_Occurred()) SWIG_fail
;
9844 Py_INCREF(Py_None
); resultobj
= Py_None
;
9851 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9852 PyObject
*resultobj
;
9853 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9854 wxLayoutOrientation result
;
9855 PyObject
* obj0
= 0 ;
9857 (char *) "self", NULL
9860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
9861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9862 if (SWIG_arg_fail(1)) SWIG_fail
;
9864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9865 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
9867 wxPyEndAllowThreads(__tstate
);
9868 if (PyErr_Occurred()) SWIG_fail
;
9870 resultobj
= SWIG_From_int((result
));
9877 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9878 PyObject
*resultobj
;
9879 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9880 wxLayoutAlignment arg2
;
9881 PyObject
* obj0
= 0 ;
9882 PyObject
* obj1
= 0 ;
9884 (char *) "self",(char *) "align", NULL
9887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
9888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9889 if (SWIG_arg_fail(1)) SWIG_fail
;
9891 arg2
= (wxLayoutAlignment
)(SWIG_As_int(obj1
));
9892 if (SWIG_arg_fail(2)) SWIG_fail
;
9895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9896 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
9898 wxPyEndAllowThreads(__tstate
);
9899 if (PyErr_Occurred()) SWIG_fail
;
9901 Py_INCREF(Py_None
); resultobj
= Py_None
;
9908 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9909 PyObject
*resultobj
;
9910 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9911 wxLayoutAlignment result
;
9912 PyObject
* obj0
= 0 ;
9914 (char *) "self", NULL
9917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
9918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9919 if (SWIG_arg_fail(1)) SWIG_fail
;
9921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9922 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
9924 wxPyEndAllowThreads(__tstate
);
9925 if (PyErr_Occurred()) SWIG_fail
;
9927 resultobj
= SWIG_From_int((result
));
9934 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*, PyObject
*args
) {
9936 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9937 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
9939 return Py_BuildValue((char *)"");
9941 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9942 PyObject
*resultobj
;
9943 int arg1
= (int) 0 ;
9944 wxCalculateLayoutEvent
*result
;
9945 PyObject
* obj0
= 0 ;
9950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
9953 arg1
= (int)(SWIG_As_int(obj0
));
9954 if (SWIG_arg_fail(1)) SWIG_fail
;
9958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9959 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
9961 wxPyEndAllowThreads(__tstate
);
9962 if (PyErr_Occurred()) SWIG_fail
;
9964 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
9971 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9972 PyObject
*resultobj
;
9973 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
9975 PyObject
* obj0
= 0 ;
9976 PyObject
* obj1
= 0 ;
9978 (char *) "self",(char *) "flags", NULL
9981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
9982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
9983 if (SWIG_arg_fail(1)) SWIG_fail
;
9985 arg2
= (int)(SWIG_As_int(obj1
));
9986 if (SWIG_arg_fail(2)) SWIG_fail
;
9989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9990 (arg1
)->SetFlags(arg2
);
9992 wxPyEndAllowThreads(__tstate
);
9993 if (PyErr_Occurred()) SWIG_fail
;
9995 Py_INCREF(Py_None
); resultobj
= Py_None
;
10002 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10003 PyObject
*resultobj
;
10004 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10006 PyObject
* obj0
= 0 ;
10007 char *kwnames
[] = {
10008 (char *) "self", NULL
10011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
10012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10013 if (SWIG_arg_fail(1)) SWIG_fail
;
10015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10016 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
10018 wxPyEndAllowThreads(__tstate
);
10019 if (PyErr_Occurred()) SWIG_fail
;
10022 resultobj
= SWIG_From_int((int)(result
));
10030 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10031 PyObject
*resultobj
;
10032 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10035 PyObject
* obj0
= 0 ;
10036 PyObject
* obj1
= 0 ;
10037 char *kwnames
[] = {
10038 (char *) "self",(char *) "rect", NULL
10041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10043 if (SWIG_arg_fail(1)) SWIG_fail
;
10046 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10050 (arg1
)->SetRect((wxRect
const &)*arg2
);
10052 wxPyEndAllowThreads(__tstate
);
10053 if (PyErr_Occurred()) SWIG_fail
;
10055 Py_INCREF(Py_None
); resultobj
= Py_None
;
10062 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10063 PyObject
*resultobj
;
10064 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10066 PyObject
* obj0
= 0 ;
10067 char *kwnames
[] = {
10068 (char *) "self", NULL
10071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
10072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10073 if (SWIG_arg_fail(1)) SWIG_fail
;
10075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10076 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
10078 wxPyEndAllowThreads(__tstate
);
10079 if (PyErr_Occurred()) SWIG_fail
;
10082 wxRect
* resultptr
;
10083 resultptr
= new wxRect((wxRect
&)(result
));
10084 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
10092 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*, PyObject
*args
) {
10094 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10095 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
10097 return Py_BuildValue((char *)"");
10099 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10100 PyObject
*resultobj
;
10101 wxWindow
*arg1
= (wxWindow
*) 0 ;
10102 int arg2
= (int) -1 ;
10103 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10104 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10105 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10106 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10107 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10108 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
10109 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10110 wxSashLayoutWindow
*result
;
10113 bool temp6
= false ;
10114 PyObject
* obj0
= 0 ;
10115 PyObject
* obj1
= 0 ;
10116 PyObject
* obj2
= 0 ;
10117 PyObject
* obj3
= 0 ;
10118 PyObject
* obj4
= 0 ;
10119 PyObject
* obj5
= 0 ;
10120 char *kwnames
[] = {
10121 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10126 if (SWIG_arg_fail(1)) SWIG_fail
;
10129 arg2
= (int)(SWIG_As_int(obj1
));
10130 if (SWIG_arg_fail(2)) SWIG_fail
;
10136 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10142 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10147 arg5
= (long)(SWIG_As_long(obj4
));
10148 if (SWIG_arg_fail(5)) SWIG_fail
;
10153 arg6
= wxString_in_helper(obj5
);
10154 if (arg6
== NULL
) SWIG_fail
;
10159 if (!wxPyCheckForApp()) SWIG_fail
;
10160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10161 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10163 wxPyEndAllowThreads(__tstate
);
10164 if (PyErr_Occurred()) SWIG_fail
;
10166 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
10181 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10182 PyObject
*resultobj
;
10183 wxSashLayoutWindow
*result
;
10184 char *kwnames
[] = {
10188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
10190 if (!wxPyCheckForApp()) SWIG_fail
;
10191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10192 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
10194 wxPyEndAllowThreads(__tstate
);
10195 if (PyErr_Occurred()) SWIG_fail
;
10197 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
10204 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10205 PyObject
*resultobj
;
10206 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10207 wxWindow
*arg2
= (wxWindow
*) 0 ;
10208 int arg3
= (int) -1 ;
10209 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10210 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10211 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10212 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10213 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10214 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
10215 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10219 bool temp7
= false ;
10220 PyObject
* obj0
= 0 ;
10221 PyObject
* obj1
= 0 ;
10222 PyObject
* obj2
= 0 ;
10223 PyObject
* obj3
= 0 ;
10224 PyObject
* obj4
= 0 ;
10225 PyObject
* obj5
= 0 ;
10226 PyObject
* obj6
= 0 ;
10227 char *kwnames
[] = {
10228 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10233 if (SWIG_arg_fail(1)) SWIG_fail
;
10234 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10235 if (SWIG_arg_fail(2)) SWIG_fail
;
10238 arg3
= (int)(SWIG_As_int(obj2
));
10239 if (SWIG_arg_fail(3)) SWIG_fail
;
10245 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10251 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10256 arg6
= (long)(SWIG_As_long(obj5
));
10257 if (SWIG_arg_fail(6)) SWIG_fail
;
10262 arg7
= wxString_in_helper(obj6
);
10263 if (arg7
== NULL
) SWIG_fail
;
10268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10269 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10271 wxPyEndAllowThreads(__tstate
);
10272 if (PyErr_Occurred()) SWIG_fail
;
10275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10291 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10292 PyObject
*resultobj
;
10293 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10294 wxLayoutAlignment result
;
10295 PyObject
* obj0
= 0 ;
10296 char *kwnames
[] = {
10297 (char *) "self", NULL
10300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
10301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10302 if (SWIG_arg_fail(1)) SWIG_fail
;
10304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10305 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
10307 wxPyEndAllowThreads(__tstate
);
10308 if (PyErr_Occurred()) SWIG_fail
;
10310 resultobj
= SWIG_From_int((result
));
10317 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10318 PyObject
*resultobj
;
10319 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10320 wxLayoutOrientation result
;
10321 PyObject
* obj0
= 0 ;
10322 char *kwnames
[] = {
10323 (char *) "self", NULL
10326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
10327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10328 if (SWIG_arg_fail(1)) SWIG_fail
;
10330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10331 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
10333 wxPyEndAllowThreads(__tstate
);
10334 if (PyErr_Occurred()) SWIG_fail
;
10336 resultobj
= SWIG_From_int((result
));
10343 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10344 PyObject
*resultobj
;
10345 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10346 wxLayoutAlignment arg2
;
10347 PyObject
* obj0
= 0 ;
10348 PyObject
* obj1
= 0 ;
10349 char *kwnames
[] = {
10350 (char *) "self",(char *) "alignment", NULL
10353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
10354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10355 if (SWIG_arg_fail(1)) SWIG_fail
;
10357 arg2
= (wxLayoutAlignment
)(SWIG_As_int(obj1
));
10358 if (SWIG_arg_fail(2)) SWIG_fail
;
10361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10362 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
10364 wxPyEndAllowThreads(__tstate
);
10365 if (PyErr_Occurred()) SWIG_fail
;
10367 Py_INCREF(Py_None
); resultobj
= Py_None
;
10374 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10375 PyObject
*resultobj
;
10376 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10379 PyObject
* obj0
= 0 ;
10380 PyObject
* obj1
= 0 ;
10381 char *kwnames
[] = {
10382 (char *) "self",(char *) "size", NULL
10385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10387 if (SWIG_arg_fail(1)) SWIG_fail
;
10390 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10394 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
10396 wxPyEndAllowThreads(__tstate
);
10397 if (PyErr_Occurred()) SWIG_fail
;
10399 Py_INCREF(Py_None
); resultobj
= Py_None
;
10406 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10407 PyObject
*resultobj
;
10408 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10409 wxLayoutOrientation arg2
;
10410 PyObject
* obj0
= 0 ;
10411 PyObject
* obj1
= 0 ;
10412 char *kwnames
[] = {
10413 (char *) "self",(char *) "orientation", NULL
10416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
10417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10418 if (SWIG_arg_fail(1)) SWIG_fail
;
10420 arg2
= (wxLayoutOrientation
)(SWIG_As_int(obj1
));
10421 if (SWIG_arg_fail(2)) SWIG_fail
;
10424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10425 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
10427 wxPyEndAllowThreads(__tstate
);
10428 if (PyErr_Occurred()) SWIG_fail
;
10430 Py_INCREF(Py_None
); resultobj
= Py_None
;
10437 static PyObject
* SashLayoutWindow_swigregister(PyObject
*, PyObject
*args
) {
10439 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10440 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
10442 return Py_BuildValue((char *)"");
10444 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10445 PyObject
*resultobj
;
10446 wxLayoutAlgorithm
*result
;
10447 char *kwnames
[] = {
10451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
10453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10454 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
10456 wxPyEndAllowThreads(__tstate
);
10457 if (PyErr_Occurred()) SWIG_fail
;
10459 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
10466 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10467 PyObject
*resultobj
;
10468 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10469 PyObject
* obj0
= 0 ;
10470 char *kwnames
[] = {
10471 (char *) "self", NULL
10474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
10475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10476 if (SWIG_arg_fail(1)) SWIG_fail
;
10478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10481 wxPyEndAllowThreads(__tstate
);
10482 if (PyErr_Occurred()) SWIG_fail
;
10484 Py_INCREF(Py_None
); resultobj
= Py_None
;
10491 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10492 PyObject
*resultobj
;
10493 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10494 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
10495 wxRect
*arg3
= (wxRect
*) NULL
;
10497 PyObject
* obj0
= 0 ;
10498 PyObject
* obj1
= 0 ;
10499 PyObject
* obj2
= 0 ;
10500 char *kwnames
[] = {
10501 (char *) "self",(char *) "frame",(char *) "rect", NULL
10504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10506 if (SWIG_arg_fail(1)) SWIG_fail
;
10507 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
10508 if (SWIG_arg_fail(2)) SWIG_fail
;
10510 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
10511 if (SWIG_arg_fail(3)) SWIG_fail
;
10514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10515 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
10517 wxPyEndAllowThreads(__tstate
);
10518 if (PyErr_Occurred()) SWIG_fail
;
10521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10529 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10530 PyObject
*resultobj
;
10531 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10532 wxFrame
*arg2
= (wxFrame
*) 0 ;
10533 wxWindow
*arg3
= (wxWindow
*) NULL
;
10535 PyObject
* obj0
= 0 ;
10536 PyObject
* obj1
= 0 ;
10537 PyObject
* obj2
= 0 ;
10538 char *kwnames
[] = {
10539 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
10542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10544 if (SWIG_arg_fail(1)) SWIG_fail
;
10545 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
10546 if (SWIG_arg_fail(2)) SWIG_fail
;
10548 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10549 if (SWIG_arg_fail(3)) SWIG_fail
;
10552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10553 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
10555 wxPyEndAllowThreads(__tstate
);
10556 if (PyErr_Occurred()) SWIG_fail
;
10559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10567 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10568 PyObject
*resultobj
;
10569 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10570 wxWindow
*arg2
= (wxWindow
*) 0 ;
10571 wxWindow
*arg3
= (wxWindow
*) NULL
;
10573 PyObject
* obj0
= 0 ;
10574 PyObject
* obj1
= 0 ;
10575 PyObject
* obj2
= 0 ;
10576 char *kwnames
[] = {
10577 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
10580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10582 if (SWIG_arg_fail(1)) SWIG_fail
;
10583 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10584 if (SWIG_arg_fail(2)) SWIG_fail
;
10586 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10587 if (SWIG_arg_fail(3)) SWIG_fail
;
10590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10591 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
10593 wxPyEndAllowThreads(__tstate
);
10594 if (PyErr_Occurred()) SWIG_fail
;
10597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10605 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*, PyObject
*args
) {
10607 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10608 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
10610 return Py_BuildValue((char *)"");
10612 static PyObject
*_wrap_new_PopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10613 PyObject
*resultobj
;
10614 wxWindow
*arg1
= (wxWindow
*) 0 ;
10615 int arg2
= (int) wxBORDER_NONE
;
10616 wxPopupWindow
*result
;
10617 PyObject
* obj0
= 0 ;
10618 PyObject
* obj1
= 0 ;
10619 char *kwnames
[] = {
10620 (char *) "parent",(char *) "flags", NULL
10623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
10624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10625 if (SWIG_arg_fail(1)) SWIG_fail
;
10628 arg2
= (int)(SWIG_As_int(obj1
));
10629 if (SWIG_arg_fail(2)) SWIG_fail
;
10633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10634 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
10636 wxPyEndAllowThreads(__tstate
);
10637 if (PyErr_Occurred()) SWIG_fail
;
10639 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
10646 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10647 PyObject
*resultobj
;
10648 wxPopupWindow
*result
;
10649 char *kwnames
[] = {
10653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
10655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10656 result
= (wxPopupWindow
*)new wxPopupWindow();
10658 wxPyEndAllowThreads(__tstate
);
10659 if (PyErr_Occurred()) SWIG_fail
;
10661 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
10668 static PyObject
* PopupWindow_swigregister(PyObject
*, PyObject
*args
) {
10670 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10671 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
10673 return Py_BuildValue((char *)"");
10675 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10676 PyObject
*resultobj
;
10677 wxWindow
*arg1
= (wxWindow
*) 0 ;
10678 int arg2
= (int) wxBORDER_NONE
;
10679 wxPyPopupTransientWindow
*result
;
10680 PyObject
* obj0
= 0 ;
10681 PyObject
* obj1
= 0 ;
10682 char *kwnames
[] = {
10683 (char *) "parent",(char *) "style", NULL
10686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
10687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10688 if (SWIG_arg_fail(1)) SWIG_fail
;
10691 arg2
= (int)(SWIG_As_int(obj1
));
10692 if (SWIG_arg_fail(2)) SWIG_fail
;
10696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10697 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
10699 wxPyEndAllowThreads(__tstate
);
10700 if (PyErr_Occurred()) SWIG_fail
;
10702 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
10709 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10710 PyObject
*resultobj
;
10711 wxPyPopupTransientWindow
*result
;
10712 char *kwnames
[] = {
10716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
10718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10719 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
10721 wxPyEndAllowThreads(__tstate
);
10722 if (PyErr_Occurred()) SWIG_fail
;
10724 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
10731 static PyObject
* PopupTransientWindow_swigregister(PyObject
*, PyObject
*args
) {
10733 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10734 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
10736 return Py_BuildValue((char *)"");
10738 static PyObject
*_wrap_new_TipWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10739 PyObject
*resultobj
;
10740 wxWindow
*arg1
= (wxWindow
*) 0 ;
10741 wxString
*arg2
= 0 ;
10742 int arg3
= (int) 100 ;
10743 wxRect
*arg4
= (wxRect
*) NULL
;
10744 wxTipWindow
*result
;
10745 bool temp2
= false ;
10746 PyObject
* obj0
= 0 ;
10747 PyObject
* obj1
= 0 ;
10748 PyObject
* obj2
= 0 ;
10749 PyObject
* obj3
= 0 ;
10750 char *kwnames
[] = {
10751 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
10754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10756 if (SWIG_arg_fail(1)) SWIG_fail
;
10758 arg2
= wxString_in_helper(obj1
);
10759 if (arg2
== NULL
) SWIG_fail
;
10764 arg3
= (int)(SWIG_As_int(obj2
));
10765 if (SWIG_arg_fail(3)) SWIG_fail
;
10769 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
10770 if (SWIG_arg_fail(4)) SWIG_fail
;
10773 if (!wxPyCheckForApp()) SWIG_fail
;
10774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10775 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
10777 wxPyEndAllowThreads(__tstate
);
10778 if (PyErr_Occurred()) SWIG_fail
;
10780 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
10795 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10796 PyObject
*resultobj
;
10797 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
10800 PyObject
* obj0
= 0 ;
10801 PyObject
* obj1
= 0 ;
10802 char *kwnames
[] = {
10803 (char *) "self",(char *) "rectBound", NULL
10806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_EXCEPTION
| 0);
10808 if (SWIG_arg_fail(1)) SWIG_fail
;
10811 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10815 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
10817 wxPyEndAllowThreads(__tstate
);
10818 if (PyErr_Occurred()) SWIG_fail
;
10820 Py_INCREF(Py_None
); resultobj
= Py_None
;
10827 static PyObject
*_wrap_TipWindow_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10828 PyObject
*resultobj
;
10829 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
10830 PyObject
* obj0
= 0 ;
10831 char *kwnames
[] = {
10832 (char *) "self", NULL
10835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
10836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_EXCEPTION
| 0);
10837 if (SWIG_arg_fail(1)) SWIG_fail
;
10839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10842 wxPyEndAllowThreads(__tstate
);
10843 if (PyErr_Occurred()) SWIG_fail
;
10845 Py_INCREF(Py_None
); resultobj
= Py_None
;
10852 static PyObject
* TipWindow_swigregister(PyObject
*, PyObject
*args
) {
10854 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10855 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
10857 return Py_BuildValue((char *)"");
10859 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10860 PyObject
*resultobj
;
10861 wxWindow
*arg1
= (wxWindow
*) 0 ;
10862 int arg2
= (int) wxID_ANY
;
10863 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10864 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10865 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10866 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10867 long arg5
= (long) 0 ;
10868 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
10869 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10870 wxPyVScrolledWindow
*result
;
10873 bool temp6
= false ;
10874 PyObject
* obj0
= 0 ;
10875 PyObject
* obj1
= 0 ;
10876 PyObject
* obj2
= 0 ;
10877 PyObject
* obj3
= 0 ;
10878 PyObject
* obj4
= 0 ;
10879 PyObject
* obj5
= 0 ;
10880 char *kwnames
[] = {
10881 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10886 if (SWIG_arg_fail(1)) SWIG_fail
;
10889 arg2
= (int)(SWIG_As_int(obj1
));
10890 if (SWIG_arg_fail(2)) SWIG_fail
;
10896 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10902 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10907 arg5
= (long)(SWIG_As_long(obj4
));
10908 if (SWIG_arg_fail(5)) SWIG_fail
;
10913 arg6
= wxString_in_helper(obj5
);
10914 if (arg6
== NULL
) SWIG_fail
;
10919 if (!wxPyCheckForApp()) SWIG_fail
;
10920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10921 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10923 wxPyEndAllowThreads(__tstate
);
10924 if (PyErr_Occurred()) SWIG_fail
;
10926 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
10941 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10942 PyObject
*resultobj
;
10943 wxPyVScrolledWindow
*result
;
10944 char *kwnames
[] = {
10948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
10950 if (!wxPyCheckForApp()) SWIG_fail
;
10951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10952 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
10954 wxPyEndAllowThreads(__tstate
);
10955 if (PyErr_Occurred()) SWIG_fail
;
10957 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
10964 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10965 PyObject
*resultobj
;
10966 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
10967 PyObject
*arg2
= (PyObject
*) 0 ;
10968 PyObject
*arg3
= (PyObject
*) 0 ;
10969 PyObject
* obj0
= 0 ;
10970 PyObject
* obj1
= 0 ;
10971 PyObject
* obj2
= 0 ;
10972 char *kwnames
[] = {
10973 (char *) "self",(char *) "self",(char *) "_class", NULL
10976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
10978 if (SWIG_arg_fail(1)) SWIG_fail
;
10982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10983 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10985 wxPyEndAllowThreads(__tstate
);
10986 if (PyErr_Occurred()) SWIG_fail
;
10988 Py_INCREF(Py_None
); resultobj
= Py_None
;
10995 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10996 PyObject
*resultobj
;
10997 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
10998 wxWindow
*arg2
= (wxWindow
*) 0 ;
10999 int arg3
= (int) wxID_ANY
;
11000 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11001 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11002 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11003 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11004 long arg6
= (long) 0 ;
11005 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
11006 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11010 bool temp7
= false ;
11011 PyObject
* obj0
= 0 ;
11012 PyObject
* obj1
= 0 ;
11013 PyObject
* obj2
= 0 ;
11014 PyObject
* obj3
= 0 ;
11015 PyObject
* obj4
= 0 ;
11016 PyObject
* obj5
= 0 ;
11017 PyObject
* obj6
= 0 ;
11018 char *kwnames
[] = {
11019 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11024 if (SWIG_arg_fail(1)) SWIG_fail
;
11025 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11026 if (SWIG_arg_fail(2)) SWIG_fail
;
11029 arg3
= (int)(SWIG_As_int(obj2
));
11030 if (SWIG_arg_fail(3)) SWIG_fail
;
11036 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11042 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11047 arg6
= (long)(SWIG_As_long(obj5
));
11048 if (SWIG_arg_fail(6)) SWIG_fail
;
11053 arg7
= wxString_in_helper(obj6
);
11054 if (arg7
== NULL
) SWIG_fail
;
11059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11060 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11062 wxPyEndAllowThreads(__tstate
);
11063 if (PyErr_Occurred()) SWIG_fail
;
11066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11082 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11083 PyObject
*resultobj
;
11084 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11086 PyObject
* obj0
= 0 ;
11087 PyObject
* obj1
= 0 ;
11088 char *kwnames
[] = {
11089 (char *) "self",(char *) "count", NULL
11092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11094 if (SWIG_arg_fail(1)) SWIG_fail
;
11096 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11097 if (SWIG_arg_fail(2)) SWIG_fail
;
11100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11101 (arg1
)->SetLineCount(arg2
);
11103 wxPyEndAllowThreads(__tstate
);
11104 if (PyErr_Occurred()) SWIG_fail
;
11106 Py_INCREF(Py_None
); resultobj
= Py_None
;
11113 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11114 PyObject
*resultobj
;
11115 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11118 PyObject
* obj0
= 0 ;
11119 PyObject
* obj1
= 0 ;
11120 char *kwnames
[] = {
11121 (char *) "self",(char *) "line", NULL
11124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
11125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11126 if (SWIG_arg_fail(1)) SWIG_fail
;
11128 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11129 if (SWIG_arg_fail(2)) SWIG_fail
;
11132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11133 result
= (bool)(arg1
)->ScrollToLine(arg2
);
11135 wxPyEndAllowThreads(__tstate
);
11136 if (PyErr_Occurred()) SWIG_fail
;
11139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11147 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11148 PyObject
*resultobj
;
11149 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11152 PyObject
* obj0
= 0 ;
11153 PyObject
* obj1
= 0 ;
11154 char *kwnames
[] = {
11155 (char *) "self",(char *) "lines", NULL
11158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
11159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11160 if (SWIG_arg_fail(1)) SWIG_fail
;
11162 arg2
= (int)(SWIG_As_int(obj1
));
11163 if (SWIG_arg_fail(2)) SWIG_fail
;
11166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11167 result
= (bool)(arg1
)->ScrollLines(arg2
);
11169 wxPyEndAllowThreads(__tstate
);
11170 if (PyErr_Occurred()) SWIG_fail
;
11173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11181 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11182 PyObject
*resultobj
;
11183 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11186 PyObject
* obj0
= 0 ;
11187 PyObject
* obj1
= 0 ;
11188 char *kwnames
[] = {
11189 (char *) "self",(char *) "pages", NULL
11192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
11193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11194 if (SWIG_arg_fail(1)) SWIG_fail
;
11196 arg2
= (int)(SWIG_As_int(obj1
));
11197 if (SWIG_arg_fail(2)) SWIG_fail
;
11200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11201 result
= (bool)(arg1
)->ScrollPages(arg2
);
11203 wxPyEndAllowThreads(__tstate
);
11204 if (PyErr_Occurred()) SWIG_fail
;
11207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11215 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11216 PyObject
*resultobj
;
11217 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11219 PyObject
* obj0
= 0 ;
11220 PyObject
* obj1
= 0 ;
11221 char *kwnames
[] = {
11222 (char *) "self",(char *) "line", NULL
11225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
11226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11227 if (SWIG_arg_fail(1)) SWIG_fail
;
11229 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11230 if (SWIG_arg_fail(2)) SWIG_fail
;
11233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11234 (arg1
)->RefreshLine(arg2
);
11236 wxPyEndAllowThreads(__tstate
);
11237 if (PyErr_Occurred()) SWIG_fail
;
11239 Py_INCREF(Py_None
); resultobj
= Py_None
;
11246 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11247 PyObject
*resultobj
;
11248 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11251 PyObject
* obj0
= 0 ;
11252 PyObject
* obj1
= 0 ;
11253 PyObject
* obj2
= 0 ;
11254 char *kwnames
[] = {
11255 (char *) "self",(char *) "from",(char *) "to", NULL
11258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11260 if (SWIG_arg_fail(1)) SWIG_fail
;
11262 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11263 if (SWIG_arg_fail(2)) SWIG_fail
;
11266 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
11267 if (SWIG_arg_fail(3)) SWIG_fail
;
11270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11271 (arg1
)->RefreshLines(arg2
,arg3
);
11273 wxPyEndAllowThreads(__tstate
);
11274 if (PyErr_Occurred()) SWIG_fail
;
11276 Py_INCREF(Py_None
); resultobj
= Py_None
;
11283 static PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11284 PyObject
*resultobj
;
11285 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11289 PyObject
* obj0
= 0 ;
11290 PyObject
* obj1
= 0 ;
11291 PyObject
* obj2
= 0 ;
11292 char *kwnames
[] = {
11293 (char *) "self",(char *) "x",(char *) "y", NULL
11296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11298 if (SWIG_arg_fail(1)) SWIG_fail
;
11300 arg2
= (int)(SWIG_As_int(obj1
));
11301 if (SWIG_arg_fail(2)) SWIG_fail
;
11304 arg3
= (int)(SWIG_As_int(obj2
));
11305 if (SWIG_arg_fail(3)) SWIG_fail
;
11308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11309 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
11311 wxPyEndAllowThreads(__tstate
);
11312 if (PyErr_Occurred()) SWIG_fail
;
11315 resultobj
= SWIG_From_int((int)(result
));
11323 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11324 PyObject
*resultobj
;
11325 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11326 wxPoint
*arg2
= 0 ;
11329 PyObject
* obj0
= 0 ;
11330 PyObject
* obj1
= 0 ;
11331 char *kwnames
[] = {
11332 (char *) "self",(char *) "pt", NULL
11335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
11336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11337 if (SWIG_arg_fail(1)) SWIG_fail
;
11340 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11344 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
11346 wxPyEndAllowThreads(__tstate
);
11347 if (PyErr_Occurred()) SWIG_fail
;
11350 resultobj
= SWIG_From_int((int)(result
));
11358 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11359 PyObject
*resultobj
;
11360 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11361 PyObject
* obj0
= 0 ;
11362 char *kwnames
[] = {
11363 (char *) "self", NULL
11366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
11367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11368 if (SWIG_arg_fail(1)) SWIG_fail
;
11370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11371 (arg1
)->RefreshAll();
11373 wxPyEndAllowThreads(__tstate
);
11374 if (PyErr_Occurred()) SWIG_fail
;
11376 Py_INCREF(Py_None
); resultobj
= Py_None
;
11383 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11384 PyObject
*resultobj
;
11385 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11387 PyObject
* obj0
= 0 ;
11388 char *kwnames
[] = {
11389 (char *) "self", NULL
11392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
11393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11394 if (SWIG_arg_fail(1)) SWIG_fail
;
11396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11397 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
11399 wxPyEndAllowThreads(__tstate
);
11400 if (PyErr_Occurred()) SWIG_fail
;
11403 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11411 static PyObject
*_wrap_VScrolledWindow_GetVisibleBegin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11412 PyObject
*resultobj
;
11413 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11415 PyObject
* obj0
= 0 ;
11416 char *kwnames
[] = {
11417 (char *) "self", NULL
11420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetVisibleBegin",kwnames
,&obj0
)) goto fail
;
11421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11422 if (SWIG_arg_fail(1)) SWIG_fail
;
11424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11425 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleBegin();
11427 wxPyEndAllowThreads(__tstate
);
11428 if (PyErr_Occurred()) SWIG_fail
;
11431 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11439 static PyObject
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11440 PyObject
*resultobj
;
11441 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11443 PyObject
* obj0
= 0 ;
11444 char *kwnames
[] = {
11445 (char *) "self", NULL
11448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetVisibleEnd",kwnames
,&obj0
)) goto fail
;
11449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11450 if (SWIG_arg_fail(1)) SWIG_fail
;
11452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11453 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleEnd();
11455 wxPyEndAllowThreads(__tstate
);
11456 if (PyErr_Occurred()) SWIG_fail
;
11459 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11467 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11468 PyObject
*resultobj
;
11469 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11472 PyObject
* obj0
= 0 ;
11473 PyObject
* obj1
= 0 ;
11474 char *kwnames
[] = {
11475 (char *) "self",(char *) "line", NULL
11478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
11479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11480 if (SWIG_arg_fail(1)) SWIG_fail
;
11482 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11483 if (SWIG_arg_fail(2)) SWIG_fail
;
11486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11487 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
11489 wxPyEndAllowThreads(__tstate
);
11490 if (PyErr_Occurred()) SWIG_fail
;
11493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11501 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11502 PyObject
*resultobj
;
11503 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11505 PyObject
* obj0
= 0 ;
11506 char *kwnames
[] = {
11507 (char *) "self", NULL
11510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
11511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11512 if (SWIG_arg_fail(1)) SWIG_fail
;
11514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11515 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
11517 wxPyEndAllowThreads(__tstate
);
11518 if (PyErr_Occurred()) SWIG_fail
;
11521 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11529 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11530 PyObject
*resultobj
;
11531 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11533 PyObject
* obj0
= 0 ;
11534 char *kwnames
[] = {
11535 (char *) "self", NULL
11538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
11539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11540 if (SWIG_arg_fail(1)) SWIG_fail
;
11542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11543 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
11545 wxPyEndAllowThreads(__tstate
);
11546 if (PyErr_Occurred()) SWIG_fail
;
11549 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11557 static PyObject
* VScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
11559 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11560 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
11562 return Py_BuildValue((char *)"");
11564 static int _wrap_VListBoxNameStr_set(PyObject
*) {
11565 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
11570 static PyObject
*_wrap_VListBoxNameStr_get(void) {
11575 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
11577 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
11584 static PyObject
*_wrap_new_VListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11585 PyObject
*resultobj
;
11586 wxWindow
*arg1
= (wxWindow
*) 0 ;
11587 int arg2
= (int) wxID_ANY
;
11588 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11589 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11590 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11591 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11592 long arg5
= (long) 0 ;
11593 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
11594 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11595 wxPyVListBox
*result
;
11598 bool temp6
= false ;
11599 PyObject
* obj0
= 0 ;
11600 PyObject
* obj1
= 0 ;
11601 PyObject
* obj2
= 0 ;
11602 PyObject
* obj3
= 0 ;
11603 PyObject
* obj4
= 0 ;
11604 PyObject
* obj5
= 0 ;
11605 char *kwnames
[] = {
11606 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11611 if (SWIG_arg_fail(1)) SWIG_fail
;
11614 arg2
= (int)(SWIG_As_int(obj1
));
11615 if (SWIG_arg_fail(2)) SWIG_fail
;
11621 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11627 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11632 arg5
= (long)(SWIG_As_long(obj4
));
11633 if (SWIG_arg_fail(5)) SWIG_fail
;
11638 arg6
= wxString_in_helper(obj5
);
11639 if (arg6
== NULL
) SWIG_fail
;
11644 if (!wxPyCheckForApp()) SWIG_fail
;
11645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11646 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
11648 wxPyEndAllowThreads(__tstate
);
11649 if (PyErr_Occurred()) SWIG_fail
;
11651 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
11666 static PyObject
*_wrap_new_PreVListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11667 PyObject
*resultobj
;
11668 wxPyVListBox
*result
;
11669 char *kwnames
[] = {
11673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
11675 if (!wxPyCheckForApp()) SWIG_fail
;
11676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11677 result
= (wxPyVListBox
*)new wxPyVListBox();
11679 wxPyEndAllowThreads(__tstate
);
11680 if (PyErr_Occurred()) SWIG_fail
;
11682 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
11689 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11690 PyObject
*resultobj
;
11691 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11692 PyObject
*arg2
= (PyObject
*) 0 ;
11693 PyObject
*arg3
= (PyObject
*) 0 ;
11694 PyObject
* obj0
= 0 ;
11695 PyObject
* obj1
= 0 ;
11696 PyObject
* obj2
= 0 ;
11697 char *kwnames
[] = {
11698 (char *) "self",(char *) "self",(char *) "_class", NULL
11701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11703 if (SWIG_arg_fail(1)) SWIG_fail
;
11707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11708 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11710 wxPyEndAllowThreads(__tstate
);
11711 if (PyErr_Occurred()) SWIG_fail
;
11713 Py_INCREF(Py_None
); resultobj
= Py_None
;
11720 static PyObject
*_wrap_VListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11721 PyObject
*resultobj
;
11722 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11723 wxWindow
*arg2
= (wxWindow
*) 0 ;
11724 int arg3
= (int) wxID_ANY
;
11725 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11726 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11727 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11728 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11729 long arg6
= (long) 0 ;
11730 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
11731 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11735 bool temp7
= false ;
11736 PyObject
* obj0
= 0 ;
11737 PyObject
* obj1
= 0 ;
11738 PyObject
* obj2
= 0 ;
11739 PyObject
* obj3
= 0 ;
11740 PyObject
* obj4
= 0 ;
11741 PyObject
* obj5
= 0 ;
11742 PyObject
* obj6
= 0 ;
11743 char *kwnames
[] = {
11744 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11749 if (SWIG_arg_fail(1)) SWIG_fail
;
11750 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11751 if (SWIG_arg_fail(2)) SWIG_fail
;
11754 arg3
= (int)(SWIG_As_int(obj2
));
11755 if (SWIG_arg_fail(3)) SWIG_fail
;
11761 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11767 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11772 arg6
= (long)(SWIG_As_long(obj5
));
11773 if (SWIG_arg_fail(6)) SWIG_fail
;
11778 arg7
= wxString_in_helper(obj6
);
11779 if (arg7
== NULL
) SWIG_fail
;
11784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11785 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11787 wxPyEndAllowThreads(__tstate
);
11788 if (PyErr_Occurred()) SWIG_fail
;
11791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11807 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11808 PyObject
*resultobj
;
11809 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11811 PyObject
* obj0
= 0 ;
11812 char *kwnames
[] = {
11813 (char *) "self", NULL
11816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
11817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11818 if (SWIG_arg_fail(1)) SWIG_fail
;
11820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11821 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
11823 wxPyEndAllowThreads(__tstate
);
11824 if (PyErr_Occurred()) SWIG_fail
;
11827 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11835 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11836 PyObject
*resultobj
;
11837 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11839 PyObject
* obj0
= 0 ;
11840 char *kwnames
[] = {
11841 (char *) "self", NULL
11844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
11845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11846 if (SWIG_arg_fail(1)) SWIG_fail
;
11848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11849 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
11851 wxPyEndAllowThreads(__tstate
);
11852 if (PyErr_Occurred()) SWIG_fail
;
11855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11863 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11864 PyObject
*resultobj
;
11865 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11867 PyObject
* obj0
= 0 ;
11868 char *kwnames
[] = {
11869 (char *) "self", NULL
11872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
11873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11874 if (SWIG_arg_fail(1)) SWIG_fail
;
11876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11877 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
11879 wxPyEndAllowThreads(__tstate
);
11880 if (PyErr_Occurred()) SWIG_fail
;
11883 resultobj
= SWIG_From_int((int)(result
));
11891 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11892 PyObject
*resultobj
;
11893 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11896 PyObject
* obj0
= 0 ;
11897 PyObject
* obj1
= 0 ;
11898 char *kwnames
[] = {
11899 (char *) "self",(char *) "item", NULL
11902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
11903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11904 if (SWIG_arg_fail(1)) SWIG_fail
;
11906 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11907 if (SWIG_arg_fail(2)) SWIG_fail
;
11910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11911 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
11913 wxPyEndAllowThreads(__tstate
);
11914 if (PyErr_Occurred()) SWIG_fail
;
11917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11925 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11926 PyObject
*resultobj
;
11927 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11930 PyObject
* obj0
= 0 ;
11931 PyObject
* obj1
= 0 ;
11932 char *kwnames
[] = {
11933 (char *) "self",(char *) "item", NULL
11936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
11937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11938 if (SWIG_arg_fail(1)) SWIG_fail
;
11940 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11941 if (SWIG_arg_fail(2)) SWIG_fail
;
11944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11945 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
11947 wxPyEndAllowThreads(__tstate
);
11948 if (PyErr_Occurred()) SWIG_fail
;
11951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11959 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11960 PyObject
*resultobj
;
11961 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11963 PyObject
* obj0
= 0 ;
11964 char *kwnames
[] = {
11965 (char *) "self", NULL
11968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
11969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11970 if (SWIG_arg_fail(1)) SWIG_fail
;
11972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11973 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
11975 wxPyEndAllowThreads(__tstate
);
11976 if (PyErr_Occurred()) SWIG_fail
;
11979 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11987 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11988 PyObject
*resultobj
;
11989 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11991 PyObject
* obj0
= 0 ;
11992 char *kwnames
[] = {
11993 (char *) "self", NULL
11996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
11997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11998 if (SWIG_arg_fail(1)) SWIG_fail
;
12000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12001 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
12003 wxPyEndAllowThreads(__tstate
);
12004 if (PyErr_Occurred()) SWIG_fail
;
12006 resultobj
= result
;
12013 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12014 PyObject
*resultobj
;
12015 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12016 unsigned long arg2
;
12018 PyObject
* obj0
= 0 ;
12019 PyObject
* obj1
= 0 ;
12020 char *kwnames
[] = {
12021 (char *) "self",(char *) "cookie", NULL
12024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
12025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12026 if (SWIG_arg_fail(1)) SWIG_fail
;
12028 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
12029 if (SWIG_arg_fail(2)) SWIG_fail
;
12032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12033 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
12035 wxPyEndAllowThreads(__tstate
);
12036 if (PyErr_Occurred()) SWIG_fail
;
12038 resultobj
= result
;
12045 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12046 PyObject
*resultobj
;
12047 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12049 PyObject
* obj0
= 0 ;
12050 char *kwnames
[] = {
12051 (char *) "self", NULL
12054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
12055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12056 if (SWIG_arg_fail(1)) SWIG_fail
;
12058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12059 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
12061 wxPyEndAllowThreads(__tstate
);
12062 if (PyErr_Occurred()) SWIG_fail
;
12065 wxPoint
* resultptr
;
12066 resultptr
= new wxPoint((wxPoint
&)(result
));
12067 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
12075 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12076 PyObject
*resultobj
;
12077 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12079 PyObject
* obj0
= 0 ;
12080 char *kwnames
[] = {
12081 (char *) "self", NULL
12084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
12085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12086 if (SWIG_arg_fail(1)) SWIG_fail
;
12088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12090 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
12091 result
= (wxColour
*) &_result_ref
;
12094 wxPyEndAllowThreads(__tstate
);
12095 if (PyErr_Occurred()) SWIG_fail
;
12097 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
12104 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12105 PyObject
*resultobj
;
12106 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12108 PyObject
* obj0
= 0 ;
12109 PyObject
* obj1
= 0 ;
12110 char *kwnames
[] = {
12111 (char *) "self",(char *) "count", NULL
12114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
12115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12116 if (SWIG_arg_fail(1)) SWIG_fail
;
12118 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12119 if (SWIG_arg_fail(2)) SWIG_fail
;
12122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12123 (arg1
)->SetItemCount(arg2
);
12125 wxPyEndAllowThreads(__tstate
);
12126 if (PyErr_Occurred()) SWIG_fail
;
12128 Py_INCREF(Py_None
); resultobj
= Py_None
;
12135 static PyObject
*_wrap_VListBox_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12136 PyObject
*resultobj
;
12137 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12138 PyObject
* obj0
= 0 ;
12139 char *kwnames
[] = {
12140 (char *) "self", NULL
12143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
12144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12145 if (SWIG_arg_fail(1)) SWIG_fail
;
12147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12150 wxPyEndAllowThreads(__tstate
);
12151 if (PyErr_Occurred()) SWIG_fail
;
12153 Py_INCREF(Py_None
); resultobj
= Py_None
;
12160 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12161 PyObject
*resultobj
;
12162 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12164 PyObject
* obj0
= 0 ;
12165 PyObject
* obj1
= 0 ;
12166 char *kwnames
[] = {
12167 (char *) "self",(char *) "selection", NULL
12170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12172 if (SWIG_arg_fail(1)) SWIG_fail
;
12174 arg2
= (int)(SWIG_As_int(obj1
));
12175 if (SWIG_arg_fail(2)) SWIG_fail
;
12178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12179 (arg1
)->SetSelection(arg2
);
12181 wxPyEndAllowThreads(__tstate
);
12182 if (PyErr_Occurred()) SWIG_fail
;
12184 Py_INCREF(Py_None
); resultobj
= Py_None
;
12191 static PyObject
*_wrap_VListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12192 PyObject
*resultobj
;
12193 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12195 bool arg3
= (bool) true ;
12197 PyObject
* obj0
= 0 ;
12198 PyObject
* obj1
= 0 ;
12199 PyObject
* obj2
= 0 ;
12200 char *kwnames
[] = {
12201 (char *) "self",(char *) "item",(char *) "select", NULL
12204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12206 if (SWIG_arg_fail(1)) SWIG_fail
;
12208 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12209 if (SWIG_arg_fail(2)) SWIG_fail
;
12213 arg3
= (bool)(SWIG_As_bool(obj2
));
12214 if (SWIG_arg_fail(3)) SWIG_fail
;
12218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12219 result
= (bool)(arg1
)->Select(arg2
,arg3
);
12221 wxPyEndAllowThreads(__tstate
);
12222 if (PyErr_Occurred()) SWIG_fail
;
12225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12233 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12234 PyObject
*resultobj
;
12235 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12239 PyObject
* obj0
= 0 ;
12240 PyObject
* obj1
= 0 ;
12241 PyObject
* obj2
= 0 ;
12242 char *kwnames
[] = {
12243 (char *) "self",(char *) "from",(char *) "to", NULL
12246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12248 if (SWIG_arg_fail(1)) SWIG_fail
;
12250 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12251 if (SWIG_arg_fail(2)) SWIG_fail
;
12254 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
12255 if (SWIG_arg_fail(3)) SWIG_fail
;
12258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12259 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
12261 wxPyEndAllowThreads(__tstate
);
12262 if (PyErr_Occurred()) SWIG_fail
;
12265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12273 static PyObject
*_wrap_VListBox_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12274 PyObject
*resultobj
;
12275 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12277 PyObject
* obj0
= 0 ;
12278 PyObject
* obj1
= 0 ;
12279 char *kwnames
[] = {
12280 (char *) "self",(char *) "item", NULL
12283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
12284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12285 if (SWIG_arg_fail(1)) SWIG_fail
;
12287 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12288 if (SWIG_arg_fail(2)) SWIG_fail
;
12291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12292 (arg1
)->Toggle(arg2
);
12294 wxPyEndAllowThreads(__tstate
);
12295 if (PyErr_Occurred()) SWIG_fail
;
12297 Py_INCREF(Py_None
); resultobj
= Py_None
;
12304 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12305 PyObject
*resultobj
;
12306 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12308 PyObject
* obj0
= 0 ;
12309 char *kwnames
[] = {
12310 (char *) "self", NULL
12313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
12314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12315 if (SWIG_arg_fail(1)) SWIG_fail
;
12317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12318 result
= (bool)(arg1
)->SelectAll();
12320 wxPyEndAllowThreads(__tstate
);
12321 if (PyErr_Occurred()) SWIG_fail
;
12324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12332 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12333 PyObject
*resultobj
;
12334 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12336 PyObject
* obj0
= 0 ;
12337 char *kwnames
[] = {
12338 (char *) "self", NULL
12341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
12342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12343 if (SWIG_arg_fail(1)) SWIG_fail
;
12345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12346 result
= (bool)(arg1
)->DeselectAll();
12348 wxPyEndAllowThreads(__tstate
);
12349 if (PyErr_Occurred()) SWIG_fail
;
12352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12360 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12361 PyObject
*resultobj
;
12362 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12363 wxPoint
*arg2
= 0 ;
12365 PyObject
* obj0
= 0 ;
12366 PyObject
* obj1
= 0 ;
12367 char *kwnames
[] = {
12368 (char *) "self",(char *) "pt", NULL
12371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
12372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12373 if (SWIG_arg_fail(1)) SWIG_fail
;
12376 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12380 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
12382 wxPyEndAllowThreads(__tstate
);
12383 if (PyErr_Occurred()) SWIG_fail
;
12385 Py_INCREF(Py_None
); resultobj
= Py_None
;
12392 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12393 PyObject
*resultobj
;
12394 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12397 PyObject
* obj0
= 0 ;
12398 PyObject
* obj1
= 0 ;
12399 PyObject
* obj2
= 0 ;
12400 char *kwnames
[] = {
12401 (char *) "self",(char *) "x",(char *) "y", NULL
12404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12406 if (SWIG_arg_fail(1)) SWIG_fail
;
12408 arg2
= (int)(SWIG_As_int(obj1
));
12409 if (SWIG_arg_fail(2)) SWIG_fail
;
12412 arg3
= (int)(SWIG_As_int(obj2
));
12413 if (SWIG_arg_fail(3)) SWIG_fail
;
12416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12417 (arg1
)->SetMargins(arg2
,arg3
);
12419 wxPyEndAllowThreads(__tstate
);
12420 if (PyErr_Occurred()) SWIG_fail
;
12422 Py_INCREF(Py_None
); resultobj
= Py_None
;
12429 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12430 PyObject
*resultobj
;
12431 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12432 wxColour
*arg2
= 0 ;
12434 PyObject
* obj0
= 0 ;
12435 PyObject
* obj1
= 0 ;
12436 char *kwnames
[] = {
12437 (char *) "self",(char *) "col", NULL
12440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
12441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12442 if (SWIG_arg_fail(1)) SWIG_fail
;
12445 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12449 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
12451 wxPyEndAllowThreads(__tstate
);
12452 if (PyErr_Occurred()) SWIG_fail
;
12454 Py_INCREF(Py_None
); resultobj
= Py_None
;
12461 static PyObject
* VListBox_swigregister(PyObject
*, PyObject
*args
) {
12463 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12464 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
12466 return Py_BuildValue((char *)"");
12468 static PyObject
*_wrap_new_HtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12469 PyObject
*resultobj
;
12470 wxWindow
*arg1
= (wxWindow
*) 0 ;
12471 int arg2
= (int) wxID_ANY
;
12472 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12473 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12474 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12475 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12476 long arg5
= (long) 0 ;
12477 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
12478 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12479 wxPyHtmlListBox
*result
;
12482 bool temp6
= false ;
12483 PyObject
* obj0
= 0 ;
12484 PyObject
* obj1
= 0 ;
12485 PyObject
* obj2
= 0 ;
12486 PyObject
* obj3
= 0 ;
12487 PyObject
* obj4
= 0 ;
12488 PyObject
* obj5
= 0 ;
12489 char *kwnames
[] = {
12490 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12495 if (SWIG_arg_fail(1)) SWIG_fail
;
12498 arg2
= (int)(SWIG_As_int(obj1
));
12499 if (SWIG_arg_fail(2)) SWIG_fail
;
12505 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12511 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12516 arg5
= (long)(SWIG_As_long(obj4
));
12517 if (SWIG_arg_fail(5)) SWIG_fail
;
12522 arg6
= wxString_in_helper(obj5
);
12523 if (arg6
== NULL
) SWIG_fail
;
12528 if (!wxPyCheckForApp()) SWIG_fail
;
12529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12530 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12532 wxPyEndAllowThreads(__tstate
);
12533 if (PyErr_Occurred()) SWIG_fail
;
12535 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
12550 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12551 PyObject
*resultobj
;
12552 wxPyHtmlListBox
*result
;
12553 char *kwnames
[] = {
12557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
12559 if (!wxPyCheckForApp()) SWIG_fail
;
12560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12561 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
12563 wxPyEndAllowThreads(__tstate
);
12564 if (PyErr_Occurred()) SWIG_fail
;
12566 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
12573 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12574 PyObject
*resultobj
;
12575 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12576 PyObject
*arg2
= (PyObject
*) 0 ;
12577 PyObject
*arg3
= (PyObject
*) 0 ;
12578 PyObject
* obj0
= 0 ;
12579 PyObject
* obj1
= 0 ;
12580 PyObject
* obj2
= 0 ;
12581 char *kwnames
[] = {
12582 (char *) "self",(char *) "self",(char *) "_class", NULL
12585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12587 if (SWIG_arg_fail(1)) SWIG_fail
;
12591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12592 (arg1
)->_setCallbackInfo(arg2
,arg3
);
12594 wxPyEndAllowThreads(__tstate
);
12595 if (PyErr_Occurred()) SWIG_fail
;
12597 Py_INCREF(Py_None
); resultobj
= Py_None
;
12604 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12605 PyObject
*resultobj
;
12606 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12607 wxWindow
*arg2
= (wxWindow
*) 0 ;
12608 int arg3
= (int) wxID_ANY
;
12609 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12610 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12611 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12612 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12613 long arg6
= (long) 0 ;
12614 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
12615 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12619 bool temp7
= false ;
12620 PyObject
* obj0
= 0 ;
12621 PyObject
* obj1
= 0 ;
12622 PyObject
* obj2
= 0 ;
12623 PyObject
* obj3
= 0 ;
12624 PyObject
* obj4
= 0 ;
12625 PyObject
* obj5
= 0 ;
12626 PyObject
* obj6
= 0 ;
12627 char *kwnames
[] = {
12628 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12633 if (SWIG_arg_fail(1)) SWIG_fail
;
12634 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12635 if (SWIG_arg_fail(2)) SWIG_fail
;
12638 arg3
= (int)(SWIG_As_int(obj2
));
12639 if (SWIG_arg_fail(3)) SWIG_fail
;
12645 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12651 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12656 arg6
= (long)(SWIG_As_long(obj5
));
12657 if (SWIG_arg_fail(6)) SWIG_fail
;
12662 arg7
= wxString_in_helper(obj6
);
12663 if (arg7
== NULL
) SWIG_fail
;
12668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12669 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12671 wxPyEndAllowThreads(__tstate
);
12672 if (PyErr_Occurred()) SWIG_fail
;
12675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12691 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12692 PyObject
*resultobj
;
12693 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12694 PyObject
* obj0
= 0 ;
12695 char *kwnames
[] = {
12696 (char *) "self", NULL
12699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
12700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12701 if (SWIG_arg_fail(1)) SWIG_fail
;
12703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12704 (arg1
)->RefreshAll();
12706 wxPyEndAllowThreads(__tstate
);
12707 if (PyErr_Occurred()) SWIG_fail
;
12709 Py_INCREF(Py_None
); resultobj
= Py_None
;
12716 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12717 PyObject
*resultobj
;
12718 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12720 PyObject
* obj0
= 0 ;
12721 PyObject
* obj1
= 0 ;
12722 char *kwnames
[] = {
12723 (char *) "self",(char *) "count", NULL
12726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
12727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12728 if (SWIG_arg_fail(1)) SWIG_fail
;
12730 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12731 if (SWIG_arg_fail(2)) SWIG_fail
;
12734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12735 (arg1
)->SetItemCount(arg2
);
12737 wxPyEndAllowThreads(__tstate
);
12738 if (PyErr_Occurred()) SWIG_fail
;
12740 Py_INCREF(Py_None
); resultobj
= Py_None
;
12747 static PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12748 PyObject
*resultobj
;
12749 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12750 wxFileSystem
*result
;
12751 PyObject
* obj0
= 0 ;
12752 char *kwnames
[] = {
12753 (char *) "self", NULL
12756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_GetFileSystem",kwnames
,&obj0
)) goto fail
;
12757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12758 if (SWIG_arg_fail(1)) SWIG_fail
;
12760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12762 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
12763 result
= (wxFileSystem
*) &_result_ref
;
12766 wxPyEndAllowThreads(__tstate
);
12767 if (PyErr_Occurred()) SWIG_fail
;
12769 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileSystem
, 0);
12776 static PyObject
* HtmlListBox_swigregister(PyObject
*, PyObject
*args
) {
12778 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12779 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
12781 return Py_BuildValue((char *)"");
12783 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12784 PyObject
*resultobj
;
12785 wxPyTaskBarIcon
*result
;
12786 char *kwnames
[] = {
12790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
12792 if (!wxPyCheckForApp()) SWIG_fail
;
12793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12794 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
12796 wxPyEndAllowThreads(__tstate
);
12797 if (PyErr_Occurred()) SWIG_fail
;
12799 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTaskBarIcon
, 1);
12806 static PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12807 PyObject
*resultobj
;
12808 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12809 PyObject
*arg2
= (PyObject
*) 0 ;
12810 PyObject
*arg3
= (PyObject
*) 0 ;
12812 PyObject
* obj0
= 0 ;
12813 PyObject
* obj1
= 0 ;
12814 PyObject
* obj2
= 0 ;
12815 PyObject
* obj3
= 0 ;
12816 char *kwnames
[] = {
12817 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
12820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12822 if (SWIG_arg_fail(1)) SWIG_fail
;
12826 arg4
= (int)(SWIG_As_int(obj3
));
12827 if (SWIG_arg_fail(4)) SWIG_fail
;
12830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12831 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
12833 wxPyEndAllowThreads(__tstate
);
12834 if (PyErr_Occurred()) SWIG_fail
;
12836 Py_INCREF(Py_None
); resultobj
= Py_None
;
12843 static PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12844 PyObject
*resultobj
;
12845 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12846 PyObject
* obj0
= 0 ;
12847 char *kwnames
[] = {
12848 (char *) "self", NULL
12851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_Destroy",kwnames
,&obj0
)) goto fail
;
12852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12853 if (SWIG_arg_fail(1)) SWIG_fail
;
12855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12856 wxPyTaskBarIcon_Destroy(arg1
);
12858 wxPyEndAllowThreads(__tstate
);
12859 if (PyErr_Occurred()) SWIG_fail
;
12861 Py_INCREF(Py_None
); resultobj
= Py_None
;
12868 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12869 PyObject
*resultobj
;
12870 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12872 PyObject
* obj0
= 0 ;
12873 char *kwnames
[] = {
12874 (char *) "self", NULL
12877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
12878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12879 if (SWIG_arg_fail(1)) SWIG_fail
;
12881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12882 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
12884 wxPyEndAllowThreads(__tstate
);
12885 if (PyErr_Occurred()) SWIG_fail
;
12888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12896 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12897 PyObject
*resultobj
;
12898 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12900 PyObject
* obj0
= 0 ;
12901 char *kwnames
[] = {
12902 (char *) "self", NULL
12905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
12906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12907 if (SWIG_arg_fail(1)) SWIG_fail
;
12909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12910 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
12912 wxPyEndAllowThreads(__tstate
);
12913 if (PyErr_Occurred()) SWIG_fail
;
12916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12924 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12925 PyObject
*resultobj
;
12926 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12928 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12929 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12931 bool temp3
= false ;
12932 PyObject
* obj0
= 0 ;
12933 PyObject
* obj1
= 0 ;
12934 PyObject
* obj2
= 0 ;
12935 char *kwnames
[] = {
12936 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
12939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12941 if (SWIG_arg_fail(1)) SWIG_fail
;
12943 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
12944 if (SWIG_arg_fail(2)) SWIG_fail
;
12945 if (arg2
== NULL
) {
12946 SWIG_null_ref("wxIcon");
12948 if (SWIG_arg_fail(2)) SWIG_fail
;
12952 arg3
= wxString_in_helper(obj2
);
12953 if (arg3
== NULL
) SWIG_fail
;
12958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12959 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
12961 wxPyEndAllowThreads(__tstate
);
12962 if (PyErr_Occurred()) SWIG_fail
;
12965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12981 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12982 PyObject
*resultobj
;
12983 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12985 PyObject
* obj0
= 0 ;
12986 char *kwnames
[] = {
12987 (char *) "self", NULL
12990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
12991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12992 if (SWIG_arg_fail(1)) SWIG_fail
;
12994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12995 result
= (bool)(arg1
)->RemoveIcon();
12997 wxPyEndAllowThreads(__tstate
);
12998 if (PyErr_Occurred()) SWIG_fail
;
13001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13009 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13010 PyObject
*resultobj
;
13011 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13012 wxMenu
*arg2
= (wxMenu
*) 0 ;
13014 PyObject
* obj0
= 0 ;
13015 PyObject
* obj1
= 0 ;
13016 char *kwnames
[] = {
13017 (char *) "self",(char *) "menu", NULL
13020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
13021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13022 if (SWIG_arg_fail(1)) SWIG_fail
;
13023 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
13024 if (SWIG_arg_fail(2)) SWIG_fail
;
13026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13027 result
= (bool)(arg1
)->PopupMenu(arg2
);
13029 wxPyEndAllowThreads(__tstate
);
13030 if (PyErr_Occurred()) SWIG_fail
;
13033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13041 static PyObject
* TaskBarIcon_swigregister(PyObject
*, PyObject
*args
) {
13043 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13044 SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon
, obj
);
13046 return Py_BuildValue((char *)"");
13048 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13049 PyObject
*resultobj
;
13051 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
13052 wxTaskBarIconEvent
*result
;
13053 PyObject
* obj0
= 0 ;
13054 PyObject
* obj1
= 0 ;
13055 char *kwnames
[] = {
13056 (char *) "evtType",(char *) "tbIcon", NULL
13059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13061 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
13062 if (SWIG_arg_fail(1)) SWIG_fail
;
13064 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13065 if (SWIG_arg_fail(2)) SWIG_fail
;
13067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13068 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
13070 wxPyEndAllowThreads(__tstate
);
13071 if (PyErr_Occurred()) SWIG_fail
;
13073 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
13080 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*, PyObject
*args
) {
13082 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13083 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
13085 return Py_BuildValue((char *)"");
13087 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
13088 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
13093 static PyObject
*_wrap_FileSelectorPromptStr_get(void) {
13098 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
13100 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
13107 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
13108 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
13113 static PyObject
*_wrap_DirSelectorPromptStr_get(void) {
13118 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
13120 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
13127 static int _wrap_DirDialogNameStr_set(PyObject
*) {
13128 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
13133 static PyObject
*_wrap_DirDialogNameStr_get(void) {
13138 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
13140 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
13147 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
13148 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
13153 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get(void) {
13158 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
13160 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
13167 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*) {
13168 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
13173 static PyObject
*_wrap_GetTextFromUserPromptStr_get(void) {
13178 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
13180 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
13187 static int _wrap_MessageBoxCaptionStr_set(PyObject
*) {
13188 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
13193 static PyObject
*_wrap_MessageBoxCaptionStr_get(void) {
13198 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
13200 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
13207 static PyObject
*_wrap_new_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13208 PyObject
*resultobj
;
13209 wxColourData
*result
;
13210 char *kwnames
[] = {
13214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
13216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13217 result
= (wxColourData
*)new wxColourData();
13219 wxPyEndAllowThreads(__tstate
);
13220 if (PyErr_Occurred()) SWIG_fail
;
13222 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
13229 static PyObject
*_wrap_delete_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13230 PyObject
*resultobj
;
13231 wxColourData
*arg1
= (wxColourData
*) 0 ;
13232 PyObject
* obj0
= 0 ;
13233 char *kwnames
[] = {
13234 (char *) "self", NULL
13237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
13238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13239 if (SWIG_arg_fail(1)) SWIG_fail
;
13241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13244 wxPyEndAllowThreads(__tstate
);
13245 if (PyErr_Occurred()) SWIG_fail
;
13247 Py_INCREF(Py_None
); resultobj
= Py_None
;
13254 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13255 PyObject
*resultobj
;
13256 wxColourData
*arg1
= (wxColourData
*) 0 ;
13258 PyObject
* obj0
= 0 ;
13259 char *kwnames
[] = {
13260 (char *) "self", NULL
13263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
13264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13265 if (SWIG_arg_fail(1)) SWIG_fail
;
13267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13268 result
= (bool)(arg1
)->GetChooseFull();
13270 wxPyEndAllowThreads(__tstate
);
13271 if (PyErr_Occurred()) SWIG_fail
;
13274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13282 static PyObject
*_wrap_ColourData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13283 PyObject
*resultobj
;
13284 wxColourData
*arg1
= (wxColourData
*) 0 ;
13286 PyObject
* obj0
= 0 ;
13287 char *kwnames
[] = {
13288 (char *) "self", NULL
13291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
13292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13293 if (SWIG_arg_fail(1)) SWIG_fail
;
13295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13296 result
= (arg1
)->GetColour();
13298 wxPyEndAllowThreads(__tstate
);
13299 if (PyErr_Occurred()) SWIG_fail
;
13302 wxColour
* resultptr
;
13303 resultptr
= new wxColour((wxColour
&)(result
));
13304 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13312 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13313 PyObject
*resultobj
;
13314 wxColourData
*arg1
= (wxColourData
*) 0 ;
13317 PyObject
* obj0
= 0 ;
13318 PyObject
* obj1
= 0 ;
13319 char *kwnames
[] = {
13320 (char *) "self",(char *) "i", NULL
13323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13325 if (SWIG_arg_fail(1)) SWIG_fail
;
13327 arg2
= (int)(SWIG_As_int(obj1
));
13328 if (SWIG_arg_fail(2)) SWIG_fail
;
13331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13332 result
= (arg1
)->GetCustomColour(arg2
);
13334 wxPyEndAllowThreads(__tstate
);
13335 if (PyErr_Occurred()) SWIG_fail
;
13338 wxColour
* resultptr
;
13339 resultptr
= new wxColour((wxColour
&)(result
));
13340 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13348 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13349 PyObject
*resultobj
;
13350 wxColourData
*arg1
= (wxColourData
*) 0 ;
13352 PyObject
* obj0
= 0 ;
13353 PyObject
* obj1
= 0 ;
13354 char *kwnames
[] = {
13355 (char *) "self",(char *) "flag", NULL
13358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
13359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13360 if (SWIG_arg_fail(1)) SWIG_fail
;
13362 arg2
= (int)(SWIG_As_int(obj1
));
13363 if (SWIG_arg_fail(2)) SWIG_fail
;
13366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13367 (arg1
)->SetChooseFull(arg2
);
13369 wxPyEndAllowThreads(__tstate
);
13370 if (PyErr_Occurred()) SWIG_fail
;
13372 Py_INCREF(Py_None
); resultobj
= Py_None
;
13379 static PyObject
*_wrap_ColourData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13380 PyObject
*resultobj
;
13381 wxColourData
*arg1
= (wxColourData
*) 0 ;
13382 wxColour
*arg2
= 0 ;
13384 PyObject
* obj0
= 0 ;
13385 PyObject
* obj1
= 0 ;
13386 char *kwnames
[] = {
13387 (char *) "self",(char *) "colour", NULL
13390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13392 if (SWIG_arg_fail(1)) SWIG_fail
;
13395 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13399 (arg1
)->SetColour((wxColour
const &)*arg2
);
13401 wxPyEndAllowThreads(__tstate
);
13402 if (PyErr_Occurred()) SWIG_fail
;
13404 Py_INCREF(Py_None
); resultobj
= Py_None
;
13411 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13412 PyObject
*resultobj
;
13413 wxColourData
*arg1
= (wxColourData
*) 0 ;
13415 wxColour
*arg3
= 0 ;
13417 PyObject
* obj0
= 0 ;
13418 PyObject
* obj1
= 0 ;
13419 PyObject
* obj2
= 0 ;
13420 char *kwnames
[] = {
13421 (char *) "self",(char *) "i",(char *) "colour", NULL
13424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13426 if (SWIG_arg_fail(1)) SWIG_fail
;
13428 arg2
= (int)(SWIG_As_int(obj1
));
13429 if (SWIG_arg_fail(2)) SWIG_fail
;
13433 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
13436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13437 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
13439 wxPyEndAllowThreads(__tstate
);
13440 if (PyErr_Occurred()) SWIG_fail
;
13442 Py_INCREF(Py_None
); resultobj
= Py_None
;
13449 static PyObject
* ColourData_swigregister(PyObject
*, PyObject
*args
) {
13451 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13452 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
13454 return Py_BuildValue((char *)"");
13456 static PyObject
*_wrap_new_ColourDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13457 PyObject
*resultobj
;
13458 wxWindow
*arg1
= (wxWindow
*) 0 ;
13459 wxColourData
*arg2
= (wxColourData
*) NULL
;
13460 wxColourDialog
*result
;
13461 PyObject
* obj0
= 0 ;
13462 PyObject
* obj1
= 0 ;
13463 char *kwnames
[] = {
13464 (char *) "parent",(char *) "data", NULL
13467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
13468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13469 if (SWIG_arg_fail(1)) SWIG_fail
;
13471 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13472 if (SWIG_arg_fail(2)) SWIG_fail
;
13475 if (!wxPyCheckForApp()) SWIG_fail
;
13476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13477 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
13479 wxPyEndAllowThreads(__tstate
);
13480 if (PyErr_Occurred()) SWIG_fail
;
13482 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
13489 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13490 PyObject
*resultobj
;
13491 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
13492 wxColourData
*result
;
13493 PyObject
* obj0
= 0 ;
13494 char *kwnames
[] = {
13495 (char *) "self", NULL
13498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
13499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_EXCEPTION
| 0);
13500 if (SWIG_arg_fail(1)) SWIG_fail
;
13502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13504 wxColourData
&_result_ref
= (arg1
)->GetColourData();
13505 result
= (wxColourData
*) &_result_ref
;
13508 wxPyEndAllowThreads(__tstate
);
13509 if (PyErr_Occurred()) SWIG_fail
;
13511 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
13518 static PyObject
* ColourDialog_swigregister(PyObject
*, PyObject
*args
) {
13520 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13521 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
13523 return Py_BuildValue((char *)"");
13525 static PyObject
*_wrap_new_DirDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13526 PyObject
*resultobj
;
13527 wxWindow
*arg1
= (wxWindow
*) 0 ;
13528 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
13529 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13530 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13531 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13532 long arg4
= (long) 0 ;
13533 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13534 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13535 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13536 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13537 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
13538 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13539 wxDirDialog
*result
;
13540 bool temp2
= false ;
13541 bool temp3
= false ;
13544 bool temp7
= false ;
13545 PyObject
* obj0
= 0 ;
13546 PyObject
* obj1
= 0 ;
13547 PyObject
* obj2
= 0 ;
13548 PyObject
* obj3
= 0 ;
13549 PyObject
* obj4
= 0 ;
13550 PyObject
* obj5
= 0 ;
13551 PyObject
* obj6
= 0 ;
13552 char *kwnames
[] = {
13553 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
13556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13558 if (SWIG_arg_fail(1)) SWIG_fail
;
13561 arg2
= wxString_in_helper(obj1
);
13562 if (arg2
== NULL
) SWIG_fail
;
13568 arg3
= wxString_in_helper(obj2
);
13569 if (arg3
== NULL
) SWIG_fail
;
13575 arg4
= (long)(SWIG_As_long(obj3
));
13576 if (SWIG_arg_fail(4)) SWIG_fail
;
13582 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13588 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13593 arg7
= wxString_in_helper(obj6
);
13594 if (arg7
== NULL
) SWIG_fail
;
13599 if (!wxPyCheckForApp()) SWIG_fail
;
13600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13601 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
13603 wxPyEndAllowThreads(__tstate
);
13604 if (PyErr_Occurred()) SWIG_fail
;
13606 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
13637 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13638 PyObject
*resultobj
;
13639 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13641 PyObject
* obj0
= 0 ;
13642 char *kwnames
[] = {
13643 (char *) "self", NULL
13646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
13647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13648 if (SWIG_arg_fail(1)) SWIG_fail
;
13650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13651 result
= (arg1
)->GetPath();
13653 wxPyEndAllowThreads(__tstate
);
13654 if (PyErr_Occurred()) SWIG_fail
;
13658 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13660 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13669 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13670 PyObject
*resultobj
;
13671 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13673 PyObject
* obj0
= 0 ;
13674 char *kwnames
[] = {
13675 (char *) "self", NULL
13678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
13679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13680 if (SWIG_arg_fail(1)) SWIG_fail
;
13682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13683 result
= (arg1
)->GetMessage();
13685 wxPyEndAllowThreads(__tstate
);
13686 if (PyErr_Occurred()) SWIG_fail
;
13690 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13692 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13701 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13702 PyObject
*resultobj
;
13703 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13705 PyObject
* obj0
= 0 ;
13706 char *kwnames
[] = {
13707 (char *) "self", NULL
13710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
13711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13712 if (SWIG_arg_fail(1)) SWIG_fail
;
13714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13715 result
= (long)(arg1
)->GetStyle();
13717 wxPyEndAllowThreads(__tstate
);
13718 if (PyErr_Occurred()) SWIG_fail
;
13721 resultobj
= SWIG_From_long((long)(result
));
13729 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13730 PyObject
*resultobj
;
13731 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13732 wxString
*arg2
= 0 ;
13733 bool temp2
= false ;
13734 PyObject
* obj0
= 0 ;
13735 PyObject
* obj1
= 0 ;
13736 char *kwnames
[] = {
13737 (char *) "self",(char *) "message", NULL
13740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
13741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13742 if (SWIG_arg_fail(1)) SWIG_fail
;
13744 arg2
= wxString_in_helper(obj1
);
13745 if (arg2
== NULL
) SWIG_fail
;
13749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13750 (arg1
)->SetMessage((wxString
const &)*arg2
);
13752 wxPyEndAllowThreads(__tstate
);
13753 if (PyErr_Occurred()) SWIG_fail
;
13755 Py_INCREF(Py_None
); resultobj
= Py_None
;
13770 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13771 PyObject
*resultobj
;
13772 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13773 wxString
*arg2
= 0 ;
13774 bool temp2
= false ;
13775 PyObject
* obj0
= 0 ;
13776 PyObject
* obj1
= 0 ;
13777 char *kwnames
[] = {
13778 (char *) "self",(char *) "path", NULL
13781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
13782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13783 if (SWIG_arg_fail(1)) SWIG_fail
;
13785 arg2
= wxString_in_helper(obj1
);
13786 if (arg2
== NULL
) SWIG_fail
;
13790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13791 (arg1
)->SetPath((wxString
const &)*arg2
);
13793 wxPyEndAllowThreads(__tstate
);
13794 if (PyErr_Occurred()) SWIG_fail
;
13796 Py_INCREF(Py_None
); resultobj
= Py_None
;
13811 static PyObject
* DirDialog_swigregister(PyObject
*, PyObject
*args
) {
13813 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13814 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
13816 return Py_BuildValue((char *)"");
13818 static PyObject
*_wrap_new_FileDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13819 PyObject
*resultobj
;
13820 wxWindow
*arg1
= (wxWindow
*) 0 ;
13821 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
13822 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13823 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13824 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13825 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13826 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13827 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
13828 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
13829 long arg6
= (long) 0 ;
13830 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
13831 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
13832 wxFileDialog
*result
;
13833 bool temp2
= false ;
13834 bool temp3
= false ;
13835 bool temp4
= false ;
13836 bool temp5
= false ;
13838 PyObject
* obj0
= 0 ;
13839 PyObject
* obj1
= 0 ;
13840 PyObject
* obj2
= 0 ;
13841 PyObject
* obj3
= 0 ;
13842 PyObject
* obj4
= 0 ;
13843 PyObject
* obj5
= 0 ;
13844 PyObject
* obj6
= 0 ;
13845 char *kwnames
[] = {
13846 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
13849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13851 if (SWIG_arg_fail(1)) SWIG_fail
;
13854 arg2
= wxString_in_helper(obj1
);
13855 if (arg2
== NULL
) SWIG_fail
;
13861 arg3
= wxString_in_helper(obj2
);
13862 if (arg3
== NULL
) SWIG_fail
;
13868 arg4
= wxString_in_helper(obj3
);
13869 if (arg4
== NULL
) SWIG_fail
;
13875 arg5
= wxString_in_helper(obj4
);
13876 if (arg5
== NULL
) SWIG_fail
;
13882 arg6
= (long)(SWIG_As_long(obj5
));
13883 if (SWIG_arg_fail(6)) SWIG_fail
;
13889 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
13893 if (!wxPyCheckForApp()) SWIG_fail
;
13894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13895 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
13897 wxPyEndAllowThreads(__tstate
);
13898 if (PyErr_Occurred()) SWIG_fail
;
13900 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
13939 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13940 PyObject
*resultobj
;
13941 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
13942 wxString
*arg2
= 0 ;
13943 bool temp2
= false ;
13944 PyObject
* obj0
= 0 ;
13945 PyObject
* obj1
= 0 ;
13946 char *kwnames
[] = {
13947 (char *) "self",(char *) "message", NULL
13950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
13951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
13952 if (SWIG_arg_fail(1)) SWIG_fail
;
13954 arg2
= wxString_in_helper(obj1
);
13955 if (arg2
== NULL
) SWIG_fail
;
13959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13960 (arg1
)->SetMessage((wxString
const &)*arg2
);
13962 wxPyEndAllowThreads(__tstate
);
13963 if (PyErr_Occurred()) SWIG_fail
;
13965 Py_INCREF(Py_None
); resultobj
= Py_None
;
13980 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13981 PyObject
*resultobj
;
13982 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
13983 wxString
*arg2
= 0 ;
13984 bool temp2
= false ;
13985 PyObject
* obj0
= 0 ;
13986 PyObject
* obj1
= 0 ;
13987 char *kwnames
[] = {
13988 (char *) "self",(char *) "path", NULL
13991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
13992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
13993 if (SWIG_arg_fail(1)) SWIG_fail
;
13995 arg2
= wxString_in_helper(obj1
);
13996 if (arg2
== NULL
) SWIG_fail
;
14000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14001 (arg1
)->SetPath((wxString
const &)*arg2
);
14003 wxPyEndAllowThreads(__tstate
);
14004 if (PyErr_Occurred()) SWIG_fail
;
14006 Py_INCREF(Py_None
); resultobj
= Py_None
;
14021 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14022 PyObject
*resultobj
;
14023 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14024 wxString
*arg2
= 0 ;
14025 bool temp2
= false ;
14026 PyObject
* obj0
= 0 ;
14027 PyObject
* obj1
= 0 ;
14028 char *kwnames
[] = {
14029 (char *) "self",(char *) "dir", NULL
14032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
14033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14034 if (SWIG_arg_fail(1)) SWIG_fail
;
14036 arg2
= wxString_in_helper(obj1
);
14037 if (arg2
== NULL
) SWIG_fail
;
14041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14042 (arg1
)->SetDirectory((wxString
const &)*arg2
);
14044 wxPyEndAllowThreads(__tstate
);
14045 if (PyErr_Occurred()) SWIG_fail
;
14047 Py_INCREF(Py_None
); resultobj
= Py_None
;
14062 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14063 PyObject
*resultobj
;
14064 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14065 wxString
*arg2
= 0 ;
14066 bool temp2
= false ;
14067 PyObject
* obj0
= 0 ;
14068 PyObject
* obj1
= 0 ;
14069 char *kwnames
[] = {
14070 (char *) "self",(char *) "name", NULL
14073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
14074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14075 if (SWIG_arg_fail(1)) SWIG_fail
;
14077 arg2
= wxString_in_helper(obj1
);
14078 if (arg2
== NULL
) SWIG_fail
;
14082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14083 (arg1
)->SetFilename((wxString
const &)*arg2
);
14085 wxPyEndAllowThreads(__tstate
);
14086 if (PyErr_Occurred()) SWIG_fail
;
14088 Py_INCREF(Py_None
); resultobj
= Py_None
;
14103 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14104 PyObject
*resultobj
;
14105 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14106 wxString
*arg2
= 0 ;
14107 bool temp2
= false ;
14108 PyObject
* obj0
= 0 ;
14109 PyObject
* obj1
= 0 ;
14110 char *kwnames
[] = {
14111 (char *) "self",(char *) "wildCard", NULL
14114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
14115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14116 if (SWIG_arg_fail(1)) SWIG_fail
;
14118 arg2
= wxString_in_helper(obj1
);
14119 if (arg2
== NULL
) SWIG_fail
;
14123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14124 (arg1
)->SetWildcard((wxString
const &)*arg2
);
14126 wxPyEndAllowThreads(__tstate
);
14127 if (PyErr_Occurred()) SWIG_fail
;
14129 Py_INCREF(Py_None
); resultobj
= Py_None
;
14144 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14145 PyObject
*resultobj
;
14146 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14148 PyObject
* obj0
= 0 ;
14149 PyObject
* obj1
= 0 ;
14150 char *kwnames
[] = {
14151 (char *) "self",(char *) "style", NULL
14154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
14155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14156 if (SWIG_arg_fail(1)) SWIG_fail
;
14158 arg2
= (long)(SWIG_As_long(obj1
));
14159 if (SWIG_arg_fail(2)) SWIG_fail
;
14162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14163 (arg1
)->SetStyle(arg2
);
14165 wxPyEndAllowThreads(__tstate
);
14166 if (PyErr_Occurred()) SWIG_fail
;
14168 Py_INCREF(Py_None
); resultobj
= Py_None
;
14175 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14176 PyObject
*resultobj
;
14177 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14179 PyObject
* obj0
= 0 ;
14180 PyObject
* obj1
= 0 ;
14181 char *kwnames
[] = {
14182 (char *) "self",(char *) "filterIndex", NULL
14185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
14186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14187 if (SWIG_arg_fail(1)) SWIG_fail
;
14189 arg2
= (int)(SWIG_As_int(obj1
));
14190 if (SWIG_arg_fail(2)) SWIG_fail
;
14193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14194 (arg1
)->SetFilterIndex(arg2
);
14196 wxPyEndAllowThreads(__tstate
);
14197 if (PyErr_Occurred()) SWIG_fail
;
14199 Py_INCREF(Py_None
); resultobj
= Py_None
;
14206 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14207 PyObject
*resultobj
;
14208 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14210 PyObject
* obj0
= 0 ;
14211 char *kwnames
[] = {
14212 (char *) "self", NULL
14215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
14216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14217 if (SWIG_arg_fail(1)) SWIG_fail
;
14219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14220 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
14222 wxPyEndAllowThreads(__tstate
);
14223 if (PyErr_Occurred()) SWIG_fail
;
14227 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14229 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14238 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14239 PyObject
*resultobj
;
14240 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14242 PyObject
* obj0
= 0 ;
14243 char *kwnames
[] = {
14244 (char *) "self", NULL
14247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
14248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14249 if (SWIG_arg_fail(1)) SWIG_fail
;
14251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14252 result
= ((wxFileDialog
const *)arg1
)->GetPath();
14254 wxPyEndAllowThreads(__tstate
);
14255 if (PyErr_Occurred()) SWIG_fail
;
14259 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14261 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14270 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14271 PyObject
*resultobj
;
14272 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14274 PyObject
* obj0
= 0 ;
14275 char *kwnames
[] = {
14276 (char *) "self", NULL
14279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
14280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14281 if (SWIG_arg_fail(1)) SWIG_fail
;
14283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14284 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
14286 wxPyEndAllowThreads(__tstate
);
14287 if (PyErr_Occurred()) SWIG_fail
;
14291 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14293 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14302 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14303 PyObject
*resultobj
;
14304 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14306 PyObject
* obj0
= 0 ;
14307 char *kwnames
[] = {
14308 (char *) "self", NULL
14311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
14312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14313 if (SWIG_arg_fail(1)) SWIG_fail
;
14315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14316 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
14318 wxPyEndAllowThreads(__tstate
);
14319 if (PyErr_Occurred()) SWIG_fail
;
14323 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14325 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14334 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14335 PyObject
*resultobj
;
14336 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14338 PyObject
* obj0
= 0 ;
14339 char *kwnames
[] = {
14340 (char *) "self", NULL
14343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
14344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14345 if (SWIG_arg_fail(1)) SWIG_fail
;
14347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14348 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
14350 wxPyEndAllowThreads(__tstate
);
14351 if (PyErr_Occurred()) SWIG_fail
;
14355 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14357 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14366 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14367 PyObject
*resultobj
;
14368 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14370 PyObject
* obj0
= 0 ;
14371 char *kwnames
[] = {
14372 (char *) "self", NULL
14375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
14376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14377 if (SWIG_arg_fail(1)) SWIG_fail
;
14379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14380 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
14382 wxPyEndAllowThreads(__tstate
);
14383 if (PyErr_Occurred()) SWIG_fail
;
14386 resultobj
= SWIG_From_long((long)(result
));
14394 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14395 PyObject
*resultobj
;
14396 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14398 PyObject
* obj0
= 0 ;
14399 char *kwnames
[] = {
14400 (char *) "self", NULL
14403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
14404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14405 if (SWIG_arg_fail(1)) SWIG_fail
;
14407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14408 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
14410 wxPyEndAllowThreads(__tstate
);
14411 if (PyErr_Occurred()) SWIG_fail
;
14414 resultobj
= SWIG_From_int((int)(result
));
14422 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14423 PyObject
*resultobj
;
14424 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14426 PyObject
* obj0
= 0 ;
14427 char *kwnames
[] = {
14428 (char *) "self", NULL
14431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
14432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14433 if (SWIG_arg_fail(1)) SWIG_fail
;
14435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14436 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
14438 wxPyEndAllowThreads(__tstate
);
14439 if (PyErr_Occurred()) SWIG_fail
;
14441 resultobj
= result
;
14448 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14449 PyObject
*resultobj
;
14450 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14452 PyObject
* obj0
= 0 ;
14453 char *kwnames
[] = {
14454 (char *) "self", NULL
14457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
14458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14459 if (SWIG_arg_fail(1)) SWIG_fail
;
14461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14462 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
14464 wxPyEndAllowThreads(__tstate
);
14465 if (PyErr_Occurred()) SWIG_fail
;
14467 resultobj
= result
;
14474 static PyObject
* FileDialog_swigregister(PyObject
*, PyObject
*args
) {
14476 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14477 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
14479 return Py_BuildValue((char *)"");
14481 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14482 PyObject
*resultobj
;
14483 wxWindow
*arg1
= (wxWindow
*) 0 ;
14484 wxString
*arg2
= 0 ;
14485 wxString
*arg3
= 0 ;
14486 int arg4
= (int) 0 ;
14487 wxString
*arg5
= (wxString
*) NULL
;
14488 long arg6
= (long) wxCHOICEDLG_STYLE
;
14489 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14490 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14491 wxMultiChoiceDialog
*result
;
14492 bool temp2
= false ;
14493 bool temp3
= false ;
14495 PyObject
* obj0
= 0 ;
14496 PyObject
* obj1
= 0 ;
14497 PyObject
* obj2
= 0 ;
14498 PyObject
* obj3
= 0 ;
14499 PyObject
* obj4
= 0 ;
14500 PyObject
* obj5
= 0 ;
14501 char *kwnames
[] = {
14502 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14507 if (SWIG_arg_fail(1)) SWIG_fail
;
14509 arg2
= wxString_in_helper(obj1
);
14510 if (arg2
== NULL
) SWIG_fail
;
14514 arg3
= wxString_in_helper(obj2
);
14515 if (arg3
== NULL
) SWIG_fail
;
14520 arg4
= PyList_Size(obj3
);
14521 arg5
= wxString_LIST_helper(obj3
);
14522 if (arg5
== NULL
) SWIG_fail
;
14527 arg6
= (long)(SWIG_As_long(obj4
));
14528 if (SWIG_arg_fail(6)) SWIG_fail
;
14534 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
14538 if (!wxPyCheckForApp()) SWIG_fail
;
14539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14540 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
14542 wxPyEndAllowThreads(__tstate
);
14543 if (PyErr_Occurred()) SWIG_fail
;
14545 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
14555 if (arg5
) delete [] arg5
;
14568 if (arg5
) delete [] arg5
;
14574 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14575 PyObject
*resultobj
;
14576 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
14577 wxArrayInt
*arg2
= 0 ;
14578 bool temp2
= false ;
14579 PyObject
* obj0
= 0 ;
14580 PyObject
* obj1
= 0 ;
14581 char *kwnames
[] = {
14582 (char *) "self",(char *) "selections", NULL
14585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
14586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14587 if (SWIG_arg_fail(1)) SWIG_fail
;
14589 if (! PySequence_Check(obj1
)) {
14590 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
14593 arg2
= new wxArrayInt
;
14595 int i
, len
=PySequence_Length(obj1
);
14596 for (i
=0; i
<len
; i
++) {
14597 PyObject
* item
= PySequence_GetItem(obj1
, i
);
14598 PyObject
* number
= PyNumber_Int(item
);
14599 arg2
->Add(PyInt_AS_LONG(number
));
14605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14606 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
14608 wxPyEndAllowThreads(__tstate
);
14609 if (PyErr_Occurred()) SWIG_fail
;
14611 Py_INCREF(Py_None
); resultobj
= Py_None
;
14613 if (temp2
) delete arg2
;
14618 if (temp2
) delete arg2
;
14624 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14625 PyObject
*resultobj
;
14626 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
14628 PyObject
* obj0
= 0 ;
14629 char *kwnames
[] = {
14630 (char *) "self", NULL
14633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
14634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14635 if (SWIG_arg_fail(1)) SWIG_fail
;
14637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14638 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
14640 wxPyEndAllowThreads(__tstate
);
14641 if (PyErr_Occurred()) SWIG_fail
;
14643 resultobj
= result
;
14650 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
14652 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14653 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
14655 return Py_BuildValue((char *)"");
14657 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14658 PyObject
*resultobj
;
14659 wxWindow
*arg1
= (wxWindow
*) 0 ;
14660 wxString
*arg2
= 0 ;
14661 wxString
*arg3
= 0 ;
14663 wxString
*arg5
= (wxString
*) 0 ;
14664 long arg6
= (long) wxCHOICEDLG_STYLE
;
14665 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14666 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14667 wxSingleChoiceDialog
*result
;
14668 bool temp2
= false ;
14669 bool temp3
= false ;
14671 PyObject
* obj0
= 0 ;
14672 PyObject
* obj1
= 0 ;
14673 PyObject
* obj2
= 0 ;
14674 PyObject
* obj3
= 0 ;
14675 PyObject
* obj4
= 0 ;
14676 PyObject
* obj5
= 0 ;
14677 char *kwnames
[] = {
14678 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14683 if (SWIG_arg_fail(1)) SWIG_fail
;
14685 arg2
= wxString_in_helper(obj1
);
14686 if (arg2
== NULL
) SWIG_fail
;
14690 arg3
= wxString_in_helper(obj2
);
14691 if (arg3
== NULL
) SWIG_fail
;
14695 arg4
= PyList_Size(obj3
);
14696 arg5
= wxString_LIST_helper(obj3
);
14697 if (arg5
== NULL
) SWIG_fail
;
14701 arg6
= (long)(SWIG_As_long(obj4
));
14702 if (SWIG_arg_fail(6)) SWIG_fail
;
14708 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
14712 if (!wxPyCheckForApp()) SWIG_fail
;
14713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14714 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
14716 wxPyEndAllowThreads(__tstate
);
14717 if (PyErr_Occurred()) SWIG_fail
;
14719 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
14729 if (arg5
) delete [] arg5
;
14742 if (arg5
) delete [] arg5
;
14748 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14749 PyObject
*resultobj
;
14750 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
14752 PyObject
* obj0
= 0 ;
14753 char *kwnames
[] = {
14754 (char *) "self", NULL
14757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
14758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14759 if (SWIG_arg_fail(1)) SWIG_fail
;
14761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14762 result
= (int)(arg1
)->GetSelection();
14764 wxPyEndAllowThreads(__tstate
);
14765 if (PyErr_Occurred()) SWIG_fail
;
14768 resultobj
= SWIG_From_int((int)(result
));
14776 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14777 PyObject
*resultobj
;
14778 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
14780 PyObject
* obj0
= 0 ;
14781 char *kwnames
[] = {
14782 (char *) "self", NULL
14785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
14786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14787 if (SWIG_arg_fail(1)) SWIG_fail
;
14789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14790 result
= (arg1
)->GetStringSelection();
14792 wxPyEndAllowThreads(__tstate
);
14793 if (PyErr_Occurred()) SWIG_fail
;
14797 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14799 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14808 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14809 PyObject
*resultobj
;
14810 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
14812 PyObject
* obj0
= 0 ;
14813 PyObject
* obj1
= 0 ;
14814 char *kwnames
[] = {
14815 (char *) "self",(char *) "sel", NULL
14818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14820 if (SWIG_arg_fail(1)) SWIG_fail
;
14822 arg2
= (int)(SWIG_As_int(obj1
));
14823 if (SWIG_arg_fail(2)) SWIG_fail
;
14826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14827 (arg1
)->SetSelection(arg2
);
14829 wxPyEndAllowThreads(__tstate
);
14830 if (PyErr_Occurred()) SWIG_fail
;
14832 Py_INCREF(Py_None
); resultobj
= Py_None
;
14839 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
14841 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14842 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
14844 return Py_BuildValue((char *)"");
14846 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14847 PyObject
*resultobj
;
14848 wxWindow
*arg1
= (wxWindow
*) 0 ;
14849 wxString
*arg2
= 0 ;
14850 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
14851 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14852 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14853 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14854 long arg5
= (long) wxTextEntryDialogStyle
;
14855 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
14856 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
14857 wxTextEntryDialog
*result
;
14858 bool temp2
= false ;
14859 bool temp3
= false ;
14860 bool temp4
= false ;
14862 PyObject
* obj0
= 0 ;
14863 PyObject
* obj1
= 0 ;
14864 PyObject
* obj2
= 0 ;
14865 PyObject
* obj3
= 0 ;
14866 PyObject
* obj4
= 0 ;
14867 PyObject
* obj5
= 0 ;
14868 char *kwnames
[] = {
14869 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
14872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14874 if (SWIG_arg_fail(1)) SWIG_fail
;
14876 arg2
= wxString_in_helper(obj1
);
14877 if (arg2
== NULL
) SWIG_fail
;
14882 arg3
= wxString_in_helper(obj2
);
14883 if (arg3
== NULL
) SWIG_fail
;
14889 arg4
= wxString_in_helper(obj3
);
14890 if (arg4
== NULL
) SWIG_fail
;
14896 arg5
= (long)(SWIG_As_long(obj4
));
14897 if (SWIG_arg_fail(5)) SWIG_fail
;
14903 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
14907 if (!wxPyCheckForApp()) SWIG_fail
;
14908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14909 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
14911 wxPyEndAllowThreads(__tstate
);
14912 if (PyErr_Occurred()) SWIG_fail
;
14914 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
14945 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14946 PyObject
*resultobj
;
14947 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
14949 PyObject
* obj0
= 0 ;
14950 char *kwnames
[] = {
14951 (char *) "self", NULL
14954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
14955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_EXCEPTION
| 0);
14956 if (SWIG_arg_fail(1)) SWIG_fail
;
14958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14959 result
= (arg1
)->GetValue();
14961 wxPyEndAllowThreads(__tstate
);
14962 if (PyErr_Occurred()) SWIG_fail
;
14966 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14968 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14977 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14978 PyObject
*resultobj
;
14979 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
14980 wxString
*arg2
= 0 ;
14981 bool temp2
= false ;
14982 PyObject
* obj0
= 0 ;
14983 PyObject
* obj1
= 0 ;
14984 char *kwnames
[] = {
14985 (char *) "self",(char *) "value", NULL
14988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
14989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_EXCEPTION
| 0);
14990 if (SWIG_arg_fail(1)) SWIG_fail
;
14992 arg2
= wxString_in_helper(obj1
);
14993 if (arg2
== NULL
) SWIG_fail
;
14997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14998 (arg1
)->SetValue((wxString
const &)*arg2
);
15000 wxPyEndAllowThreads(__tstate
);
15001 if (PyErr_Occurred()) SWIG_fail
;
15003 Py_INCREF(Py_None
); resultobj
= Py_None
;
15018 static PyObject
* TextEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
15020 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15021 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
15023 return Py_BuildValue((char *)"");
15025 static int _wrap_GetPasswordFromUserPromptStr_set(PyObject
*) {
15026 PyErr_SetString(PyExc_TypeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
15031 static PyObject
*_wrap_GetPasswordFromUserPromptStr_get(void) {
15036 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
15038 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
15045 static PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15046 PyObject
*resultobj
;
15047 wxWindow
*arg1
= (wxWindow
*) 0 ;
15048 wxString
*arg2
= 0 ;
15049 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
15050 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15051 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15052 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15053 long arg5
= (long) wxTextEntryDialogStyle
;
15054 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
15055 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
15056 wxPasswordEntryDialog
*result
;
15057 bool temp2
= false ;
15058 bool temp3
= false ;
15059 bool temp4
= false ;
15061 PyObject
* obj0
= 0 ;
15062 PyObject
* obj1
= 0 ;
15063 PyObject
* obj2
= 0 ;
15064 PyObject
* obj3
= 0 ;
15065 PyObject
* obj4
= 0 ;
15066 PyObject
* obj5
= 0 ;
15067 char *kwnames
[] = {
15068 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
15071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15073 if (SWIG_arg_fail(1)) SWIG_fail
;
15075 arg2
= wxString_in_helper(obj1
);
15076 if (arg2
== NULL
) SWIG_fail
;
15081 arg3
= wxString_in_helper(obj2
);
15082 if (arg3
== NULL
) SWIG_fail
;
15088 arg4
= wxString_in_helper(obj3
);
15089 if (arg4
== NULL
) SWIG_fail
;
15095 arg5
= (long)(SWIG_As_long(obj4
));
15096 if (SWIG_arg_fail(5)) SWIG_fail
;
15102 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
15106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15107 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
15109 wxPyEndAllowThreads(__tstate
);
15110 if (PyErr_Occurred()) SWIG_fail
;
15112 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPasswordEntryDialog
, 1);
15143 static PyObject
* PasswordEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
15145 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15146 SWIG_TypeClientData(SWIGTYPE_p_wxPasswordEntryDialog
, obj
);
15148 return Py_BuildValue((char *)"");
15150 static PyObject
*_wrap_new_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15151 PyObject
*resultobj
;
15152 wxFontData
*result
;
15153 char *kwnames
[] = {
15157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
15159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15160 result
= (wxFontData
*)new wxFontData();
15162 wxPyEndAllowThreads(__tstate
);
15163 if (PyErr_Occurred()) SWIG_fail
;
15165 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
15172 static PyObject
*_wrap_delete_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15173 PyObject
*resultobj
;
15174 wxFontData
*arg1
= (wxFontData
*) 0 ;
15175 PyObject
* obj0
= 0 ;
15176 char *kwnames
[] = {
15177 (char *) "self", NULL
15180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
15181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15182 if (SWIG_arg_fail(1)) SWIG_fail
;
15184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15187 wxPyEndAllowThreads(__tstate
);
15188 if (PyErr_Occurred()) SWIG_fail
;
15190 Py_INCREF(Py_None
); resultobj
= Py_None
;
15197 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15198 PyObject
*resultobj
;
15199 wxFontData
*arg1
= (wxFontData
*) 0 ;
15201 PyObject
* obj0
= 0 ;
15202 PyObject
* obj1
= 0 ;
15203 char *kwnames
[] = {
15204 (char *) "self",(char *) "enable", NULL
15207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
15208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15209 if (SWIG_arg_fail(1)) SWIG_fail
;
15211 arg2
= (bool)(SWIG_As_bool(obj1
));
15212 if (SWIG_arg_fail(2)) SWIG_fail
;
15215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15216 (arg1
)->EnableEffects(arg2
);
15218 wxPyEndAllowThreads(__tstate
);
15219 if (PyErr_Occurred()) SWIG_fail
;
15221 Py_INCREF(Py_None
); resultobj
= Py_None
;
15228 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15229 PyObject
*resultobj
;
15230 wxFontData
*arg1
= (wxFontData
*) 0 ;
15232 PyObject
* obj0
= 0 ;
15233 char *kwnames
[] = {
15234 (char *) "self", NULL
15237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
15238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15239 if (SWIG_arg_fail(1)) SWIG_fail
;
15241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15242 result
= (bool)(arg1
)->GetAllowSymbols();
15244 wxPyEndAllowThreads(__tstate
);
15245 if (PyErr_Occurred()) SWIG_fail
;
15248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15256 static PyObject
*_wrap_FontData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15257 PyObject
*resultobj
;
15258 wxFontData
*arg1
= (wxFontData
*) 0 ;
15260 PyObject
* obj0
= 0 ;
15261 char *kwnames
[] = {
15262 (char *) "self", NULL
15265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
15266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15267 if (SWIG_arg_fail(1)) SWIG_fail
;
15269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15270 result
= (arg1
)->GetColour();
15272 wxPyEndAllowThreads(__tstate
);
15273 if (PyErr_Occurred()) SWIG_fail
;
15276 wxColour
* resultptr
;
15277 resultptr
= new wxColour((wxColour
&)(result
));
15278 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
15286 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15287 PyObject
*resultobj
;
15288 wxFontData
*arg1
= (wxFontData
*) 0 ;
15290 PyObject
* obj0
= 0 ;
15291 char *kwnames
[] = {
15292 (char *) "self", NULL
15295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
15296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15297 if (SWIG_arg_fail(1)) SWIG_fail
;
15299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15300 result
= (arg1
)->GetChosenFont();
15302 wxPyEndAllowThreads(__tstate
);
15303 if (PyErr_Occurred()) SWIG_fail
;
15306 wxFont
* resultptr
;
15307 resultptr
= new wxFont((wxFont
&)(result
));
15308 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
15316 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15317 PyObject
*resultobj
;
15318 wxFontData
*arg1
= (wxFontData
*) 0 ;
15320 PyObject
* obj0
= 0 ;
15321 char *kwnames
[] = {
15322 (char *) "self", NULL
15325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
15326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15327 if (SWIG_arg_fail(1)) SWIG_fail
;
15329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15330 result
= (bool)(arg1
)->GetEnableEffects();
15332 wxPyEndAllowThreads(__tstate
);
15333 if (PyErr_Occurred()) SWIG_fail
;
15336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15344 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15345 PyObject
*resultobj
;
15346 wxFontData
*arg1
= (wxFontData
*) 0 ;
15348 PyObject
* obj0
= 0 ;
15349 char *kwnames
[] = {
15350 (char *) "self", NULL
15353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
15354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15355 if (SWIG_arg_fail(1)) SWIG_fail
;
15357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15358 result
= (arg1
)->GetInitialFont();
15360 wxPyEndAllowThreads(__tstate
);
15361 if (PyErr_Occurred()) SWIG_fail
;
15364 wxFont
* resultptr
;
15365 resultptr
= new wxFont((wxFont
&)(result
));
15366 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
15374 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15375 PyObject
*resultobj
;
15376 wxFontData
*arg1
= (wxFontData
*) 0 ;
15378 PyObject
* obj0
= 0 ;
15379 char *kwnames
[] = {
15380 (char *) "self", NULL
15383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
15384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15385 if (SWIG_arg_fail(1)) SWIG_fail
;
15387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15388 result
= (bool)(arg1
)->GetShowHelp();
15390 wxPyEndAllowThreads(__tstate
);
15391 if (PyErr_Occurred()) SWIG_fail
;
15394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15402 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15403 PyObject
*resultobj
;
15404 wxFontData
*arg1
= (wxFontData
*) 0 ;
15406 PyObject
* obj0
= 0 ;
15407 PyObject
* obj1
= 0 ;
15408 char *kwnames
[] = {
15409 (char *) "self",(char *) "allowSymbols", NULL
15412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
15413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15414 if (SWIG_arg_fail(1)) SWIG_fail
;
15416 arg2
= (bool)(SWIG_As_bool(obj1
));
15417 if (SWIG_arg_fail(2)) SWIG_fail
;
15420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15421 (arg1
)->SetAllowSymbols(arg2
);
15423 wxPyEndAllowThreads(__tstate
);
15424 if (PyErr_Occurred()) SWIG_fail
;
15426 Py_INCREF(Py_None
); resultobj
= Py_None
;
15433 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15434 PyObject
*resultobj
;
15435 wxFontData
*arg1
= (wxFontData
*) 0 ;
15437 PyObject
* obj0
= 0 ;
15438 PyObject
* obj1
= 0 ;
15439 char *kwnames
[] = {
15440 (char *) "self",(char *) "font", NULL
15443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15445 if (SWIG_arg_fail(1)) SWIG_fail
;
15447 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15448 if (SWIG_arg_fail(2)) SWIG_fail
;
15449 if (arg2
== NULL
) {
15450 SWIG_null_ref("wxFont");
15452 if (SWIG_arg_fail(2)) SWIG_fail
;
15455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15456 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
15458 wxPyEndAllowThreads(__tstate
);
15459 if (PyErr_Occurred()) SWIG_fail
;
15461 Py_INCREF(Py_None
); resultobj
= Py_None
;
15468 static PyObject
*_wrap_FontData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15469 PyObject
*resultobj
;
15470 wxFontData
*arg1
= (wxFontData
*) 0 ;
15471 wxColour
*arg2
= 0 ;
15473 PyObject
* obj0
= 0 ;
15474 PyObject
* obj1
= 0 ;
15475 char *kwnames
[] = {
15476 (char *) "self",(char *) "colour", NULL
15479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15481 if (SWIG_arg_fail(1)) SWIG_fail
;
15484 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15488 (arg1
)->SetColour((wxColour
const &)*arg2
);
15490 wxPyEndAllowThreads(__tstate
);
15491 if (PyErr_Occurred()) SWIG_fail
;
15493 Py_INCREF(Py_None
); resultobj
= Py_None
;
15500 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15501 PyObject
*resultobj
;
15502 wxFontData
*arg1
= (wxFontData
*) 0 ;
15504 PyObject
* obj0
= 0 ;
15505 PyObject
* obj1
= 0 ;
15506 char *kwnames
[] = {
15507 (char *) "self",(char *) "font", NULL
15510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15512 if (SWIG_arg_fail(1)) SWIG_fail
;
15514 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15515 if (SWIG_arg_fail(2)) SWIG_fail
;
15516 if (arg2
== NULL
) {
15517 SWIG_null_ref("wxFont");
15519 if (SWIG_arg_fail(2)) SWIG_fail
;
15522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15523 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
15525 wxPyEndAllowThreads(__tstate
);
15526 if (PyErr_Occurred()) SWIG_fail
;
15528 Py_INCREF(Py_None
); resultobj
= Py_None
;
15535 static PyObject
*_wrap_FontData_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15536 PyObject
*resultobj
;
15537 wxFontData
*arg1
= (wxFontData
*) 0 ;
15540 PyObject
* obj0
= 0 ;
15541 PyObject
* obj1
= 0 ;
15542 PyObject
* obj2
= 0 ;
15543 char *kwnames
[] = {
15544 (char *) "self",(char *) "min",(char *) "max", NULL
15547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15549 if (SWIG_arg_fail(1)) SWIG_fail
;
15551 arg2
= (int)(SWIG_As_int(obj1
));
15552 if (SWIG_arg_fail(2)) SWIG_fail
;
15555 arg3
= (int)(SWIG_As_int(obj2
));
15556 if (SWIG_arg_fail(3)) SWIG_fail
;
15559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15560 (arg1
)->SetRange(arg2
,arg3
);
15562 wxPyEndAllowThreads(__tstate
);
15563 if (PyErr_Occurred()) SWIG_fail
;
15565 Py_INCREF(Py_None
); resultobj
= Py_None
;
15572 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15573 PyObject
*resultobj
;
15574 wxFontData
*arg1
= (wxFontData
*) 0 ;
15576 PyObject
* obj0
= 0 ;
15577 PyObject
* obj1
= 0 ;
15578 char *kwnames
[] = {
15579 (char *) "self",(char *) "showHelp", NULL
15582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15584 if (SWIG_arg_fail(1)) SWIG_fail
;
15586 arg2
= (bool)(SWIG_As_bool(obj1
));
15587 if (SWIG_arg_fail(2)) SWIG_fail
;
15590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15591 (arg1
)->SetShowHelp(arg2
);
15593 wxPyEndAllowThreads(__tstate
);
15594 if (PyErr_Occurred()) SWIG_fail
;
15596 Py_INCREF(Py_None
); resultobj
= Py_None
;
15603 static PyObject
* FontData_swigregister(PyObject
*, PyObject
*args
) {
15605 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15606 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
15608 return Py_BuildValue((char *)"");
15610 static PyObject
*_wrap_new_FontDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15611 PyObject
*resultobj
;
15612 wxWindow
*arg1
= (wxWindow
*) 0 ;
15613 wxFontData
*arg2
= 0 ;
15614 wxFontDialog
*result
;
15615 PyObject
* obj0
= 0 ;
15616 PyObject
* obj1
= 0 ;
15617 char *kwnames
[] = {
15618 (char *) "parent",(char *) "data", NULL
15621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
15622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15623 if (SWIG_arg_fail(1)) SWIG_fail
;
15625 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15626 if (SWIG_arg_fail(2)) SWIG_fail
;
15627 if (arg2
== NULL
) {
15628 SWIG_null_ref("wxFontData");
15630 if (SWIG_arg_fail(2)) SWIG_fail
;
15633 if (!wxPyCheckForApp()) SWIG_fail
;
15634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15635 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
15637 wxPyEndAllowThreads(__tstate
);
15638 if (PyErr_Occurred()) SWIG_fail
;
15640 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
15647 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15648 PyObject
*resultobj
;
15649 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
15650 wxFontData
*result
;
15651 PyObject
* obj0
= 0 ;
15652 char *kwnames
[] = {
15653 (char *) "self", NULL
15656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
15657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_EXCEPTION
| 0);
15658 if (SWIG_arg_fail(1)) SWIG_fail
;
15660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15662 wxFontData
&_result_ref
= (arg1
)->GetFontData();
15663 result
= (wxFontData
*) &_result_ref
;
15666 wxPyEndAllowThreads(__tstate
);
15667 if (PyErr_Occurred()) SWIG_fail
;
15669 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
15676 static PyObject
* FontDialog_swigregister(PyObject
*, PyObject
*args
) {
15678 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15679 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
15681 return Py_BuildValue((char *)"");
15683 static PyObject
*_wrap_new_MessageDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15684 PyObject
*resultobj
;
15685 wxWindow
*arg1
= (wxWindow
*) 0 ;
15686 wxString
*arg2
= 0 ;
15687 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
15688 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15689 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
15690 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15691 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15692 wxMessageDialog
*result
;
15693 bool temp2
= false ;
15694 bool temp3
= false ;
15696 PyObject
* obj0
= 0 ;
15697 PyObject
* obj1
= 0 ;
15698 PyObject
* obj2
= 0 ;
15699 PyObject
* obj3
= 0 ;
15700 PyObject
* obj4
= 0 ;
15701 char *kwnames
[] = {
15702 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
15705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15707 if (SWIG_arg_fail(1)) SWIG_fail
;
15709 arg2
= wxString_in_helper(obj1
);
15710 if (arg2
== NULL
) SWIG_fail
;
15715 arg3
= wxString_in_helper(obj2
);
15716 if (arg3
== NULL
) SWIG_fail
;
15722 arg4
= (long)(SWIG_As_long(obj3
));
15723 if (SWIG_arg_fail(4)) SWIG_fail
;
15729 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15733 if (!wxPyCheckForApp()) SWIG_fail
;
15734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15735 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
15737 wxPyEndAllowThreads(__tstate
);
15738 if (PyErr_Occurred()) SWIG_fail
;
15740 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
15763 static PyObject
* MessageDialog_swigregister(PyObject
*, PyObject
*args
) {
15765 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15766 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
15768 return Py_BuildValue((char *)"");
15770 static PyObject
*_wrap_new_ProgressDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15771 PyObject
*resultobj
;
15772 wxString
*arg1
= 0 ;
15773 wxString
*arg2
= 0 ;
15774 int arg3
= (int) 100 ;
15775 wxWindow
*arg4
= (wxWindow
*) NULL
;
15776 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
15777 wxProgressDialog
*result
;
15778 bool temp1
= false ;
15779 bool temp2
= false ;
15780 PyObject
* obj0
= 0 ;
15781 PyObject
* obj1
= 0 ;
15782 PyObject
* obj2
= 0 ;
15783 PyObject
* obj3
= 0 ;
15784 PyObject
* obj4
= 0 ;
15785 char *kwnames
[] = {
15786 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
15789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15791 arg1
= wxString_in_helper(obj0
);
15792 if (arg1
== NULL
) SWIG_fail
;
15796 arg2
= wxString_in_helper(obj1
);
15797 if (arg2
== NULL
) SWIG_fail
;
15802 arg3
= (int)(SWIG_As_int(obj2
));
15803 if (SWIG_arg_fail(3)) SWIG_fail
;
15807 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15808 if (SWIG_arg_fail(4)) SWIG_fail
;
15812 arg5
= (int)(SWIG_As_int(obj4
));
15813 if (SWIG_arg_fail(5)) SWIG_fail
;
15817 if (!wxPyCheckForApp()) SWIG_fail
;
15818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15819 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
15821 wxPyEndAllowThreads(__tstate
);
15822 if (PyErr_Occurred()) SWIG_fail
;
15824 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
15847 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15848 PyObject
*resultobj
;
15849 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
15851 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15852 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15854 bool temp3
= false ;
15855 PyObject
* obj0
= 0 ;
15856 PyObject
* obj1
= 0 ;
15857 PyObject
* obj2
= 0 ;
15858 char *kwnames
[] = {
15859 (char *) "self",(char *) "value",(char *) "newmsg", NULL
15862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_EXCEPTION
| 0);
15864 if (SWIG_arg_fail(1)) SWIG_fail
;
15866 arg2
= (int)(SWIG_As_int(obj1
));
15867 if (SWIG_arg_fail(2)) SWIG_fail
;
15871 arg3
= wxString_in_helper(obj2
);
15872 if (arg3
== NULL
) SWIG_fail
;
15877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15878 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
15880 wxPyEndAllowThreads(__tstate
);
15881 if (PyErr_Occurred()) SWIG_fail
;
15884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15900 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15901 PyObject
*resultobj
;
15902 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
15903 PyObject
* obj0
= 0 ;
15904 char *kwnames
[] = {
15905 (char *) "self", NULL
15908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
15909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_EXCEPTION
| 0);
15910 if (SWIG_arg_fail(1)) SWIG_fail
;
15912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15915 wxPyEndAllowThreads(__tstate
);
15916 if (PyErr_Occurred()) SWIG_fail
;
15918 Py_INCREF(Py_None
); resultobj
= Py_None
;
15925 static PyObject
* ProgressDialog_swigregister(PyObject
*, PyObject
*args
) {
15927 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15928 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
15930 return Py_BuildValue((char *)"");
15932 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15933 PyObject
*resultobj
;
15934 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15935 int arg2
= (int) 0 ;
15936 wxFindDialogEvent
*result
;
15937 PyObject
* obj0
= 0 ;
15938 PyObject
* obj1
= 0 ;
15939 char *kwnames
[] = {
15940 (char *) "commandType",(char *) "id", NULL
15943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15946 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15947 if (SWIG_arg_fail(1)) SWIG_fail
;
15952 arg2
= (int)(SWIG_As_int(obj1
));
15953 if (SWIG_arg_fail(2)) SWIG_fail
;
15957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15958 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
15960 wxPyEndAllowThreads(__tstate
);
15961 if (PyErr_Occurred()) SWIG_fail
;
15963 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
15970 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15971 PyObject
*resultobj
;
15972 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
15974 PyObject
* obj0
= 0 ;
15975 char *kwnames
[] = {
15976 (char *) "self", NULL
15979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
15980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
15981 if (SWIG_arg_fail(1)) SWIG_fail
;
15983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15984 result
= (int)(arg1
)->GetFlags();
15986 wxPyEndAllowThreads(__tstate
);
15987 if (PyErr_Occurred()) SWIG_fail
;
15990 resultobj
= SWIG_From_int((int)(result
));
15998 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15999 PyObject
*resultobj
;
16000 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16002 PyObject
* obj0
= 0 ;
16003 char *kwnames
[] = {
16004 (char *) "self", NULL
16007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
16008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16009 if (SWIG_arg_fail(1)) SWIG_fail
;
16011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16013 wxString
const &_result_ref
= (arg1
)->GetFindString();
16014 result
= (wxString
*) &_result_ref
;
16017 wxPyEndAllowThreads(__tstate
);
16018 if (PyErr_Occurred()) SWIG_fail
;
16022 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16024 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16033 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16034 PyObject
*resultobj
;
16035 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16037 PyObject
* obj0
= 0 ;
16038 char *kwnames
[] = {
16039 (char *) "self", NULL
16042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
16043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16044 if (SWIG_arg_fail(1)) SWIG_fail
;
16046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16048 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
16049 result
= (wxString
*) &_result_ref
;
16052 wxPyEndAllowThreads(__tstate
);
16053 if (PyErr_Occurred()) SWIG_fail
;
16057 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16059 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16068 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16069 PyObject
*resultobj
;
16070 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16071 wxFindReplaceDialog
*result
;
16072 PyObject
* obj0
= 0 ;
16073 char *kwnames
[] = {
16074 (char *) "self", NULL
16077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
16078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16079 if (SWIG_arg_fail(1)) SWIG_fail
;
16081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16082 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
16084 wxPyEndAllowThreads(__tstate
);
16085 if (PyErr_Occurred()) SWIG_fail
;
16087 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
16094 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16095 PyObject
*resultobj
;
16096 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16098 PyObject
* obj0
= 0 ;
16099 PyObject
* obj1
= 0 ;
16100 char *kwnames
[] = {
16101 (char *) "self",(char *) "flags", NULL
16104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
16105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16106 if (SWIG_arg_fail(1)) SWIG_fail
;
16108 arg2
= (int)(SWIG_As_int(obj1
));
16109 if (SWIG_arg_fail(2)) SWIG_fail
;
16112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16113 (arg1
)->SetFlags(arg2
);
16115 wxPyEndAllowThreads(__tstate
);
16116 if (PyErr_Occurred()) SWIG_fail
;
16118 Py_INCREF(Py_None
); resultobj
= Py_None
;
16125 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16126 PyObject
*resultobj
;
16127 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16128 wxString
*arg2
= 0 ;
16129 bool temp2
= false ;
16130 PyObject
* obj0
= 0 ;
16131 PyObject
* obj1
= 0 ;
16132 char *kwnames
[] = {
16133 (char *) "self",(char *) "str", NULL
16136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
16137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16138 if (SWIG_arg_fail(1)) SWIG_fail
;
16140 arg2
= wxString_in_helper(obj1
);
16141 if (arg2
== NULL
) SWIG_fail
;
16145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16146 (arg1
)->SetFindString((wxString
const &)*arg2
);
16148 wxPyEndAllowThreads(__tstate
);
16149 if (PyErr_Occurred()) SWIG_fail
;
16151 Py_INCREF(Py_None
); resultobj
= Py_None
;
16166 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16167 PyObject
*resultobj
;
16168 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16169 wxString
*arg2
= 0 ;
16170 bool temp2
= false ;
16171 PyObject
* obj0
= 0 ;
16172 PyObject
* obj1
= 0 ;
16173 char *kwnames
[] = {
16174 (char *) "self",(char *) "str", NULL
16177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
16178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16179 if (SWIG_arg_fail(1)) SWIG_fail
;
16181 arg2
= wxString_in_helper(obj1
);
16182 if (arg2
== NULL
) SWIG_fail
;
16186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16187 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
16189 wxPyEndAllowThreads(__tstate
);
16190 if (PyErr_Occurred()) SWIG_fail
;
16192 Py_INCREF(Py_None
); resultobj
= Py_None
;
16207 static PyObject
* FindDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
16209 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16210 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
16212 return Py_BuildValue((char *)"");
16214 static PyObject
*_wrap_new_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16215 PyObject
*resultobj
;
16216 int arg1
= (int) 0 ;
16217 wxFindReplaceData
*result
;
16218 PyObject
* obj0
= 0 ;
16219 char *kwnames
[] = {
16220 (char *) "flags", NULL
16223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
16226 arg1
= (int)(SWIG_As_int(obj0
));
16227 if (SWIG_arg_fail(1)) SWIG_fail
;
16231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16232 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
16234 wxPyEndAllowThreads(__tstate
);
16235 if (PyErr_Occurred()) SWIG_fail
;
16237 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
16244 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16245 PyObject
*resultobj
;
16246 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16247 PyObject
* obj0
= 0 ;
16248 char *kwnames
[] = {
16249 (char *) "self", NULL
16252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
16253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16254 if (SWIG_arg_fail(1)) SWIG_fail
;
16256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16259 wxPyEndAllowThreads(__tstate
);
16260 if (PyErr_Occurred()) SWIG_fail
;
16262 Py_INCREF(Py_None
); resultobj
= Py_None
;
16269 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16270 PyObject
*resultobj
;
16271 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16273 PyObject
* obj0
= 0 ;
16274 char *kwnames
[] = {
16275 (char *) "self", NULL
16278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
16279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16280 if (SWIG_arg_fail(1)) SWIG_fail
;
16282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16284 wxString
const &_result_ref
= (arg1
)->GetFindString();
16285 result
= (wxString
*) &_result_ref
;
16288 wxPyEndAllowThreads(__tstate
);
16289 if (PyErr_Occurred()) SWIG_fail
;
16293 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16295 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16304 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16305 PyObject
*resultobj
;
16306 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16308 PyObject
* obj0
= 0 ;
16309 char *kwnames
[] = {
16310 (char *) "self", NULL
16313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
16314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16315 if (SWIG_arg_fail(1)) SWIG_fail
;
16317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16319 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
16320 result
= (wxString
*) &_result_ref
;
16323 wxPyEndAllowThreads(__tstate
);
16324 if (PyErr_Occurred()) SWIG_fail
;
16328 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16330 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16339 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16340 PyObject
*resultobj
;
16341 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16343 PyObject
* obj0
= 0 ;
16344 char *kwnames
[] = {
16345 (char *) "self", NULL
16348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
16349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16350 if (SWIG_arg_fail(1)) SWIG_fail
;
16352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16353 result
= (int)(arg1
)->GetFlags();
16355 wxPyEndAllowThreads(__tstate
);
16356 if (PyErr_Occurred()) SWIG_fail
;
16359 resultobj
= SWIG_From_int((int)(result
));
16367 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16368 PyObject
*resultobj
;
16369 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16371 PyObject
* obj0
= 0 ;
16372 PyObject
* obj1
= 0 ;
16373 char *kwnames
[] = {
16374 (char *) "self",(char *) "flags", NULL
16377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
16378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16379 if (SWIG_arg_fail(1)) SWIG_fail
;
16381 arg2
= (int)(SWIG_As_int(obj1
));
16382 if (SWIG_arg_fail(2)) SWIG_fail
;
16385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16386 (arg1
)->SetFlags(arg2
);
16388 wxPyEndAllowThreads(__tstate
);
16389 if (PyErr_Occurred()) SWIG_fail
;
16391 Py_INCREF(Py_None
); resultobj
= Py_None
;
16398 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16399 PyObject
*resultobj
;
16400 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16401 wxString
*arg2
= 0 ;
16402 bool temp2
= false ;
16403 PyObject
* obj0
= 0 ;
16404 PyObject
* obj1
= 0 ;
16405 char *kwnames
[] = {
16406 (char *) "self",(char *) "str", NULL
16409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
16410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16411 if (SWIG_arg_fail(1)) SWIG_fail
;
16413 arg2
= wxString_in_helper(obj1
);
16414 if (arg2
== NULL
) SWIG_fail
;
16418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16419 (arg1
)->SetFindString((wxString
const &)*arg2
);
16421 wxPyEndAllowThreads(__tstate
);
16422 if (PyErr_Occurred()) SWIG_fail
;
16424 Py_INCREF(Py_None
); resultobj
= Py_None
;
16439 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16440 PyObject
*resultobj
;
16441 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16442 wxString
*arg2
= 0 ;
16443 bool temp2
= false ;
16444 PyObject
* obj0
= 0 ;
16445 PyObject
* obj1
= 0 ;
16446 char *kwnames
[] = {
16447 (char *) "self",(char *) "str", NULL
16450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
16451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16452 if (SWIG_arg_fail(1)) SWIG_fail
;
16454 arg2
= wxString_in_helper(obj1
);
16455 if (arg2
== NULL
) SWIG_fail
;
16459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16460 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
16462 wxPyEndAllowThreads(__tstate
);
16463 if (PyErr_Occurred()) SWIG_fail
;
16465 Py_INCREF(Py_None
); resultobj
= Py_None
;
16480 static PyObject
* FindReplaceData_swigregister(PyObject
*, PyObject
*args
) {
16482 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16483 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
16485 return Py_BuildValue((char *)"");
16487 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16488 PyObject
*resultobj
;
16489 wxWindow
*arg1
= (wxWindow
*) 0 ;
16490 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
16491 wxString
*arg3
= 0 ;
16492 int arg4
= (int) 0 ;
16493 wxFindReplaceDialog
*result
;
16494 bool temp3
= false ;
16495 PyObject
* obj0
= 0 ;
16496 PyObject
* obj1
= 0 ;
16497 PyObject
* obj2
= 0 ;
16498 PyObject
* obj3
= 0 ;
16499 char *kwnames
[] = {
16500 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16505 if (SWIG_arg_fail(1)) SWIG_fail
;
16506 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16507 if (SWIG_arg_fail(2)) SWIG_fail
;
16509 arg3
= wxString_in_helper(obj2
);
16510 if (arg3
== NULL
) SWIG_fail
;
16515 arg4
= (int)(SWIG_As_int(obj3
));
16516 if (SWIG_arg_fail(4)) SWIG_fail
;
16520 if (!wxPyCheckForApp()) SWIG_fail
;
16521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16522 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
16524 wxPyEndAllowThreads(__tstate
);
16525 if (PyErr_Occurred()) SWIG_fail
;
16527 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
16542 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16543 PyObject
*resultobj
;
16544 wxFindReplaceDialog
*result
;
16545 char *kwnames
[] = {
16549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
16551 if (!wxPyCheckForApp()) SWIG_fail
;
16552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16553 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
16555 wxPyEndAllowThreads(__tstate
);
16556 if (PyErr_Occurred()) SWIG_fail
;
16558 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
16565 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16566 PyObject
*resultobj
;
16567 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
16568 wxWindow
*arg2
= (wxWindow
*) 0 ;
16569 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
16570 wxString
*arg4
= 0 ;
16571 int arg5
= (int) 0 ;
16573 bool temp4
= false ;
16574 PyObject
* obj0
= 0 ;
16575 PyObject
* obj1
= 0 ;
16576 PyObject
* obj2
= 0 ;
16577 PyObject
* obj3
= 0 ;
16578 PyObject
* obj4
= 0 ;
16579 char *kwnames
[] = {
16580 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
16585 if (SWIG_arg_fail(1)) SWIG_fail
;
16586 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16587 if (SWIG_arg_fail(2)) SWIG_fail
;
16588 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16589 if (SWIG_arg_fail(3)) SWIG_fail
;
16591 arg4
= wxString_in_helper(obj3
);
16592 if (arg4
== NULL
) SWIG_fail
;
16597 arg5
= (int)(SWIG_As_int(obj4
));
16598 if (SWIG_arg_fail(5)) SWIG_fail
;
16602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16603 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
16605 wxPyEndAllowThreads(__tstate
);
16606 if (PyErr_Occurred()) SWIG_fail
;
16609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16625 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16626 PyObject
*resultobj
;
16627 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
16628 wxFindReplaceData
*result
;
16629 PyObject
* obj0
= 0 ;
16630 char *kwnames
[] = {
16631 (char *) "self", NULL
16634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
16635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
16636 if (SWIG_arg_fail(1)) SWIG_fail
;
16638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16639 result
= (wxFindReplaceData
*)(arg1
)->GetData();
16641 wxPyEndAllowThreads(__tstate
);
16642 if (PyErr_Occurred()) SWIG_fail
;
16644 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
16651 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16652 PyObject
*resultobj
;
16653 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
16654 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
16655 PyObject
* obj0
= 0 ;
16656 PyObject
* obj1
= 0 ;
16657 char *kwnames
[] = {
16658 (char *) "self",(char *) "data", NULL
16661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
16662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
16663 if (SWIG_arg_fail(1)) SWIG_fail
;
16664 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16665 if (SWIG_arg_fail(2)) SWIG_fail
;
16667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16668 (arg1
)->SetData(arg2
);
16670 wxPyEndAllowThreads(__tstate
);
16671 if (PyErr_Occurred()) SWIG_fail
;
16673 Py_INCREF(Py_None
); resultobj
= Py_None
;
16680 static PyObject
* FindReplaceDialog_swigregister(PyObject
*, PyObject
*args
) {
16682 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16683 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
16685 return Py_BuildValue((char *)"");
16687 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16688 PyObject
*resultobj
;
16689 wxWindow
*arg1
= (wxWindow
*) 0 ;
16690 int arg2
= (int) (int)-1 ;
16691 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16692 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16693 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16694 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16695 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16696 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16697 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
16698 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
16699 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16700 wxMDIParentFrame
*result
;
16701 bool temp3
= false ;
16704 bool temp7
= false ;
16705 PyObject
* obj0
= 0 ;
16706 PyObject
* obj1
= 0 ;
16707 PyObject
* obj2
= 0 ;
16708 PyObject
* obj3
= 0 ;
16709 PyObject
* obj4
= 0 ;
16710 PyObject
* obj5
= 0 ;
16711 PyObject
* obj6
= 0 ;
16712 char *kwnames
[] = {
16713 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16718 if (SWIG_arg_fail(1)) SWIG_fail
;
16721 arg2
= (int const)(SWIG_As_int(obj1
));
16722 if (SWIG_arg_fail(2)) SWIG_fail
;
16727 arg3
= wxString_in_helper(obj2
);
16728 if (arg3
== NULL
) SWIG_fail
;
16735 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16741 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16746 arg6
= (long)(SWIG_As_long(obj5
));
16747 if (SWIG_arg_fail(6)) SWIG_fail
;
16752 arg7
= wxString_in_helper(obj6
);
16753 if (arg7
== NULL
) SWIG_fail
;
16758 if (!wxPyCheckForApp()) SWIG_fail
;
16759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16760 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
16762 wxPyEndAllowThreads(__tstate
);
16763 if (PyErr_Occurred()) SWIG_fail
;
16765 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
16788 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16789 PyObject
*resultobj
;
16790 wxMDIParentFrame
*result
;
16791 char *kwnames
[] = {
16795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
16797 if (!wxPyCheckForApp()) SWIG_fail
;
16798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16799 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
16801 wxPyEndAllowThreads(__tstate
);
16802 if (PyErr_Occurred()) SWIG_fail
;
16804 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
16811 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16812 PyObject
*resultobj
;
16813 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
16814 wxWindow
*arg2
= (wxWindow
*) 0 ;
16815 int arg3
= (int) (int)-1 ;
16816 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16817 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16818 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16819 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16820 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16821 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16822 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
16823 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
16824 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16826 bool temp4
= false ;
16829 bool temp8
= false ;
16830 PyObject
* obj0
= 0 ;
16831 PyObject
* obj1
= 0 ;
16832 PyObject
* obj2
= 0 ;
16833 PyObject
* obj3
= 0 ;
16834 PyObject
* obj4
= 0 ;
16835 PyObject
* obj5
= 0 ;
16836 PyObject
* obj6
= 0 ;
16837 PyObject
* obj7
= 0 ;
16838 char *kwnames
[] = {
16839 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
16843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
16844 if (SWIG_arg_fail(1)) SWIG_fail
;
16845 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16846 if (SWIG_arg_fail(2)) SWIG_fail
;
16849 arg3
= (int const)(SWIG_As_int(obj2
));
16850 if (SWIG_arg_fail(3)) SWIG_fail
;
16855 arg4
= wxString_in_helper(obj3
);
16856 if (arg4
== NULL
) SWIG_fail
;
16863 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16869 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16874 arg7
= (long)(SWIG_As_long(obj6
));
16875 if (SWIG_arg_fail(7)) SWIG_fail
;
16880 arg8
= wxString_in_helper(obj7
);
16881 if (arg8
== NULL
) SWIG_fail
;
16886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16887 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
16889 wxPyEndAllowThreads(__tstate
);
16890 if (PyErr_Occurred()) SWIG_fail
;
16893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16917 static PyObject
*_wrap_MDIParentFrame_ActivateNext(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_ActivateNext",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
)->ActivateNext();
16932 wxPyEndAllowThreads(__tstate
);
16933 if (PyErr_Occurred()) SWIG_fail
;
16935 Py_INCREF(Py_None
); resultobj
= Py_None
;
16942 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(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_ActivatePrevious",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();
16955 (arg1
)->ActivatePrevious();
16957 wxPyEndAllowThreads(__tstate
);
16958 if (PyErr_Occurred()) SWIG_fail
;
16960 Py_INCREF(Py_None
); resultobj
= Py_None
;
16967 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16968 PyObject
*resultobj
;
16969 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
16970 PyObject
* obj0
= 0 ;
16971 char *kwnames
[] = {
16972 (char *) "self", NULL
16975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
16976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
16977 if (SWIG_arg_fail(1)) SWIG_fail
;
16979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16980 (arg1
)->ArrangeIcons();
16982 wxPyEndAllowThreads(__tstate
);
16983 if (PyErr_Occurred()) SWIG_fail
;
16985 Py_INCREF(Py_None
); resultobj
= Py_None
;
16992 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16993 PyObject
*resultobj
;
16994 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
16995 PyObject
* obj0
= 0 ;
16996 char *kwnames
[] = {
16997 (char *) "self", NULL
17000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
17001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17002 if (SWIG_arg_fail(1)) SWIG_fail
;
17004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17007 wxPyEndAllowThreads(__tstate
);
17008 if (PyErr_Occurred()) SWIG_fail
;
17010 Py_INCREF(Py_None
); resultobj
= Py_None
;
17017 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17018 PyObject
*resultobj
;
17019 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17020 wxMDIChildFrame
*result
;
17021 PyObject
* obj0
= 0 ;
17022 char *kwnames
[] = {
17023 (char *) "self", NULL
17026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
17027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17028 if (SWIG_arg_fail(1)) SWIG_fail
;
17030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17031 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
17033 wxPyEndAllowThreads(__tstate
);
17034 if (PyErr_Occurred()) SWIG_fail
;
17037 resultobj
= wxPyMake_wxObject(result
, 0);
17045 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17046 PyObject
*resultobj
;
17047 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17048 wxMDIClientWindow
*result
;
17049 PyObject
* obj0
= 0 ;
17050 char *kwnames
[] = {
17051 (char *) "self", NULL
17054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
17055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17056 if (SWIG_arg_fail(1)) SWIG_fail
;
17058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17059 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
17061 wxPyEndAllowThreads(__tstate
);
17062 if (PyErr_Occurred()) SWIG_fail
;
17065 resultobj
= wxPyMake_wxObject(result
, 0);
17073 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17074 PyObject
*resultobj
;
17075 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17077 PyObject
* obj0
= 0 ;
17078 char *kwnames
[] = {
17079 (char *) "self", NULL
17082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
17083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17084 if (SWIG_arg_fail(1)) SWIG_fail
;
17086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17087 result
= (wxWindow
*)(arg1
)->GetToolBar();
17089 wxPyEndAllowThreads(__tstate
);
17090 if (PyErr_Occurred()) SWIG_fail
;
17093 resultobj
= wxPyMake_wxObject(result
, 0);
17101 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17102 PyObject
*resultobj
;
17103 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17104 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
17105 PyObject
* obj0
= 0 ;
17106 PyObject
* obj1
= 0 ;
17107 char *kwnames
[] = {
17108 (char *) "self",(char *) "orient", NULL
17111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) goto fail
;
17112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17113 if (SWIG_arg_fail(1)) SWIG_fail
;
17116 arg2
= (wxOrientation
)(SWIG_As_int(obj1
));
17117 if (SWIG_arg_fail(2)) SWIG_fail
;
17121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17122 (arg1
)->Tile((wxOrientation
)arg2
);
17124 wxPyEndAllowThreads(__tstate
);
17125 if (PyErr_Occurred()) SWIG_fail
;
17127 Py_INCREF(Py_None
); resultobj
= Py_None
;
17134 static PyObject
* MDIParentFrame_swigregister(PyObject
*, PyObject
*args
) {
17136 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17137 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
17139 return Py_BuildValue((char *)"");
17141 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17142 PyObject
*resultobj
;
17143 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17144 int arg2
= (int) (int)-1 ;
17145 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17146 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17147 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17148 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17149 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17150 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17151 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
17152 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
17153 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17154 wxMDIChildFrame
*result
;
17155 bool temp3
= false ;
17158 bool temp7
= false ;
17159 PyObject
* obj0
= 0 ;
17160 PyObject
* obj1
= 0 ;
17161 PyObject
* obj2
= 0 ;
17162 PyObject
* obj3
= 0 ;
17163 PyObject
* obj4
= 0 ;
17164 PyObject
* obj5
= 0 ;
17165 PyObject
* obj6
= 0 ;
17166 char *kwnames
[] = {
17167 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17172 if (SWIG_arg_fail(1)) SWIG_fail
;
17175 arg2
= (int const)(SWIG_As_int(obj1
));
17176 if (SWIG_arg_fail(2)) SWIG_fail
;
17181 arg3
= wxString_in_helper(obj2
);
17182 if (arg3
== NULL
) SWIG_fail
;
17189 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17195 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17200 arg6
= (long)(SWIG_As_long(obj5
));
17201 if (SWIG_arg_fail(6)) SWIG_fail
;
17206 arg7
= wxString_in_helper(obj6
);
17207 if (arg7
== NULL
) SWIG_fail
;
17212 if (!wxPyCheckForApp()) SWIG_fail
;
17213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17214 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17216 wxPyEndAllowThreads(__tstate
);
17217 if (PyErr_Occurred()) SWIG_fail
;
17219 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
17242 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17243 PyObject
*resultobj
;
17244 wxMDIChildFrame
*result
;
17245 char *kwnames
[] = {
17249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
17251 if (!wxPyCheckForApp()) SWIG_fail
;
17252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17253 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
17255 wxPyEndAllowThreads(__tstate
);
17256 if (PyErr_Occurred()) SWIG_fail
;
17258 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
17265 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17266 PyObject
*resultobj
;
17267 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17268 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
17269 int arg3
= (int) (int)-1 ;
17270 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17271 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17272 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17273 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17274 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17275 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17276 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
17277 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
17278 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17280 bool temp4
= false ;
17283 bool temp8
= false ;
17284 PyObject
* obj0
= 0 ;
17285 PyObject
* obj1
= 0 ;
17286 PyObject
* obj2
= 0 ;
17287 PyObject
* obj3
= 0 ;
17288 PyObject
* obj4
= 0 ;
17289 PyObject
* obj5
= 0 ;
17290 PyObject
* obj6
= 0 ;
17291 PyObject
* obj7
= 0 ;
17292 char *kwnames
[] = {
17293 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17298 if (SWIG_arg_fail(1)) SWIG_fail
;
17299 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17300 if (SWIG_arg_fail(2)) SWIG_fail
;
17303 arg3
= (int const)(SWIG_As_int(obj2
));
17304 if (SWIG_arg_fail(3)) SWIG_fail
;
17309 arg4
= wxString_in_helper(obj3
);
17310 if (arg4
== NULL
) SWIG_fail
;
17317 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17323 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17328 arg7
= (long)(SWIG_As_long(obj6
));
17329 if (SWIG_arg_fail(7)) SWIG_fail
;
17334 arg8
= wxString_in_helper(obj7
);
17335 if (arg8
== NULL
) SWIG_fail
;
17340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17341 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
17343 wxPyEndAllowThreads(__tstate
);
17344 if (PyErr_Occurred()) SWIG_fail
;
17347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17371 static PyObject
*_wrap_MDIChildFrame_Activate(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_Activate",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();
17384 (arg1
)->Activate();
17386 wxPyEndAllowThreads(__tstate
);
17387 if (PyErr_Occurred()) SWIG_fail
;
17389 Py_INCREF(Py_None
); resultobj
= Py_None
;
17396 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17397 PyObject
*resultobj
;
17398 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17399 bool arg2
= (bool) true ;
17400 PyObject
* obj0
= 0 ;
17401 PyObject
* obj1
= 0 ;
17402 char *kwnames
[] = {
17403 (char *) "self",(char *) "maximize", NULL
17406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
17407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17408 if (SWIG_arg_fail(1)) SWIG_fail
;
17411 arg2
= (bool)(SWIG_As_bool(obj1
));
17412 if (SWIG_arg_fail(2)) SWIG_fail
;
17416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17417 (arg1
)->Maximize(arg2
);
17419 wxPyEndAllowThreads(__tstate
);
17420 if (PyErr_Occurred()) SWIG_fail
;
17422 Py_INCREF(Py_None
); resultobj
= Py_None
;
17429 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17430 PyObject
*resultobj
;
17431 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17432 PyObject
* obj0
= 0 ;
17433 char *kwnames
[] = {
17434 (char *) "self", NULL
17437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
17438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17439 if (SWIG_arg_fail(1)) SWIG_fail
;
17441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17444 wxPyEndAllowThreads(__tstate
);
17445 if (PyErr_Occurred()) SWIG_fail
;
17447 Py_INCREF(Py_None
); resultobj
= Py_None
;
17454 static PyObject
* MDIChildFrame_swigregister(PyObject
*, PyObject
*args
) {
17456 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17457 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
17459 return Py_BuildValue((char *)"");
17461 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17462 PyObject
*resultobj
;
17463 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17464 long arg2
= (long) 0 ;
17465 wxMDIClientWindow
*result
;
17466 PyObject
* obj0
= 0 ;
17467 PyObject
* obj1
= 0 ;
17468 char *kwnames
[] = {
17469 (char *) "parent",(char *) "style", NULL
17472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
17473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17474 if (SWIG_arg_fail(1)) SWIG_fail
;
17477 arg2
= (long)(SWIG_As_long(obj1
));
17478 if (SWIG_arg_fail(2)) SWIG_fail
;
17482 if (!wxPyCheckForApp()) SWIG_fail
;
17483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17484 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
17486 wxPyEndAllowThreads(__tstate
);
17487 if (PyErr_Occurred()) SWIG_fail
;
17489 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
17496 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17497 PyObject
*resultobj
;
17498 wxMDIClientWindow
*result
;
17499 char *kwnames
[] = {
17503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
17505 if (!wxPyCheckForApp()) SWIG_fail
;
17506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17507 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
17509 wxPyEndAllowThreads(__tstate
);
17510 if (PyErr_Occurred()) SWIG_fail
;
17512 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
17519 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17520 PyObject
*resultobj
;
17521 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
17522 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
17523 long arg3
= (long) 0 ;
17525 PyObject
* obj0
= 0 ;
17526 PyObject
* obj1
= 0 ;
17527 PyObject
* obj2
= 0 ;
17528 char *kwnames
[] = {
17529 (char *) "self",(char *) "parent",(char *) "style", NULL
17532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_EXCEPTION
| 0);
17534 if (SWIG_arg_fail(1)) SWIG_fail
;
17535 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17536 if (SWIG_arg_fail(2)) SWIG_fail
;
17539 arg3
= (long)(SWIG_As_long(obj2
));
17540 if (SWIG_arg_fail(3)) SWIG_fail
;
17544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17545 result
= (bool)(arg1
)->Create(arg2
,arg3
);
17547 wxPyEndAllowThreads(__tstate
);
17548 if (PyErr_Occurred()) SWIG_fail
;
17551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17559 static PyObject
* MDIClientWindow_swigregister(PyObject
*, PyObject
*args
) {
17561 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17562 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
17564 return Py_BuildValue((char *)"");
17566 static PyObject
*_wrap_new_PyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17567 PyObject
*resultobj
;
17568 wxWindow
*arg1
= (wxWindow
*) 0 ;
17569 int arg2
= (int) (int)-1 ;
17570 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17571 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17572 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17573 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17574 long arg5
= (long) 0 ;
17575 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
17576 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17577 wxPyWindow
*result
;
17580 bool temp6
= false ;
17581 PyObject
* obj0
= 0 ;
17582 PyObject
* obj1
= 0 ;
17583 PyObject
* obj2
= 0 ;
17584 PyObject
* obj3
= 0 ;
17585 PyObject
* obj4
= 0 ;
17586 PyObject
* obj5
= 0 ;
17587 char *kwnames
[] = {
17588 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17593 if (SWIG_arg_fail(1)) SWIG_fail
;
17596 arg2
= (int const)(SWIG_As_int(obj1
));
17597 if (SWIG_arg_fail(2)) SWIG_fail
;
17603 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17609 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17614 arg5
= (long)(SWIG_As_long(obj4
));
17615 if (SWIG_arg_fail(5)) SWIG_fail
;
17620 arg6
= wxString_in_helper(obj5
);
17621 if (arg6
== NULL
) SWIG_fail
;
17626 if (!wxPyCheckForApp()) SWIG_fail
;
17627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17628 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17630 wxPyEndAllowThreads(__tstate
);
17631 if (PyErr_Occurred()) SWIG_fail
;
17633 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
17648 static PyObject
*_wrap_new_PrePyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17649 PyObject
*resultobj
;
17650 wxPyWindow
*result
;
17651 char *kwnames
[] = {
17655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
17657 if (!wxPyCheckForApp()) SWIG_fail
;
17658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17659 result
= (wxPyWindow
*)new wxPyWindow();
17661 wxPyEndAllowThreads(__tstate
);
17662 if (PyErr_Occurred()) SWIG_fail
;
17664 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
17671 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17672 PyObject
*resultobj
;
17673 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17674 PyObject
*arg2
= (PyObject
*) 0 ;
17675 PyObject
*arg3
= (PyObject
*) 0 ;
17676 PyObject
* obj0
= 0 ;
17677 PyObject
* obj1
= 0 ;
17678 PyObject
* obj2
= 0 ;
17679 char *kwnames
[] = {
17680 (char *) "self",(char *) "self",(char *) "_class", NULL
17683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17685 if (SWIG_arg_fail(1)) SWIG_fail
;
17689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17690 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17692 wxPyEndAllowThreads(__tstate
);
17693 if (PyErr_Occurred()) SWIG_fail
;
17695 Py_INCREF(Py_None
); resultobj
= Py_None
;
17702 static PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17703 PyObject
*resultobj
;
17704 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17707 PyObject
* obj0
= 0 ;
17708 PyObject
* obj1
= 0 ;
17709 char *kwnames
[] = {
17710 (char *) "self",(char *) "size", NULL
17713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17715 if (SWIG_arg_fail(1)) SWIG_fail
;
17718 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17722 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
17724 wxPyEndAllowThreads(__tstate
);
17725 if (PyErr_Occurred()) SWIG_fail
;
17727 Py_INCREF(Py_None
); resultobj
= Py_None
;
17734 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17735 PyObject
*resultobj
;
17736 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17741 PyObject
* obj0
= 0 ;
17742 PyObject
* obj1
= 0 ;
17743 PyObject
* obj2
= 0 ;
17744 PyObject
* obj3
= 0 ;
17745 PyObject
* obj4
= 0 ;
17746 char *kwnames
[] = {
17747 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17752 if (SWIG_arg_fail(1)) SWIG_fail
;
17754 arg2
= (int)(SWIG_As_int(obj1
));
17755 if (SWIG_arg_fail(2)) SWIG_fail
;
17758 arg3
= (int)(SWIG_As_int(obj2
));
17759 if (SWIG_arg_fail(3)) SWIG_fail
;
17762 arg4
= (int)(SWIG_As_int(obj3
));
17763 if (SWIG_arg_fail(4)) SWIG_fail
;
17766 arg5
= (int)(SWIG_As_int(obj4
));
17767 if (SWIG_arg_fail(5)) SWIG_fail
;
17770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17771 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
17773 wxPyEndAllowThreads(__tstate
);
17774 if (PyErr_Occurred()) SWIG_fail
;
17776 Py_INCREF(Py_None
); resultobj
= Py_None
;
17783 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17784 PyObject
*resultobj
;
17785 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17790 int arg6
= (int) wxSIZE_AUTO
;
17791 PyObject
* obj0
= 0 ;
17792 PyObject
* obj1
= 0 ;
17793 PyObject
* obj2
= 0 ;
17794 PyObject
* obj3
= 0 ;
17795 PyObject
* obj4
= 0 ;
17796 PyObject
* obj5
= 0 ;
17797 char *kwnames
[] = {
17798 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17803 if (SWIG_arg_fail(1)) SWIG_fail
;
17805 arg2
= (int)(SWIG_As_int(obj1
));
17806 if (SWIG_arg_fail(2)) SWIG_fail
;
17809 arg3
= (int)(SWIG_As_int(obj2
));
17810 if (SWIG_arg_fail(3)) SWIG_fail
;
17813 arg4
= (int)(SWIG_As_int(obj3
));
17814 if (SWIG_arg_fail(4)) SWIG_fail
;
17817 arg5
= (int)(SWIG_As_int(obj4
));
17818 if (SWIG_arg_fail(5)) SWIG_fail
;
17822 arg6
= (int)(SWIG_As_int(obj5
));
17823 if (SWIG_arg_fail(6)) SWIG_fail
;
17827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17828 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
17830 wxPyEndAllowThreads(__tstate
);
17831 if (PyErr_Occurred()) SWIG_fail
;
17833 Py_INCREF(Py_None
); resultobj
= Py_None
;
17840 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17841 PyObject
*resultobj
;
17842 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17845 PyObject
* obj0
= 0 ;
17846 PyObject
* obj1
= 0 ;
17847 PyObject
* obj2
= 0 ;
17848 char *kwnames
[] = {
17849 (char *) "self",(char *) "width",(char *) "height", NULL
17852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17854 if (SWIG_arg_fail(1)) SWIG_fail
;
17856 arg2
= (int)(SWIG_As_int(obj1
));
17857 if (SWIG_arg_fail(2)) SWIG_fail
;
17860 arg3
= (int)(SWIG_As_int(obj2
));
17861 if (SWIG_arg_fail(3)) SWIG_fail
;
17864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17865 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
17867 wxPyEndAllowThreads(__tstate
);
17868 if (PyErr_Occurred()) SWIG_fail
;
17870 Py_INCREF(Py_None
); resultobj
= Py_None
;
17877 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17878 PyObject
*resultobj
;
17879 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17882 PyObject
* obj0
= 0 ;
17883 PyObject
* obj1
= 0 ;
17884 PyObject
* obj2
= 0 ;
17885 char *kwnames
[] = {
17886 (char *) "self",(char *) "x",(char *) "y", NULL
17889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17891 if (SWIG_arg_fail(1)) SWIG_fail
;
17893 arg2
= (int)(SWIG_As_int(obj1
));
17894 if (SWIG_arg_fail(2)) SWIG_fail
;
17897 arg3
= (int)(SWIG_As_int(obj2
));
17898 if (SWIG_arg_fail(3)) SWIG_fail
;
17901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17902 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
17904 wxPyEndAllowThreads(__tstate
);
17905 if (PyErr_Occurred()) SWIG_fail
;
17907 Py_INCREF(Py_None
); resultobj
= Py_None
;
17914 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17915 PyObject
*resultobj
;
17916 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17917 int *arg2
= (int *) 0 ;
17918 int *arg3
= (int *) 0 ;
17923 PyObject
* obj0
= 0 ;
17924 char *kwnames
[] = {
17925 (char *) "self", NULL
17928 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17929 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
17931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17932 if (SWIG_arg_fail(1)) SWIG_fail
;
17934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17935 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
17937 wxPyEndAllowThreads(__tstate
);
17938 if (PyErr_Occurred()) SWIG_fail
;
17940 Py_INCREF(Py_None
); resultobj
= Py_None
;
17941 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17942 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17943 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17944 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17951 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17952 PyObject
*resultobj
;
17953 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17954 int *arg2
= (int *) 0 ;
17955 int *arg3
= (int *) 0 ;
17960 PyObject
* obj0
= 0 ;
17961 char *kwnames
[] = {
17962 (char *) "self", NULL
17965 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17966 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
17968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17969 if (SWIG_arg_fail(1)) SWIG_fail
;
17971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17972 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
17974 wxPyEndAllowThreads(__tstate
);
17975 if (PyErr_Occurred()) SWIG_fail
;
17977 Py_INCREF(Py_None
); resultobj
= Py_None
;
17978 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17979 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17980 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17981 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17988 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17989 PyObject
*resultobj
;
17990 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17991 int *arg2
= (int *) 0 ;
17992 int *arg3
= (int *) 0 ;
17997 PyObject
* obj0
= 0 ;
17998 char *kwnames
[] = {
17999 (char *) "self", NULL
18002 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18003 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
18005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18006 if (SWIG_arg_fail(1)) SWIG_fail
;
18008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18009 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
18011 wxPyEndAllowThreads(__tstate
);
18012 if (PyErr_Occurred()) SWIG_fail
;
18014 Py_INCREF(Py_None
); resultobj
= Py_None
;
18015 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18016 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18017 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18018 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18025 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18026 PyObject
*resultobj
;
18027 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18029 PyObject
* obj0
= 0 ;
18030 char *kwnames
[] = {
18031 (char *) "self", NULL
18034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
18035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18036 if (SWIG_arg_fail(1)) SWIG_fail
;
18038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18039 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
18041 wxPyEndAllowThreads(__tstate
);
18042 if (PyErr_Occurred()) SWIG_fail
;
18045 wxSize
* resultptr
;
18046 resultptr
= new wxSize((wxSize
&)(result
));
18047 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18055 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18056 PyObject
*resultobj
;
18057 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18059 PyObject
* obj0
= 0 ;
18060 char *kwnames
[] = {
18061 (char *) "self", NULL
18064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
18065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18066 if (SWIG_arg_fail(1)) SWIG_fail
;
18068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18069 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
18071 wxPyEndAllowThreads(__tstate
);
18072 if (PyErr_Occurred()) SWIG_fail
;
18075 wxSize
* resultptr
;
18076 resultptr
= new wxSize((wxSize
&)(result
));
18077 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18085 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18086 PyObject
*resultobj
;
18087 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18088 PyObject
* obj0
= 0 ;
18089 char *kwnames
[] = {
18090 (char *) "self", NULL
18093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
18094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18095 if (SWIG_arg_fail(1)) SWIG_fail
;
18097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18098 (arg1
)->base_InitDialog();
18100 wxPyEndAllowThreads(__tstate
);
18101 if (PyErr_Occurred()) SWIG_fail
;
18103 Py_INCREF(Py_None
); resultobj
= Py_None
;
18110 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18111 PyObject
*resultobj
;
18112 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18114 PyObject
* obj0
= 0 ;
18115 char *kwnames
[] = {
18116 (char *) "self", NULL
18119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
18120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18121 if (SWIG_arg_fail(1)) SWIG_fail
;
18123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18124 result
= (bool)(arg1
)->base_TransferDataToWindow();
18126 wxPyEndAllowThreads(__tstate
);
18127 if (PyErr_Occurred()) SWIG_fail
;
18130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18138 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18139 PyObject
*resultobj
;
18140 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18142 PyObject
* obj0
= 0 ;
18143 char *kwnames
[] = {
18144 (char *) "self", NULL
18147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
18148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18149 if (SWIG_arg_fail(1)) SWIG_fail
;
18151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18152 result
= (bool)(arg1
)->base_TransferDataFromWindow();
18154 wxPyEndAllowThreads(__tstate
);
18155 if (PyErr_Occurred()) SWIG_fail
;
18158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18166 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18167 PyObject
*resultobj
;
18168 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18170 PyObject
* obj0
= 0 ;
18171 char *kwnames
[] = {
18172 (char *) "self", NULL
18175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
18176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18177 if (SWIG_arg_fail(1)) SWIG_fail
;
18179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18180 result
= (bool)(arg1
)->base_Validate();
18182 wxPyEndAllowThreads(__tstate
);
18183 if (PyErr_Occurred()) SWIG_fail
;
18186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18194 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18195 PyObject
*resultobj
;
18196 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18198 PyObject
* obj0
= 0 ;
18199 char *kwnames
[] = {
18200 (char *) "self", NULL
18203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
18204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18205 if (SWIG_arg_fail(1)) SWIG_fail
;
18207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18208 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
18210 wxPyEndAllowThreads(__tstate
);
18211 if (PyErr_Occurred()) SWIG_fail
;
18214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18222 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18223 PyObject
*resultobj
;
18224 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18226 PyObject
* obj0
= 0 ;
18227 char *kwnames
[] = {
18228 (char *) "self", NULL
18231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
18232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18233 if (SWIG_arg_fail(1)) SWIG_fail
;
18235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18236 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
18238 wxPyEndAllowThreads(__tstate
);
18239 if (PyErr_Occurred()) SWIG_fail
;
18242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18250 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18251 PyObject
*resultobj
;
18252 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18254 PyObject
* obj0
= 0 ;
18255 char *kwnames
[] = {
18256 (char *) "self", NULL
18259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
18260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18261 if (SWIG_arg_fail(1)) SWIG_fail
;
18263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18264 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
18266 wxPyEndAllowThreads(__tstate
);
18267 if (PyErr_Occurred()) SWIG_fail
;
18270 wxSize
* resultptr
;
18271 resultptr
= new wxSize((wxSize
&)(result
));
18272 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18280 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18281 PyObject
*resultobj
;
18282 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18283 wxWindow
*arg2
= (wxWindow
*) 0 ;
18284 PyObject
* obj0
= 0 ;
18285 PyObject
* obj1
= 0 ;
18286 char *kwnames
[] = {
18287 (char *) "self",(char *) "child", NULL
18290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18292 if (SWIG_arg_fail(1)) SWIG_fail
;
18293 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18294 if (SWIG_arg_fail(2)) SWIG_fail
;
18296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18297 (arg1
)->base_AddChild(arg2
);
18299 wxPyEndAllowThreads(__tstate
);
18300 if (PyErr_Occurred()) SWIG_fail
;
18302 Py_INCREF(Py_None
); resultobj
= Py_None
;
18309 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18310 PyObject
*resultobj
;
18311 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18312 wxWindow
*arg2
= (wxWindow
*) 0 ;
18313 PyObject
* obj0
= 0 ;
18314 PyObject
* obj1
= 0 ;
18315 char *kwnames
[] = {
18316 (char *) "self",(char *) "child", NULL
18319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",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
;
18322 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18323 if (SWIG_arg_fail(2)) SWIG_fail
;
18325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18326 (arg1
)->base_RemoveChild(arg2
);
18328 wxPyEndAllowThreads(__tstate
);
18329 if (PyErr_Occurred()) SWIG_fail
;
18331 Py_INCREF(Py_None
); resultobj
= Py_None
;
18338 static PyObject
*_wrap_PyWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18339 PyObject
*resultobj
;
18340 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18342 PyObject
* obj0
= 0 ;
18343 char *kwnames
[] = {
18344 (char *) "self", NULL
18347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
18348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18349 if (SWIG_arg_fail(1)) SWIG_fail
;
18351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18352 result
= (bool)((wxPyWindow
const *)arg1
)->base_ShouldInheritColours();
18354 wxPyEndAllowThreads(__tstate
);
18355 if (PyErr_Occurred()) SWIG_fail
;
18358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18366 static PyObject
*_wrap_PyWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18367 PyObject
*resultobj
;
18368 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18369 wxVisualAttributes result
;
18370 PyObject
* obj0
= 0 ;
18371 char *kwnames
[] = {
18372 (char *) "self", NULL
18375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
18376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18377 if (SWIG_arg_fail(1)) SWIG_fail
;
18379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18380 result
= (arg1
)->base_GetDefaultAttributes();
18382 wxPyEndAllowThreads(__tstate
);
18383 if (PyErr_Occurred()) SWIG_fail
;
18386 wxVisualAttributes
* resultptr
;
18387 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
18388 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
18396 static PyObject
* PyWindow_swigregister(PyObject
*, PyObject
*args
) {
18398 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18399 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
18401 return Py_BuildValue((char *)"");
18403 static PyObject
*_wrap_new_PyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18404 PyObject
*resultobj
;
18405 wxWindow
*arg1
= (wxWindow
*) 0 ;
18406 int arg2
= (int) (int)-1 ;
18407 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18408 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18409 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18410 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18411 long arg5
= (long) 0 ;
18412 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
18413 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18417 bool temp6
= false ;
18418 PyObject
* obj0
= 0 ;
18419 PyObject
* obj1
= 0 ;
18420 PyObject
* obj2
= 0 ;
18421 PyObject
* obj3
= 0 ;
18422 PyObject
* obj4
= 0 ;
18423 PyObject
* obj5
= 0 ;
18424 char *kwnames
[] = {
18425 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18430 if (SWIG_arg_fail(1)) SWIG_fail
;
18433 arg2
= (int const)(SWIG_As_int(obj1
));
18434 if (SWIG_arg_fail(2)) SWIG_fail
;
18440 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18446 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18451 arg5
= (long)(SWIG_As_long(obj4
));
18452 if (SWIG_arg_fail(5)) SWIG_fail
;
18457 arg6
= wxString_in_helper(obj5
);
18458 if (arg6
== NULL
) SWIG_fail
;
18463 if (!wxPyCheckForApp()) SWIG_fail
;
18464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18465 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18467 wxPyEndAllowThreads(__tstate
);
18468 if (PyErr_Occurred()) SWIG_fail
;
18470 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
18485 static PyObject
*_wrap_new_PrePyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18486 PyObject
*resultobj
;
18488 char *kwnames
[] = {
18492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
18494 if (!wxPyCheckForApp()) SWIG_fail
;
18495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18496 result
= (wxPyPanel
*)new wxPyPanel();
18498 wxPyEndAllowThreads(__tstate
);
18499 if (PyErr_Occurred()) SWIG_fail
;
18501 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
18508 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18509 PyObject
*resultobj
;
18510 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18511 PyObject
*arg2
= (PyObject
*) 0 ;
18512 PyObject
*arg3
= (PyObject
*) 0 ;
18513 PyObject
* obj0
= 0 ;
18514 PyObject
* obj1
= 0 ;
18515 PyObject
* obj2
= 0 ;
18516 char *kwnames
[] = {
18517 (char *) "self",(char *) "self",(char *) "_class", NULL
18520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18522 if (SWIG_arg_fail(1)) SWIG_fail
;
18526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18527 (arg1
)->_setCallbackInfo(arg2
,arg3
);
18529 wxPyEndAllowThreads(__tstate
);
18530 if (PyErr_Occurred()) SWIG_fail
;
18532 Py_INCREF(Py_None
); resultobj
= Py_None
;
18539 static PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18540 PyObject
*resultobj
;
18541 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18544 PyObject
* obj0
= 0 ;
18545 PyObject
* obj1
= 0 ;
18546 char *kwnames
[] = {
18547 (char *) "self",(char *) "size", NULL
18550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18552 if (SWIG_arg_fail(1)) SWIG_fail
;
18555 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18559 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
18561 wxPyEndAllowThreads(__tstate
);
18562 if (PyErr_Occurred()) SWIG_fail
;
18564 Py_INCREF(Py_None
); resultobj
= Py_None
;
18571 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18572 PyObject
*resultobj
;
18573 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18578 PyObject
* obj0
= 0 ;
18579 PyObject
* obj1
= 0 ;
18580 PyObject
* obj2
= 0 ;
18581 PyObject
* obj3
= 0 ;
18582 PyObject
* obj4
= 0 ;
18583 char *kwnames
[] = {
18584 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18589 if (SWIG_arg_fail(1)) SWIG_fail
;
18591 arg2
= (int)(SWIG_As_int(obj1
));
18592 if (SWIG_arg_fail(2)) SWIG_fail
;
18595 arg3
= (int)(SWIG_As_int(obj2
));
18596 if (SWIG_arg_fail(3)) SWIG_fail
;
18599 arg4
= (int)(SWIG_As_int(obj3
));
18600 if (SWIG_arg_fail(4)) SWIG_fail
;
18603 arg5
= (int)(SWIG_As_int(obj4
));
18604 if (SWIG_arg_fail(5)) SWIG_fail
;
18607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18608 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
18610 wxPyEndAllowThreads(__tstate
);
18611 if (PyErr_Occurred()) SWIG_fail
;
18613 Py_INCREF(Py_None
); resultobj
= Py_None
;
18620 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18621 PyObject
*resultobj
;
18622 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18627 int arg6
= (int) wxSIZE_AUTO
;
18628 PyObject
* obj0
= 0 ;
18629 PyObject
* obj1
= 0 ;
18630 PyObject
* obj2
= 0 ;
18631 PyObject
* obj3
= 0 ;
18632 PyObject
* obj4
= 0 ;
18633 PyObject
* obj5
= 0 ;
18634 char *kwnames
[] = {
18635 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
18638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18640 if (SWIG_arg_fail(1)) SWIG_fail
;
18642 arg2
= (int)(SWIG_As_int(obj1
));
18643 if (SWIG_arg_fail(2)) SWIG_fail
;
18646 arg3
= (int)(SWIG_As_int(obj2
));
18647 if (SWIG_arg_fail(3)) SWIG_fail
;
18650 arg4
= (int)(SWIG_As_int(obj3
));
18651 if (SWIG_arg_fail(4)) SWIG_fail
;
18654 arg5
= (int)(SWIG_As_int(obj4
));
18655 if (SWIG_arg_fail(5)) SWIG_fail
;
18659 arg6
= (int)(SWIG_As_int(obj5
));
18660 if (SWIG_arg_fail(6)) SWIG_fail
;
18664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18665 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
18667 wxPyEndAllowThreads(__tstate
);
18668 if (PyErr_Occurred()) SWIG_fail
;
18670 Py_INCREF(Py_None
); resultobj
= Py_None
;
18677 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18678 PyObject
*resultobj
;
18679 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18682 PyObject
* obj0
= 0 ;
18683 PyObject
* obj1
= 0 ;
18684 PyObject
* obj2
= 0 ;
18685 char *kwnames
[] = {
18686 (char *) "self",(char *) "width",(char *) "height", NULL
18689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18691 if (SWIG_arg_fail(1)) SWIG_fail
;
18693 arg2
= (int)(SWIG_As_int(obj1
));
18694 if (SWIG_arg_fail(2)) SWIG_fail
;
18697 arg3
= (int)(SWIG_As_int(obj2
));
18698 if (SWIG_arg_fail(3)) SWIG_fail
;
18701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18702 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
18704 wxPyEndAllowThreads(__tstate
);
18705 if (PyErr_Occurred()) SWIG_fail
;
18707 Py_INCREF(Py_None
); resultobj
= Py_None
;
18714 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18715 PyObject
*resultobj
;
18716 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18719 PyObject
* obj0
= 0 ;
18720 PyObject
* obj1
= 0 ;
18721 PyObject
* obj2
= 0 ;
18722 char *kwnames
[] = {
18723 (char *) "self",(char *) "x",(char *) "y", NULL
18726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18728 if (SWIG_arg_fail(1)) SWIG_fail
;
18730 arg2
= (int)(SWIG_As_int(obj1
));
18731 if (SWIG_arg_fail(2)) SWIG_fail
;
18734 arg3
= (int)(SWIG_As_int(obj2
));
18735 if (SWIG_arg_fail(3)) SWIG_fail
;
18738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18739 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
18741 wxPyEndAllowThreads(__tstate
);
18742 if (PyErr_Occurred()) SWIG_fail
;
18744 Py_INCREF(Py_None
); resultobj
= Py_None
;
18751 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18752 PyObject
*resultobj
;
18753 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18754 int *arg2
= (int *) 0 ;
18755 int *arg3
= (int *) 0 ;
18760 PyObject
* obj0
= 0 ;
18761 char *kwnames
[] = {
18762 (char *) "self", NULL
18765 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18766 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
18768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18769 if (SWIG_arg_fail(1)) SWIG_fail
;
18771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18772 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
18774 wxPyEndAllowThreads(__tstate
);
18775 if (PyErr_Occurred()) SWIG_fail
;
18777 Py_INCREF(Py_None
); resultobj
= Py_None
;
18778 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18779 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18780 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18781 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18788 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18789 PyObject
*resultobj
;
18790 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18791 int *arg2
= (int *) 0 ;
18792 int *arg3
= (int *) 0 ;
18797 PyObject
* obj0
= 0 ;
18798 char *kwnames
[] = {
18799 (char *) "self", NULL
18802 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18803 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
18805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18806 if (SWIG_arg_fail(1)) SWIG_fail
;
18808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18809 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
18811 wxPyEndAllowThreads(__tstate
);
18812 if (PyErr_Occurred()) SWIG_fail
;
18814 Py_INCREF(Py_None
); resultobj
= Py_None
;
18815 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18816 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18817 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18818 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18825 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18826 PyObject
*resultobj
;
18827 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18828 int *arg2
= (int *) 0 ;
18829 int *arg3
= (int *) 0 ;
18834 PyObject
* obj0
= 0 ;
18835 char *kwnames
[] = {
18836 (char *) "self", NULL
18839 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18840 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
18842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18843 if (SWIG_arg_fail(1)) SWIG_fail
;
18845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18846 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
18848 wxPyEndAllowThreads(__tstate
);
18849 if (PyErr_Occurred()) SWIG_fail
;
18851 Py_INCREF(Py_None
); resultobj
= Py_None
;
18852 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18853 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18854 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18855 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18862 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18863 PyObject
*resultobj
;
18864 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18866 PyObject
* obj0
= 0 ;
18867 char *kwnames
[] = {
18868 (char *) "self", NULL
18871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
18872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18873 if (SWIG_arg_fail(1)) SWIG_fail
;
18875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18876 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
18878 wxPyEndAllowThreads(__tstate
);
18879 if (PyErr_Occurred()) SWIG_fail
;
18882 wxSize
* resultptr
;
18883 resultptr
= new wxSize((wxSize
&)(result
));
18884 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18892 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18893 PyObject
*resultobj
;
18894 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18896 PyObject
* obj0
= 0 ;
18897 char *kwnames
[] = {
18898 (char *) "self", NULL
18901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
18902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18903 if (SWIG_arg_fail(1)) SWIG_fail
;
18905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18906 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
18908 wxPyEndAllowThreads(__tstate
);
18909 if (PyErr_Occurred()) SWIG_fail
;
18912 wxSize
* resultptr
;
18913 resultptr
= new wxSize((wxSize
&)(result
));
18914 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18922 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18923 PyObject
*resultobj
;
18924 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_InitDialog",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 (arg1
)->base_InitDialog();
18937 wxPyEndAllowThreads(__tstate
);
18938 if (PyErr_Occurred()) SWIG_fail
;
18940 Py_INCREF(Py_None
); resultobj
= Py_None
;
18947 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18948 PyObject
*resultobj
;
18949 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18951 PyObject
* obj0
= 0 ;
18952 char *kwnames
[] = {
18953 (char *) "self", NULL
18956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
18957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18958 if (SWIG_arg_fail(1)) SWIG_fail
;
18960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18961 result
= (bool)(arg1
)->base_TransferDataToWindow();
18963 wxPyEndAllowThreads(__tstate
);
18964 if (PyErr_Occurred()) SWIG_fail
;
18967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18975 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18976 PyObject
*resultobj
;
18977 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18979 PyObject
* obj0
= 0 ;
18980 char *kwnames
[] = {
18981 (char *) "self", NULL
18984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
18985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18986 if (SWIG_arg_fail(1)) SWIG_fail
;
18988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18989 result
= (bool)(arg1
)->base_TransferDataFromWindow();
18991 wxPyEndAllowThreads(__tstate
);
18992 if (PyErr_Occurred()) SWIG_fail
;
18995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19003 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19004 PyObject
*resultobj
;
19005 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19007 PyObject
* obj0
= 0 ;
19008 char *kwnames
[] = {
19009 (char *) "self", NULL
19012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
19013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19014 if (SWIG_arg_fail(1)) SWIG_fail
;
19016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19017 result
= (bool)(arg1
)->base_Validate();
19019 wxPyEndAllowThreads(__tstate
);
19020 if (PyErr_Occurred()) SWIG_fail
;
19023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19031 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19032 PyObject
*resultobj
;
19033 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19035 PyObject
* obj0
= 0 ;
19036 char *kwnames
[] = {
19037 (char *) "self", NULL
19040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
19041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19042 if (SWIG_arg_fail(1)) SWIG_fail
;
19044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19045 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
19047 wxPyEndAllowThreads(__tstate
);
19048 if (PyErr_Occurred()) SWIG_fail
;
19051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19059 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19060 PyObject
*resultobj
;
19061 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19063 PyObject
* obj0
= 0 ;
19064 char *kwnames
[] = {
19065 (char *) "self", NULL
19068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
19069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19070 if (SWIG_arg_fail(1)) SWIG_fail
;
19072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19073 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
19075 wxPyEndAllowThreads(__tstate
);
19076 if (PyErr_Occurred()) SWIG_fail
;
19079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19087 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19088 PyObject
*resultobj
;
19089 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19091 PyObject
* obj0
= 0 ;
19092 char *kwnames
[] = {
19093 (char *) "self", NULL
19096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
19097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19098 if (SWIG_arg_fail(1)) SWIG_fail
;
19100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19101 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
19103 wxPyEndAllowThreads(__tstate
);
19104 if (PyErr_Occurred()) SWIG_fail
;
19107 wxSize
* resultptr
;
19108 resultptr
= new wxSize((wxSize
&)(result
));
19109 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19117 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19118 PyObject
*resultobj
;
19119 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19120 wxWindow
*arg2
= (wxWindow
*) 0 ;
19121 PyObject
* obj0
= 0 ;
19122 PyObject
* obj1
= 0 ;
19123 char *kwnames
[] = {
19124 (char *) "self",(char *) "child", NULL
19127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
19128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19129 if (SWIG_arg_fail(1)) SWIG_fail
;
19130 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19131 if (SWIG_arg_fail(2)) SWIG_fail
;
19133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19134 (arg1
)->base_AddChild(arg2
);
19136 wxPyEndAllowThreads(__tstate
);
19137 if (PyErr_Occurred()) SWIG_fail
;
19139 Py_INCREF(Py_None
); resultobj
= Py_None
;
19146 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19147 PyObject
*resultobj
;
19148 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19149 wxWindow
*arg2
= (wxWindow
*) 0 ;
19150 PyObject
* obj0
= 0 ;
19151 PyObject
* obj1
= 0 ;
19152 char *kwnames
[] = {
19153 (char *) "self",(char *) "child", NULL
19156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
19157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19158 if (SWIG_arg_fail(1)) SWIG_fail
;
19159 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19160 if (SWIG_arg_fail(2)) SWIG_fail
;
19162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19163 (arg1
)->base_RemoveChild(arg2
);
19165 wxPyEndAllowThreads(__tstate
);
19166 if (PyErr_Occurred()) SWIG_fail
;
19168 Py_INCREF(Py_None
); resultobj
= Py_None
;
19175 static PyObject
*_wrap_PyPanel_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19176 PyObject
*resultobj
;
19177 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19179 PyObject
* obj0
= 0 ;
19180 char *kwnames
[] = {
19181 (char *) "self", NULL
19184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
19185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19186 if (SWIG_arg_fail(1)) SWIG_fail
;
19188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19189 result
= (bool)((wxPyPanel
const *)arg1
)->base_ShouldInheritColours();
19191 wxPyEndAllowThreads(__tstate
);
19192 if (PyErr_Occurred()) SWIG_fail
;
19195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19203 static PyObject
*_wrap_PyPanel_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19204 PyObject
*resultobj
;
19205 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19206 wxVisualAttributes result
;
19207 PyObject
* obj0
= 0 ;
19208 char *kwnames
[] = {
19209 (char *) "self", NULL
19212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
19213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19214 if (SWIG_arg_fail(1)) SWIG_fail
;
19216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19217 result
= (arg1
)->base_GetDefaultAttributes();
19219 wxPyEndAllowThreads(__tstate
);
19220 if (PyErr_Occurred()) SWIG_fail
;
19223 wxVisualAttributes
* resultptr
;
19224 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
19225 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
19233 static PyObject
* PyPanel_swigregister(PyObject
*, PyObject
*args
) {
19235 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19236 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
19238 return Py_BuildValue((char *)"");
19240 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19241 PyObject
*resultobj
;
19242 wxWindow
*arg1
= (wxWindow
*) 0 ;
19243 int arg2
= (int) (int)-1 ;
19244 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19245 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19246 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19247 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19248 long arg5
= (long) 0 ;
19249 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
19250 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
19251 wxPyScrolledWindow
*result
;
19254 bool temp6
= false ;
19255 PyObject
* obj0
= 0 ;
19256 PyObject
* obj1
= 0 ;
19257 PyObject
* obj2
= 0 ;
19258 PyObject
* obj3
= 0 ;
19259 PyObject
* obj4
= 0 ;
19260 PyObject
* obj5
= 0 ;
19261 char *kwnames
[] = {
19262 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19267 if (SWIG_arg_fail(1)) SWIG_fail
;
19270 arg2
= (int const)(SWIG_As_int(obj1
));
19271 if (SWIG_arg_fail(2)) SWIG_fail
;
19277 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19283 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19288 arg5
= (long)(SWIG_As_long(obj4
));
19289 if (SWIG_arg_fail(5)) SWIG_fail
;
19294 arg6
= wxString_in_helper(obj5
);
19295 if (arg6
== NULL
) SWIG_fail
;
19300 if (!wxPyCheckForApp()) SWIG_fail
;
19301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19302 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
19304 wxPyEndAllowThreads(__tstate
);
19305 if (PyErr_Occurred()) SWIG_fail
;
19307 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
19322 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19323 PyObject
*resultobj
;
19324 wxPyScrolledWindow
*result
;
19325 char *kwnames
[] = {
19329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
19331 if (!wxPyCheckForApp()) SWIG_fail
;
19332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19333 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
19335 wxPyEndAllowThreads(__tstate
);
19336 if (PyErr_Occurred()) SWIG_fail
;
19338 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
19345 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19346 PyObject
*resultobj
;
19347 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19348 PyObject
*arg2
= (PyObject
*) 0 ;
19349 PyObject
*arg3
= (PyObject
*) 0 ;
19350 PyObject
* obj0
= 0 ;
19351 PyObject
* obj1
= 0 ;
19352 PyObject
* obj2
= 0 ;
19353 char *kwnames
[] = {
19354 (char *) "self",(char *) "self",(char *) "_class", NULL
19357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19359 if (SWIG_arg_fail(1)) SWIG_fail
;
19363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19364 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19366 wxPyEndAllowThreads(__tstate
);
19367 if (PyErr_Occurred()) SWIG_fail
;
19369 Py_INCREF(Py_None
); resultobj
= Py_None
;
19376 static PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19377 PyObject
*resultobj
;
19378 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19381 PyObject
* obj0
= 0 ;
19382 PyObject
* obj1
= 0 ;
19383 char *kwnames
[] = {
19384 (char *) "self",(char *) "size", NULL
19387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19389 if (SWIG_arg_fail(1)) SWIG_fail
;
19392 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19396 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
19398 wxPyEndAllowThreads(__tstate
);
19399 if (PyErr_Occurred()) SWIG_fail
;
19401 Py_INCREF(Py_None
); resultobj
= Py_None
;
19408 static PyObject
*_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19409 PyObject
*resultobj
;
19410 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19415 PyObject
* obj0
= 0 ;
19416 PyObject
* obj1
= 0 ;
19417 PyObject
* obj2
= 0 ;
19418 PyObject
* obj3
= 0 ;
19419 PyObject
* obj4
= 0 ;
19420 char *kwnames
[] = {
19421 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19426 if (SWIG_arg_fail(1)) SWIG_fail
;
19428 arg2
= (int)(SWIG_As_int(obj1
));
19429 if (SWIG_arg_fail(2)) SWIG_fail
;
19432 arg3
= (int)(SWIG_As_int(obj2
));
19433 if (SWIG_arg_fail(3)) SWIG_fail
;
19436 arg4
= (int)(SWIG_As_int(obj3
));
19437 if (SWIG_arg_fail(4)) SWIG_fail
;
19440 arg5
= (int)(SWIG_As_int(obj4
));
19441 if (SWIG_arg_fail(5)) SWIG_fail
;
19444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19445 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
19447 wxPyEndAllowThreads(__tstate
);
19448 if (PyErr_Occurred()) SWIG_fail
;
19450 Py_INCREF(Py_None
); resultobj
= Py_None
;
19457 static PyObject
*_wrap_PyScrolledWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19458 PyObject
*resultobj
;
19459 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19464 int arg6
= (int) wxSIZE_AUTO
;
19465 PyObject
* obj0
= 0 ;
19466 PyObject
* obj1
= 0 ;
19467 PyObject
* obj2
= 0 ;
19468 PyObject
* obj3
= 0 ;
19469 PyObject
* obj4
= 0 ;
19470 PyObject
* obj5
= 0 ;
19471 char *kwnames
[] = {
19472 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19477 if (SWIG_arg_fail(1)) SWIG_fail
;
19479 arg2
= (int)(SWIG_As_int(obj1
));
19480 if (SWIG_arg_fail(2)) SWIG_fail
;
19483 arg3
= (int)(SWIG_As_int(obj2
));
19484 if (SWIG_arg_fail(3)) SWIG_fail
;
19487 arg4
= (int)(SWIG_As_int(obj3
));
19488 if (SWIG_arg_fail(4)) SWIG_fail
;
19491 arg5
= (int)(SWIG_As_int(obj4
));
19492 if (SWIG_arg_fail(5)) SWIG_fail
;
19496 arg6
= (int)(SWIG_As_int(obj5
));
19497 if (SWIG_arg_fail(6)) SWIG_fail
;
19501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19502 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
19504 wxPyEndAllowThreads(__tstate
);
19505 if (PyErr_Occurred()) SWIG_fail
;
19507 Py_INCREF(Py_None
); resultobj
= Py_None
;
19514 static PyObject
*_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19515 PyObject
*resultobj
;
19516 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19519 PyObject
* obj0
= 0 ;
19520 PyObject
* obj1
= 0 ;
19521 PyObject
* obj2
= 0 ;
19522 char *kwnames
[] = {
19523 (char *) "self",(char *) "width",(char *) "height", NULL
19526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19528 if (SWIG_arg_fail(1)) SWIG_fail
;
19530 arg2
= (int)(SWIG_As_int(obj1
));
19531 if (SWIG_arg_fail(2)) SWIG_fail
;
19534 arg3
= (int)(SWIG_As_int(obj2
));
19535 if (SWIG_arg_fail(3)) SWIG_fail
;
19538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19539 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
19541 wxPyEndAllowThreads(__tstate
);
19542 if (PyErr_Occurred()) SWIG_fail
;
19544 Py_INCREF(Py_None
); resultobj
= Py_None
;
19551 static PyObject
*_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19552 PyObject
*resultobj
;
19553 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19556 PyObject
* obj0
= 0 ;
19557 PyObject
* obj1
= 0 ;
19558 PyObject
* obj2
= 0 ;
19559 char *kwnames
[] = {
19560 (char *) "self",(char *) "x",(char *) "y", NULL
19563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19565 if (SWIG_arg_fail(1)) SWIG_fail
;
19567 arg2
= (int)(SWIG_As_int(obj1
));
19568 if (SWIG_arg_fail(2)) SWIG_fail
;
19571 arg3
= (int)(SWIG_As_int(obj2
));
19572 if (SWIG_arg_fail(3)) SWIG_fail
;
19575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19576 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
19578 wxPyEndAllowThreads(__tstate
);
19579 if (PyErr_Occurred()) SWIG_fail
;
19581 Py_INCREF(Py_None
); resultobj
= Py_None
;
19588 static PyObject
*_wrap_PyScrolledWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19589 PyObject
*resultobj
;
19590 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19591 int *arg2
= (int *) 0 ;
19592 int *arg3
= (int *) 0 ;
19597 PyObject
* obj0
= 0 ;
19598 char *kwnames
[] = {
19599 (char *) "self", NULL
19602 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19603 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
19605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19606 if (SWIG_arg_fail(1)) SWIG_fail
;
19608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19609 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
19611 wxPyEndAllowThreads(__tstate
);
19612 if (PyErr_Occurred()) SWIG_fail
;
19614 Py_INCREF(Py_None
); resultobj
= Py_None
;
19615 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19616 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19617 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19618 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19625 static PyObject
*_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19626 PyObject
*resultobj
;
19627 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19628 int *arg2
= (int *) 0 ;
19629 int *arg3
= (int *) 0 ;
19634 PyObject
* obj0
= 0 ;
19635 char *kwnames
[] = {
19636 (char *) "self", NULL
19639 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19640 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
19642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19643 if (SWIG_arg_fail(1)) SWIG_fail
;
19645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19646 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
19648 wxPyEndAllowThreads(__tstate
);
19649 if (PyErr_Occurred()) SWIG_fail
;
19651 Py_INCREF(Py_None
); resultobj
= Py_None
;
19652 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19653 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19654 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19655 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19662 static PyObject
*_wrap_PyScrolledWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19663 PyObject
*resultobj
;
19664 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19665 int *arg2
= (int *) 0 ;
19666 int *arg3
= (int *) 0 ;
19671 PyObject
* obj0
= 0 ;
19672 char *kwnames
[] = {
19673 (char *) "self", NULL
19676 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19677 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
19679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19680 if (SWIG_arg_fail(1)) SWIG_fail
;
19682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19683 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
19685 wxPyEndAllowThreads(__tstate
);
19686 if (PyErr_Occurred()) SWIG_fail
;
19688 Py_INCREF(Py_None
); resultobj
= Py_None
;
19689 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19690 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19691 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19692 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19699 static PyObject
*_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19700 PyObject
*resultobj
;
19701 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19703 PyObject
* obj0
= 0 ;
19704 char *kwnames
[] = {
19705 (char *) "self", NULL
19708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
19709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19710 if (SWIG_arg_fail(1)) SWIG_fail
;
19712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19713 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetVirtualSize();
19715 wxPyEndAllowThreads(__tstate
);
19716 if (PyErr_Occurred()) SWIG_fail
;
19719 wxSize
* resultptr
;
19720 resultptr
= new wxSize((wxSize
&)(result
));
19721 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19729 static PyObject
*_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19730 PyObject
*resultobj
;
19731 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19733 PyObject
* obj0
= 0 ;
19734 char *kwnames
[] = {
19735 (char *) "self", NULL
19738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
19739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19740 if (SWIG_arg_fail(1)) SWIG_fail
;
19742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19743 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetBestSize();
19745 wxPyEndAllowThreads(__tstate
);
19746 if (PyErr_Occurred()) SWIG_fail
;
19749 wxSize
* resultptr
;
19750 resultptr
= new wxSize((wxSize
&)(result
));
19751 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19759 static PyObject
*_wrap_PyScrolledWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19760 PyObject
*resultobj
;
19761 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19762 PyObject
* obj0
= 0 ;
19763 char *kwnames
[] = {
19764 (char *) "self", NULL
19767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
19768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19769 if (SWIG_arg_fail(1)) SWIG_fail
;
19771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19772 (arg1
)->base_InitDialog();
19774 wxPyEndAllowThreads(__tstate
);
19775 if (PyErr_Occurred()) SWIG_fail
;
19777 Py_INCREF(Py_None
); resultobj
= Py_None
;
19784 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19785 PyObject
*resultobj
;
19786 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19788 PyObject
* obj0
= 0 ;
19789 char *kwnames
[] = {
19790 (char *) "self", NULL
19793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
19794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19795 if (SWIG_arg_fail(1)) SWIG_fail
;
19797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19798 result
= (bool)(arg1
)->base_TransferDataToWindow();
19800 wxPyEndAllowThreads(__tstate
);
19801 if (PyErr_Occurred()) SWIG_fail
;
19804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19812 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19813 PyObject
*resultobj
;
19814 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19816 PyObject
* obj0
= 0 ;
19817 char *kwnames
[] = {
19818 (char *) "self", NULL
19821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
19822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19823 if (SWIG_arg_fail(1)) SWIG_fail
;
19825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19826 result
= (bool)(arg1
)->base_TransferDataFromWindow();
19828 wxPyEndAllowThreads(__tstate
);
19829 if (PyErr_Occurred()) SWIG_fail
;
19832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19840 static PyObject
*_wrap_PyScrolledWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19841 PyObject
*resultobj
;
19842 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19844 PyObject
* obj0
= 0 ;
19845 char *kwnames
[] = {
19846 (char *) "self", NULL
19849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
19850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19851 if (SWIG_arg_fail(1)) SWIG_fail
;
19853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19854 result
= (bool)(arg1
)->base_Validate();
19856 wxPyEndAllowThreads(__tstate
);
19857 if (PyErr_Occurred()) SWIG_fail
;
19860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19868 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19869 PyObject
*resultobj
;
19870 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19872 PyObject
* obj0
= 0 ;
19873 char *kwnames
[] = {
19874 (char *) "self", NULL
19877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
19878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19879 if (SWIG_arg_fail(1)) SWIG_fail
;
19881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19882 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocus();
19884 wxPyEndAllowThreads(__tstate
);
19885 if (PyErr_Occurred()) SWIG_fail
;
19888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19896 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19897 PyObject
*resultobj
;
19898 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19900 PyObject
* obj0
= 0 ;
19901 char *kwnames
[] = {
19902 (char *) "self", NULL
19905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
19906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19907 if (SWIG_arg_fail(1)) SWIG_fail
;
19909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19910 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
19912 wxPyEndAllowThreads(__tstate
);
19913 if (PyErr_Occurred()) SWIG_fail
;
19916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19924 static PyObject
*_wrap_PyScrolledWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19925 PyObject
*resultobj
;
19926 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19928 PyObject
* obj0
= 0 ;
19929 char *kwnames
[] = {
19930 (char *) "self", NULL
19933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
19934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19935 if (SWIG_arg_fail(1)) SWIG_fail
;
19937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19938 result
= ((wxPyScrolledWindow
const *)arg1
)->base_GetMaxSize();
19940 wxPyEndAllowThreads(__tstate
);
19941 if (PyErr_Occurred()) SWIG_fail
;
19944 wxSize
* resultptr
;
19945 resultptr
= new wxSize((wxSize
&)(result
));
19946 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19954 static PyObject
*_wrap_PyScrolledWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19955 PyObject
*resultobj
;
19956 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19957 wxWindow
*arg2
= (wxWindow
*) 0 ;
19958 PyObject
* obj0
= 0 ;
19959 PyObject
* obj1
= 0 ;
19960 char *kwnames
[] = {
19961 (char *) "self",(char *) "child", NULL
19964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
19965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19966 if (SWIG_arg_fail(1)) SWIG_fail
;
19967 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19968 if (SWIG_arg_fail(2)) SWIG_fail
;
19970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19971 (arg1
)->base_AddChild(arg2
);
19973 wxPyEndAllowThreads(__tstate
);
19974 if (PyErr_Occurred()) SWIG_fail
;
19976 Py_INCREF(Py_None
); resultobj
= Py_None
;
19983 static PyObject
*_wrap_PyScrolledWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19984 PyObject
*resultobj
;
19985 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19986 wxWindow
*arg2
= (wxWindow
*) 0 ;
19987 PyObject
* obj0
= 0 ;
19988 PyObject
* obj1
= 0 ;
19989 char *kwnames
[] = {
19990 (char *) "self",(char *) "child", NULL
19993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
19994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19995 if (SWIG_arg_fail(1)) SWIG_fail
;
19996 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19997 if (SWIG_arg_fail(2)) SWIG_fail
;
19999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20000 (arg1
)->base_RemoveChild(arg2
);
20002 wxPyEndAllowThreads(__tstate
);
20003 if (PyErr_Occurred()) SWIG_fail
;
20005 Py_INCREF(Py_None
); resultobj
= Py_None
;
20012 static PyObject
*_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20013 PyObject
*resultobj
;
20014 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20016 PyObject
* obj0
= 0 ;
20017 char *kwnames
[] = {
20018 (char *) "self", NULL
20021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
20022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20023 if (SWIG_arg_fail(1)) SWIG_fail
;
20025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20026 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_ShouldInheritColours();
20028 wxPyEndAllowThreads(__tstate
);
20029 if (PyErr_Occurred()) SWIG_fail
;
20032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20040 static PyObject
*_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20041 PyObject
*resultobj
;
20042 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20043 wxVisualAttributes result
;
20044 PyObject
* obj0
= 0 ;
20045 char *kwnames
[] = {
20046 (char *) "self", NULL
20049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
20050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20051 if (SWIG_arg_fail(1)) SWIG_fail
;
20053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20054 result
= (arg1
)->base_GetDefaultAttributes();
20056 wxPyEndAllowThreads(__tstate
);
20057 if (PyErr_Occurred()) SWIG_fail
;
20060 wxVisualAttributes
* resultptr
;
20061 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
20062 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
20070 static PyObject
* PyScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
20072 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20073 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
20075 return Py_BuildValue((char *)"");
20077 static int _wrap_PrintoutTitleStr_set(PyObject
*) {
20078 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
20083 static PyObject
*_wrap_PrintoutTitleStr_get(void) {
20088 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
20090 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
20097 static int _wrap_PreviewCanvasNameStr_set(PyObject
*) {
20098 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
20103 static PyObject
*_wrap_PreviewCanvasNameStr_get(void) {
20108 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
20110 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
20117 static PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*, PyObject
*args
) {
20118 PyObject
*resultobj
;
20119 wxPrintData
*result
;
20121 if(!PyArg_ParseTuple(args
,(char *)":new_PrintData")) goto fail
;
20123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20124 result
= (wxPrintData
*)new wxPrintData();
20126 wxPyEndAllowThreads(__tstate
);
20127 if (PyErr_Occurred()) SWIG_fail
;
20129 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
20136 static PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*, PyObject
*args
) {
20137 PyObject
*resultobj
;
20138 wxPrintData
*arg1
= 0 ;
20139 wxPrintData
*result
;
20140 PyObject
* obj0
= 0 ;
20142 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintData",&obj0
)) goto fail
;
20144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20145 if (SWIG_arg_fail(1)) SWIG_fail
;
20146 if (arg1
== NULL
) {
20147 SWIG_null_ref("wxPrintData");
20149 if (SWIG_arg_fail(1)) SWIG_fail
;
20152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20153 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
20155 wxPyEndAllowThreads(__tstate
);
20156 if (PyErr_Occurred()) SWIG_fail
;
20158 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
20165 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
20170 argc
= PyObject_Length(args
);
20171 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
20172 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20175 return _wrap_new_PrintData__SWIG_0(self
,args
);
20181 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
20189 return _wrap_new_PrintData__SWIG_1(self
,args
);
20193 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
20198 static PyObject
*_wrap_delete_PrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20199 PyObject
*resultobj
;
20200 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20201 PyObject
* obj0
= 0 ;
20202 char *kwnames
[] = {
20203 (char *) "self", NULL
20206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
20207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20208 if (SWIG_arg_fail(1)) SWIG_fail
;
20210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20213 wxPyEndAllowThreads(__tstate
);
20214 if (PyErr_Occurred()) SWIG_fail
;
20216 Py_INCREF(Py_None
); resultobj
= Py_None
;
20223 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20224 PyObject
*resultobj
;
20225 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20227 PyObject
* obj0
= 0 ;
20228 char *kwnames
[] = {
20229 (char *) "self", NULL
20232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
20233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20234 if (SWIG_arg_fail(1)) SWIG_fail
;
20236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20237 result
= (int)(arg1
)->GetNoCopies();
20239 wxPyEndAllowThreads(__tstate
);
20240 if (PyErr_Occurred()) SWIG_fail
;
20243 resultobj
= SWIG_From_int((int)(result
));
20251 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20252 PyObject
*resultobj
;
20253 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20255 PyObject
* obj0
= 0 ;
20256 char *kwnames
[] = {
20257 (char *) "self", NULL
20260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
20261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20262 if (SWIG_arg_fail(1)) SWIG_fail
;
20264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20265 result
= (bool)(arg1
)->GetCollate();
20267 wxPyEndAllowThreads(__tstate
);
20268 if (PyErr_Occurred()) SWIG_fail
;
20271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20279 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20280 PyObject
*resultobj
;
20281 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20283 PyObject
* obj0
= 0 ;
20284 char *kwnames
[] = {
20285 (char *) "self", NULL
20288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
20289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20290 if (SWIG_arg_fail(1)) SWIG_fail
;
20292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20293 result
= (int)(arg1
)->GetOrientation();
20295 wxPyEndAllowThreads(__tstate
);
20296 if (PyErr_Occurred()) SWIG_fail
;
20299 resultobj
= SWIG_From_int((int)(result
));
20307 static PyObject
*_wrap_PrintData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20308 PyObject
*resultobj
;
20309 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20311 PyObject
* obj0
= 0 ;
20312 char *kwnames
[] = {
20313 (char *) "self", NULL
20316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
20317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20318 if (SWIG_arg_fail(1)) SWIG_fail
;
20320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20321 result
= (bool)(arg1
)->Ok();
20323 wxPyEndAllowThreads(__tstate
);
20324 if (PyErr_Occurred()) SWIG_fail
;
20327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20335 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20336 PyObject
*resultobj
;
20337 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20339 PyObject
* obj0
= 0 ;
20340 char *kwnames
[] = {
20341 (char *) "self", NULL
20344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
20345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20346 if (SWIG_arg_fail(1)) SWIG_fail
;
20348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20350 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
20351 result
= (wxString
*) &_result_ref
;
20354 wxPyEndAllowThreads(__tstate
);
20355 if (PyErr_Occurred()) SWIG_fail
;
20359 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20361 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20370 static PyObject
*_wrap_PrintData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20371 PyObject
*resultobj
;
20372 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20374 PyObject
* obj0
= 0 ;
20375 char *kwnames
[] = {
20376 (char *) "self", NULL
20379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
20380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20381 if (SWIG_arg_fail(1)) SWIG_fail
;
20383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20384 result
= (bool)(arg1
)->GetColour();
20386 wxPyEndAllowThreads(__tstate
);
20387 if (PyErr_Occurred()) SWIG_fail
;
20390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20398 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20399 PyObject
*resultobj
;
20400 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20401 wxDuplexMode result
;
20402 PyObject
* obj0
= 0 ;
20403 char *kwnames
[] = {
20404 (char *) "self", NULL
20407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
20408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20409 if (SWIG_arg_fail(1)) SWIG_fail
;
20411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20412 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
20414 wxPyEndAllowThreads(__tstate
);
20415 if (PyErr_Occurred()) SWIG_fail
;
20417 resultobj
= SWIG_From_int((result
));
20424 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20425 PyObject
*resultobj
;
20426 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20427 wxPaperSize result
;
20428 PyObject
* obj0
= 0 ;
20429 char *kwnames
[] = {
20430 (char *) "self", NULL
20433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
20434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20435 if (SWIG_arg_fail(1)) SWIG_fail
;
20437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20438 result
= (wxPaperSize
)(arg1
)->GetPaperId();
20440 wxPyEndAllowThreads(__tstate
);
20441 if (PyErr_Occurred()) SWIG_fail
;
20443 resultobj
= SWIG_From_int((result
));
20450 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20451 PyObject
*resultobj
;
20452 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20454 PyObject
* obj0
= 0 ;
20455 char *kwnames
[] = {
20456 (char *) "self", NULL
20459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
20460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20461 if (SWIG_arg_fail(1)) SWIG_fail
;
20463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20465 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
20466 result
= (wxSize
*) &_result_ref
;
20469 wxPyEndAllowThreads(__tstate
);
20470 if (PyErr_Occurred()) SWIG_fail
;
20472 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
20479 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20480 PyObject
*resultobj
;
20481 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20483 PyObject
* obj0
= 0 ;
20484 char *kwnames
[] = {
20485 (char *) "self", NULL
20488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
20489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20490 if (SWIG_arg_fail(1)) SWIG_fail
;
20492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20493 result
= (int)(arg1
)->GetQuality();
20495 wxPyEndAllowThreads(__tstate
);
20496 if (PyErr_Occurred()) SWIG_fail
;
20499 resultobj
= SWIG_From_int((int)(result
));
20507 static PyObject
*_wrap_PrintData_GetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20508 PyObject
*resultobj
;
20509 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20511 PyObject
* obj0
= 0 ;
20512 char *kwnames
[] = {
20513 (char *) "self", NULL
20516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetBin",kwnames
,&obj0
)) goto fail
;
20517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20518 if (SWIG_arg_fail(1)) SWIG_fail
;
20520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20521 result
= (wxPrintBin
)(arg1
)->GetBin();
20523 wxPyEndAllowThreads(__tstate
);
20524 if (PyErr_Occurred()) SWIG_fail
;
20526 resultobj
= SWIG_From_int((result
));
20533 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20534 PyObject
*resultobj
;
20535 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20536 wxPrintMode result
;
20537 PyObject
* obj0
= 0 ;
20538 char *kwnames
[] = {
20539 (char *) "self", NULL
20542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
20543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20544 if (SWIG_arg_fail(1)) SWIG_fail
;
20546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20547 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
20549 wxPyEndAllowThreads(__tstate
);
20550 if (PyErr_Occurred()) SWIG_fail
;
20552 resultobj
= SWIG_From_int((result
));
20559 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20560 PyObject
*resultobj
;
20561 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20563 PyObject
* obj0
= 0 ;
20564 PyObject
* obj1
= 0 ;
20565 char *kwnames
[] = {
20566 (char *) "self",(char *) "v", NULL
20569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
20570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20571 if (SWIG_arg_fail(1)) SWIG_fail
;
20573 arg2
= (int)(SWIG_As_int(obj1
));
20574 if (SWIG_arg_fail(2)) SWIG_fail
;
20577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20578 (arg1
)->SetNoCopies(arg2
);
20580 wxPyEndAllowThreads(__tstate
);
20581 if (PyErr_Occurred()) SWIG_fail
;
20583 Py_INCREF(Py_None
); resultobj
= Py_None
;
20590 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20591 PyObject
*resultobj
;
20592 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20594 PyObject
* obj0
= 0 ;
20595 PyObject
* obj1
= 0 ;
20596 char *kwnames
[] = {
20597 (char *) "self",(char *) "flag", NULL
20600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
20601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20602 if (SWIG_arg_fail(1)) SWIG_fail
;
20604 arg2
= (bool)(SWIG_As_bool(obj1
));
20605 if (SWIG_arg_fail(2)) SWIG_fail
;
20608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20609 (arg1
)->SetCollate(arg2
);
20611 wxPyEndAllowThreads(__tstate
);
20612 if (PyErr_Occurred()) SWIG_fail
;
20614 Py_INCREF(Py_None
); resultobj
= Py_None
;
20621 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20622 PyObject
*resultobj
;
20623 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20625 PyObject
* obj0
= 0 ;
20626 PyObject
* obj1
= 0 ;
20627 char *kwnames
[] = {
20628 (char *) "self",(char *) "orient", NULL
20631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
20632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20633 if (SWIG_arg_fail(1)) SWIG_fail
;
20635 arg2
= (int)(SWIG_As_int(obj1
));
20636 if (SWIG_arg_fail(2)) SWIG_fail
;
20639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20640 (arg1
)->SetOrientation(arg2
);
20642 wxPyEndAllowThreads(__tstate
);
20643 if (PyErr_Occurred()) SWIG_fail
;
20645 Py_INCREF(Py_None
); resultobj
= Py_None
;
20652 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20653 PyObject
*resultobj
;
20654 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20655 wxString
*arg2
= 0 ;
20656 bool temp2
= false ;
20657 PyObject
* obj0
= 0 ;
20658 PyObject
* obj1
= 0 ;
20659 char *kwnames
[] = {
20660 (char *) "self",(char *) "name", NULL
20663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
20664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20665 if (SWIG_arg_fail(1)) SWIG_fail
;
20667 arg2
= wxString_in_helper(obj1
);
20668 if (arg2
== NULL
) SWIG_fail
;
20672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20673 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
20675 wxPyEndAllowThreads(__tstate
);
20676 if (PyErr_Occurred()) SWIG_fail
;
20678 Py_INCREF(Py_None
); resultobj
= Py_None
;
20693 static PyObject
*_wrap_PrintData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20694 PyObject
*resultobj
;
20695 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20697 PyObject
* obj0
= 0 ;
20698 PyObject
* obj1
= 0 ;
20699 char *kwnames
[] = {
20700 (char *) "self",(char *) "colour", NULL
20703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20705 if (SWIG_arg_fail(1)) SWIG_fail
;
20707 arg2
= (bool)(SWIG_As_bool(obj1
));
20708 if (SWIG_arg_fail(2)) SWIG_fail
;
20711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20712 (arg1
)->SetColour(arg2
);
20714 wxPyEndAllowThreads(__tstate
);
20715 if (PyErr_Occurred()) SWIG_fail
;
20717 Py_INCREF(Py_None
); resultobj
= Py_None
;
20724 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20725 PyObject
*resultobj
;
20726 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20727 wxDuplexMode arg2
;
20728 PyObject
* obj0
= 0 ;
20729 PyObject
* obj1
= 0 ;
20730 char *kwnames
[] = {
20731 (char *) "self",(char *) "duplex", NULL
20734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
20735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20736 if (SWIG_arg_fail(1)) SWIG_fail
;
20738 arg2
= (wxDuplexMode
)(SWIG_As_int(obj1
));
20739 if (SWIG_arg_fail(2)) SWIG_fail
;
20742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20743 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
20745 wxPyEndAllowThreads(__tstate
);
20746 if (PyErr_Occurred()) SWIG_fail
;
20748 Py_INCREF(Py_None
); resultobj
= Py_None
;
20755 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20756 PyObject
*resultobj
;
20757 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20759 PyObject
* obj0
= 0 ;
20760 PyObject
* obj1
= 0 ;
20761 char *kwnames
[] = {
20762 (char *) "self",(char *) "sizeId", NULL
20765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
20766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20767 if (SWIG_arg_fail(1)) SWIG_fail
;
20769 arg2
= (wxPaperSize
)(SWIG_As_int(obj1
));
20770 if (SWIG_arg_fail(2)) SWIG_fail
;
20773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20774 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
20776 wxPyEndAllowThreads(__tstate
);
20777 if (PyErr_Occurred()) SWIG_fail
;
20779 Py_INCREF(Py_None
); resultobj
= Py_None
;
20786 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20787 PyObject
*resultobj
;
20788 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20791 PyObject
* obj0
= 0 ;
20792 PyObject
* obj1
= 0 ;
20793 char *kwnames
[] = {
20794 (char *) "self",(char *) "sz", NULL
20797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20799 if (SWIG_arg_fail(1)) SWIG_fail
;
20802 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20806 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
20808 wxPyEndAllowThreads(__tstate
);
20809 if (PyErr_Occurred()) SWIG_fail
;
20811 Py_INCREF(Py_None
); resultobj
= Py_None
;
20818 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20819 PyObject
*resultobj
;
20820 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20822 PyObject
* obj0
= 0 ;
20823 PyObject
* obj1
= 0 ;
20824 char *kwnames
[] = {
20825 (char *) "self",(char *) "quality", NULL
20828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
20829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20830 if (SWIG_arg_fail(1)) SWIG_fail
;
20832 arg2
= (int)(SWIG_As_int(obj1
));
20833 if (SWIG_arg_fail(2)) SWIG_fail
;
20836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20837 (arg1
)->SetQuality(arg2
);
20839 wxPyEndAllowThreads(__tstate
);
20840 if (PyErr_Occurred()) SWIG_fail
;
20842 Py_INCREF(Py_None
); resultobj
= Py_None
;
20849 static PyObject
*_wrap_PrintData_SetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20850 PyObject
*resultobj
;
20851 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20853 PyObject
* obj0
= 0 ;
20854 PyObject
* obj1
= 0 ;
20855 char *kwnames
[] = {
20856 (char *) "self",(char *) "bin", NULL
20859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) goto fail
;
20860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20861 if (SWIG_arg_fail(1)) SWIG_fail
;
20863 arg2
= (wxPrintBin
)(SWIG_As_int(obj1
));
20864 if (SWIG_arg_fail(2)) SWIG_fail
;
20867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20868 (arg1
)->SetBin((wxPrintBin
)arg2
);
20870 wxPyEndAllowThreads(__tstate
);
20871 if (PyErr_Occurred()) SWIG_fail
;
20873 Py_INCREF(Py_None
); resultobj
= Py_None
;
20880 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20881 PyObject
*resultobj
;
20882 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20884 PyObject
* obj0
= 0 ;
20885 PyObject
* obj1
= 0 ;
20886 char *kwnames
[] = {
20887 (char *) "self",(char *) "printMode", NULL
20890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20892 if (SWIG_arg_fail(1)) SWIG_fail
;
20894 arg2
= (wxPrintMode
)(SWIG_As_int(obj1
));
20895 if (SWIG_arg_fail(2)) SWIG_fail
;
20898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20899 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
20901 wxPyEndAllowThreads(__tstate
);
20902 if (PyErr_Occurred()) SWIG_fail
;
20904 Py_INCREF(Py_None
); resultobj
= Py_None
;
20911 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20912 PyObject
*resultobj
;
20913 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20915 PyObject
* obj0
= 0 ;
20916 char *kwnames
[] = {
20917 (char *) "self", NULL
20920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
20921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20922 if (SWIG_arg_fail(1)) SWIG_fail
;
20924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20925 result
= ((wxPrintData
const *)arg1
)->GetFilename();
20927 wxPyEndAllowThreads(__tstate
);
20928 if (PyErr_Occurred()) SWIG_fail
;
20932 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20934 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20943 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20944 PyObject
*resultobj
;
20945 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20946 wxString
*arg2
= 0 ;
20947 bool temp2
= false ;
20948 PyObject
* obj0
= 0 ;
20949 PyObject
* obj1
= 0 ;
20950 char *kwnames
[] = {
20951 (char *) "self",(char *) "filename", NULL
20954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
20955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20956 if (SWIG_arg_fail(1)) SWIG_fail
;
20958 arg2
= wxString_in_helper(obj1
);
20959 if (arg2
== NULL
) SWIG_fail
;
20963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20964 (arg1
)->SetFilename((wxString
const &)*arg2
);
20966 wxPyEndAllowThreads(__tstate
);
20967 if (PyErr_Occurred()) SWIG_fail
;
20969 Py_INCREF(Py_None
); resultobj
= Py_None
;
20984 static PyObject
*_wrap_PrintData_GetPrivData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20985 PyObject
*resultobj
;
20986 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20988 PyObject
* obj0
= 0 ;
20989 char *kwnames
[] = {
20990 (char *) "self", NULL
20993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrivData",kwnames
,&obj0
)) goto fail
;
20994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20995 if (SWIG_arg_fail(1)) SWIG_fail
;
20997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20998 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
21000 wxPyEndAllowThreads(__tstate
);
21001 if (PyErr_Occurred()) SWIG_fail
;
21003 resultobj
= result
;
21010 static PyObject
*_wrap_PrintData_SetPrivData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21011 PyObject
*resultobj
;
21012 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21013 PyObject
*arg2
= (PyObject
*) 0 ;
21014 PyObject
* obj0
= 0 ;
21015 PyObject
* obj1
= 0 ;
21016 char *kwnames
[] = {
21017 (char *) "self",(char *) "data", NULL
21020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) goto fail
;
21021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21022 if (SWIG_arg_fail(1)) SWIG_fail
;
21025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21026 wxPrintData_SetPrivData(arg1
,arg2
);
21028 wxPyEndAllowThreads(__tstate
);
21029 if (PyErr_Occurred()) SWIG_fail
;
21031 Py_INCREF(Py_None
); resultobj
= Py_None
;
21038 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21039 PyObject
*resultobj
;
21040 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21042 PyObject
* obj0
= 0 ;
21043 char *kwnames
[] = {
21044 (char *) "self", NULL
21047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
21048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21049 if (SWIG_arg_fail(1)) SWIG_fail
;
21051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21053 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
21054 result
= (wxString
*) &_result_ref
;
21057 wxPyEndAllowThreads(__tstate
);
21058 if (PyErr_Occurred()) SWIG_fail
;
21062 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21064 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21073 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21074 PyObject
*resultobj
;
21075 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21077 PyObject
* obj0
= 0 ;
21078 char *kwnames
[] = {
21079 (char *) "self", NULL
21082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
21083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21084 if (SWIG_arg_fail(1)) SWIG_fail
;
21086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21088 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
21089 result
= (wxString
*) &_result_ref
;
21092 wxPyEndAllowThreads(__tstate
);
21093 if (PyErr_Occurred()) SWIG_fail
;
21097 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21099 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21108 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21109 PyObject
*resultobj
;
21110 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21112 PyObject
* obj0
= 0 ;
21113 char *kwnames
[] = {
21114 (char *) "self", NULL
21117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
21118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21119 if (SWIG_arg_fail(1)) SWIG_fail
;
21121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21123 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
21124 result
= (wxString
*) &_result_ref
;
21127 wxPyEndAllowThreads(__tstate
);
21128 if (PyErr_Occurred()) SWIG_fail
;
21132 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21134 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21143 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21144 PyObject
*resultobj
;
21145 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21147 PyObject
* obj0
= 0 ;
21148 char *kwnames
[] = {
21149 (char *) "self", NULL
21152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
21153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21154 if (SWIG_arg_fail(1)) SWIG_fail
;
21156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21158 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
21159 result
= (wxString
*) &_result_ref
;
21162 wxPyEndAllowThreads(__tstate
);
21163 if (PyErr_Occurred()) SWIG_fail
;
21167 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21169 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21178 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21179 PyObject
*resultobj
;
21180 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21182 PyObject
* obj0
= 0 ;
21183 char *kwnames
[] = {
21184 (char *) "self", NULL
21187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
21188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21189 if (SWIG_arg_fail(1)) SWIG_fail
;
21191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21192 result
= (double)(arg1
)->GetPrinterScaleX();
21194 wxPyEndAllowThreads(__tstate
);
21195 if (PyErr_Occurred()) SWIG_fail
;
21198 resultobj
= SWIG_From_double((double)(result
));
21206 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21207 PyObject
*resultobj
;
21208 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21210 PyObject
* obj0
= 0 ;
21211 char *kwnames
[] = {
21212 (char *) "self", NULL
21215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
21216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21217 if (SWIG_arg_fail(1)) SWIG_fail
;
21219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21220 result
= (double)(arg1
)->GetPrinterScaleY();
21222 wxPyEndAllowThreads(__tstate
);
21223 if (PyErr_Occurred()) SWIG_fail
;
21226 resultobj
= SWIG_From_double((double)(result
));
21234 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21235 PyObject
*resultobj
;
21236 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21238 PyObject
* obj0
= 0 ;
21239 char *kwnames
[] = {
21240 (char *) "self", NULL
21243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
21244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21245 if (SWIG_arg_fail(1)) SWIG_fail
;
21247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21248 result
= (long)(arg1
)->GetPrinterTranslateX();
21250 wxPyEndAllowThreads(__tstate
);
21251 if (PyErr_Occurred()) SWIG_fail
;
21254 resultobj
= SWIG_From_long((long)(result
));
21262 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21263 PyObject
*resultobj
;
21264 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21266 PyObject
* obj0
= 0 ;
21267 char *kwnames
[] = {
21268 (char *) "self", NULL
21271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
21272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21273 if (SWIG_arg_fail(1)) SWIG_fail
;
21275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21276 result
= (long)(arg1
)->GetPrinterTranslateY();
21278 wxPyEndAllowThreads(__tstate
);
21279 if (PyErr_Occurred()) SWIG_fail
;
21282 resultobj
= SWIG_From_long((long)(result
));
21290 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21291 PyObject
*resultobj
;
21292 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21293 wxString
*arg2
= 0 ;
21294 bool temp2
= false ;
21295 PyObject
* obj0
= 0 ;
21296 PyObject
* obj1
= 0 ;
21297 char *kwnames
[] = {
21298 (char *) "self",(char *) "command", NULL
21301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
21302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21303 if (SWIG_arg_fail(1)) SWIG_fail
;
21305 arg2
= wxString_in_helper(obj1
);
21306 if (arg2
== NULL
) SWIG_fail
;
21310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21311 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
21313 wxPyEndAllowThreads(__tstate
);
21314 if (PyErr_Occurred()) SWIG_fail
;
21316 Py_INCREF(Py_None
); resultobj
= Py_None
;
21331 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21332 PyObject
*resultobj
;
21333 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21334 wxString
*arg2
= 0 ;
21335 bool temp2
= false ;
21336 PyObject
* obj0
= 0 ;
21337 PyObject
* obj1
= 0 ;
21338 char *kwnames
[] = {
21339 (char *) "self",(char *) "options", NULL
21342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
21343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21344 if (SWIG_arg_fail(1)) SWIG_fail
;
21346 arg2
= wxString_in_helper(obj1
);
21347 if (arg2
== NULL
) SWIG_fail
;
21351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21352 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
21354 wxPyEndAllowThreads(__tstate
);
21355 if (PyErr_Occurred()) SWIG_fail
;
21357 Py_INCREF(Py_None
); resultobj
= Py_None
;
21372 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21373 PyObject
*resultobj
;
21374 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21375 wxString
*arg2
= 0 ;
21376 bool temp2
= false ;
21377 PyObject
* obj0
= 0 ;
21378 PyObject
* obj1
= 0 ;
21379 char *kwnames
[] = {
21380 (char *) "self",(char *) "command", NULL
21383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
21384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21385 if (SWIG_arg_fail(1)) SWIG_fail
;
21387 arg2
= wxString_in_helper(obj1
);
21388 if (arg2
== NULL
) SWIG_fail
;
21392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21393 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
21395 wxPyEndAllowThreads(__tstate
);
21396 if (PyErr_Occurred()) SWIG_fail
;
21398 Py_INCREF(Py_None
); resultobj
= Py_None
;
21413 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21414 PyObject
*resultobj
;
21415 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21416 wxString
*arg2
= 0 ;
21417 bool temp2
= false ;
21418 PyObject
* obj0
= 0 ;
21419 PyObject
* obj1
= 0 ;
21420 char *kwnames
[] = {
21421 (char *) "self",(char *) "path", NULL
21424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
21425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21426 if (SWIG_arg_fail(1)) SWIG_fail
;
21428 arg2
= wxString_in_helper(obj1
);
21429 if (arg2
== NULL
) SWIG_fail
;
21433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21434 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
21436 wxPyEndAllowThreads(__tstate
);
21437 if (PyErr_Occurred()) SWIG_fail
;
21439 Py_INCREF(Py_None
); resultobj
= Py_None
;
21454 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21455 PyObject
*resultobj
;
21456 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21458 PyObject
* obj0
= 0 ;
21459 PyObject
* obj1
= 0 ;
21460 char *kwnames
[] = {
21461 (char *) "self",(char *) "x", NULL
21464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
21465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21466 if (SWIG_arg_fail(1)) SWIG_fail
;
21468 arg2
= (double)(SWIG_As_double(obj1
));
21469 if (SWIG_arg_fail(2)) SWIG_fail
;
21472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21473 (arg1
)->SetPrinterScaleX(arg2
);
21475 wxPyEndAllowThreads(__tstate
);
21476 if (PyErr_Occurred()) SWIG_fail
;
21478 Py_INCREF(Py_None
); resultobj
= Py_None
;
21485 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21486 PyObject
*resultobj
;
21487 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21489 PyObject
* obj0
= 0 ;
21490 PyObject
* obj1
= 0 ;
21491 char *kwnames
[] = {
21492 (char *) "self",(char *) "y", NULL
21495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
21496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21497 if (SWIG_arg_fail(1)) SWIG_fail
;
21499 arg2
= (double)(SWIG_As_double(obj1
));
21500 if (SWIG_arg_fail(2)) SWIG_fail
;
21503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21504 (arg1
)->SetPrinterScaleY(arg2
);
21506 wxPyEndAllowThreads(__tstate
);
21507 if (PyErr_Occurred()) SWIG_fail
;
21509 Py_INCREF(Py_None
); resultobj
= Py_None
;
21516 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21517 PyObject
*resultobj
;
21518 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21521 PyObject
* obj0
= 0 ;
21522 PyObject
* obj1
= 0 ;
21523 PyObject
* obj2
= 0 ;
21524 char *kwnames
[] = {
21525 (char *) "self",(char *) "x",(char *) "y", NULL
21528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21530 if (SWIG_arg_fail(1)) SWIG_fail
;
21532 arg2
= (double)(SWIG_As_double(obj1
));
21533 if (SWIG_arg_fail(2)) SWIG_fail
;
21536 arg3
= (double)(SWIG_As_double(obj2
));
21537 if (SWIG_arg_fail(3)) SWIG_fail
;
21540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21541 (arg1
)->SetPrinterScaling(arg2
,arg3
);
21543 wxPyEndAllowThreads(__tstate
);
21544 if (PyErr_Occurred()) SWIG_fail
;
21546 Py_INCREF(Py_None
); resultobj
= Py_None
;
21553 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21554 PyObject
*resultobj
;
21555 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21557 PyObject
* obj0
= 0 ;
21558 PyObject
* obj1
= 0 ;
21559 char *kwnames
[] = {
21560 (char *) "self",(char *) "x", NULL
21563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
21564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21565 if (SWIG_arg_fail(1)) SWIG_fail
;
21567 arg2
= (long)(SWIG_As_long(obj1
));
21568 if (SWIG_arg_fail(2)) SWIG_fail
;
21571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21572 (arg1
)->SetPrinterTranslateX(arg2
);
21574 wxPyEndAllowThreads(__tstate
);
21575 if (PyErr_Occurred()) SWIG_fail
;
21577 Py_INCREF(Py_None
); resultobj
= Py_None
;
21584 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21585 PyObject
*resultobj
;
21586 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21588 PyObject
* obj0
= 0 ;
21589 PyObject
* obj1
= 0 ;
21590 char *kwnames
[] = {
21591 (char *) "self",(char *) "y", NULL
21594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
21595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21596 if (SWIG_arg_fail(1)) SWIG_fail
;
21598 arg2
= (long)(SWIG_As_long(obj1
));
21599 if (SWIG_arg_fail(2)) SWIG_fail
;
21602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21603 (arg1
)->SetPrinterTranslateY(arg2
);
21605 wxPyEndAllowThreads(__tstate
);
21606 if (PyErr_Occurred()) SWIG_fail
;
21608 Py_INCREF(Py_None
); resultobj
= Py_None
;
21615 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21616 PyObject
*resultobj
;
21617 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21620 PyObject
* obj0
= 0 ;
21621 PyObject
* obj1
= 0 ;
21622 PyObject
* obj2
= 0 ;
21623 char *kwnames
[] = {
21624 (char *) "self",(char *) "x",(char *) "y", NULL
21627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21629 if (SWIG_arg_fail(1)) SWIG_fail
;
21631 arg2
= (long)(SWIG_As_long(obj1
));
21632 if (SWIG_arg_fail(2)) SWIG_fail
;
21635 arg3
= (long)(SWIG_As_long(obj2
));
21636 if (SWIG_arg_fail(3)) SWIG_fail
;
21639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21640 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
21642 wxPyEndAllowThreads(__tstate
);
21643 if (PyErr_Occurred()) SWIG_fail
;
21645 Py_INCREF(Py_None
); resultobj
= Py_None
;
21652 static PyObject
* PrintData_swigregister(PyObject
*, PyObject
*args
) {
21654 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21655 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
21657 return Py_BuildValue((char *)"");
21659 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
21660 PyObject
*resultobj
;
21661 wxPageSetupDialogData
*result
;
21663 if(!PyArg_ParseTuple(args
,(char *)":new_PageSetupDialogData")) goto fail
;
21665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21666 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
21668 wxPyEndAllowThreads(__tstate
);
21669 if (PyErr_Occurred()) SWIG_fail
;
21671 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
21678 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
21679 PyObject
*resultobj
;
21680 wxPageSetupDialogData
*arg1
= 0 ;
21681 wxPageSetupDialogData
*result
;
21682 PyObject
* obj0
= 0 ;
21684 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
21686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21687 if (SWIG_arg_fail(1)) SWIG_fail
;
21688 if (arg1
== NULL
) {
21689 SWIG_null_ref("wxPageSetupDialogData");
21691 if (SWIG_arg_fail(1)) SWIG_fail
;
21694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21695 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
21697 wxPyEndAllowThreads(__tstate
);
21698 if (PyErr_Occurred()) SWIG_fail
;
21700 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
21707 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*, PyObject
*args
) {
21708 PyObject
*resultobj
;
21709 wxPrintData
*arg1
= 0 ;
21710 wxPageSetupDialogData
*result
;
21711 PyObject
* obj0
= 0 ;
21713 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
21715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21716 if (SWIG_arg_fail(1)) SWIG_fail
;
21717 if (arg1
== NULL
) {
21718 SWIG_null_ref("wxPrintData");
21720 if (SWIG_arg_fail(1)) SWIG_fail
;
21723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21724 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
21726 wxPyEndAllowThreads(__tstate
);
21727 if (PyErr_Occurred()) SWIG_fail
;
21729 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
21736 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
21741 argc
= PyObject_Length(args
);
21742 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
21743 argv
[ii
] = PyTuple_GetItem(args
,ii
);
21746 return _wrap_new_PageSetupDialogData__SWIG_0(self
,args
);
21752 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPageSetupDialogData
, 0) == -1) {
21760 return _wrap_new_PageSetupDialogData__SWIG_1(self
,args
);
21767 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
21775 return _wrap_new_PageSetupDialogData__SWIG_2(self
,args
);
21779 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
21784 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21785 PyObject
*resultobj
;
21786 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21787 PyObject
* obj0
= 0 ;
21788 char *kwnames
[] = {
21789 (char *) "self", NULL
21792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
21793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21794 if (SWIG_arg_fail(1)) SWIG_fail
;
21796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21799 wxPyEndAllowThreads(__tstate
);
21800 if (PyErr_Occurred()) SWIG_fail
;
21802 Py_INCREF(Py_None
); resultobj
= Py_None
;
21809 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21810 PyObject
*resultobj
;
21811 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21813 PyObject
* obj0
= 0 ;
21814 PyObject
* obj1
= 0 ;
21815 char *kwnames
[] = {
21816 (char *) "self",(char *) "flag", NULL
21819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
21820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21821 if (SWIG_arg_fail(1)) SWIG_fail
;
21823 arg2
= (bool)(SWIG_As_bool(obj1
));
21824 if (SWIG_arg_fail(2)) SWIG_fail
;
21827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21828 (arg1
)->EnableHelp(arg2
);
21830 wxPyEndAllowThreads(__tstate
);
21831 if (PyErr_Occurred()) SWIG_fail
;
21833 Py_INCREF(Py_None
); resultobj
= Py_None
;
21840 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21841 PyObject
*resultobj
;
21842 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21844 PyObject
* obj0
= 0 ;
21845 PyObject
* obj1
= 0 ;
21846 char *kwnames
[] = {
21847 (char *) "self",(char *) "flag", NULL
21850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
21851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21852 if (SWIG_arg_fail(1)) SWIG_fail
;
21854 arg2
= (bool)(SWIG_As_bool(obj1
));
21855 if (SWIG_arg_fail(2)) SWIG_fail
;
21858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21859 (arg1
)->EnableMargins(arg2
);
21861 wxPyEndAllowThreads(__tstate
);
21862 if (PyErr_Occurred()) SWIG_fail
;
21864 Py_INCREF(Py_None
); resultobj
= Py_None
;
21871 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21872 PyObject
*resultobj
;
21873 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21875 PyObject
* obj0
= 0 ;
21876 PyObject
* obj1
= 0 ;
21877 char *kwnames
[] = {
21878 (char *) "self",(char *) "flag", NULL
21881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
21882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21883 if (SWIG_arg_fail(1)) SWIG_fail
;
21885 arg2
= (bool)(SWIG_As_bool(obj1
));
21886 if (SWIG_arg_fail(2)) SWIG_fail
;
21889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21890 (arg1
)->EnableOrientation(arg2
);
21892 wxPyEndAllowThreads(__tstate
);
21893 if (PyErr_Occurred()) SWIG_fail
;
21895 Py_INCREF(Py_None
); resultobj
= Py_None
;
21902 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21903 PyObject
*resultobj
;
21904 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21906 PyObject
* obj0
= 0 ;
21907 PyObject
* obj1
= 0 ;
21908 char *kwnames
[] = {
21909 (char *) "self",(char *) "flag", NULL
21912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
21913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21914 if (SWIG_arg_fail(1)) SWIG_fail
;
21916 arg2
= (bool)(SWIG_As_bool(obj1
));
21917 if (SWIG_arg_fail(2)) SWIG_fail
;
21920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21921 (arg1
)->EnablePaper(arg2
);
21923 wxPyEndAllowThreads(__tstate
);
21924 if (PyErr_Occurred()) SWIG_fail
;
21926 Py_INCREF(Py_None
); resultobj
= Py_None
;
21933 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21934 PyObject
*resultobj
;
21935 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21937 PyObject
* obj0
= 0 ;
21938 PyObject
* obj1
= 0 ;
21939 char *kwnames
[] = {
21940 (char *) "self",(char *) "flag", NULL
21943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
21944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21945 if (SWIG_arg_fail(1)) SWIG_fail
;
21947 arg2
= (bool)(SWIG_As_bool(obj1
));
21948 if (SWIG_arg_fail(2)) SWIG_fail
;
21951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21952 (arg1
)->EnablePrinter(arg2
);
21954 wxPyEndAllowThreads(__tstate
);
21955 if (PyErr_Occurred()) SWIG_fail
;
21957 Py_INCREF(Py_None
); resultobj
= Py_None
;
21964 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21965 PyObject
*resultobj
;
21966 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21968 PyObject
* obj0
= 0 ;
21969 char *kwnames
[] = {
21970 (char *) "self", NULL
21973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
21974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21975 if (SWIG_arg_fail(1)) SWIG_fail
;
21977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21978 result
= (bool)(arg1
)->GetDefaultMinMargins();
21980 wxPyEndAllowThreads(__tstate
);
21981 if (PyErr_Occurred()) SWIG_fail
;
21984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21992 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21993 PyObject
*resultobj
;
21994 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21996 PyObject
* obj0
= 0 ;
21997 char *kwnames
[] = {
21998 (char *) "self", NULL
22001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
22002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22003 if (SWIG_arg_fail(1)) SWIG_fail
;
22005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22006 result
= (bool)(arg1
)->GetEnableMargins();
22008 wxPyEndAllowThreads(__tstate
);
22009 if (PyErr_Occurred()) SWIG_fail
;
22012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22020 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22021 PyObject
*resultobj
;
22022 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22024 PyObject
* obj0
= 0 ;
22025 char *kwnames
[] = {
22026 (char *) "self", NULL
22029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
22030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22031 if (SWIG_arg_fail(1)) SWIG_fail
;
22033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22034 result
= (bool)(arg1
)->GetEnableOrientation();
22036 wxPyEndAllowThreads(__tstate
);
22037 if (PyErr_Occurred()) SWIG_fail
;
22040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22048 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22049 PyObject
*resultobj
;
22050 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22052 PyObject
* obj0
= 0 ;
22053 char *kwnames
[] = {
22054 (char *) "self", NULL
22057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
22058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22059 if (SWIG_arg_fail(1)) SWIG_fail
;
22061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22062 result
= (bool)(arg1
)->GetEnablePaper();
22064 wxPyEndAllowThreads(__tstate
);
22065 if (PyErr_Occurred()) SWIG_fail
;
22068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22076 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22077 PyObject
*resultobj
;
22078 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22080 PyObject
* obj0
= 0 ;
22081 char *kwnames
[] = {
22082 (char *) "self", NULL
22085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
22086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22087 if (SWIG_arg_fail(1)) SWIG_fail
;
22089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22090 result
= (bool)(arg1
)->GetEnablePrinter();
22092 wxPyEndAllowThreads(__tstate
);
22093 if (PyErr_Occurred()) SWIG_fail
;
22096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22104 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22105 PyObject
*resultobj
;
22106 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22108 PyObject
* obj0
= 0 ;
22109 char *kwnames
[] = {
22110 (char *) "self", NULL
22113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
22114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22115 if (SWIG_arg_fail(1)) SWIG_fail
;
22117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22118 result
= (bool)(arg1
)->GetEnableHelp();
22120 wxPyEndAllowThreads(__tstate
);
22121 if (PyErr_Occurred()) SWIG_fail
;
22124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22132 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22133 PyObject
*resultobj
;
22134 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22136 PyObject
* obj0
= 0 ;
22137 char *kwnames
[] = {
22138 (char *) "self", NULL
22141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
22142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22143 if (SWIG_arg_fail(1)) SWIG_fail
;
22145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22146 result
= (bool)(arg1
)->GetDefaultInfo();
22148 wxPyEndAllowThreads(__tstate
);
22149 if (PyErr_Occurred()) SWIG_fail
;
22152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22160 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22161 PyObject
*resultobj
;
22162 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22164 PyObject
* obj0
= 0 ;
22165 char *kwnames
[] = {
22166 (char *) "self", NULL
22169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
22170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22171 if (SWIG_arg_fail(1)) SWIG_fail
;
22173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22174 result
= (arg1
)->GetMarginTopLeft();
22176 wxPyEndAllowThreads(__tstate
);
22177 if (PyErr_Occurred()) SWIG_fail
;
22180 wxPoint
* resultptr
;
22181 resultptr
= new wxPoint((wxPoint
&)(result
));
22182 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22190 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22191 PyObject
*resultobj
;
22192 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22194 PyObject
* obj0
= 0 ;
22195 char *kwnames
[] = {
22196 (char *) "self", NULL
22199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
22200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22201 if (SWIG_arg_fail(1)) SWIG_fail
;
22203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22204 result
= (arg1
)->GetMarginBottomRight();
22206 wxPyEndAllowThreads(__tstate
);
22207 if (PyErr_Occurred()) SWIG_fail
;
22210 wxPoint
* resultptr
;
22211 resultptr
= new wxPoint((wxPoint
&)(result
));
22212 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22220 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22221 PyObject
*resultobj
;
22222 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22224 PyObject
* obj0
= 0 ;
22225 char *kwnames
[] = {
22226 (char *) "self", NULL
22229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
22230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22231 if (SWIG_arg_fail(1)) SWIG_fail
;
22233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22234 result
= (arg1
)->GetMinMarginTopLeft();
22236 wxPyEndAllowThreads(__tstate
);
22237 if (PyErr_Occurred()) SWIG_fail
;
22240 wxPoint
* resultptr
;
22241 resultptr
= new wxPoint((wxPoint
&)(result
));
22242 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22250 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22251 PyObject
*resultobj
;
22252 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22254 PyObject
* obj0
= 0 ;
22255 char *kwnames
[] = {
22256 (char *) "self", NULL
22259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
22260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22261 if (SWIG_arg_fail(1)) SWIG_fail
;
22263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22264 result
= (arg1
)->GetMinMarginBottomRight();
22266 wxPyEndAllowThreads(__tstate
);
22267 if (PyErr_Occurred()) SWIG_fail
;
22270 wxPoint
* resultptr
;
22271 resultptr
= new wxPoint((wxPoint
&)(result
));
22272 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22280 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22281 PyObject
*resultobj
;
22282 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22283 wxPaperSize result
;
22284 PyObject
* obj0
= 0 ;
22285 char *kwnames
[] = {
22286 (char *) "self", NULL
22289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
22290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22291 if (SWIG_arg_fail(1)) SWIG_fail
;
22293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22294 result
= (wxPaperSize
)(arg1
)->GetPaperId();
22296 wxPyEndAllowThreads(__tstate
);
22297 if (PyErr_Occurred()) SWIG_fail
;
22299 resultobj
= SWIG_From_int((result
));
22306 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22307 PyObject
*resultobj
;
22308 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22310 PyObject
* obj0
= 0 ;
22311 char *kwnames
[] = {
22312 (char *) "self", NULL
22315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
22316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22317 if (SWIG_arg_fail(1)) SWIG_fail
;
22319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22320 result
= (arg1
)->GetPaperSize();
22322 wxPyEndAllowThreads(__tstate
);
22323 if (PyErr_Occurred()) SWIG_fail
;
22326 wxSize
* resultptr
;
22327 resultptr
= new wxSize((wxSize
&)(result
));
22328 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22336 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22337 PyObject
*resultobj
;
22338 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22339 wxPrintData
*result
;
22340 PyObject
* obj0
= 0 ;
22341 char *kwnames
[] = {
22342 (char *) "self", NULL
22345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
22346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22347 if (SWIG_arg_fail(1)) SWIG_fail
;
22349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22351 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
22352 result
= (wxPrintData
*) &_result_ref
;
22355 wxPyEndAllowThreads(__tstate
);
22356 if (PyErr_Occurred()) SWIG_fail
;
22358 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
22365 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22366 PyObject
*resultobj
;
22367 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22369 PyObject
* obj0
= 0 ;
22370 char *kwnames
[] = {
22371 (char *) "self", NULL
22374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
22375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22376 if (SWIG_arg_fail(1)) SWIG_fail
;
22378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22379 result
= (bool)(arg1
)->Ok();
22381 wxPyEndAllowThreads(__tstate
);
22382 if (PyErr_Occurred()) SWIG_fail
;
22385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22393 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22394 PyObject
*resultobj
;
22395 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22397 PyObject
* obj0
= 0 ;
22398 PyObject
* obj1
= 0 ;
22399 char *kwnames
[] = {
22400 (char *) "self",(char *) "flag", NULL
22403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
22404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22405 if (SWIG_arg_fail(1)) SWIG_fail
;
22407 arg2
= (bool)(SWIG_As_bool(obj1
));
22408 if (SWIG_arg_fail(2)) SWIG_fail
;
22411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22412 (arg1
)->SetDefaultInfo(arg2
);
22414 wxPyEndAllowThreads(__tstate
);
22415 if (PyErr_Occurred()) SWIG_fail
;
22417 Py_INCREF(Py_None
); resultobj
= Py_None
;
22424 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22425 PyObject
*resultobj
;
22426 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22428 PyObject
* obj0
= 0 ;
22429 PyObject
* obj1
= 0 ;
22430 char *kwnames
[] = {
22431 (char *) "self",(char *) "flag", NULL
22434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
22435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22436 if (SWIG_arg_fail(1)) SWIG_fail
;
22438 arg2
= (bool)(SWIG_As_bool(obj1
));
22439 if (SWIG_arg_fail(2)) SWIG_fail
;
22442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22443 (arg1
)->SetDefaultMinMargins(arg2
);
22445 wxPyEndAllowThreads(__tstate
);
22446 if (PyErr_Occurred()) SWIG_fail
;
22448 Py_INCREF(Py_None
); resultobj
= Py_None
;
22455 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22456 PyObject
*resultobj
;
22457 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22458 wxPoint
*arg2
= 0 ;
22460 PyObject
* obj0
= 0 ;
22461 PyObject
* obj1
= 0 ;
22462 char *kwnames
[] = {
22463 (char *) "self",(char *) "pt", NULL
22466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
22467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22468 if (SWIG_arg_fail(1)) SWIG_fail
;
22471 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22475 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
22477 wxPyEndAllowThreads(__tstate
);
22478 if (PyErr_Occurred()) SWIG_fail
;
22480 Py_INCREF(Py_None
); resultobj
= Py_None
;
22487 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22488 PyObject
*resultobj
;
22489 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22490 wxPoint
*arg2
= 0 ;
22492 PyObject
* obj0
= 0 ;
22493 PyObject
* obj1
= 0 ;
22494 char *kwnames
[] = {
22495 (char *) "self",(char *) "pt", NULL
22498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
22499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22500 if (SWIG_arg_fail(1)) SWIG_fail
;
22503 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22507 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
22509 wxPyEndAllowThreads(__tstate
);
22510 if (PyErr_Occurred()) SWIG_fail
;
22512 Py_INCREF(Py_None
); resultobj
= Py_None
;
22519 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22520 PyObject
*resultobj
;
22521 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22522 wxPoint
*arg2
= 0 ;
22524 PyObject
* obj0
= 0 ;
22525 PyObject
* obj1
= 0 ;
22526 char *kwnames
[] = {
22527 (char *) "self",(char *) "pt", NULL
22530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
22531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22532 if (SWIG_arg_fail(1)) SWIG_fail
;
22535 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22539 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
22541 wxPyEndAllowThreads(__tstate
);
22542 if (PyErr_Occurred()) SWIG_fail
;
22544 Py_INCREF(Py_None
); resultobj
= Py_None
;
22551 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22552 PyObject
*resultobj
;
22553 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22554 wxPoint
*arg2
= 0 ;
22556 PyObject
* obj0
= 0 ;
22557 PyObject
* obj1
= 0 ;
22558 char *kwnames
[] = {
22559 (char *) "self",(char *) "pt", NULL
22562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
22563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22564 if (SWIG_arg_fail(1)) SWIG_fail
;
22567 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22571 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
22573 wxPyEndAllowThreads(__tstate
);
22574 if (PyErr_Occurred()) SWIG_fail
;
22576 Py_INCREF(Py_None
); resultobj
= Py_None
;
22583 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22584 PyObject
*resultobj
;
22585 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22587 PyObject
* obj0
= 0 ;
22588 PyObject
* obj1
= 0 ;
22589 char *kwnames
[] = {
22590 (char *) "self",(char *) "id", NULL
22593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
22594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22595 if (SWIG_arg_fail(1)) SWIG_fail
;
22597 arg2
= (wxPaperSize
)(SWIG_As_int(obj1
));
22598 if (SWIG_arg_fail(2)) SWIG_fail
;
22601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22602 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
22604 wxPyEndAllowThreads(__tstate
);
22605 if (PyErr_Occurred()) SWIG_fail
;
22607 Py_INCREF(Py_None
); resultobj
= Py_None
;
22614 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22615 PyObject
*resultobj
;
22616 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22619 PyObject
* obj0
= 0 ;
22620 PyObject
* obj1
= 0 ;
22621 char *kwnames
[] = {
22622 (char *) "self",(char *) "size", NULL
22625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22627 if (SWIG_arg_fail(1)) SWIG_fail
;
22630 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22634 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
22636 wxPyEndAllowThreads(__tstate
);
22637 if (PyErr_Occurred()) SWIG_fail
;
22639 Py_INCREF(Py_None
); resultobj
= Py_None
;
22646 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22647 PyObject
*resultobj
;
22648 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22649 wxPrintData
*arg2
= 0 ;
22650 PyObject
* obj0
= 0 ;
22651 PyObject
* obj1
= 0 ;
22652 char *kwnames
[] = {
22653 (char *) "self",(char *) "printData", NULL
22656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
22657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22658 if (SWIG_arg_fail(1)) SWIG_fail
;
22660 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
22661 if (SWIG_arg_fail(2)) SWIG_fail
;
22662 if (arg2
== NULL
) {
22663 SWIG_null_ref("wxPrintData");
22665 if (SWIG_arg_fail(2)) SWIG_fail
;
22668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22669 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
22671 wxPyEndAllowThreads(__tstate
);
22672 if (PyErr_Occurred()) SWIG_fail
;
22674 Py_INCREF(Py_None
); resultobj
= Py_None
;
22681 static PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22682 PyObject
*resultobj
;
22683 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22684 PyObject
* obj0
= 0 ;
22685 char *kwnames
[] = {
22686 (char *) "self", NULL
22689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_CalculateIdFromPaperSize",kwnames
,&obj0
)) goto fail
;
22690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22691 if (SWIG_arg_fail(1)) SWIG_fail
;
22693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22694 (arg1
)->CalculateIdFromPaperSize();
22696 wxPyEndAllowThreads(__tstate
);
22697 if (PyErr_Occurred()) SWIG_fail
;
22699 Py_INCREF(Py_None
); resultobj
= Py_None
;
22706 static PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22707 PyObject
*resultobj
;
22708 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22709 PyObject
* obj0
= 0 ;
22710 char *kwnames
[] = {
22711 (char *) "self", NULL
22714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_CalculatePaperSizeFromId",kwnames
,&obj0
)) goto fail
;
22715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22716 if (SWIG_arg_fail(1)) SWIG_fail
;
22718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22719 (arg1
)->CalculatePaperSizeFromId();
22721 wxPyEndAllowThreads(__tstate
);
22722 if (PyErr_Occurred()) SWIG_fail
;
22724 Py_INCREF(Py_None
); resultobj
= Py_None
;
22731 static PyObject
* PageSetupDialogData_swigregister(PyObject
*, PyObject
*args
) {
22733 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22734 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
22736 return Py_BuildValue((char *)"");
22738 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22739 PyObject
*resultobj
;
22740 wxWindow
*arg1
= (wxWindow
*) 0 ;
22741 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
22742 wxPageSetupDialog
*result
;
22743 PyObject
* obj0
= 0 ;
22744 PyObject
* obj1
= 0 ;
22745 char *kwnames
[] = {
22746 (char *) "parent",(char *) "data", NULL
22749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
22750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22751 if (SWIG_arg_fail(1)) SWIG_fail
;
22753 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22754 if (SWIG_arg_fail(2)) SWIG_fail
;
22757 if (!wxPyCheckForApp()) SWIG_fail
;
22758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22759 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
22761 wxPyEndAllowThreads(__tstate
);
22762 if (PyErr_Occurred()) SWIG_fail
;
22764 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
22771 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22772 PyObject
*resultobj
;
22773 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
22774 wxPageSetupDialogData
*result
;
22775 PyObject
* obj0
= 0 ;
22776 char *kwnames
[] = {
22777 (char *) "self", NULL
22780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
22781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
22782 if (SWIG_arg_fail(1)) SWIG_fail
;
22784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22786 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
22787 result
= (wxPageSetupDialogData
*) &_result_ref
;
22790 wxPyEndAllowThreads(__tstate
);
22791 if (PyErr_Occurred()) SWIG_fail
;
22793 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
22800 static PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22801 PyObject
*resultobj
;
22802 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
22803 wxPageSetupDialogData
*result
;
22804 PyObject
* obj0
= 0 ;
22805 char *kwnames
[] = {
22806 (char *) "self", NULL
22809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupDialogData",kwnames
,&obj0
)) goto fail
;
22810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
22811 if (SWIG_arg_fail(1)) SWIG_fail
;
22813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22815 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
22816 result
= (wxPageSetupDialogData
*) &_result_ref
;
22819 wxPyEndAllowThreads(__tstate
);
22820 if (PyErr_Occurred()) SWIG_fail
;
22822 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
22829 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22830 PyObject
*resultobj
;
22831 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
22833 PyObject
* obj0
= 0 ;
22834 char *kwnames
[] = {
22835 (char *) "self", NULL
22838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
22839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
22840 if (SWIG_arg_fail(1)) SWIG_fail
;
22842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22843 result
= (int)(arg1
)->ShowModal();
22845 wxPyEndAllowThreads(__tstate
);
22846 if (PyErr_Occurred()) SWIG_fail
;
22849 resultobj
= SWIG_From_int((int)(result
));
22857 static PyObject
* PageSetupDialog_swigregister(PyObject
*, PyObject
*args
) {
22859 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22860 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
22862 return Py_BuildValue((char *)"");
22864 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
22865 PyObject
*resultobj
;
22866 wxPrintDialogData
*result
;
22868 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
22870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22871 result
= (wxPrintDialogData
*)new wxPrintDialogData();
22873 wxPyEndAllowThreads(__tstate
);
22874 if (PyErr_Occurred()) SWIG_fail
;
22876 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
22883 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
22884 PyObject
*resultobj
;
22885 wxPrintData
*arg1
= 0 ;
22886 wxPrintDialogData
*result
;
22887 PyObject
* obj0
= 0 ;
22889 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
22891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
22892 if (SWIG_arg_fail(1)) SWIG_fail
;
22893 if (arg1
== NULL
) {
22894 SWIG_null_ref("wxPrintData");
22896 if (SWIG_arg_fail(1)) SWIG_fail
;
22899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22900 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
22902 wxPyEndAllowThreads(__tstate
);
22903 if (PyErr_Occurred()) SWIG_fail
;
22905 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
22912 static PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*, PyObject
*args
) {
22913 PyObject
*resultobj
;
22914 wxPrintDialogData
*arg1
= 0 ;
22915 wxPrintDialogData
*result
;
22916 PyObject
* obj0
= 0 ;
22918 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
22920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22921 if (SWIG_arg_fail(1)) SWIG_fail
;
22922 if (arg1
== NULL
) {
22923 SWIG_null_ref("wxPrintDialogData");
22925 if (SWIG_arg_fail(1)) SWIG_fail
;
22928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22929 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
22931 wxPyEndAllowThreads(__tstate
);
22932 if (PyErr_Occurred()) SWIG_fail
;
22934 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
22941 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
22946 argc
= PyObject_Length(args
);
22947 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
22948 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22951 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
22957 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
22965 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
22972 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
22980 return _wrap_new_PrintDialogData__SWIG_2(self
,args
);
22984 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
22989 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22990 PyObject
*resultobj
;
22991 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
22992 PyObject
* obj0
= 0 ;
22993 char *kwnames
[] = {
22994 (char *) "self", NULL
22997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
22998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22999 if (SWIG_arg_fail(1)) SWIG_fail
;
23001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23004 wxPyEndAllowThreads(__tstate
);
23005 if (PyErr_Occurred()) SWIG_fail
;
23007 Py_INCREF(Py_None
); resultobj
= Py_None
;
23014 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23015 PyObject
*resultobj
;
23016 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23018 PyObject
* obj0
= 0 ;
23019 char *kwnames
[] = {
23020 (char *) "self", NULL
23023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
23024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23025 if (SWIG_arg_fail(1)) SWIG_fail
;
23027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23028 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
23030 wxPyEndAllowThreads(__tstate
);
23031 if (PyErr_Occurred()) SWIG_fail
;
23034 resultobj
= SWIG_From_int((int)(result
));
23042 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23043 PyObject
*resultobj
;
23044 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23046 PyObject
* obj0
= 0 ;
23047 char *kwnames
[] = {
23048 (char *) "self", NULL
23051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
23052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23053 if (SWIG_arg_fail(1)) SWIG_fail
;
23055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23056 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
23058 wxPyEndAllowThreads(__tstate
);
23059 if (PyErr_Occurred()) SWIG_fail
;
23062 resultobj
= SWIG_From_int((int)(result
));
23070 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23071 PyObject
*resultobj
;
23072 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23074 PyObject
* obj0
= 0 ;
23075 char *kwnames
[] = {
23076 (char *) "self", NULL
23079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
23080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23081 if (SWIG_arg_fail(1)) SWIG_fail
;
23083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23084 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
23086 wxPyEndAllowThreads(__tstate
);
23087 if (PyErr_Occurred()) SWIG_fail
;
23090 resultobj
= SWIG_From_int((int)(result
));
23098 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23099 PyObject
*resultobj
;
23100 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23102 PyObject
* obj0
= 0 ;
23103 char *kwnames
[] = {
23104 (char *) "self", NULL
23107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
23108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23109 if (SWIG_arg_fail(1)) SWIG_fail
;
23111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23112 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
23114 wxPyEndAllowThreads(__tstate
);
23115 if (PyErr_Occurred()) SWIG_fail
;
23118 resultobj
= SWIG_From_int((int)(result
));
23126 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23127 PyObject
*resultobj
;
23128 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23130 PyObject
* obj0
= 0 ;
23131 char *kwnames
[] = {
23132 (char *) "self", NULL
23135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
23136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23137 if (SWIG_arg_fail(1)) SWIG_fail
;
23139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23140 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
23142 wxPyEndAllowThreads(__tstate
);
23143 if (PyErr_Occurred()) SWIG_fail
;
23146 resultobj
= SWIG_From_int((int)(result
));
23154 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23155 PyObject
*resultobj
;
23156 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23158 PyObject
* obj0
= 0 ;
23159 char *kwnames
[] = {
23160 (char *) "self", NULL
23163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
23164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23165 if (SWIG_arg_fail(1)) SWIG_fail
;
23167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23168 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
23170 wxPyEndAllowThreads(__tstate
);
23171 if (PyErr_Occurred()) SWIG_fail
;
23174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23182 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23183 PyObject
*resultobj
;
23184 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23186 PyObject
* obj0
= 0 ;
23187 char *kwnames
[] = {
23188 (char *) "self", NULL
23191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
23192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23193 if (SWIG_arg_fail(1)) SWIG_fail
;
23195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23196 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
23198 wxPyEndAllowThreads(__tstate
);
23199 if (PyErr_Occurred()) SWIG_fail
;
23202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23210 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23211 PyObject
*resultobj
;
23212 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23214 PyObject
* obj0
= 0 ;
23215 char *kwnames
[] = {
23216 (char *) "self", NULL
23219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
23220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23221 if (SWIG_arg_fail(1)) SWIG_fail
;
23223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23224 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
23226 wxPyEndAllowThreads(__tstate
);
23227 if (PyErr_Occurred()) SWIG_fail
;
23230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23238 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23239 PyObject
*resultobj
;
23240 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23242 PyObject
* obj0
= 0 ;
23243 char *kwnames
[] = {
23244 (char *) "self", NULL
23247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
23248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23249 if (SWIG_arg_fail(1)) SWIG_fail
;
23251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23252 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
23254 wxPyEndAllowThreads(__tstate
);
23255 if (PyErr_Occurred()) SWIG_fail
;
23258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23266 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23267 PyObject
*resultobj
;
23268 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23270 PyObject
* obj0
= 0 ;
23271 char *kwnames
[] = {
23272 (char *) "self", NULL
23275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
23276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23277 if (SWIG_arg_fail(1)) SWIG_fail
;
23279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23280 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
23282 wxPyEndAllowThreads(__tstate
);
23283 if (PyErr_Occurred()) SWIG_fail
;
23286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23294 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23295 PyObject
*resultobj
;
23296 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23298 PyObject
* obj0
= 0 ;
23299 PyObject
* obj1
= 0 ;
23300 char *kwnames
[] = {
23301 (char *) "self",(char *) "flag", NULL
23304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
23305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23306 if (SWIG_arg_fail(1)) SWIG_fail
;
23308 arg2
= (bool)(SWIG_As_bool(obj1
));
23309 if (SWIG_arg_fail(2)) SWIG_fail
;
23312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23313 (arg1
)->SetSetupDialog(arg2
);
23315 wxPyEndAllowThreads(__tstate
);
23316 if (PyErr_Occurred()) SWIG_fail
;
23318 Py_INCREF(Py_None
); resultobj
= Py_None
;
23325 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23326 PyObject
*resultobj
;
23327 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23329 PyObject
* obj0
= 0 ;
23330 PyObject
* obj1
= 0 ;
23331 char *kwnames
[] = {
23332 (char *) "self",(char *) "v", NULL
23335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23337 if (SWIG_arg_fail(1)) SWIG_fail
;
23339 arg2
= (int)(SWIG_As_int(obj1
));
23340 if (SWIG_arg_fail(2)) SWIG_fail
;
23343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23344 (arg1
)->SetFromPage(arg2
);
23346 wxPyEndAllowThreads(__tstate
);
23347 if (PyErr_Occurred()) SWIG_fail
;
23349 Py_INCREF(Py_None
); resultobj
= Py_None
;
23356 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23357 PyObject
*resultobj
;
23358 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23360 PyObject
* obj0
= 0 ;
23361 PyObject
* obj1
= 0 ;
23362 char *kwnames
[] = {
23363 (char *) "self",(char *) "v", NULL
23366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23368 if (SWIG_arg_fail(1)) SWIG_fail
;
23370 arg2
= (int)(SWIG_As_int(obj1
));
23371 if (SWIG_arg_fail(2)) SWIG_fail
;
23374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23375 (arg1
)->SetToPage(arg2
);
23377 wxPyEndAllowThreads(__tstate
);
23378 if (PyErr_Occurred()) SWIG_fail
;
23380 Py_INCREF(Py_None
); resultobj
= Py_None
;
23387 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23388 PyObject
*resultobj
;
23389 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23391 PyObject
* obj0
= 0 ;
23392 PyObject
* obj1
= 0 ;
23393 char *kwnames
[] = {
23394 (char *) "self",(char *) "v", NULL
23397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23399 if (SWIG_arg_fail(1)) SWIG_fail
;
23401 arg2
= (int)(SWIG_As_int(obj1
));
23402 if (SWIG_arg_fail(2)) SWIG_fail
;
23405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23406 (arg1
)->SetMinPage(arg2
);
23408 wxPyEndAllowThreads(__tstate
);
23409 if (PyErr_Occurred()) SWIG_fail
;
23411 Py_INCREF(Py_None
); resultobj
= Py_None
;
23418 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23419 PyObject
*resultobj
;
23420 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23422 PyObject
* obj0
= 0 ;
23423 PyObject
* obj1
= 0 ;
23424 char *kwnames
[] = {
23425 (char *) "self",(char *) "v", NULL
23428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23430 if (SWIG_arg_fail(1)) SWIG_fail
;
23432 arg2
= (int)(SWIG_As_int(obj1
));
23433 if (SWIG_arg_fail(2)) SWIG_fail
;
23436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23437 (arg1
)->SetMaxPage(arg2
);
23439 wxPyEndAllowThreads(__tstate
);
23440 if (PyErr_Occurred()) SWIG_fail
;
23442 Py_INCREF(Py_None
); resultobj
= Py_None
;
23449 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23450 PyObject
*resultobj
;
23451 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23453 PyObject
* obj0
= 0 ;
23454 PyObject
* obj1
= 0 ;
23455 char *kwnames
[] = {
23456 (char *) "self",(char *) "v", NULL
23459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
23460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23461 if (SWIG_arg_fail(1)) SWIG_fail
;
23463 arg2
= (int)(SWIG_As_int(obj1
));
23464 if (SWIG_arg_fail(2)) SWIG_fail
;
23467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23468 (arg1
)->SetNoCopies(arg2
);
23470 wxPyEndAllowThreads(__tstate
);
23471 if (PyErr_Occurred()) SWIG_fail
;
23473 Py_INCREF(Py_None
); resultobj
= Py_None
;
23480 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23481 PyObject
*resultobj
;
23482 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23484 PyObject
* obj0
= 0 ;
23485 PyObject
* obj1
= 0 ;
23486 char *kwnames
[] = {
23487 (char *) "self",(char *) "flag", NULL
23490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
23491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23492 if (SWIG_arg_fail(1)) SWIG_fail
;
23494 arg2
= (bool)(SWIG_As_bool(obj1
));
23495 if (SWIG_arg_fail(2)) SWIG_fail
;
23498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23499 (arg1
)->SetAllPages(arg2
);
23501 wxPyEndAllowThreads(__tstate
);
23502 if (PyErr_Occurred()) SWIG_fail
;
23504 Py_INCREF(Py_None
); resultobj
= Py_None
;
23511 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23512 PyObject
*resultobj
;
23513 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23515 PyObject
* obj0
= 0 ;
23516 PyObject
* obj1
= 0 ;
23517 char *kwnames
[] = {
23518 (char *) "self",(char *) "flag", NULL
23521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
23522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23523 if (SWIG_arg_fail(1)) SWIG_fail
;
23525 arg2
= (bool)(SWIG_As_bool(obj1
));
23526 if (SWIG_arg_fail(2)) SWIG_fail
;
23529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23530 (arg1
)->SetSelection(arg2
);
23532 wxPyEndAllowThreads(__tstate
);
23533 if (PyErr_Occurred()) SWIG_fail
;
23535 Py_INCREF(Py_None
); resultobj
= Py_None
;
23542 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23543 PyObject
*resultobj
;
23544 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23546 PyObject
* obj0
= 0 ;
23547 PyObject
* obj1
= 0 ;
23548 char *kwnames
[] = {
23549 (char *) "self",(char *) "flag", NULL
23552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
23553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23554 if (SWIG_arg_fail(1)) SWIG_fail
;
23556 arg2
= (bool)(SWIG_As_bool(obj1
));
23557 if (SWIG_arg_fail(2)) SWIG_fail
;
23560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23561 (arg1
)->SetCollate(arg2
);
23563 wxPyEndAllowThreads(__tstate
);
23564 if (PyErr_Occurred()) SWIG_fail
;
23566 Py_INCREF(Py_None
); resultobj
= Py_None
;
23573 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23574 PyObject
*resultobj
;
23575 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23577 PyObject
* obj0
= 0 ;
23578 PyObject
* obj1
= 0 ;
23579 char *kwnames
[] = {
23580 (char *) "self",(char *) "flag", NULL
23583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
23584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23585 if (SWIG_arg_fail(1)) SWIG_fail
;
23587 arg2
= (bool)(SWIG_As_bool(obj1
));
23588 if (SWIG_arg_fail(2)) SWIG_fail
;
23591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23592 (arg1
)->SetPrintToFile(arg2
);
23594 wxPyEndAllowThreads(__tstate
);
23595 if (PyErr_Occurred()) SWIG_fail
;
23597 Py_INCREF(Py_None
); resultobj
= Py_None
;
23604 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23605 PyObject
*resultobj
;
23606 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23608 PyObject
* obj0
= 0 ;
23609 PyObject
* obj1
= 0 ;
23610 char *kwnames
[] = {
23611 (char *) "self",(char *) "flag", NULL
23614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
23615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23616 if (SWIG_arg_fail(1)) SWIG_fail
;
23618 arg2
= (bool)(SWIG_As_bool(obj1
));
23619 if (SWIG_arg_fail(2)) SWIG_fail
;
23622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23623 (arg1
)->EnablePrintToFile(arg2
);
23625 wxPyEndAllowThreads(__tstate
);
23626 if (PyErr_Occurred()) SWIG_fail
;
23628 Py_INCREF(Py_None
); resultobj
= Py_None
;
23635 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23636 PyObject
*resultobj
;
23637 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23639 PyObject
* obj0
= 0 ;
23640 PyObject
* obj1
= 0 ;
23641 char *kwnames
[] = {
23642 (char *) "self",(char *) "flag", NULL
23645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
23646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23647 if (SWIG_arg_fail(1)) SWIG_fail
;
23649 arg2
= (bool)(SWIG_As_bool(obj1
));
23650 if (SWIG_arg_fail(2)) SWIG_fail
;
23653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23654 (arg1
)->EnableSelection(arg2
);
23656 wxPyEndAllowThreads(__tstate
);
23657 if (PyErr_Occurred()) SWIG_fail
;
23659 Py_INCREF(Py_None
); resultobj
= Py_None
;
23666 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23667 PyObject
*resultobj
;
23668 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23670 PyObject
* obj0
= 0 ;
23671 PyObject
* obj1
= 0 ;
23672 char *kwnames
[] = {
23673 (char *) "self",(char *) "flag", NULL
23676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
23677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23678 if (SWIG_arg_fail(1)) SWIG_fail
;
23680 arg2
= (bool)(SWIG_As_bool(obj1
));
23681 if (SWIG_arg_fail(2)) SWIG_fail
;
23684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23685 (arg1
)->EnablePageNumbers(arg2
);
23687 wxPyEndAllowThreads(__tstate
);
23688 if (PyErr_Occurred()) SWIG_fail
;
23690 Py_INCREF(Py_None
); resultobj
= Py_None
;
23697 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23698 PyObject
*resultobj
;
23699 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23701 PyObject
* obj0
= 0 ;
23702 PyObject
* obj1
= 0 ;
23703 char *kwnames
[] = {
23704 (char *) "self",(char *) "flag", NULL
23707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
23708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23709 if (SWIG_arg_fail(1)) SWIG_fail
;
23711 arg2
= (bool)(SWIG_As_bool(obj1
));
23712 if (SWIG_arg_fail(2)) SWIG_fail
;
23715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23716 (arg1
)->EnableHelp(arg2
);
23718 wxPyEndAllowThreads(__tstate
);
23719 if (PyErr_Occurred()) SWIG_fail
;
23721 Py_INCREF(Py_None
); resultobj
= Py_None
;
23728 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23729 PyObject
*resultobj
;
23730 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23732 PyObject
* obj0
= 0 ;
23733 char *kwnames
[] = {
23734 (char *) "self", NULL
23737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
23738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23739 if (SWIG_arg_fail(1)) SWIG_fail
;
23741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23742 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
23744 wxPyEndAllowThreads(__tstate
);
23745 if (PyErr_Occurred()) SWIG_fail
;
23748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23756 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23757 PyObject
*resultobj
;
23758 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23760 PyObject
* obj0
= 0 ;
23761 char *kwnames
[] = {
23762 (char *) "self", NULL
23765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
23766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23767 if (SWIG_arg_fail(1)) SWIG_fail
;
23769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23770 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
23772 wxPyEndAllowThreads(__tstate
);
23773 if (PyErr_Occurred()) SWIG_fail
;
23776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23784 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23785 PyObject
*resultobj
;
23786 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23788 PyObject
* obj0
= 0 ;
23789 char *kwnames
[] = {
23790 (char *) "self", NULL
23793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
23794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23795 if (SWIG_arg_fail(1)) SWIG_fail
;
23797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23798 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
23800 wxPyEndAllowThreads(__tstate
);
23801 if (PyErr_Occurred()) SWIG_fail
;
23804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23812 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23813 PyObject
*resultobj
;
23814 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23816 PyObject
* obj0
= 0 ;
23817 char *kwnames
[] = {
23818 (char *) "self", NULL
23821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
23822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23823 if (SWIG_arg_fail(1)) SWIG_fail
;
23825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23826 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
23828 wxPyEndAllowThreads(__tstate
);
23829 if (PyErr_Occurred()) SWIG_fail
;
23832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23840 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23841 PyObject
*resultobj
;
23842 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23844 PyObject
* obj0
= 0 ;
23845 char *kwnames
[] = {
23846 (char *) "self", NULL
23849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
23850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23851 if (SWIG_arg_fail(1)) SWIG_fail
;
23853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23854 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
23856 wxPyEndAllowThreads(__tstate
);
23857 if (PyErr_Occurred()) SWIG_fail
;
23860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23868 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23869 PyObject
*resultobj
;
23870 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23871 wxPrintData
*result
;
23872 PyObject
* obj0
= 0 ;
23873 char *kwnames
[] = {
23874 (char *) "self", NULL
23877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
23878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23879 if (SWIG_arg_fail(1)) SWIG_fail
;
23881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23883 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
23884 result
= (wxPrintData
*) &_result_ref
;
23887 wxPyEndAllowThreads(__tstate
);
23888 if (PyErr_Occurred()) SWIG_fail
;
23890 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
23897 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23898 PyObject
*resultobj
;
23899 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23900 wxPrintData
*arg2
= 0 ;
23901 PyObject
* obj0
= 0 ;
23902 PyObject
* obj1
= 0 ;
23903 char *kwnames
[] = {
23904 (char *) "self",(char *) "printData", NULL
23907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
23908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23909 if (SWIG_arg_fail(1)) SWIG_fail
;
23911 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
23912 if (SWIG_arg_fail(2)) SWIG_fail
;
23913 if (arg2
== NULL
) {
23914 SWIG_null_ref("wxPrintData");
23916 if (SWIG_arg_fail(2)) SWIG_fail
;
23919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23920 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
23922 wxPyEndAllowThreads(__tstate
);
23923 if (PyErr_Occurred()) SWIG_fail
;
23925 Py_INCREF(Py_None
); resultobj
= Py_None
;
23932 static PyObject
* PrintDialogData_swigregister(PyObject
*, PyObject
*args
) {
23934 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23935 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
23937 return Py_BuildValue((char *)"");
23939 static PyObject
*_wrap_new_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23940 PyObject
*resultobj
;
23941 wxWindow
*arg1
= (wxWindow
*) 0 ;
23942 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
23943 wxPrintDialog
*result
;
23944 PyObject
* obj0
= 0 ;
23945 PyObject
* obj1
= 0 ;
23946 char *kwnames
[] = {
23947 (char *) "parent",(char *) "data", NULL
23950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
23951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23952 if (SWIG_arg_fail(1)) SWIG_fail
;
23954 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23955 if (SWIG_arg_fail(2)) SWIG_fail
;
23958 if (!wxPyCheckForApp()) SWIG_fail
;
23959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23960 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
23962 wxPyEndAllowThreads(__tstate
);
23963 if (PyErr_Occurred()) SWIG_fail
;
23965 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
23972 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23973 PyObject
*resultobj
;
23974 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
23976 PyObject
* obj0
= 0 ;
23977 char *kwnames
[] = {
23978 (char *) "self", NULL
23981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
23982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
23983 if (SWIG_arg_fail(1)) SWIG_fail
;
23985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23986 result
= (int)(arg1
)->ShowModal();
23988 wxPyEndAllowThreads(__tstate
);
23989 if (PyErr_Occurred()) SWIG_fail
;
23992 resultobj
= SWIG_From_int((int)(result
));
24000 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24001 PyObject
*resultobj
;
24002 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24003 wxPrintDialogData
*result
;
24004 PyObject
* obj0
= 0 ;
24005 char *kwnames
[] = {
24006 (char *) "self", NULL
24009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
24010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24011 if (SWIG_arg_fail(1)) SWIG_fail
;
24013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24015 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
24016 result
= (wxPrintDialogData
*) &_result_ref
;
24019 wxPyEndAllowThreads(__tstate
);
24020 if (PyErr_Occurred()) SWIG_fail
;
24022 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
24029 static PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24030 PyObject
*resultobj
;
24031 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24032 wxPrintData
*result
;
24033 PyObject
* obj0
= 0 ;
24034 char *kwnames
[] = {
24035 (char *) "self", NULL
24038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintData",kwnames
,&obj0
)) goto fail
;
24039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24040 if (SWIG_arg_fail(1)) SWIG_fail
;
24042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24044 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24045 result
= (wxPrintData
*) &_result_ref
;
24048 wxPyEndAllowThreads(__tstate
);
24049 if (PyErr_Occurred()) SWIG_fail
;
24051 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
24058 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24059 PyObject
*resultobj
;
24060 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24062 PyObject
* obj0
= 0 ;
24063 char *kwnames
[] = {
24064 (char *) "self", NULL
24067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
24068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24069 if (SWIG_arg_fail(1)) SWIG_fail
;
24071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24072 result
= (wxDC
*)(arg1
)->GetPrintDC();
24074 wxPyEndAllowThreads(__tstate
);
24075 if (PyErr_Occurred()) SWIG_fail
;
24078 resultobj
= wxPyMake_wxObject(result
, 1);
24086 static PyObject
* PrintDialog_swigregister(PyObject
*, PyObject
*args
) {
24088 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24089 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
24091 return Py_BuildValue((char *)"");
24093 static PyObject
*_wrap_new_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24094 PyObject
*resultobj
;
24095 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
24097 PyObject
* obj0
= 0 ;
24098 char *kwnames
[] = {
24099 (char *) "data", NULL
24102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
24104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24105 if (SWIG_arg_fail(1)) SWIG_fail
;
24108 if (!wxPyCheckForApp()) SWIG_fail
;
24109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24110 result
= (wxPrinter
*)new wxPrinter(arg1
);
24112 wxPyEndAllowThreads(__tstate
);
24113 if (PyErr_Occurred()) SWIG_fail
;
24115 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
24122 static PyObject
*_wrap_delete_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24123 PyObject
*resultobj
;
24124 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24125 PyObject
* obj0
= 0 ;
24126 char *kwnames
[] = {
24127 (char *) "self", NULL
24130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
24131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24132 if (SWIG_arg_fail(1)) SWIG_fail
;
24134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24137 wxPyEndAllowThreads(__tstate
);
24138 if (PyErr_Occurred()) SWIG_fail
;
24140 Py_INCREF(Py_None
); resultobj
= Py_None
;
24147 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24148 PyObject
*resultobj
;
24149 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24150 wxWindow
*arg2
= (wxWindow
*) 0 ;
24151 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24153 PyObject
* obj0
= 0 ;
24154 PyObject
* obj1
= 0 ;
24155 PyObject
* obj2
= 0 ;
24156 char *kwnames
[] = {
24157 (char *) "self",(char *) "parent",(char *) "printout", NULL
24160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24162 if (SWIG_arg_fail(1)) SWIG_fail
;
24163 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24164 if (SWIG_arg_fail(2)) SWIG_fail
;
24165 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24166 if (SWIG_arg_fail(3)) SWIG_fail
;
24168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24169 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
24171 wxPyEndAllowThreads(__tstate
);
24172 if (PyErr_Occurred()) SWIG_fail
;
24175 resultobj
= wxPyMake_wxObject(result
, 0);
24183 static PyObject
*_wrap_Printer_ReportError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24184 PyObject
*resultobj
;
24185 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24186 wxWindow
*arg2
= (wxWindow
*) 0 ;
24187 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24188 wxString
*arg4
= 0 ;
24189 bool temp4
= false ;
24190 PyObject
* obj0
= 0 ;
24191 PyObject
* obj1
= 0 ;
24192 PyObject
* obj2
= 0 ;
24193 PyObject
* obj3
= 0 ;
24194 char *kwnames
[] = {
24195 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
24198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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 arg4
= wxString_in_helper(obj3
);
24207 if (arg4
== NULL
) SWIG_fail
;
24211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24212 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
24214 wxPyEndAllowThreads(__tstate
);
24215 if (PyErr_Occurred()) SWIG_fail
;
24217 Py_INCREF(Py_None
); resultobj
= Py_None
;
24232 static PyObject
*_wrap_Printer_Setup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24233 PyObject
*resultobj
;
24234 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24235 wxWindow
*arg2
= (wxWindow
*) 0 ;
24237 PyObject
* obj0
= 0 ;
24238 PyObject
* obj1
= 0 ;
24239 char *kwnames
[] = {
24240 (char *) "self",(char *) "parent", NULL
24243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
24244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24245 if (SWIG_arg_fail(1)) SWIG_fail
;
24246 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24247 if (SWIG_arg_fail(2)) SWIG_fail
;
24249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24250 result
= (bool)(arg1
)->Setup(arg2
);
24252 wxPyEndAllowThreads(__tstate
);
24253 if (PyErr_Occurred()) SWIG_fail
;
24256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24264 static PyObject
*_wrap_Printer_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24265 PyObject
*resultobj
;
24266 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24267 wxWindow
*arg2
= (wxWindow
*) 0 ;
24268 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24269 bool arg4
= (bool) true ;
24271 PyObject
* obj0
= 0 ;
24272 PyObject
* obj1
= 0 ;
24273 PyObject
* obj2
= 0 ;
24274 PyObject
* obj3
= 0 ;
24275 char *kwnames
[] = {
24276 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
24279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24281 if (SWIG_arg_fail(1)) SWIG_fail
;
24282 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24283 if (SWIG_arg_fail(2)) SWIG_fail
;
24284 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24285 if (SWIG_arg_fail(3)) SWIG_fail
;
24288 arg4
= (bool)(SWIG_As_bool(obj3
));
24289 if (SWIG_arg_fail(4)) SWIG_fail
;
24293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24294 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
24296 wxPyEndAllowThreads(__tstate
);
24297 if (PyErr_Occurred()) SWIG_fail
;
24300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24308 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24309 PyObject
*resultobj
;
24310 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24311 wxWindow
*arg2
= (wxWindow
*) 0 ;
24313 PyObject
* obj0
= 0 ;
24314 PyObject
* obj1
= 0 ;
24315 char *kwnames
[] = {
24316 (char *) "self",(char *) "parent", NULL
24319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
24320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24321 if (SWIG_arg_fail(1)) SWIG_fail
;
24322 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24323 if (SWIG_arg_fail(2)) SWIG_fail
;
24325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24326 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
24328 wxPyEndAllowThreads(__tstate
);
24329 if (PyErr_Occurred()) SWIG_fail
;
24332 resultobj
= wxPyMake_wxObject(result
, 0);
24340 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24341 PyObject
*resultobj
;
24342 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24343 wxPrintDialogData
*result
;
24344 PyObject
* obj0
= 0 ;
24345 char *kwnames
[] = {
24346 (char *) "self", NULL
24349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
24350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24351 if (SWIG_arg_fail(1)) SWIG_fail
;
24353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24355 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
24356 result
= (wxPrintDialogData
*) &_result_ref
;
24359 wxPyEndAllowThreads(__tstate
);
24360 if (PyErr_Occurred()) SWIG_fail
;
24362 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
24369 static PyObject
*_wrap_Printer_GetAbort(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24370 PyObject
*resultobj
;
24371 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24373 PyObject
* obj0
= 0 ;
24374 char *kwnames
[] = {
24375 (char *) "self", NULL
24378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
24379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24380 if (SWIG_arg_fail(1)) SWIG_fail
;
24382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24383 result
= (bool)(arg1
)->GetAbort();
24385 wxPyEndAllowThreads(__tstate
);
24386 if (PyErr_Occurred()) SWIG_fail
;
24389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24397 static PyObject
*_wrap_Printer_GetLastError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24398 PyObject
*resultobj
;
24399 wxPrinterError result
;
24400 char *kwnames
[] = {
24404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
24406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24407 result
= (wxPrinterError
)wxPrinter::GetLastError();
24409 wxPyEndAllowThreads(__tstate
);
24410 if (PyErr_Occurred()) SWIG_fail
;
24412 resultobj
= SWIG_From_int((result
));
24419 static PyObject
* Printer_swigregister(PyObject
*, PyObject
*args
) {
24421 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24422 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
24424 return Py_BuildValue((char *)"");
24426 static PyObject
*_wrap_new_Printout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24427 PyObject
*resultobj
;
24428 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
24429 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24430 wxPyPrintout
*result
;
24431 bool temp1
= false ;
24432 PyObject
* obj0
= 0 ;
24433 char *kwnames
[] = {
24434 (char *) "title", NULL
24437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
24440 arg1
= wxString_in_helper(obj0
);
24441 if (arg1
== NULL
) SWIG_fail
;
24446 if (!wxPyCheckForApp()) SWIG_fail
;
24447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24448 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
24450 wxPyEndAllowThreads(__tstate
);
24451 if (PyErr_Occurred()) SWIG_fail
;
24454 resultobj
= wxPyMake_wxObject(result
, 1);
24470 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24471 PyObject
*resultobj
;
24472 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24473 PyObject
*arg2
= (PyObject
*) 0 ;
24474 PyObject
*arg3
= (PyObject
*) 0 ;
24475 PyObject
* obj0
= 0 ;
24476 PyObject
* obj1
= 0 ;
24477 PyObject
* obj2
= 0 ;
24478 char *kwnames
[] = {
24479 (char *) "self",(char *) "self",(char *) "_class", NULL
24482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24484 if (SWIG_arg_fail(1)) SWIG_fail
;
24488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24489 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24491 wxPyEndAllowThreads(__tstate
);
24492 if (PyErr_Occurred()) SWIG_fail
;
24494 Py_INCREF(Py_None
); resultobj
= Py_None
;
24501 static PyObject
*_wrap_Printout_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24502 PyObject
*resultobj
;
24503 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24505 PyObject
* obj0
= 0 ;
24506 char *kwnames
[] = {
24507 (char *) "self", NULL
24510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
24511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24512 if (SWIG_arg_fail(1)) SWIG_fail
;
24514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24515 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
24517 wxPyEndAllowThreads(__tstate
);
24518 if (PyErr_Occurred()) SWIG_fail
;
24522 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24524 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24533 static PyObject
*_wrap_Printout_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24534 PyObject
*resultobj
;
24535 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24537 PyObject
* obj0
= 0 ;
24538 char *kwnames
[] = {
24539 (char *) "self", NULL
24542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
24543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24544 if (SWIG_arg_fail(1)) SWIG_fail
;
24546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24547 result
= (wxDC
*)(arg1
)->GetDC();
24549 wxPyEndAllowThreads(__tstate
);
24550 if (PyErr_Occurred()) SWIG_fail
;
24553 resultobj
= wxPyMake_wxObject(result
, 0);
24561 static PyObject
*_wrap_Printout_SetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24562 PyObject
*resultobj
;
24563 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24564 wxDC
*arg2
= (wxDC
*) 0 ;
24565 PyObject
* obj0
= 0 ;
24566 PyObject
* obj1
= 0 ;
24567 char *kwnames
[] = {
24568 (char *) "self",(char *) "dc", NULL
24571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
24572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24573 if (SWIG_arg_fail(1)) SWIG_fail
;
24574 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
24575 if (SWIG_arg_fail(2)) SWIG_fail
;
24577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24578 (arg1
)->SetDC(arg2
);
24580 wxPyEndAllowThreads(__tstate
);
24581 if (PyErr_Occurred()) SWIG_fail
;
24583 Py_INCREF(Py_None
); resultobj
= Py_None
;
24590 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24591 PyObject
*resultobj
;
24592 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24595 PyObject
* obj0
= 0 ;
24596 PyObject
* obj1
= 0 ;
24597 PyObject
* obj2
= 0 ;
24598 char *kwnames
[] = {
24599 (char *) "self",(char *) "w",(char *) "h", NULL
24602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24604 if (SWIG_arg_fail(1)) SWIG_fail
;
24606 arg2
= (int)(SWIG_As_int(obj1
));
24607 if (SWIG_arg_fail(2)) SWIG_fail
;
24610 arg3
= (int)(SWIG_As_int(obj2
));
24611 if (SWIG_arg_fail(3)) SWIG_fail
;
24614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24615 (arg1
)->SetPageSizePixels(arg2
,arg3
);
24617 wxPyEndAllowThreads(__tstate
);
24618 if (PyErr_Occurred()) SWIG_fail
;
24620 Py_INCREF(Py_None
); resultobj
= Py_None
;
24627 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24628 PyObject
*resultobj
;
24629 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24630 int *arg2
= (int *) 0 ;
24631 int *arg3
= (int *) 0 ;
24636 PyObject
* obj0
= 0 ;
24637 char *kwnames
[] = {
24638 (char *) "self", NULL
24641 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24642 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
24644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24645 if (SWIG_arg_fail(1)) SWIG_fail
;
24647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24648 (arg1
)->GetPageSizePixels(arg2
,arg3
);
24650 wxPyEndAllowThreads(__tstate
);
24651 if (PyErr_Occurred()) SWIG_fail
;
24653 Py_INCREF(Py_None
); resultobj
= Py_None
;
24654 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24655 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24656 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24657 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24664 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24665 PyObject
*resultobj
;
24666 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24669 PyObject
* obj0
= 0 ;
24670 PyObject
* obj1
= 0 ;
24671 PyObject
* obj2
= 0 ;
24672 char *kwnames
[] = {
24673 (char *) "self",(char *) "w",(char *) "h", NULL
24676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24678 if (SWIG_arg_fail(1)) SWIG_fail
;
24680 arg2
= (int)(SWIG_As_int(obj1
));
24681 if (SWIG_arg_fail(2)) SWIG_fail
;
24684 arg3
= (int)(SWIG_As_int(obj2
));
24685 if (SWIG_arg_fail(3)) SWIG_fail
;
24688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24689 (arg1
)->SetPageSizeMM(arg2
,arg3
);
24691 wxPyEndAllowThreads(__tstate
);
24692 if (PyErr_Occurred()) SWIG_fail
;
24694 Py_INCREF(Py_None
); resultobj
= Py_None
;
24701 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24702 PyObject
*resultobj
;
24703 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24704 int *arg2
= (int *) 0 ;
24705 int *arg3
= (int *) 0 ;
24710 PyObject
* obj0
= 0 ;
24711 char *kwnames
[] = {
24712 (char *) "self", NULL
24715 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24716 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
24718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24719 if (SWIG_arg_fail(1)) SWIG_fail
;
24721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24722 (arg1
)->GetPageSizeMM(arg2
,arg3
);
24724 wxPyEndAllowThreads(__tstate
);
24725 if (PyErr_Occurred()) SWIG_fail
;
24727 Py_INCREF(Py_None
); resultobj
= Py_None
;
24728 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24729 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24730 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24731 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24738 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24739 PyObject
*resultobj
;
24740 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24743 PyObject
* obj0
= 0 ;
24744 PyObject
* obj1
= 0 ;
24745 PyObject
* obj2
= 0 ;
24746 char *kwnames
[] = {
24747 (char *) "self",(char *) "x",(char *) "y", NULL
24750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24752 if (SWIG_arg_fail(1)) SWIG_fail
;
24754 arg2
= (int)(SWIG_As_int(obj1
));
24755 if (SWIG_arg_fail(2)) SWIG_fail
;
24758 arg3
= (int)(SWIG_As_int(obj2
));
24759 if (SWIG_arg_fail(3)) SWIG_fail
;
24762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24763 (arg1
)->SetPPIScreen(arg2
,arg3
);
24765 wxPyEndAllowThreads(__tstate
);
24766 if (PyErr_Occurred()) SWIG_fail
;
24768 Py_INCREF(Py_None
); resultobj
= Py_None
;
24775 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24776 PyObject
*resultobj
;
24777 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24778 int *arg2
= (int *) 0 ;
24779 int *arg3
= (int *) 0 ;
24784 PyObject
* obj0
= 0 ;
24785 char *kwnames
[] = {
24786 (char *) "self", NULL
24789 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24790 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
24792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24793 if (SWIG_arg_fail(1)) SWIG_fail
;
24795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24796 (arg1
)->GetPPIScreen(arg2
,arg3
);
24798 wxPyEndAllowThreads(__tstate
);
24799 if (PyErr_Occurred()) SWIG_fail
;
24801 Py_INCREF(Py_None
); resultobj
= Py_None
;
24802 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24803 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24804 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24805 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24812 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24813 PyObject
*resultobj
;
24814 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24817 PyObject
* obj0
= 0 ;
24818 PyObject
* obj1
= 0 ;
24819 PyObject
* obj2
= 0 ;
24820 char *kwnames
[] = {
24821 (char *) "self",(char *) "x",(char *) "y", NULL
24824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24826 if (SWIG_arg_fail(1)) SWIG_fail
;
24828 arg2
= (int)(SWIG_As_int(obj1
));
24829 if (SWIG_arg_fail(2)) SWIG_fail
;
24832 arg3
= (int)(SWIG_As_int(obj2
));
24833 if (SWIG_arg_fail(3)) SWIG_fail
;
24836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24837 (arg1
)->SetPPIPrinter(arg2
,arg3
);
24839 wxPyEndAllowThreads(__tstate
);
24840 if (PyErr_Occurred()) SWIG_fail
;
24842 Py_INCREF(Py_None
); resultobj
= Py_None
;
24849 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24850 PyObject
*resultobj
;
24851 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24852 int *arg2
= (int *) 0 ;
24853 int *arg3
= (int *) 0 ;
24858 PyObject
* obj0
= 0 ;
24859 char *kwnames
[] = {
24860 (char *) "self", NULL
24863 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24864 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
24866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24867 if (SWIG_arg_fail(1)) SWIG_fail
;
24869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24870 (arg1
)->GetPPIPrinter(arg2
,arg3
);
24872 wxPyEndAllowThreads(__tstate
);
24873 if (PyErr_Occurred()) SWIG_fail
;
24875 Py_INCREF(Py_None
); resultobj
= Py_None
;
24876 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24877 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24878 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24879 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24886 static PyObject
*_wrap_Printout_IsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24887 PyObject
*resultobj
;
24888 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24890 PyObject
* obj0
= 0 ;
24891 char *kwnames
[] = {
24892 (char *) "self", NULL
24895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
24896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24897 if (SWIG_arg_fail(1)) SWIG_fail
;
24899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24900 result
= (bool)(arg1
)->IsPreview();
24902 wxPyEndAllowThreads(__tstate
);
24903 if (PyErr_Occurred()) SWIG_fail
;
24906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24914 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24915 PyObject
*resultobj
;
24916 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24918 PyObject
* obj0
= 0 ;
24919 PyObject
* obj1
= 0 ;
24920 char *kwnames
[] = {
24921 (char *) "self",(char *) "p", NULL
24924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
24925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24926 if (SWIG_arg_fail(1)) SWIG_fail
;
24928 arg2
= (bool)(SWIG_As_bool(obj1
));
24929 if (SWIG_arg_fail(2)) SWIG_fail
;
24932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24933 (arg1
)->SetIsPreview(arg2
);
24935 wxPyEndAllowThreads(__tstate
);
24936 if (PyErr_Occurred()) SWIG_fail
;
24938 Py_INCREF(Py_None
); resultobj
= Py_None
;
24945 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24946 PyObject
*resultobj
;
24947 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24951 PyObject
* obj0
= 0 ;
24952 PyObject
* obj1
= 0 ;
24953 PyObject
* obj2
= 0 ;
24954 char *kwnames
[] = {
24955 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
24958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24960 if (SWIG_arg_fail(1)) SWIG_fail
;
24962 arg2
= (int)(SWIG_As_int(obj1
));
24963 if (SWIG_arg_fail(2)) SWIG_fail
;
24966 arg3
= (int)(SWIG_As_int(obj2
));
24967 if (SWIG_arg_fail(3)) SWIG_fail
;
24970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24971 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
24973 wxPyEndAllowThreads(__tstate
);
24974 if (PyErr_Occurred()) SWIG_fail
;
24977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24985 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24986 PyObject
*resultobj
;
24987 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24988 PyObject
* obj0
= 0 ;
24989 char *kwnames
[] = {
24990 (char *) "self", NULL
24993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
24994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24995 if (SWIG_arg_fail(1)) SWIG_fail
;
24997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24998 (arg1
)->base_OnEndDocument();
25000 wxPyEndAllowThreads(__tstate
);
25001 if (PyErr_Occurred()) SWIG_fail
;
25003 Py_INCREF(Py_None
); resultobj
= Py_None
;
25010 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25011 PyObject
*resultobj
;
25012 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25013 PyObject
* obj0
= 0 ;
25014 char *kwnames
[] = {
25015 (char *) "self", NULL
25018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
25019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25020 if (SWIG_arg_fail(1)) SWIG_fail
;
25022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25023 (arg1
)->base_OnBeginPrinting();
25025 wxPyEndAllowThreads(__tstate
);
25026 if (PyErr_Occurred()) SWIG_fail
;
25028 Py_INCREF(Py_None
); resultobj
= Py_None
;
25035 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25036 PyObject
*resultobj
;
25037 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25038 PyObject
* obj0
= 0 ;
25039 char *kwnames
[] = {
25040 (char *) "self", NULL
25043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
25044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25045 if (SWIG_arg_fail(1)) SWIG_fail
;
25047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25048 (arg1
)->base_OnEndPrinting();
25050 wxPyEndAllowThreads(__tstate
);
25051 if (PyErr_Occurred()) SWIG_fail
;
25053 Py_INCREF(Py_None
); resultobj
= Py_None
;
25060 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25061 PyObject
*resultobj
;
25062 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25063 PyObject
* obj0
= 0 ;
25064 char *kwnames
[] = {
25065 (char *) "self", NULL
25068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
25069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25070 if (SWIG_arg_fail(1)) SWIG_fail
;
25072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25073 (arg1
)->base_OnPreparePrinting();
25075 wxPyEndAllowThreads(__tstate
);
25076 if (PyErr_Occurred()) SWIG_fail
;
25078 Py_INCREF(Py_None
); resultobj
= Py_None
;
25085 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25086 PyObject
*resultobj
;
25087 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25090 PyObject
* obj0
= 0 ;
25091 PyObject
* obj1
= 0 ;
25092 char *kwnames
[] = {
25093 (char *) "self",(char *) "page", NULL
25096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
25097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25098 if (SWIG_arg_fail(1)) SWIG_fail
;
25100 arg2
= (int)(SWIG_As_int(obj1
));
25101 if (SWIG_arg_fail(2)) SWIG_fail
;
25104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25105 result
= (bool)(arg1
)->base_HasPage(arg2
);
25107 wxPyEndAllowThreads(__tstate
);
25108 if (PyErr_Occurred()) SWIG_fail
;
25111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25119 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25120 PyObject
*resultobj
;
25121 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25122 int *arg2
= (int *) 0 ;
25123 int *arg3
= (int *) 0 ;
25124 int *arg4
= (int *) 0 ;
25125 int *arg5
= (int *) 0 ;
25134 PyObject
* obj0
= 0 ;
25135 char *kwnames
[] = {
25136 (char *) "self", NULL
25139 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25140 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25141 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
25142 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
25143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
25144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25145 if (SWIG_arg_fail(1)) SWIG_fail
;
25147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25148 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
25150 wxPyEndAllowThreads(__tstate
);
25151 if (PyErr_Occurred()) SWIG_fail
;
25153 Py_INCREF(Py_None
); resultobj
= Py_None
;
25154 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25155 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25156 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25157 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25158 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
25159 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
25160 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
25161 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
25168 static PyObject
* Printout_swigregister(PyObject
*, PyObject
*args
) {
25170 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25171 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
25173 return Py_BuildValue((char *)"");
25175 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25176 PyObject
*resultobj
;
25177 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25178 wxWindow
*arg2
= (wxWindow
*) 0 ;
25179 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25180 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25181 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25182 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25183 long arg5
= (long) 0 ;
25184 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
25185 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25186 wxPreviewCanvas
*result
;
25189 bool temp6
= false ;
25190 PyObject
* obj0
= 0 ;
25191 PyObject
* obj1
= 0 ;
25192 PyObject
* obj2
= 0 ;
25193 PyObject
* obj3
= 0 ;
25194 PyObject
* obj4
= 0 ;
25195 PyObject
* obj5
= 0 ;
25196 char *kwnames
[] = {
25197 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25202 if (SWIG_arg_fail(1)) SWIG_fail
;
25203 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25204 if (SWIG_arg_fail(2)) SWIG_fail
;
25208 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25214 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25219 arg5
= (long)(SWIG_As_long(obj4
));
25220 if (SWIG_arg_fail(5)) SWIG_fail
;
25225 arg6
= wxString_in_helper(obj5
);
25226 if (arg6
== NULL
) SWIG_fail
;
25231 if (!wxPyCheckForApp()) SWIG_fail
;
25232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25233 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25235 wxPyEndAllowThreads(__tstate
);
25236 if (PyErr_Occurred()) SWIG_fail
;
25238 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
25253 static PyObject
* PreviewCanvas_swigregister(PyObject
*, PyObject
*args
) {
25255 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25256 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
25258 return Py_BuildValue((char *)"");
25260 static PyObject
*_wrap_new_PreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25261 PyObject
*resultobj
;
25262 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25263 wxFrame
*arg2
= (wxFrame
*) 0 ;
25264 wxString
*arg3
= 0 ;
25265 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25266 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25267 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25268 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25269 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
25270 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
25271 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25272 wxPreviewFrame
*result
;
25273 bool temp3
= false ;
25276 bool temp7
= false ;
25277 PyObject
* obj0
= 0 ;
25278 PyObject
* obj1
= 0 ;
25279 PyObject
* obj2
= 0 ;
25280 PyObject
* obj3
= 0 ;
25281 PyObject
* obj4
= 0 ;
25282 PyObject
* obj5
= 0 ;
25283 PyObject
* obj6
= 0 ;
25284 char *kwnames
[] = {
25285 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25290 if (SWIG_arg_fail(1)) SWIG_fail
;
25291 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
25292 if (SWIG_arg_fail(2)) SWIG_fail
;
25294 arg3
= wxString_in_helper(obj2
);
25295 if (arg3
== NULL
) SWIG_fail
;
25301 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25307 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25312 arg6
= (long)(SWIG_As_long(obj5
));
25313 if (SWIG_arg_fail(6)) SWIG_fail
;
25318 arg7
= wxString_in_helper(obj6
);
25319 if (arg7
== NULL
) SWIG_fail
;
25324 if (!wxPyCheckForApp()) SWIG_fail
;
25325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25326 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25328 wxPyEndAllowThreads(__tstate
);
25329 if (PyErr_Occurred()) SWIG_fail
;
25331 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
25354 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25355 PyObject
*resultobj
;
25356 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25357 PyObject
* obj0
= 0 ;
25358 char *kwnames
[] = {
25359 (char *) "self", NULL
25362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
25363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25364 if (SWIG_arg_fail(1)) SWIG_fail
;
25366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25367 (arg1
)->Initialize();
25369 wxPyEndAllowThreads(__tstate
);
25370 if (PyErr_Occurred()) SWIG_fail
;
25372 Py_INCREF(Py_None
); resultobj
= Py_None
;
25379 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25380 PyObject
*resultobj
;
25381 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25382 PyObject
* obj0
= 0 ;
25383 char *kwnames
[] = {
25384 (char *) "self", NULL
25387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
25388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25389 if (SWIG_arg_fail(1)) SWIG_fail
;
25391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25392 (arg1
)->CreateControlBar();
25394 wxPyEndAllowThreads(__tstate
);
25395 if (PyErr_Occurred()) SWIG_fail
;
25397 Py_INCREF(Py_None
); resultobj
= Py_None
;
25404 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25405 PyObject
*resultobj
;
25406 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25407 PyObject
* obj0
= 0 ;
25408 char *kwnames
[] = {
25409 (char *) "self", NULL
25412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
25413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25414 if (SWIG_arg_fail(1)) SWIG_fail
;
25416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25417 (arg1
)->CreateCanvas();
25419 wxPyEndAllowThreads(__tstate
);
25420 if (PyErr_Occurred()) SWIG_fail
;
25422 Py_INCREF(Py_None
); resultobj
= Py_None
;
25429 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25430 PyObject
*resultobj
;
25431 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25432 wxPreviewControlBar
*result
;
25433 PyObject
* obj0
= 0 ;
25434 char *kwnames
[] = {
25435 (char *) "self", NULL
25438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
25439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25440 if (SWIG_arg_fail(1)) SWIG_fail
;
25442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25443 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
25445 wxPyEndAllowThreads(__tstate
);
25446 if (PyErr_Occurred()) SWIG_fail
;
25448 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
25455 static PyObject
* PreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
25457 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25458 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
25460 return Py_BuildValue((char *)"");
25462 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25463 PyObject
*resultobj
;
25464 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25466 wxWindow
*arg3
= (wxWindow
*) 0 ;
25467 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25468 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25469 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25470 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25471 long arg6
= (long) wxTAB_TRAVERSAL
;
25472 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
25473 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25474 wxPreviewControlBar
*result
;
25477 bool temp7
= false ;
25478 PyObject
* obj0
= 0 ;
25479 PyObject
* obj1
= 0 ;
25480 PyObject
* obj2
= 0 ;
25481 PyObject
* obj3
= 0 ;
25482 PyObject
* obj4
= 0 ;
25483 PyObject
* obj5
= 0 ;
25484 PyObject
* obj6
= 0 ;
25485 char *kwnames
[] = {
25486 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25491 if (SWIG_arg_fail(1)) SWIG_fail
;
25493 arg2
= (long)(SWIG_As_long(obj1
));
25494 if (SWIG_arg_fail(2)) SWIG_fail
;
25496 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25497 if (SWIG_arg_fail(3)) SWIG_fail
;
25501 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25507 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25512 arg6
= (long)(SWIG_As_long(obj5
));
25513 if (SWIG_arg_fail(6)) SWIG_fail
;
25518 arg7
= wxString_in_helper(obj6
);
25519 if (arg7
== NULL
) SWIG_fail
;
25524 if (!wxPyCheckForApp()) SWIG_fail
;
25525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25526 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25528 wxPyEndAllowThreads(__tstate
);
25529 if (PyErr_Occurred()) SWIG_fail
;
25531 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
25546 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25547 PyObject
*resultobj
;
25548 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25550 PyObject
* obj0
= 0 ;
25551 char *kwnames
[] = {
25552 (char *) "self", NULL
25555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
25556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25557 if (SWIG_arg_fail(1)) SWIG_fail
;
25559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25560 result
= (int)(arg1
)->GetZoomControl();
25562 wxPyEndAllowThreads(__tstate
);
25563 if (PyErr_Occurred()) SWIG_fail
;
25566 resultobj
= SWIG_From_int((int)(result
));
25574 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25575 PyObject
*resultobj
;
25576 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25578 PyObject
* obj0
= 0 ;
25579 PyObject
* obj1
= 0 ;
25580 char *kwnames
[] = {
25581 (char *) "self",(char *) "zoom", NULL
25584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
25585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25586 if (SWIG_arg_fail(1)) SWIG_fail
;
25588 arg2
= (int)(SWIG_As_int(obj1
));
25589 if (SWIG_arg_fail(2)) SWIG_fail
;
25592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25593 (arg1
)->SetZoomControl(arg2
);
25595 wxPyEndAllowThreads(__tstate
);
25596 if (PyErr_Occurred()) SWIG_fail
;
25598 Py_INCREF(Py_None
); resultobj
= Py_None
;
25605 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25606 PyObject
*resultobj
;
25607 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25608 wxPrintPreview
*result
;
25609 PyObject
* obj0
= 0 ;
25610 char *kwnames
[] = {
25611 (char *) "self", NULL
25614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
25615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25616 if (SWIG_arg_fail(1)) SWIG_fail
;
25618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25619 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
25621 wxPyEndAllowThreads(__tstate
);
25622 if (PyErr_Occurred()) SWIG_fail
;
25624 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
25631 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25632 PyObject
*resultobj
;
25633 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25634 PyObject
* obj0
= 0 ;
25635 char *kwnames
[] = {
25636 (char *) "self", NULL
25639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
25640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25641 if (SWIG_arg_fail(1)) SWIG_fail
;
25643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25646 wxPyEndAllowThreads(__tstate
);
25647 if (PyErr_Occurred()) SWIG_fail
;
25649 Py_INCREF(Py_None
); resultobj
= Py_None
;
25656 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25657 PyObject
*resultobj
;
25658 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25659 PyObject
* obj0
= 0 ;
25660 char *kwnames
[] = {
25661 (char *) "self", NULL
25664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
25665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25666 if (SWIG_arg_fail(1)) SWIG_fail
;
25668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25669 (arg1
)->OnPrevious();
25671 wxPyEndAllowThreads(__tstate
);
25672 if (PyErr_Occurred()) SWIG_fail
;
25674 Py_INCREF(Py_None
); resultobj
= Py_None
;
25681 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25682 PyObject
*resultobj
;
25683 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25684 PyObject
* obj0
= 0 ;
25685 char *kwnames
[] = {
25686 (char *) "self", NULL
25689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
25690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25691 if (SWIG_arg_fail(1)) SWIG_fail
;
25693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25696 wxPyEndAllowThreads(__tstate
);
25697 if (PyErr_Occurred()) SWIG_fail
;
25699 Py_INCREF(Py_None
); resultobj
= Py_None
;
25706 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25707 PyObject
*resultobj
;
25708 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25709 PyObject
* obj0
= 0 ;
25710 char *kwnames
[] = {
25711 (char *) "self", NULL
25714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
25715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25716 if (SWIG_arg_fail(1)) SWIG_fail
;
25718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25721 wxPyEndAllowThreads(__tstate
);
25722 if (PyErr_Occurred()) SWIG_fail
;
25724 Py_INCREF(Py_None
); resultobj
= Py_None
;
25731 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25732 PyObject
*resultobj
;
25733 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25734 PyObject
* obj0
= 0 ;
25735 char *kwnames
[] = {
25736 (char *) "self", NULL
25739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
25740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25741 if (SWIG_arg_fail(1)) SWIG_fail
;
25743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25746 wxPyEndAllowThreads(__tstate
);
25747 if (PyErr_Occurred()) SWIG_fail
;
25749 Py_INCREF(Py_None
); resultobj
= Py_None
;
25756 static PyObject
* PreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
25758 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25759 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
25761 return Py_BuildValue((char *)"");
25763 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
25764 PyObject
*resultobj
;
25765 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25766 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
25767 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
25768 wxPrintPreview
*result
;
25769 PyObject
* obj0
= 0 ;
25770 PyObject
* obj1
= 0 ;
25771 PyObject
* obj2
= 0 ;
25773 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
25774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25775 if (SWIG_arg_fail(1)) SWIG_fail
;
25776 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25777 if (SWIG_arg_fail(2)) SWIG_fail
;
25779 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
25780 if (SWIG_arg_fail(3)) SWIG_fail
;
25783 if (!wxPyCheckForApp()) SWIG_fail
;
25784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25785 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
25787 wxPyEndAllowThreads(__tstate
);
25788 if (PyErr_Occurred()) SWIG_fail
;
25790 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
25797 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
25798 PyObject
*resultobj
;
25799 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25800 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
25801 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
25802 wxPrintPreview
*result
;
25803 PyObject
* obj0
= 0 ;
25804 PyObject
* obj1
= 0 ;
25805 PyObject
* obj2
= 0 ;
25807 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
25808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25809 if (SWIG_arg_fail(1)) SWIG_fail
;
25810 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25811 if (SWIG_arg_fail(2)) SWIG_fail
;
25812 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
25813 if (SWIG_arg_fail(3)) SWIG_fail
;
25815 if (!wxPyCheckForApp()) SWIG_fail
;
25816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25817 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
25819 wxPyEndAllowThreads(__tstate
);
25820 if (PyErr_Occurred()) SWIG_fail
;
25822 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
25829 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
25834 argc
= PyObject_Length(args
);
25835 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
25836 argv
[ii
] = PyTuple_GetItem(args
,ii
);
25838 if ((argc
>= 2) && (argc
<= 3)) {
25842 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25852 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25861 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
25865 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
25873 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
25882 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25892 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25902 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
25910 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
25916 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
25921 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25922 PyObject
*resultobj
;
25923 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25926 PyObject
* obj0
= 0 ;
25927 PyObject
* obj1
= 0 ;
25928 char *kwnames
[] = {
25929 (char *) "self",(char *) "pageNum", NULL
25932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
25933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25934 if (SWIG_arg_fail(1)) SWIG_fail
;
25936 arg2
= (int)(SWIG_As_int(obj1
));
25937 if (SWIG_arg_fail(2)) SWIG_fail
;
25940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25941 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
25943 wxPyEndAllowThreads(__tstate
);
25944 if (PyErr_Occurred()) SWIG_fail
;
25947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25955 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25956 PyObject
*resultobj
;
25957 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25959 PyObject
* obj0
= 0 ;
25960 char *kwnames
[] = {
25961 (char *) "self", NULL
25964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
25965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25966 if (SWIG_arg_fail(1)) SWIG_fail
;
25968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25969 result
= (int)(arg1
)->GetCurrentPage();
25971 wxPyEndAllowThreads(__tstate
);
25972 if (PyErr_Occurred()) SWIG_fail
;
25975 resultobj
= SWIG_From_int((int)(result
));
25983 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25984 PyObject
*resultobj
;
25985 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25986 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
25987 PyObject
* obj0
= 0 ;
25988 PyObject
* obj1
= 0 ;
25989 char *kwnames
[] = {
25990 (char *) "self",(char *) "printout", NULL
25993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
25994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25995 if (SWIG_arg_fail(1)) SWIG_fail
;
25996 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25997 if (SWIG_arg_fail(2)) SWIG_fail
;
25999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26000 (arg1
)->SetPrintout(arg2
);
26002 wxPyEndAllowThreads(__tstate
);
26003 if (PyErr_Occurred()) SWIG_fail
;
26005 Py_INCREF(Py_None
); resultobj
= Py_None
;
26012 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26013 PyObject
*resultobj
;
26014 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26015 wxPyPrintout
*result
;
26016 PyObject
* obj0
= 0 ;
26017 char *kwnames
[] = {
26018 (char *) "self", NULL
26021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
26022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26023 if (SWIG_arg_fail(1)) SWIG_fail
;
26025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26026 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
26028 wxPyEndAllowThreads(__tstate
);
26029 if (PyErr_Occurred()) SWIG_fail
;
26032 resultobj
= wxPyMake_wxObject(result
, 0);
26040 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26041 PyObject
*resultobj
;
26042 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26043 wxPyPrintout
*result
;
26044 PyObject
* obj0
= 0 ;
26045 char *kwnames
[] = {
26046 (char *) "self", NULL
26049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
26050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26051 if (SWIG_arg_fail(1)) SWIG_fail
;
26053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26054 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
26056 wxPyEndAllowThreads(__tstate
);
26057 if (PyErr_Occurred()) SWIG_fail
;
26060 resultobj
= wxPyMake_wxObject(result
, 0);
26068 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26069 PyObject
*resultobj
;
26070 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26071 wxFrame
*arg2
= (wxFrame
*) 0 ;
26072 PyObject
* obj0
= 0 ;
26073 PyObject
* obj1
= 0 ;
26074 char *kwnames
[] = {
26075 (char *) "self",(char *) "frame", NULL
26078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
26079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26080 if (SWIG_arg_fail(1)) SWIG_fail
;
26081 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
26082 if (SWIG_arg_fail(2)) SWIG_fail
;
26084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26085 (arg1
)->SetFrame(arg2
);
26087 wxPyEndAllowThreads(__tstate
);
26088 if (PyErr_Occurred()) SWIG_fail
;
26090 Py_INCREF(Py_None
); resultobj
= Py_None
;
26097 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26098 PyObject
*resultobj
;
26099 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26100 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26101 PyObject
* obj0
= 0 ;
26102 PyObject
* obj1
= 0 ;
26103 char *kwnames
[] = {
26104 (char *) "self",(char *) "canvas", NULL
26107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
26108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26109 if (SWIG_arg_fail(1)) SWIG_fail
;
26110 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26111 if (SWIG_arg_fail(2)) SWIG_fail
;
26113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26114 (arg1
)->SetCanvas(arg2
);
26116 wxPyEndAllowThreads(__tstate
);
26117 if (PyErr_Occurred()) SWIG_fail
;
26119 Py_INCREF(Py_None
); resultobj
= Py_None
;
26126 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26127 PyObject
*resultobj
;
26128 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26130 PyObject
* obj0
= 0 ;
26131 char *kwnames
[] = {
26132 (char *) "self", NULL
26135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
26136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26137 if (SWIG_arg_fail(1)) SWIG_fail
;
26139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26140 result
= (wxFrame
*)(arg1
)->GetFrame();
26142 wxPyEndAllowThreads(__tstate
);
26143 if (PyErr_Occurred()) SWIG_fail
;
26146 resultobj
= wxPyMake_wxObject(result
, 0);
26154 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26155 PyObject
*resultobj
;
26156 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26157 wxPreviewCanvas
*result
;
26158 PyObject
* obj0
= 0 ;
26159 char *kwnames
[] = {
26160 (char *) "self", NULL
26163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
26164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26165 if (SWIG_arg_fail(1)) SWIG_fail
;
26167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26168 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
26170 wxPyEndAllowThreads(__tstate
);
26171 if (PyErr_Occurred()) SWIG_fail
;
26173 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
26180 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26181 PyObject
*resultobj
;
26182 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26183 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26186 PyObject
* obj0
= 0 ;
26187 PyObject
* obj1
= 0 ;
26188 PyObject
* obj2
= 0 ;
26189 char *kwnames
[] = {
26190 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26195 if (SWIG_arg_fail(1)) SWIG_fail
;
26196 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26197 if (SWIG_arg_fail(2)) SWIG_fail
;
26199 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26200 if (SWIG_arg_fail(3)) SWIG_fail
;
26201 if (arg3
== NULL
) {
26202 SWIG_null_ref("wxDC");
26204 if (SWIG_arg_fail(3)) SWIG_fail
;
26207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26208 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
26210 wxPyEndAllowThreads(__tstate
);
26211 if (PyErr_Occurred()) SWIG_fail
;
26214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26222 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26223 PyObject
*resultobj
;
26224 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26225 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26228 PyObject
* obj0
= 0 ;
26229 PyObject
* obj1
= 0 ;
26230 PyObject
* obj2
= 0 ;
26231 char *kwnames
[] = {
26232 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26237 if (SWIG_arg_fail(1)) SWIG_fail
;
26238 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26239 if (SWIG_arg_fail(2)) SWIG_fail
;
26241 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26242 if (SWIG_arg_fail(3)) SWIG_fail
;
26243 if (arg3
== NULL
) {
26244 SWIG_null_ref("wxDC");
26246 if (SWIG_arg_fail(3)) SWIG_fail
;
26249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26250 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
26252 wxPyEndAllowThreads(__tstate
);
26253 if (PyErr_Occurred()) SWIG_fail
;
26256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26264 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26265 PyObject
*resultobj
;
26266 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26269 PyObject
* obj0
= 0 ;
26270 PyObject
* obj1
= 0 ;
26271 char *kwnames
[] = {
26272 (char *) "self",(char *) "pageNum", NULL
26275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26277 if (SWIG_arg_fail(1)) SWIG_fail
;
26279 arg2
= (int)(SWIG_As_int(obj1
));
26280 if (SWIG_arg_fail(2)) SWIG_fail
;
26283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26284 result
= (bool)(arg1
)->RenderPage(arg2
);
26286 wxPyEndAllowThreads(__tstate
);
26287 if (PyErr_Occurred()) SWIG_fail
;
26290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26298 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26299 PyObject
*resultobj
;
26300 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26301 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26302 PyObject
* obj0
= 0 ;
26303 PyObject
* obj1
= 0 ;
26304 char *kwnames
[] = {
26305 (char *) "self",(char *) "canvas", NULL
26308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
26309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26310 if (SWIG_arg_fail(1)) SWIG_fail
;
26311 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26312 if (SWIG_arg_fail(2)) SWIG_fail
;
26314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26315 (arg1
)->AdjustScrollbars(arg2
);
26317 wxPyEndAllowThreads(__tstate
);
26318 if (PyErr_Occurred()) SWIG_fail
;
26320 Py_INCREF(Py_None
); resultobj
= Py_None
;
26327 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26328 PyObject
*resultobj
;
26329 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26330 wxPrintDialogData
*result
;
26331 PyObject
* obj0
= 0 ;
26332 char *kwnames
[] = {
26333 (char *) "self", NULL
26336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
26337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26338 if (SWIG_arg_fail(1)) SWIG_fail
;
26340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26342 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
26343 result
= (wxPrintDialogData
*) &_result_ref
;
26346 wxPyEndAllowThreads(__tstate
);
26347 if (PyErr_Occurred()) SWIG_fail
;
26349 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
26356 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26357 PyObject
*resultobj
;
26358 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26360 PyObject
* obj0
= 0 ;
26361 PyObject
* obj1
= 0 ;
26362 char *kwnames
[] = {
26363 (char *) "self",(char *) "percent", NULL
26366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
26367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26368 if (SWIG_arg_fail(1)) SWIG_fail
;
26370 arg2
= (int)(SWIG_As_int(obj1
));
26371 if (SWIG_arg_fail(2)) SWIG_fail
;
26374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26375 (arg1
)->SetZoom(arg2
);
26377 wxPyEndAllowThreads(__tstate
);
26378 if (PyErr_Occurred()) SWIG_fail
;
26380 Py_INCREF(Py_None
); resultobj
= Py_None
;
26387 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26388 PyObject
*resultobj
;
26389 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26391 PyObject
* obj0
= 0 ;
26392 char *kwnames
[] = {
26393 (char *) "self", NULL
26396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
26397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26398 if (SWIG_arg_fail(1)) SWIG_fail
;
26400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26401 result
= (int)(arg1
)->GetZoom();
26403 wxPyEndAllowThreads(__tstate
);
26404 if (PyErr_Occurred()) SWIG_fail
;
26407 resultobj
= SWIG_From_int((int)(result
));
26415 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26416 PyObject
*resultobj
;
26417 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26419 PyObject
* obj0
= 0 ;
26420 char *kwnames
[] = {
26421 (char *) "self", NULL
26424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
26425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26426 if (SWIG_arg_fail(1)) SWIG_fail
;
26428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26429 result
= (int)(arg1
)->GetMaxPage();
26431 wxPyEndAllowThreads(__tstate
);
26432 if (PyErr_Occurred()) SWIG_fail
;
26435 resultobj
= SWIG_From_int((int)(result
));
26443 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26444 PyObject
*resultobj
;
26445 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26447 PyObject
* obj0
= 0 ;
26448 char *kwnames
[] = {
26449 (char *) "self", NULL
26452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
26453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26454 if (SWIG_arg_fail(1)) SWIG_fail
;
26456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26457 result
= (int)(arg1
)->GetMinPage();
26459 wxPyEndAllowThreads(__tstate
);
26460 if (PyErr_Occurred()) SWIG_fail
;
26463 resultobj
= SWIG_From_int((int)(result
));
26471 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26472 PyObject
*resultobj
;
26473 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26475 PyObject
* obj0
= 0 ;
26476 char *kwnames
[] = {
26477 (char *) "self", NULL
26480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
26481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26482 if (SWIG_arg_fail(1)) SWIG_fail
;
26484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26485 result
= (bool)(arg1
)->Ok();
26487 wxPyEndAllowThreads(__tstate
);
26488 if (PyErr_Occurred()) SWIG_fail
;
26491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26499 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26500 PyObject
*resultobj
;
26501 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26503 PyObject
* obj0
= 0 ;
26504 PyObject
* obj1
= 0 ;
26505 char *kwnames
[] = {
26506 (char *) "self",(char *) "ok", NULL
26509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
26510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26511 if (SWIG_arg_fail(1)) SWIG_fail
;
26513 arg2
= (bool)(SWIG_As_bool(obj1
));
26514 if (SWIG_arg_fail(2)) SWIG_fail
;
26517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26518 (arg1
)->SetOk(arg2
);
26520 wxPyEndAllowThreads(__tstate
);
26521 if (PyErr_Occurred()) SWIG_fail
;
26523 Py_INCREF(Py_None
); resultobj
= Py_None
;
26530 static PyObject
*_wrap_PrintPreview_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26531 PyObject
*resultobj
;
26532 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26535 PyObject
* obj0
= 0 ;
26536 PyObject
* obj1
= 0 ;
26537 char *kwnames
[] = {
26538 (char *) "self",(char *) "interactive", NULL
26541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
26542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26543 if (SWIG_arg_fail(1)) SWIG_fail
;
26545 arg2
= (bool)(SWIG_As_bool(obj1
));
26546 if (SWIG_arg_fail(2)) SWIG_fail
;
26549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26550 result
= (bool)(arg1
)->Print(arg2
);
26552 wxPyEndAllowThreads(__tstate
);
26553 if (PyErr_Occurred()) SWIG_fail
;
26556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26564 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26565 PyObject
*resultobj
;
26566 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26567 PyObject
* obj0
= 0 ;
26568 char *kwnames
[] = {
26569 (char *) "self", NULL
26572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
26573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26574 if (SWIG_arg_fail(1)) SWIG_fail
;
26576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26577 (arg1
)->DetermineScaling();
26579 wxPyEndAllowThreads(__tstate
);
26580 if (PyErr_Occurred()) SWIG_fail
;
26582 Py_INCREF(Py_None
); resultobj
= Py_None
;
26589 static PyObject
* PrintPreview_swigregister(PyObject
*, PyObject
*args
) {
26591 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26592 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
26594 return Py_BuildValue((char *)"");
26596 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
26597 PyObject
*resultobj
;
26598 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
26599 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26600 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
26601 wxPyPrintPreview
*result
;
26602 PyObject
* obj0
= 0 ;
26603 PyObject
* obj1
= 0 ;
26604 PyObject
* obj2
= 0 ;
26606 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
26607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26608 if (SWIG_arg_fail(1)) SWIG_fail
;
26609 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26610 if (SWIG_arg_fail(2)) SWIG_fail
;
26612 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
26613 if (SWIG_arg_fail(3)) SWIG_fail
;
26616 if (!wxPyCheckForApp()) SWIG_fail
;
26617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26618 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
26620 wxPyEndAllowThreads(__tstate
);
26621 if (PyErr_Occurred()) SWIG_fail
;
26623 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
26630 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
26631 PyObject
*resultobj
;
26632 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
26633 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26634 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
26635 wxPyPrintPreview
*result
;
26636 PyObject
* obj0
= 0 ;
26637 PyObject
* obj1
= 0 ;
26638 PyObject
* obj2
= 0 ;
26640 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
26641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26642 if (SWIG_arg_fail(1)) SWIG_fail
;
26643 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26644 if (SWIG_arg_fail(2)) SWIG_fail
;
26645 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
26646 if (SWIG_arg_fail(3)) SWIG_fail
;
26648 if (!wxPyCheckForApp()) SWIG_fail
;
26649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26650 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
26652 wxPyEndAllowThreads(__tstate
);
26653 if (PyErr_Occurred()) SWIG_fail
;
26655 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
26662 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
26667 argc
= PyObject_Length(args
);
26668 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
26669 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26671 if ((argc
>= 2) && (argc
<= 3)) {
26675 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26685 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26694 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
26698 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
26706 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
26715 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26725 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26735 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
26743 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
26749 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
26754 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26755 PyObject
*resultobj
;
26756 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26757 PyObject
*arg2
= (PyObject
*) 0 ;
26758 PyObject
*arg3
= (PyObject
*) 0 ;
26759 PyObject
* obj0
= 0 ;
26760 PyObject
* obj1
= 0 ;
26761 PyObject
* obj2
= 0 ;
26762 char *kwnames
[] = {
26763 (char *) "self",(char *) "self",(char *) "_class", NULL
26766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26768 if (SWIG_arg_fail(1)) SWIG_fail
;
26772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26773 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26775 wxPyEndAllowThreads(__tstate
);
26776 if (PyErr_Occurred()) SWIG_fail
;
26778 Py_INCREF(Py_None
); resultobj
= Py_None
;
26785 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26786 PyObject
*resultobj
;
26787 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26790 PyObject
* obj0
= 0 ;
26791 PyObject
* obj1
= 0 ;
26792 char *kwnames
[] = {
26793 (char *) "self",(char *) "pageNum", NULL
26796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26798 if (SWIG_arg_fail(1)) SWIG_fail
;
26800 arg2
= (int)(SWIG_As_int(obj1
));
26801 if (SWIG_arg_fail(2)) SWIG_fail
;
26804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26805 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
26807 wxPyEndAllowThreads(__tstate
);
26808 if (PyErr_Occurred()) SWIG_fail
;
26811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26819 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26820 PyObject
*resultobj
;
26821 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26822 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26825 PyObject
* obj0
= 0 ;
26826 PyObject
* obj1
= 0 ;
26827 PyObject
* obj2
= 0 ;
26828 char *kwnames
[] = {
26829 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26834 if (SWIG_arg_fail(1)) SWIG_fail
;
26835 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26836 if (SWIG_arg_fail(2)) SWIG_fail
;
26838 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26839 if (SWIG_arg_fail(3)) SWIG_fail
;
26840 if (arg3
== NULL
) {
26841 SWIG_null_ref("wxDC");
26843 if (SWIG_arg_fail(3)) SWIG_fail
;
26846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26847 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
26849 wxPyEndAllowThreads(__tstate
);
26850 if (PyErr_Occurred()) SWIG_fail
;
26853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26861 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26862 PyObject
*resultobj
;
26863 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26864 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26867 PyObject
* obj0
= 0 ;
26868 PyObject
* obj1
= 0 ;
26869 PyObject
* obj2
= 0 ;
26870 char *kwnames
[] = {
26871 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26876 if (SWIG_arg_fail(1)) SWIG_fail
;
26877 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26878 if (SWIG_arg_fail(2)) SWIG_fail
;
26880 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26881 if (SWIG_arg_fail(3)) SWIG_fail
;
26882 if (arg3
== NULL
) {
26883 SWIG_null_ref("wxDC");
26885 if (SWIG_arg_fail(3)) SWIG_fail
;
26888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26889 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
26891 wxPyEndAllowThreads(__tstate
);
26892 if (PyErr_Occurred()) SWIG_fail
;
26895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26903 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26904 PyObject
*resultobj
;
26905 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26908 PyObject
* obj0
= 0 ;
26909 PyObject
* obj1
= 0 ;
26910 char *kwnames
[] = {
26911 (char *) "self",(char *) "pageNum", NULL
26914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26916 if (SWIG_arg_fail(1)) SWIG_fail
;
26918 arg2
= (int)(SWIG_As_int(obj1
));
26919 if (SWIG_arg_fail(2)) SWIG_fail
;
26922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26923 result
= (bool)(arg1
)->base_RenderPage(arg2
);
26925 wxPyEndAllowThreads(__tstate
);
26926 if (PyErr_Occurred()) SWIG_fail
;
26929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26937 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26938 PyObject
*resultobj
;
26939 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26941 PyObject
* obj0
= 0 ;
26942 PyObject
* obj1
= 0 ;
26943 char *kwnames
[] = {
26944 (char *) "self",(char *) "percent", NULL
26947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
26948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26949 if (SWIG_arg_fail(1)) SWIG_fail
;
26951 arg2
= (int)(SWIG_As_int(obj1
));
26952 if (SWIG_arg_fail(2)) SWIG_fail
;
26955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26956 (arg1
)->base_SetZoom(arg2
);
26958 wxPyEndAllowThreads(__tstate
);
26959 if (PyErr_Occurred()) SWIG_fail
;
26961 Py_INCREF(Py_None
); resultobj
= Py_None
;
26968 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26969 PyObject
*resultobj
;
26970 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26973 PyObject
* obj0
= 0 ;
26974 PyObject
* obj1
= 0 ;
26975 char *kwnames
[] = {
26976 (char *) "self",(char *) "interactive", NULL
26979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
26980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26981 if (SWIG_arg_fail(1)) SWIG_fail
;
26983 arg2
= (bool)(SWIG_As_bool(obj1
));
26984 if (SWIG_arg_fail(2)) SWIG_fail
;
26987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26988 result
= (bool)(arg1
)->base_Print(arg2
);
26990 wxPyEndAllowThreads(__tstate
);
26991 if (PyErr_Occurred()) SWIG_fail
;
26994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27002 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27003 PyObject
*resultobj
;
27004 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27005 PyObject
* obj0
= 0 ;
27006 char *kwnames
[] = {
27007 (char *) "self", NULL
27010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
27011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27012 if (SWIG_arg_fail(1)) SWIG_fail
;
27014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27015 (arg1
)->base_DetermineScaling();
27017 wxPyEndAllowThreads(__tstate
);
27018 if (PyErr_Occurred()) SWIG_fail
;
27020 Py_INCREF(Py_None
); resultobj
= Py_None
;
27027 static PyObject
* PyPrintPreview_swigregister(PyObject
*, PyObject
*args
) {
27029 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27030 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
27032 return Py_BuildValue((char *)"");
27034 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27035 PyObject
*resultobj
;
27036 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
27037 wxFrame
*arg2
= (wxFrame
*) 0 ;
27038 wxString
*arg3
= 0 ;
27039 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27040 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27041 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27042 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27043 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
27044 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
27045 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27046 wxPyPreviewFrame
*result
;
27047 bool temp3
= false ;
27050 bool temp7
= false ;
27051 PyObject
* obj0
= 0 ;
27052 PyObject
* obj1
= 0 ;
27053 PyObject
* obj2
= 0 ;
27054 PyObject
* obj3
= 0 ;
27055 PyObject
* obj4
= 0 ;
27056 PyObject
* obj5
= 0 ;
27057 PyObject
* obj6
= 0 ;
27058 char *kwnames
[] = {
27059 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27064 if (SWIG_arg_fail(1)) SWIG_fail
;
27065 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
27066 if (SWIG_arg_fail(2)) SWIG_fail
;
27068 arg3
= wxString_in_helper(obj2
);
27069 if (arg3
== NULL
) SWIG_fail
;
27075 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27081 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27086 arg6
= (long)(SWIG_As_long(obj5
));
27087 if (SWIG_arg_fail(6)) SWIG_fail
;
27092 arg7
= wxString_in_helper(obj6
);
27093 if (arg7
== NULL
) SWIG_fail
;
27098 if (!wxPyCheckForApp()) SWIG_fail
;
27099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27100 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
27102 wxPyEndAllowThreads(__tstate
);
27103 if (PyErr_Occurred()) SWIG_fail
;
27105 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
27128 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27129 PyObject
*resultobj
;
27130 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27131 PyObject
*arg2
= (PyObject
*) 0 ;
27132 PyObject
*arg3
= (PyObject
*) 0 ;
27133 PyObject
* obj0
= 0 ;
27134 PyObject
* obj1
= 0 ;
27135 PyObject
* obj2
= 0 ;
27136 char *kwnames
[] = {
27137 (char *) "self",(char *) "self",(char *) "_class", NULL
27140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27142 if (SWIG_arg_fail(1)) SWIG_fail
;
27146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27147 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27149 wxPyEndAllowThreads(__tstate
);
27150 if (PyErr_Occurred()) SWIG_fail
;
27152 Py_INCREF(Py_None
); resultobj
= Py_None
;
27159 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27160 PyObject
*resultobj
;
27161 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27162 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
27163 PyObject
* obj0
= 0 ;
27164 PyObject
* obj1
= 0 ;
27165 char *kwnames
[] = {
27166 (char *) "self",(char *) "canvas", NULL
27169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
27170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27171 if (SWIG_arg_fail(1)) SWIG_fail
;
27172 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
27173 if (SWIG_arg_fail(2)) SWIG_fail
;
27175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27176 (arg1
)->SetPreviewCanvas(arg2
);
27178 wxPyEndAllowThreads(__tstate
);
27179 if (PyErr_Occurred()) SWIG_fail
;
27181 Py_INCREF(Py_None
); resultobj
= Py_None
;
27188 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27189 PyObject
*resultobj
;
27190 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27191 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
27192 PyObject
* obj0
= 0 ;
27193 PyObject
* obj1
= 0 ;
27194 char *kwnames
[] = {
27195 (char *) "self",(char *) "bar", NULL
27198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
27199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27200 if (SWIG_arg_fail(1)) SWIG_fail
;
27201 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27202 if (SWIG_arg_fail(2)) SWIG_fail
;
27204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27205 (arg1
)->SetControlBar(arg2
);
27207 wxPyEndAllowThreads(__tstate
);
27208 if (PyErr_Occurred()) SWIG_fail
;
27210 Py_INCREF(Py_None
); resultobj
= Py_None
;
27217 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27218 PyObject
*resultobj
;
27219 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27220 PyObject
* obj0
= 0 ;
27221 char *kwnames
[] = {
27222 (char *) "self", NULL
27225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
27226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27227 if (SWIG_arg_fail(1)) SWIG_fail
;
27229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27230 (arg1
)->base_Initialize();
27232 wxPyEndAllowThreads(__tstate
);
27233 if (PyErr_Occurred()) SWIG_fail
;
27235 Py_INCREF(Py_None
); resultobj
= Py_None
;
27242 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27243 PyObject
*resultobj
;
27244 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27245 PyObject
* obj0
= 0 ;
27246 char *kwnames
[] = {
27247 (char *) "self", NULL
27250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
27251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27252 if (SWIG_arg_fail(1)) SWIG_fail
;
27254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27255 (arg1
)->base_CreateCanvas();
27257 wxPyEndAllowThreads(__tstate
);
27258 if (PyErr_Occurred()) SWIG_fail
;
27260 Py_INCREF(Py_None
); resultobj
= Py_None
;
27267 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27268 PyObject
*resultobj
;
27269 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27270 PyObject
* obj0
= 0 ;
27271 char *kwnames
[] = {
27272 (char *) "self", NULL
27275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
27276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27277 if (SWIG_arg_fail(1)) SWIG_fail
;
27279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27280 (arg1
)->base_CreateControlBar();
27282 wxPyEndAllowThreads(__tstate
);
27283 if (PyErr_Occurred()) SWIG_fail
;
27285 Py_INCREF(Py_None
); resultobj
= Py_None
;
27292 static PyObject
* PyPreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
27294 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27295 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
27297 return Py_BuildValue((char *)"");
27299 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27300 PyObject
*resultobj
;
27301 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
27303 wxWindow
*arg3
= (wxWindow
*) 0 ;
27304 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27305 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27306 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27307 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27308 long arg6
= (long) 0 ;
27309 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
27310 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27311 wxPyPreviewControlBar
*result
;
27314 bool temp7
= false ;
27315 PyObject
* obj0
= 0 ;
27316 PyObject
* obj1
= 0 ;
27317 PyObject
* obj2
= 0 ;
27318 PyObject
* obj3
= 0 ;
27319 PyObject
* obj4
= 0 ;
27320 PyObject
* obj5
= 0 ;
27321 PyObject
* obj6
= 0 ;
27322 char *kwnames
[] = {
27323 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27328 if (SWIG_arg_fail(1)) SWIG_fail
;
27330 arg2
= (long)(SWIG_As_long(obj1
));
27331 if (SWIG_arg_fail(2)) SWIG_fail
;
27333 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27334 if (SWIG_arg_fail(3)) SWIG_fail
;
27338 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27344 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27349 arg6
= (long)(SWIG_As_long(obj5
));
27350 if (SWIG_arg_fail(6)) SWIG_fail
;
27355 arg7
= wxString_in_helper(obj6
);
27356 if (arg7
== NULL
) SWIG_fail
;
27361 if (!wxPyCheckForApp()) SWIG_fail
;
27362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27363 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
27365 wxPyEndAllowThreads(__tstate
);
27366 if (PyErr_Occurred()) SWIG_fail
;
27368 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
27383 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27384 PyObject
*resultobj
;
27385 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27386 PyObject
*arg2
= (PyObject
*) 0 ;
27387 PyObject
*arg3
= (PyObject
*) 0 ;
27388 PyObject
* obj0
= 0 ;
27389 PyObject
* obj1
= 0 ;
27390 PyObject
* obj2
= 0 ;
27391 char *kwnames
[] = {
27392 (char *) "self",(char *) "self",(char *) "_class", NULL
27395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27397 if (SWIG_arg_fail(1)) SWIG_fail
;
27401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27402 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27404 wxPyEndAllowThreads(__tstate
);
27405 if (PyErr_Occurred()) SWIG_fail
;
27407 Py_INCREF(Py_None
); resultobj
= Py_None
;
27414 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27415 PyObject
*resultobj
;
27416 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27417 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
27418 PyObject
* obj0
= 0 ;
27419 PyObject
* obj1
= 0 ;
27420 char *kwnames
[] = {
27421 (char *) "self",(char *) "preview", NULL
27424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
27425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27426 if (SWIG_arg_fail(1)) SWIG_fail
;
27427 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27428 if (SWIG_arg_fail(2)) SWIG_fail
;
27430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27431 (arg1
)->SetPrintPreview(arg2
);
27433 wxPyEndAllowThreads(__tstate
);
27434 if (PyErr_Occurred()) SWIG_fail
;
27436 Py_INCREF(Py_None
); resultobj
= Py_None
;
27443 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27444 PyObject
*resultobj
;
27445 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27446 PyObject
* obj0
= 0 ;
27447 char *kwnames
[] = {
27448 (char *) "self", NULL
27451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
27452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27453 if (SWIG_arg_fail(1)) SWIG_fail
;
27455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27456 (arg1
)->base_CreateButtons();
27458 wxPyEndAllowThreads(__tstate
);
27459 if (PyErr_Occurred()) SWIG_fail
;
27461 Py_INCREF(Py_None
); resultobj
= Py_None
;
27468 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27469 PyObject
*resultobj
;
27470 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27472 PyObject
* obj0
= 0 ;
27473 PyObject
* obj1
= 0 ;
27474 char *kwnames
[] = {
27475 (char *) "self",(char *) "zoom", NULL
27478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
27479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27480 if (SWIG_arg_fail(1)) SWIG_fail
;
27482 arg2
= (int)(SWIG_As_int(obj1
));
27483 if (SWIG_arg_fail(2)) SWIG_fail
;
27486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27487 (arg1
)->base_SetZoomControl(arg2
);
27489 wxPyEndAllowThreads(__tstate
);
27490 if (PyErr_Occurred()) SWIG_fail
;
27492 Py_INCREF(Py_None
); resultobj
= Py_None
;
27499 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
27501 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27502 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
27504 return Py_BuildValue((char *)"");
27506 static PyMethodDef SwigMethods
[] = {
27507 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27508 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27509 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27510 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27511 { (char *)"Panel_SetFocus", (PyCFunction
) _wrap_Panel_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27512 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
) _wrap_Panel_SetFocusIgnoringChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27513 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27514 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
27515 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27516 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27517 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27518 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27519 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27520 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27521 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27522 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27523 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27524 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27525 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27526 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27527 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27528 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27529 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
27530 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
27531 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27532 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27533 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27534 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27535 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27536 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_GetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27537 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27538 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27539 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
27540 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27541 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27542 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27543 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27544 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27545 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27546 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27547 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27548 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27549 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27550 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27551 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27552 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27553 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27554 { (char *)"TopLevelWindow_IsActive", (PyCFunction
) _wrap_TopLevelWindow_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27555 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27556 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacGetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27557 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
27558 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27559 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27560 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27561 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27562 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27563 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27564 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27565 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27566 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27567 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27568 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27569 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27570 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27571 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27572 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27573 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27574 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27575 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27576 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27577 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27578 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27579 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27580 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27581 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
27582 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27583 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27584 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27585 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27586 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27587 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27588 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27589 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27590 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27591 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27592 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27593 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27594 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
27595 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27596 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27597 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27598 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
27599 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27600 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27601 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27602 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
27603 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27604 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27605 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27606 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27607 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
27608 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27609 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27610 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27611 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27612 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27613 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27614 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27615 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27616 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27617 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27618 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27619 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27620 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27621 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27622 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27623 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27624 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
27625 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27626 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27627 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27628 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27629 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27630 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27631 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27632 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27633 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27634 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27635 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27636 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27637 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27638 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27639 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27640 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27641 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27642 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27643 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27644 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27645 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27646 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
) _wrap_SplitterWindow_GetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27647 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27648 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27649 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27650 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27651 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27652 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27653 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27654 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
27655 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27656 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27657 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27658 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27659 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27660 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27661 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
27662 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27663 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27664 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27665 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27666 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27667 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27668 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27669 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27670 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27671 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27672 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27673 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27674 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27675 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27676 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27677 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27678 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27679 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27680 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27681 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27682 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27683 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27684 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
27685 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27686 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27687 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27688 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27689 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27690 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27691 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27692 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
27693 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27694 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27695 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27696 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27697 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27698 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27699 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27700 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27701 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27702 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27703 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27704 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
27705 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27706 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27707 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27708 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27709 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27710 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
27711 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27712 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27713 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27714 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27715 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27716 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27717 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27718 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27719 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
27720 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27721 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27722 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27723 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27724 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27725 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
27726 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27727 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27728 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
27729 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27730 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27731 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
27732 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27733 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27734 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27735 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
27736 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27737 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27738 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27739 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27740 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27741 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27742 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27743 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27744 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27745 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27746 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27747 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27748 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27749 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27750 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
) _wrap_VScrolledWindow_GetVisibleBegin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27751 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
) _wrap_VScrolledWindow_GetVisibleEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27752 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27753 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27754 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27755 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
27756 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27757 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27758 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27759 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27760 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27761 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27762 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27763 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27764 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27765 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27766 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27767 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27768 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27769 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27770 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27771 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27772 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27773 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27774 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27775 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27776 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27777 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27778 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27779 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27780 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27781 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
27782 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27783 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27784 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27785 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27786 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27787 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27788 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
) _wrap_HtmlListBox_GetFileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27789 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
27790 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27791 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27792 { (char *)"TaskBarIcon_Destroy", (PyCFunction
) _wrap_TaskBarIcon_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27793 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27794 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27795 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27796 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27797 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27798 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
27799 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27800 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
27801 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27802 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27803 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27804 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27805 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27806 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27807 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27808 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27809 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
27810 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27811 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27812 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
27813 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27814 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27815 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27816 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27817 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27818 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27819 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
27820 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27821 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27822 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27823 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27824 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27825 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27826 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27827 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27828 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27829 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27830 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27831 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27832 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27833 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27834 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27835 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27836 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27837 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
27838 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27839 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27840 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27841 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
27842 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27843 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27844 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27845 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27846 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
27847 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27848 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27849 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27850 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
27851 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27852 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
27853 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27854 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27855 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27856 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27857 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27858 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27859 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27860 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27861 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27862 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27863 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27864 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27865 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27866 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27867 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27868 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
27869 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27870 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27871 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
27872 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27873 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
27874 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27875 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27876 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27877 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
27878 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27879 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27880 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27881 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27882 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27883 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27884 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27885 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27886 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
27887 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27888 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27889 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27890 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27891 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27892 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27893 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27894 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27895 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
27896 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27897 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27898 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27899 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27900 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27901 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
27902 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27903 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27904 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27905 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27906 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27907 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27908 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27909 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27910 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27911 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27912 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27913 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
27914 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27915 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27916 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27917 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27918 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27919 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27920 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
27921 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27922 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27923 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27924 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
27925 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27926 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27927 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27928 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27929 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27930 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27931 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27932 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27933 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27934 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27935 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27936 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27937 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27938 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27939 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27940 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27941 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27942 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27943 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27944 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27945 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27946 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27947 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27948 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27949 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
27950 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27951 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27952 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27953 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27954 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27955 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27956 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27957 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27958 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27959 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27960 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27961 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27962 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27963 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27964 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27965 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27966 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27967 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27968 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27969 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27970 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27971 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27972 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27973 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyPanel_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27974 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
27975 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27976 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27977 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27978 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27979 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27980 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27981 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27982 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27983 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27984 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27985 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27986 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27987 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27988 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27989 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27990 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27991 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction
) _wrap_PyScrolledWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27992 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27993 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27994 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27995 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27996 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27997 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27998 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyScrolledWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27999 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
28000 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
28001 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28002 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28003 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28004 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28005 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28006 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28007 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28008 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28009 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28010 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28011 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28012 { (char *)"PrintData_GetBin", (PyCFunction
) _wrap_PrintData_GetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28013 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28014 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28015 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28016 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28017 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28018 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28019 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28020 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28021 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28022 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28023 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28024 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28025 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28026 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28027 { (char *)"PrintData_GetPrivData", (PyCFunction
) _wrap_PrintData_GetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28028 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28029 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28030 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28031 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28032 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28033 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28034 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28035 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28036 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28037 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28038 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28039 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28040 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28041 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28042 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28043 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28044 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28045 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28046 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28047 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
28048 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
28049 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28050 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28051 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28052 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28053 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28054 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28055 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28056 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28057 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28058 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28059 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28060 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28061 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28062 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28063 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28064 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28065 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28066 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28067 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28068 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28069 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28070 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28071 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28072 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28073 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28074 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28075 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28076 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28077 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28078 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28079 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28080 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
) _wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28081 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
28082 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28083 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28084 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28085 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28086 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
28087 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
28088 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28089 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28090 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28091 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28092 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28093 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28094 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28095 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28096 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28097 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28098 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28099 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28100 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28101 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28102 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28103 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28104 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28105 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28106 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28107 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28108 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28109 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28110 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28111 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28112 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28113 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28114 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28115 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28116 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28117 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28118 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28119 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28120 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
28121 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28122 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28123 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28124 { (char *)"PrintDialog_GetPrintData", (PyCFunction
) _wrap_PrintDialog_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28125 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28126 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
28127 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28128 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28129 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28130 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28131 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28132 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28133 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28134 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28135 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28136 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28137 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
28138 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28139 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28140 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28141 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28142 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28143 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28144 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28145 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28146 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28147 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28148 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28149 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28150 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28151 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28152 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28153 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28154 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28155 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28156 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28157 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28158 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28159 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28160 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
28161 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28162 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
28163 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28164 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28165 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28166 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28167 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28168 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
28169 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28170 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28171 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28172 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28173 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28174 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28175 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28176 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28177 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28178 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
28179 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
28180 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28181 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28182 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28183 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28184 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28185 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28186 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28187 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28188 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28189 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28190 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28191 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28192 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28193 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28194 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28195 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28196 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28197 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28198 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28199 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28200 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28201 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28202 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
28203 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
28204 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28205 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28206 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28207 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28208 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28209 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28210 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28211 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28212 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
28213 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28214 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28215 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28216 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28217 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28218 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28219 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28220 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
28221 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28222 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28223 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28224 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28225 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28226 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
28227 { NULL
, NULL
, 0, NULL
}
28231 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28233 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
28234 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28236 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
28237 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28239 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
28240 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
28242 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
28243 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
28245 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
28246 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
28248 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
28249 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
28251 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
28252 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
28254 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
28255 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28257 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
28258 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
28260 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
28261 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
28263 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
28264 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
28266 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
28267 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
28269 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
28270 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28272 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
28273 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
28275 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
28276 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
28278 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
28279 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28281 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
28282 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28284 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
28285 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
28287 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
28288 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
28290 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
28291 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
28293 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
28294 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
28296 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
28297 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
28299 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
28300 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
28302 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
28303 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
28305 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
28306 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
28308 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
28309 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28311 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
28312 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28314 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
28315 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28317 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
28318 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28320 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
28321 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28323 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
28324 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
28326 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
28327 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
28329 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
28330 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28332 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
28333 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
28335 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
28336 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
28338 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
28339 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
28341 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
28342 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
28344 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
28345 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28347 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
28348 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28350 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
28351 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28353 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
28354 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
28356 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
28357 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
28359 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
28360 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
28362 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
28363 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28365 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
28366 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28368 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
28369 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
28371 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
28372 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
28374 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
28375 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
28377 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
28378 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
28380 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
28381 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
28383 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
28384 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
28386 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
28387 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
28389 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
28390 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28392 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
28393 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
28395 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
28396 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
28398 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
28399 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
28401 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
28402 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
28404 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
28405 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
28407 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
28408 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
28410 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
28411 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
28413 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
28414 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
28416 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
28417 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
28419 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
28420 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
28422 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
28423 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
28425 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
28426 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
28428 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
28429 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
28431 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
28432 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
28434 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
28435 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
28437 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
28438 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
28440 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
28441 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
28443 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
28444 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
28446 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
28447 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
28449 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
28450 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
28452 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
28453 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
28455 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
28456 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
28458 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
28459 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
28461 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
28462 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
28464 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
28465 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28467 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
28468 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
28470 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
28471 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
28473 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
28474 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
28476 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
28477 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
28479 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
28480 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
28482 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
28483 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28485 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
28486 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28488 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
28489 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
28491 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
28492 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
28494 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
28495 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
28497 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
28498 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
28500 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
28501 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
28503 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
28504 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
28506 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
28507 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
28509 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
28510 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
28512 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
28513 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
28515 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
28516 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28518 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
28519 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
28521 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
28522 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
28524 static void *_p_wxTipWindowTo_p_wxFrame(void *x
) {
28525 return (void *)((wxFrame
*) ((wxTipWindow
*) x
));
28527 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
28528 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
28530 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
28531 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28533 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
28534 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
28536 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
28537 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
28539 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
28540 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
28542 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
28543 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
28545 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
28546 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
28548 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
28549 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
28551 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
28552 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28554 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
28555 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
28557 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
28558 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
28560 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
28561 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
28563 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
28564 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
28566 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
28567 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
28569 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
28570 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
28572 static void *_p_wxSizerTo_p_wxObject(void *x
) {
28573 return (void *)((wxObject
*) ((wxSizer
*) x
));
28575 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
28576 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
28578 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
28579 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28581 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
28582 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
28584 static void *_p_wxEventTo_p_wxObject(void *x
) {
28585 return (void *)((wxObject
*) ((wxEvent
*) x
));
28587 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
28588 return (void *)((wxObject
*) ((wxFontData
*) x
));
28590 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
28591 return (void *)((wxObject
*) ((wxPrintData
*) x
));
28593 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
28594 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
28596 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
28597 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
28599 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
28600 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
28602 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
28603 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
28605 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
28606 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
28608 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
28609 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
28611 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
28612 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
28614 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
28615 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
28617 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
28618 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28620 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
28621 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28623 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
28624 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28626 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
28627 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28629 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
28630 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
28632 static void *_p_wxControlTo_p_wxObject(void *x
) {
28633 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
28635 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
28636 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
28638 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
28639 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28641 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
28642 return (void *)((wxObject
*) ((wxFSFile
*) x
));
28644 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
28645 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
28647 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
28648 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
28650 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
28651 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
28653 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
28654 return (void *)((wxObject
*) ((wxColourData
*) x
));
28656 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
28657 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
28659 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
28660 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28662 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
28663 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
28665 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
28666 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
28668 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
28669 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
28671 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
28672 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
28674 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
28675 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
28677 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
28678 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
28680 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
28681 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28683 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
28684 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
28686 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
28687 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
28689 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
28690 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
28692 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
28693 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
28695 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
28696 return (void *)((wxObject
*) ((wxPrinter
*) x
));
28698 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
28699 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
28701 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
28702 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
28704 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
28705 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
28707 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
28708 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28710 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
28711 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28713 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
28714 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
28716 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
28717 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
28719 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
28720 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
28722 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
28723 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
28725 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
28726 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
28728 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
28729 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
28731 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
28732 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
28734 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
28735 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
28737 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
28738 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
28740 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
28741 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
28743 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
28744 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
28746 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
28747 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
28749 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
28750 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
28752 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
28753 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
28755 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
28756 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
28758 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
28759 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
28761 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
28762 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
28764 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
28765 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
28767 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
28768 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
28770 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
28771 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28773 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
28774 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28776 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
28777 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
28779 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
28780 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
28782 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
28783 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
28785 static void *_p_wxImageTo_p_wxObject(void *x
) {
28786 return (void *)((wxObject
*) ((wxImage
*) x
));
28788 static void *_p_wxFrameTo_p_wxObject(void *x
) {
28789 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
28791 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
28792 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
28794 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
28795 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
28797 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
28798 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
28800 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
28801 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
28803 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
28804 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
28806 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
28807 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28809 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
28810 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28812 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
28813 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
28815 static void *_p_wxWindowTo_p_wxObject(void *x
) {
28816 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
28818 static void *_p_wxMenuTo_p_wxObject(void *x
) {
28819 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
28821 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
28822 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
28824 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
28825 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
28827 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
28828 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
28830 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
28831 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
28833 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
28834 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
28836 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
28837 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
28839 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
28840 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
28842 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
28843 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
28845 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
28846 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
28848 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
28849 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
28851 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
28852 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
28854 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
28855 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
28857 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
28858 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
28860 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
28861 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
28863 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
28864 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
28866 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
28867 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
28869 static void *_p_wxPanelTo_p_wxObject(void *x
) {
28870 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
28872 static void *_p_wxDialogTo_p_wxObject(void *x
) {
28873 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
28875 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
28876 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
28878 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
28879 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
28881 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
28882 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
28884 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
28885 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
28887 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
28888 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
28890 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
28891 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
28893 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
28894 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28896 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
28897 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
28899 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
28900 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
28902 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
28903 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
28905 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
28906 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
28908 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
28909 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
28911 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
28912 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28914 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
28915 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
28917 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
28918 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
28920 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
28921 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
28923 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
28924 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
28926 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
28927 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
28929 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
28930 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28932 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
28933 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
28935 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
28936 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
28938 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
28939 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
28941 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
28942 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
28944 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
28945 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
28947 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
28948 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28950 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
28951 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28953 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
28954 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
28956 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
28957 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
28959 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
28960 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
28962 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
28963 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
28965 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
28966 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
28968 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
28969 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
28971 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
28972 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
28974 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
28975 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
28977 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
28978 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
28980 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x
) {
28981 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxTipWindow
*) x
));
28983 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
28984 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
28986 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
28987 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
28989 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
28990 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
28992 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
28993 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28995 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
28996 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
28998 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
28999 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
29001 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
29002 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
29004 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
29005 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
29007 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
29008 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
29010 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
29011 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
29013 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
29014 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
29016 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
29017 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
29019 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
29020 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
29022 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
29023 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
29025 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
29026 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
29028 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
29029 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
29031 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
29032 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
29034 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
29035 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
29037 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
29038 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
29040 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
29041 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
29043 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
29044 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
29046 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
29047 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
29049 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
29050 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
29052 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
29053 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
29055 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
29056 return (void *)((wxWindow
*) ((wxPanel
*) x
));
29058 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
29059 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
29061 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
29062 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
29064 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
29065 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
29067 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
29068 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
29070 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
29071 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
29073 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
29074 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
29076 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
29077 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
29079 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
29080 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
29082 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
29083 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
29085 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
29086 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
29088 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
29089 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
29091 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
29092 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
29094 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
29095 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29097 static void *_p_wxControlTo_p_wxWindow(void *x
) {
29098 return (void *)((wxWindow
*) ((wxControl
*) x
));
29100 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
29101 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
29103 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
29104 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
29106 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
29107 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
29109 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
29110 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
29112 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
29113 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
29115 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
29116 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
29118 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
29119 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
29121 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
29122 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
29124 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
29125 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
29127 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
29128 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29130 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
29131 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
29133 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
29134 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
29136 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
29137 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
29139 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
29140 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
29142 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
29143 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
29145 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
29146 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
29148 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
29149 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29151 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
29152 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
29154 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
29155 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
29157 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
29158 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
29160 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
29161 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
29163 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
29164 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
29166 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
29167 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
29169 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
29170 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
29172 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
29173 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
29175 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
29176 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
29178 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
29179 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
29181 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
29182 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
29184 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
29185 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
29187 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
29188 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
29190 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
29191 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
29193 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
29194 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29196 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
29197 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
29199 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
29200 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
29202 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
29203 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
29205 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
29206 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
29208 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
29209 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
29211 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
29212 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29214 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
29215 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29217 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
29218 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
29220 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
29221 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29223 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
29224 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
29226 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
29227 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29229 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
29230 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
29232 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
29233 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29235 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
29236 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29238 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
29239 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
29241 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
29242 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29244 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
29245 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29247 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
29248 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
29250 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
29251 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29253 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}};
29254 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}};
29255 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}};
29256 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}};
29257 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}};
29258 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}};
29259 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}};
29260 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}};
29261 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}};
29262 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}};
29263 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}};
29264 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}};
29265 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}};
29266 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}};
29267 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}};
29268 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}};
29269 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}};
29270 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}};
29271 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}};
29272 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}};
29273 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}};
29274 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}};
29275 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}};
29276 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}};
29277 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}};
29278 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}};
29279 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}};
29280 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}};
29281 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}};
29282 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}};
29283 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}};
29284 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}};
29285 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}};
29286 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}};
29287 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}};
29288 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}};
29289 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}};
29290 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}};
29291 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}};
29292 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}};
29293 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}};
29294 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}};
29295 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}};
29296 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}};
29297 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}};
29298 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}};
29299 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}};
29300 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}};
29301 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}};
29302 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}};
29303 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}};
29304 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}};
29305 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}};
29306 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}};
29307 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}};
29308 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}};
29309 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}};
29310 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}};
29311 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}};
29312 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}};
29313 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}};
29314 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}};
29315 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}};
29316 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}};
29317 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}};
29318 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}};
29319 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}};
29320 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}};
29321 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}};
29322 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}};
29323 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}};
29324 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}};
29325 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}};
29326 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}};
29327 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}};
29328 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}};
29329 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}};
29330 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}};
29331 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}};
29332 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}};
29333 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}};
29334 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}};
29335 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}};
29336 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}};
29337 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}};
29338 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}};
29339 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}};
29340 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}};
29341 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}};
29342 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}};
29343 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}};
29344 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}};
29345 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}};
29346 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}};
29347 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}};
29348 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}};
29349 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}};
29351 static swig_type_info
*swig_types_initial
[] = {
29352 _swigt__p_wxQueryLayoutInfoEvent
,
29353 _swigt__p_wxPreviewFrame
,
29354 _swigt__p_wxPyPreviewFrame
,
29355 _swigt__p_wxPyPanel
,
29357 _swigt__p_wxFontData
,
29359 _swigt__p_wxPrintData
,
29360 _swigt__p_wxTaskBarIcon
,
29361 _swigt__p_wxPyTaskBarIcon
,
29362 _swigt__p_wxIconBundle
,
29363 _swigt__p_wxLayoutAlgorithm
,
29364 _swigt__p_wxFindDialogEvent
,
29365 _swigt__p_wxPreviewCanvas
,
29367 _swigt__p_wxSplitterEvent
,
29368 _swigt__p_wxRegion
,
29370 _swigt__std__ptrdiff_t
,
29371 _swigt__p_wxFindReplaceData
,
29376 _swigt__p_wxVisualAttributes
,
29377 _swigt__p_wxMDIChildFrame
,
29378 _swigt__p_wxColourData
,
29379 _swigt__p_wxNotifyEvent
,
29380 _swigt__p_wxPyWindow
,
29381 _swigt__p_form_ops_t
,
29382 _swigt__p_wxSplashScreen
,
29383 _swigt__p_wxPasswordEntryDialog
,
29384 _swigt__p_wxSingleChoiceDialog
,
29385 _swigt__p_wxMultiChoiceDialog
,
29386 _swigt__p_wxFileDialog
,
29387 _swigt__p_wxTextEntryDialog
,
29388 _swigt__p_wxMessageDialog
,
29389 _swigt__p_wxProgressDialog
,
29390 _swigt__p_wxFindReplaceDialog
,
29391 _swigt__p_wxPrinter
,
29392 _swigt__p_wxArrayInt
,
29393 _swigt__p_wxDuplexMode
,
29394 _swigt__p_wxEvtHandler
,
29395 _swigt__p_wxCalculateLayoutEvent
,
29396 _swigt__p_wxPyHtmlListBox
,
29397 _swigt__p_wxPyVListBox
,
29399 _swigt__p_wxStdDialogButtonSizer
,
29401 _swigt__p_wxMiniFrame
,
29403 _swigt__p_wxPyPrintout
,
29404 _swigt__p_wxTaskBarIconEvent
,
29405 _swigt__p_wxScrollWinEvent
,
29406 _swigt__p_wxPaperSize
,
29407 _swigt__p_wxStatusBar
,
29408 _swigt__p_wxMDIParentFrame
,
29410 _swigt__p_wxObject
,
29411 _swigt__p_unsigned_long
,
29412 _swigt__p_wxTipWindow
,
29413 _swigt__p_wxPyPopupTransientWindow
,
29414 _swigt__p_wxSashLayoutWindow
,
29415 _swigt__p_wxSplitterWindow
,
29416 _swigt__p_wxSplashScreenWindow
,
29417 _swigt__p_wxPyVScrolledWindow
,
29418 _swigt__p_wxPopupWindow
,
29419 _swigt__p_wxSashWindow
,
29420 _swigt__p_wxTopLevelWindow
,
29421 _swigt__p_wxWindow
,
29422 _swigt__p_wxScrolledWindow
,
29423 _swigt__p_wxMenuBar
,
29424 _swigt__p_wxMDIClientWindow
,
29425 _swigt__p_wxPyScrolledWindow
,
29426 _swigt__p_wxPrintPreview
,
29427 _swigt__p_wxSashEvent
,
29428 _swigt__p_wxString
,
29429 _swigt__p_wxPyPrintPreview
,
29430 _swigt__p_wxDirDialog
,
29431 _swigt__p_wxColourDialog
,
29432 _swigt__p_wxDialog
,
29434 _swigt__p_wxFontDialog
,
29435 _swigt__p_wxPageSetupDialog
,
29436 _swigt__p_wxPrintDialog
,
29437 _swigt__p_wxFileSystem
,
29438 _swigt__p_wxBitmap
,
29439 _swigt__unsigned_int
,
29440 _swigt__p_unsigned_int
,
29441 _swigt__p_unsigned_char
,
29442 _swigt__p_wxCommandEvent
,
29443 _swigt__p_wxPreviewControlBar
,
29444 _swigt__p_wxPyPreviewControlBar
,
29445 _swigt__p_wxColour
,
29446 _swigt__p_wxToolBar
,
29447 _swigt__p_wxPageSetupDialogData
,
29448 _swigt__p_wxPrintDialogData
,
29453 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29455 static swig_const_info swig_const_table
[] = {
29456 {0, 0, 0, 0.0, 0, 0}};
29467 /* Python-specific SWIG API */
29468 #define SWIG_newvarlink() SWIG_Python_newvarlink()
29469 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
29470 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
29472 /* -----------------------------------------------------------------------------
29473 * global variable support code.
29474 * ----------------------------------------------------------------------------- */
29476 typedef struct swig_globalvar
{
29477 char *name
; /* Name of global variable */
29478 PyObject
*(*get_attr
)(); /* Return the current value */
29479 int (*set_attr
)(PyObject
*); /* Set the value */
29480 struct swig_globalvar
*next
;
29483 typedef struct swig_varlinkobject
{
29485 swig_globalvar
*vars
;
29486 } swig_varlinkobject
;
29489 swig_varlink_repr(swig_varlinkobject
*v
) {
29491 return PyString_FromString("<Swig global variables>");
29495 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
29496 swig_globalvar
*var
;
29498 fprintf(fp
,"Swig global variables { ");
29499 for (var
= v
->vars
; var
; var
=var
->next
) {
29500 fprintf(fp
,"%s", var
->name
);
29501 if (var
->next
) fprintf(fp
,", ");
29503 fprintf(fp
," }\n");
29508 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
29509 swig_globalvar
*var
= v
->vars
;
29511 if (strcmp(var
->name
,n
) == 0) {
29512 return (*var
->get_attr
)();
29516 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
29521 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
29522 swig_globalvar
*var
= v
->vars
;
29524 if (strcmp(var
->name
,n
) == 0) {
29525 return (*var
->set_attr
)(p
);
29529 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
29533 static PyTypeObject varlinktype
= {
29534 PyObject_HEAD_INIT(0)
29535 0, /* Number of items in variable part (ob_size) */
29536 (char *)"swigvarlink", /* Type name (tp_name) */
29537 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
29538 0, /* Itemsize (tp_itemsize) */
29539 0, /* Deallocator (tp_dealloc) */
29540 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
29541 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
29542 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
29543 0, /* tp_compare */
29544 (reprfunc
) swig_varlink_repr
, /* tp_repr */
29545 0, /* tp_as_number */
29546 0, /* tp_as_sequence */
29547 0, /* tp_as_mapping */
29551 0, /* tp_getattro */
29552 0, /* tp_setattro */
29553 0, /* tp_as_buffer */
29556 #if PY_VERSION_HEX >= 0x02000000
29557 0, /* tp_traverse */
29560 #if PY_VERSION_HEX >= 0x02010000
29561 0, /* tp_richcompare */
29562 0, /* tp_weaklistoffset */
29564 #if PY_VERSION_HEX >= 0x02020000
29565 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
29567 #if PY_VERSION_HEX >= 0x02030000
29570 #ifdef COUNT_ALLOCS
29571 0,0,0,0 /* tp_alloc -> tp_next */
29575 /* Create a variable linking object for use later */
29577 SWIG_Python_newvarlink(void) {
29578 swig_varlinkobject
*result
= 0;
29579 result
= PyMem_NEW(swig_varlinkobject
,1);
29580 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
29581 result
->ob_type
= &varlinktype
;
29583 result
->ob_refcnt
= 0;
29584 Py_XINCREF((PyObject
*) result
);
29585 return ((PyObject
*) result
);
29589 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
29590 swig_varlinkobject
*v
;
29591 swig_globalvar
*gv
;
29592 v
= (swig_varlinkobject
*) p
;
29593 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
29594 gv
->name
= (char *) malloc(strlen(name
)+1);
29595 strcpy(gv
->name
,name
);
29596 gv
->get_attr
= get_attr
;
29597 gv
->set_attr
= set_attr
;
29598 gv
->next
= v
->vars
;
29602 /* -----------------------------------------------------------------------------
29603 * constants/methods manipulation
29604 * ----------------------------------------------------------------------------- */
29606 /* Install Constants */
29608 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
29611 for (i
= 0; constants
[i
].type
; i
++) {
29612 switch(constants
[i
].type
) {
29614 obj
= PyInt_FromLong(constants
[i
].lvalue
);
29616 case SWIG_PY_FLOAT
:
29617 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
29619 case SWIG_PY_STRING
:
29620 if (constants
[i
].pvalue
) {
29621 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
29623 Py_INCREF(Py_None
);
29627 case SWIG_PY_POINTER
:
29628 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
29630 case SWIG_PY_BINARY
:
29631 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
29638 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
29644 /* -----------------------------------------------------------------------------*/
29645 /* Fix SwigMethods to carry the callback ptrs when needed */
29646 /* -----------------------------------------------------------------------------*/
29649 SWIG_Python_FixMethods(PyMethodDef
*methods
,
29650 swig_const_info
*const_table
,
29651 swig_type_info
**types
,
29652 swig_type_info
**types_initial
) {
29654 for (i
= 0; methods
[i
].ml_name
; ++i
) {
29655 char *c
= methods
[i
].ml_doc
;
29656 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
29658 swig_const_info
*ci
= 0;
29659 char *name
= c
+ 10;
29660 for (j
= 0; const_table
[j
].type
; j
++) {
29661 if (strncmp(const_table
[j
].name
, name
,
29662 strlen(const_table
[j
].name
)) == 0) {
29663 ci
= &(const_table
[j
]);
29668 size_t shift
= (ci
->ptype
) - types
;
29669 swig_type_info
*ty
= types_initial
[shift
];
29670 size_t ldoc
= (c
- methods
[i
].ml_doc
);
29671 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
29672 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
29674 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
29675 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
29677 strncpy(buff
, "swig_ptr: ", 10);
29679 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
29680 methods
[i
].ml_doc
= ndoc
;
29686 /* -----------------------------------------------------------------------------*
29687 * Initialize type list
29688 * -----------------------------------------------------------------------------*/
29690 #if PY_MAJOR_VERSION < 2
29691 /* PyModule_AddObject function was introduced in Python 2.0. The following function
29692 is copied out of Python/modsupport.c in python version 2.3.4 */
29694 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
29697 if (!PyModule_Check(m
)) {
29698 PyErr_SetString(PyExc_TypeError
,
29699 "PyModule_AddObject() needs module as first arg");
29703 PyErr_SetString(PyExc_TypeError
,
29704 "PyModule_AddObject() needs non-NULL value");
29708 dict
= PyModule_GetDict(m
);
29709 if (dict
== NULL
) {
29710 /* Internal error -- modules must have a dict! */
29711 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
29712 PyModule_GetName(m
));
29715 if (PyDict_SetItemString(dict
, name
, o
))
29722 static swig_type_info
**
29723 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
29724 static PyMethodDef swig_empty_runtime_method_table
[] = {
29726 NULL
, NULL
, 0, NULL
29730 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
29731 swig_empty_runtime_method_table
);
29732 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
29733 if (pointer
&& module) {
29734 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
29736 return type_list_handle
;
29739 static swig_type_info
**
29740 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
29741 swig_type_info
**type_pointer
;
29743 /* first check if module already created */
29744 type_pointer
= SWIG_Python_GetTypeListHandle();
29745 if (type_pointer
) {
29746 return type_pointer
;
29748 /* create a new module and variable */
29749 return SWIG_Python_SetTypeListHandle(type_list_handle
);
29757 /* -----------------------------------------------------------------------------*
29758 * Partial Init method
29759 * -----------------------------------------------------------------------------*/
29761 #ifdef SWIG_LINK_RUNTIME
29765 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
29771 SWIGEXPORT(void) SWIG_init(void) {
29772 static PyObject
*SWIG_globals
= 0;
29773 static int typeinit
= 0;
29776 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
29778 /* Fix SwigMethods to carry the callback ptrs when needed */
29779 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
29781 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
29782 d
= PyModule_GetDict(m
);
29785 #ifdef SWIG_LINK_RUNTIME
29786 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
29788 # ifndef SWIG_STATIC_RUNTIME
29789 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
29792 for (i
= 0; swig_types_initial
[i
]; i
++) {
29793 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
29797 SWIG_InstallConstants(d
,swig_const_table
);
29799 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
29800 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
29801 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
29802 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
29803 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
29805 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_From_int((int)(wxSTAY_ON_TOP
)));
29808 PyDict_SetItemString(d
,"ICONIZE", SWIG_From_int((int)(wxICONIZE
)));
29811 PyDict_SetItemString(d
,"MINIMIZE", SWIG_From_int((int)(wxMINIMIZE
)));
29814 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_From_int((int)(wxMAXIMIZE
)));
29817 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_From_int((int)(wxCLOSE_BOX
)));
29820 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_From_int((int)(wxTHICK_FRAME
)));
29823 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_From_int((int)(wxSYSTEM_MENU
)));
29826 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_From_int((int)(wxMINIMIZE_BOX
)));
29829 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_From_int((int)(wxMAXIMIZE_BOX
)));
29832 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_From_int((int)(wxTINY_CAPTION_HORIZ
)));
29835 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_From_int((int)(wxTINY_CAPTION_VERT
)));
29838 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_From_int((int)(wxRESIZE_BOX
)));
29841 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_From_int((int)(wxRESIZE_BORDER
)));
29844 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_From_int((int)(wxDIALOG_NO_PARENT
)));
29847 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)(wxDEFAULT_FRAME_STYLE
)));
29850 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)(wxDEFAULT_DIALOG_STYLE
)));
29853 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_From_int((int)(wxFRAME_TOOL_WINDOW
)));
29856 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)(wxFRAME_FLOAT_ON_PARENT
)));
29859 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)(wxFRAME_NO_WINDOW_MENU
)));
29862 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_From_int((int)(wxFRAME_NO_TASKBAR
)));
29865 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_From_int((int)(wxFRAME_SHAPED
)));
29868 PyDict_SetItemString(d
,"FRAME_DRAWER", SWIG_From_int((int)(wxFRAME_DRAWER
)));
29871 PyDict_SetItemString(d
,"FRAME_EX_METAL", SWIG_From_int((int)(wxFRAME_EX_METAL
)));
29874 PyDict_SetItemString(d
,"DIALOG_EX_METAL", SWIG_From_int((int)(wxDIALOG_EX_METAL
)));
29877 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_From_int((int)(wxDIALOG_MODAL
)));
29880 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_From_int((int)(wxDIALOG_MODELESS
)));
29883 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_From_int((int)(wxUSER_COLOURS
)));
29886 PyDict_SetItemString(d
,"NO_3D", SWIG_From_int((int)(wxNO_3D
)));
29889 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)(wxFULLSCREEN_NOMENUBAR
)));
29892 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)(wxFULLSCREEN_NOTOOLBAR
)));
29895 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)(wxFULLSCREEN_NOSTATUSBAR
)));
29898 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_From_int((int)(wxFULLSCREEN_NOBORDER
)));
29901 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)(wxFULLSCREEN_NOCAPTION
)));
29904 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_From_int((int)(wxFULLSCREEN_ALL
)));
29907 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)(wxTOPLEVEL_EX_DIALOG
)));
29910 PyDict_SetItemString(d
,"USER_ATTENTION_INFO", SWIG_From_int((int)(wxUSER_ATTENTION_INFO
)));
29913 PyDict_SetItemString(d
,"USER_ATTENTION_ERROR", SWIG_From_int((int)(wxUSER_ATTENTION_ERROR
)));
29916 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_PARENT
)));
29919 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_SCREEN
)));
29922 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_From_int((int)(wxSPLASH_NO_CENTRE
)));
29925 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_From_int((int)(wxSPLASH_TIMEOUT
)));
29928 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)(wxSPLASH_NO_TIMEOUT
)));
29931 PyDict_SetItemString(d
,"SB_NORMAL", SWIG_From_int((int)(wxSB_NORMAL
)));
29934 PyDict_SetItemString(d
,"SB_FLAT", SWIG_From_int((int)(wxSB_FLAT
)));
29937 PyDict_SetItemString(d
,"SB_RAISED", SWIG_From_int((int)(wxSB_RAISED
)));
29939 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
29941 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_From_int((int)(wxSP_NOBORDER
)));
29944 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_From_int((int)(wxSP_NOSASH
)));
29947 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)(wxSP_PERMIT_UNSPLIT
)));
29950 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_From_int((int)(wxSP_LIVE_UPDATE
)));
29953 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_From_int((int)(wxSP_3DSASH
)));
29956 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_From_int((int)(wxSP_3DBORDER
)));
29959 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_From_int((int)(wxSP_NO_XP_THEME
)));
29962 PyDict_SetItemString(d
,"SP_BORDER", SWIG_From_int((int)(wxSP_BORDER
)));
29965 PyDict_SetItemString(d
,"SP_3D", SWIG_From_int((int)(wxSP_3D
)));
29968 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_From_int((int)(wxSPLIT_HORIZONTAL
)));
29971 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_From_int((int)(wxSPLIT_VERTICAL
)));
29974 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_From_int((int)(wxSPLIT_DRAG_NONE
)));
29977 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)(wxSPLIT_DRAG_DRAGGING
)));
29980 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSPLIT_DRAG_LEFT_DOWN
)));
29982 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
29983 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
29984 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
29985 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
29986 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
29987 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
29989 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_From_int((int)(wxSASH_DRAG_NONE
)));
29992 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_From_int((int)(wxSASH_DRAG_DRAGGING
)));
29995 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSASH_DRAG_LEFT_DOWN
)));
29998 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_From_int((int)(wxSW_NOBORDER
)));
30001 PyDict_SetItemString(d
,"SW_BORDER", SWIG_From_int((int)(wxSW_BORDER
)));
30004 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_From_int((int)(wxSW_3DSASH
)));
30007 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_From_int((int)(wxSW_3DBORDER
)));
30010 PyDict_SetItemString(d
,"SW_3D", SWIG_From_int((int)(wxSW_3D
)));
30013 PyDict_SetItemString(d
,"SASH_TOP", SWIG_From_int((int)(wxSASH_TOP
)));
30016 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_From_int((int)(wxSASH_RIGHT
)));
30019 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_From_int((int)(wxSASH_BOTTOM
)));
30022 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_From_int((int)(wxSASH_LEFT
)));
30025 PyDict_SetItemString(d
,"SASH_NONE", SWIG_From_int((int)(wxSASH_NONE
)));
30028 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_From_int((int)(wxSASH_STATUS_OK
)));
30031 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)(wxSASH_STATUS_OUT_OF_RANGE
)));
30033 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
30035 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_From_int((int)(wxLAYOUT_HORIZONTAL
)));
30038 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_From_int((int)(wxLAYOUT_VERTICAL
)));
30041 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_From_int((int)(wxLAYOUT_NONE
)));
30044 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_From_int((int)(wxLAYOUT_TOP
)));
30047 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_From_int((int)(wxLAYOUT_LEFT
)));
30050 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_From_int((int)(wxLAYOUT_RIGHT
)));
30053 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_From_int((int)(wxLAYOUT_BOTTOM
)));
30056 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_From_int((int)(wxLAYOUT_LENGTH_Y
)));
30059 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_From_int((int)(wxLAYOUT_LENGTH_X
)));
30062 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)(wxLAYOUT_MRU_LENGTH
)));
30065 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_From_int((int)(wxLAYOUT_QUERY
)));
30067 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
30068 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
30069 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
30071 // Map renamed classes back to their common name for OOR
30072 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
30073 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
30074 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
30076 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
30077 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
30078 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
30079 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
30080 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
30081 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
30082 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
30083 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
30084 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
30085 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
30086 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
30087 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
30088 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
30090 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_From_int((int)(wxCHOICEDLG_STYLE
)));
30093 PyDict_SetItemString(d
,"TextEntryDialogStyle", SWIG_From_int((int)(wxTextEntryDialogStyle
)));
30095 SWIG_addvarlink(SWIG_globals
,(char*)"GetPasswordFromUserPromptStr",_wrap_GetPasswordFromUserPromptStr_get
, _wrap_GetPasswordFromUserPromptStr_set
);
30097 PyDict_SetItemString(d
,"FR_DOWN", SWIG_From_int((int)(wxFR_DOWN
)));
30100 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_From_int((int)(wxFR_WHOLEWORD
)));
30103 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_From_int((int)(wxFR_MATCHCASE
)));
30106 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_From_int((int)(wxFR_REPLACEDIALOG
)));
30109 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_From_int((int)(wxFR_NOUPDOWN
)));
30112 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_From_int((int)(wxFR_NOMATCHCASE
)));
30115 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_From_int((int)(wxFR_NOWHOLEWORD
)));
30117 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
30118 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
30119 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
30120 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
30121 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
30123 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_From_int((int)(4001)));
30126 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_From_int((int)(4001)));
30129 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_From_int((int)(4002)));
30132 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_From_int((int)(4003)));
30135 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_From_int((int)(4004)));
30138 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_From_int((int)(4005)));
30141 PyDict_SetItemString(d
,"IDM_WINDOWPREV", SWIG_From_int((int)(4006)));
30144 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_From_int((int)(4100)));
30147 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_From_int((int)(4600)));
30149 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
30150 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
30152 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_From_int((int)(wxPRINT_MODE_NONE
)));
30155 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_From_int((int)(wxPRINT_MODE_PREVIEW
)));
30158 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_From_int((int)(wxPRINT_MODE_FILE
)));
30161 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_From_int((int)(wxPRINT_MODE_PRINTER
)));
30164 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_From_int((int)(wxPRINT_MODE_STREAM
)));
30167 PyDict_SetItemString(d
,"PRINTBIN_DEFAULT", SWIG_From_int((int)(wxPRINTBIN_DEFAULT
)));
30170 PyDict_SetItemString(d
,"PRINTBIN_ONLYONE", SWIG_From_int((int)(wxPRINTBIN_ONLYONE
)));
30173 PyDict_SetItemString(d
,"PRINTBIN_LOWER", SWIG_From_int((int)(wxPRINTBIN_LOWER
)));
30176 PyDict_SetItemString(d
,"PRINTBIN_MIDDLE", SWIG_From_int((int)(wxPRINTBIN_MIDDLE
)));
30179 PyDict_SetItemString(d
,"PRINTBIN_MANUAL", SWIG_From_int((int)(wxPRINTBIN_MANUAL
)));
30182 PyDict_SetItemString(d
,"PRINTBIN_ENVELOPE", SWIG_From_int((int)(wxPRINTBIN_ENVELOPE
)));
30185 PyDict_SetItemString(d
,"PRINTBIN_ENVMANUAL", SWIG_From_int((int)(wxPRINTBIN_ENVMANUAL
)));
30188 PyDict_SetItemString(d
,"PRINTBIN_AUTO", SWIG_From_int((int)(wxPRINTBIN_AUTO
)));
30191 PyDict_SetItemString(d
,"PRINTBIN_TRACTOR", SWIG_From_int((int)(wxPRINTBIN_TRACTOR
)));
30194 PyDict_SetItemString(d
,"PRINTBIN_SMALLFMT", SWIG_From_int((int)(wxPRINTBIN_SMALLFMT
)));
30197 PyDict_SetItemString(d
,"PRINTBIN_LARGEFMT", SWIG_From_int((int)(wxPRINTBIN_LARGEFMT
)));
30200 PyDict_SetItemString(d
,"PRINTBIN_LARGECAPACITY", SWIG_From_int((int)(wxPRINTBIN_LARGECAPACITY
)));
30203 PyDict_SetItemString(d
,"PRINTBIN_CASSETTE", SWIG_From_int((int)(wxPRINTBIN_CASSETTE
)));
30206 PyDict_SetItemString(d
,"PRINTBIN_FORMSOURCE", SWIG_From_int((int)(wxPRINTBIN_FORMSOURCE
)));
30209 PyDict_SetItemString(d
,"PRINTBIN_USER", SWIG_From_int((int)(wxPRINTBIN_USER
)));
30212 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_From_int((int)(wxPRINTER_NO_ERROR
)));
30215 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_From_int((int)(wxPRINTER_CANCELLED
)));
30218 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_From_int((int)(wxPRINTER_ERROR
)));
30221 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_From_int((int)(wxPREVIEW_PRINT
)));
30224 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_From_int((int)(wxPREVIEW_PREVIOUS
)));
30227 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_From_int((int)(wxPREVIEW_NEXT
)));
30230 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_From_int((int)(wxPREVIEW_ZOOM
)));
30233 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_From_int((int)(wxPREVIEW_FIRST
)));
30236 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_From_int((int)(wxPREVIEW_LAST
)));
30239 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_From_int((int)(wxPREVIEW_GOTO
)));
30242 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_From_int((int)(wxPREVIEW_DEFAULT
)));
30245 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_From_int((int)(wxID_PREVIEW_CLOSE
)));
30248 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_From_int((int)(wxID_PREVIEW_NEXT
)));
30251 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)(wxID_PREVIEW_PREVIOUS
)));
30254 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_From_int((int)(wxID_PREVIEW_PRINT
)));
30257 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_From_int((int)(wxID_PREVIEW_ZOOM
)));
30260 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_From_int((int)(wxID_PREVIEW_FIRST
)));
30263 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_From_int((int)(wxID_PREVIEW_LAST
)));
30266 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_From_int((int)(wxID_PREVIEW_GOTO
)));
30269 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");