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__COLOUR(ApplyParentThemeBackground
);
2135 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2137 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2142 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
2144 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
2145 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
2146 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
2147 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
2149 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
2150 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
2151 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
2153 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
2154 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
2156 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
2157 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
2158 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
2159 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
2161 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
2162 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
2163 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
2165 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
2166 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
2168 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
2169 IMP_PYCALLBACK__COLOUR(wxPyWindow
, wxWindow
, ApplyParentThemeBackground
);
2170 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
2172 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
2174 // C++ version of Python aware wxPanel
2175 class wxPyPanel
: public wxPanel
2177 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
2179 wxPyPanel() : wxPanel() {}
2180 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
2181 const wxPoint
& pos
= wxDefaultPosition
,
2182 const wxSize
& size
= wxDefaultSize
,
2184 const wxString
& name
= wxPyPanelNameStr
)
2185 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
2187 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
2190 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2191 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2192 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2193 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2195 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2196 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2197 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2199 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2200 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2202 DEC_PYCALLBACK__(InitDialog
);
2203 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2204 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2205 DEC_PYCALLBACK_BOOL_(Validate
);
2207 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2208 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2209 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2211 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2212 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2214 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2215 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
2216 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2218 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2223 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
2225 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
2226 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
2227 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
2228 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
2230 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
2231 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
2232 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
2234 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
2235 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
2237 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
2238 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
2239 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
2240 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
2242 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
2243 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
2244 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
2246 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
2247 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
2249 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
2250 IMP_PYCALLBACK__COLOUR(wxPyPanel
, wxPanel
, ApplyParentThemeBackground
);
2251 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
2253 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
2255 // C++ version of Python aware wxScrolledWindow
2256 class wxPyScrolledWindow
: public wxScrolledWindow
2258 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
2260 wxPyScrolledWindow() : wxScrolledWindow() {}
2261 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
2262 const wxPoint
& pos
= wxDefaultPosition
,
2263 const wxSize
& size
= wxDefaultSize
,
2265 const wxString
& name
= wxPyPanelNameStr
)
2266 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
2268 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
2270 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2271 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2272 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2273 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2275 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2276 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2277 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2279 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2280 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2282 DEC_PYCALLBACK__(InitDialog
);
2283 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2284 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2285 DEC_PYCALLBACK_BOOL_(Validate
);
2287 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2288 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2289 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2291 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2292 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2294 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2295 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
2296 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2298 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2303 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
2305 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
2306 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
2307 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
2308 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
2310 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
2311 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
2312 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
2314 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
2315 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
2317 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
2318 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
2319 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
2320 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
2322 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
2323 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
2324 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
2326 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
2327 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
2329 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
2330 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow
, wxScrolledWindow
, ApplyParentThemeBackground
);
2331 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
2333 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
2336 #include "wx/wxPython/printfw.h"
2339 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
2340 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
2341 static PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
2343 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2344 data
= PyString_FromStringAndSize(self
->GetPrivData(),
2345 self
->GetPrivDataLen());
2346 wxPyEndBlockThreads(blocked
);
2349 static void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
2350 if (! PyString_Check(data
)) {
2351 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
2352 "Expected string object"));
2356 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2357 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
2358 wxPyEndBlockThreads(blocked
);
2362 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
2364 // Since this one would be tough and ugly to do with the Macros...
2365 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
2366 bool hadErr
= false;
2369 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2370 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
2371 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2372 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
2375 val
= PyTuple_GetItem(result
, 0);
2376 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
2379 val
= PyTuple_GetItem(result
, 1);
2380 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
2383 val
= PyTuple_GetItem(result
, 2);
2384 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
2387 val
= PyTuple_GetItem(result
, 3);
2388 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
2395 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
2400 wxPyEndBlockThreads(blocked
);
2402 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
2405 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
2406 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
2410 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
2411 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
2412 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
2413 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
2414 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
2415 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
2416 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
2422 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
2423 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
2424 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
2427 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
2428 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2431 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2432 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2433 PyObject* win = wxPyMake_wxObject(a,false); \
2434 PyObject* dc = wxPyMake_wxObject(&b,false); \
2435 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
2439 wxPyEndBlockThreads(blocked); \
2441 rval = PCLASS::CBNAME(a, b); \
2444 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2445 return PCLASS::CBNAME(a, b); \
2451 class wxPyPrintPreview
: public wxPrintPreview
2453 DECLARE_CLASS(wxPyPrintPreview
)
2455 wxPyPrintPreview(wxPyPrintout
* printout
,
2456 wxPyPrintout
* printoutForPrinting
,
2457 wxPrintDialogData
* data
=NULL
)
2458 : wxPrintPreview(printout
, printoutForPrinting
, data
)
2460 wxPyPrintPreview(wxPyPrintout
* printout
,
2461 wxPyPrintout
* printoutForPrinting
,
2462 wxPrintData
* data
=NULL
)
2463 : wxPrintPreview(printout
, printoutForPrinting
, data
)
2466 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
2467 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
2468 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
2469 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
2470 DEC_PYCALLBACK_VOID_INT(SetZoom
);
2471 DEC_PYCALLBACK_BOOL_BOOL(Print
);
2472 DEC_PYCALLBACK_VOID_(DetermineScaling
);
2477 // Stupid renamed classes... Fix this in 2.5...
2478 #if defined(__WXMSW__)
2479 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
2480 #elif defined(__WXMAC__)
2481 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
2483 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
2486 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
2487 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
2488 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
2489 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
2490 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
2491 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
2492 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
2495 class wxPyPreviewFrame
: public wxPreviewFrame
2497 DECLARE_CLASS(wxPyPreviewFrame
);
2499 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
2500 const wxString
& title
,
2501 const wxPoint
& pos
= wxDefaultPosition
,
2502 const wxSize
& size
= wxDefaultSize
,
2503 long style
= wxDEFAULT_FRAME_STYLE
,
2504 const wxString
& name
= wxPyFrameNameStr
)
2505 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
2508 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
2509 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
2511 DEC_PYCALLBACK_VOID_(Initialize
);
2512 DEC_PYCALLBACK_VOID_(CreateCanvas
);
2513 DEC_PYCALLBACK_VOID_(CreateControlBar
);
2518 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
2520 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
2521 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
2522 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
2525 class wxPyPreviewControlBar
: public wxPreviewControlBar
2527 DECLARE_CLASS(wxPyPreviewControlBar
);
2529 wxPyPreviewControlBar(wxPrintPreview
*preview
,
2532 const wxPoint
& pos
= wxDefaultPosition
,
2533 const wxSize
& size
= wxDefaultSize
,
2535 const wxString
& name
= wxPyPanelNameStr
)
2536 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
2539 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
2541 DEC_PYCALLBACK_VOID_(CreateButtons
);
2542 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
2547 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
2548 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
2549 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
2554 static PyObject
*_wrap_new_Panel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2555 PyObject
*resultobj
;
2556 wxWindow
*arg1
= (wxWindow
*) 0 ;
2557 int arg2
= (int) (int)-1 ;
2558 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2559 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2560 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2561 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2562 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
2563 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
2564 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
2568 bool temp6
= false ;
2569 PyObject
* obj0
= 0 ;
2570 PyObject
* obj1
= 0 ;
2571 PyObject
* obj2
= 0 ;
2572 PyObject
* obj3
= 0 ;
2573 PyObject
* obj4
= 0 ;
2574 PyObject
* obj5
= 0 ;
2576 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
2580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2581 if (SWIG_arg_fail(1)) SWIG_fail
;
2584 arg2
= (int const)(SWIG_As_int(obj1
));
2585 if (SWIG_arg_fail(2)) SWIG_fail
;
2591 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2597 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2602 arg5
= (long)(SWIG_As_long(obj4
));
2603 if (SWIG_arg_fail(5)) SWIG_fail
;
2608 arg6
= wxString_in_helper(obj5
);
2609 if (arg6
== NULL
) SWIG_fail
;
2614 if (!wxPyCheckForApp()) SWIG_fail
;
2615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2616 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
2618 wxPyEndAllowThreads(__tstate
);
2619 if (PyErr_Occurred()) SWIG_fail
;
2621 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
2636 static PyObject
*_wrap_new_PrePanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2637 PyObject
*resultobj
;
2643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
2645 if (!wxPyCheckForApp()) SWIG_fail
;
2646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2647 result
= (wxPanel
*)new wxPanel();
2649 wxPyEndAllowThreads(__tstate
);
2650 if (PyErr_Occurred()) SWIG_fail
;
2652 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
2659 static PyObject
*_wrap_Panel_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2660 PyObject
*resultobj
;
2661 wxPanel
*arg1
= (wxPanel
*) 0 ;
2662 wxWindow
*arg2
= (wxWindow
*) 0 ;
2663 int arg3
= (int) (int)-1 ;
2664 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2665 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2666 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2667 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2668 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
2669 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
2670 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2674 bool temp7
= false ;
2675 PyObject
* obj0
= 0 ;
2676 PyObject
* obj1
= 0 ;
2677 PyObject
* obj2
= 0 ;
2678 PyObject
* obj3
= 0 ;
2679 PyObject
* obj4
= 0 ;
2680 PyObject
* obj5
= 0 ;
2681 PyObject
* obj6
= 0 ;
2683 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2688 if (SWIG_arg_fail(1)) SWIG_fail
;
2689 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2690 if (SWIG_arg_fail(2)) SWIG_fail
;
2693 arg3
= (int const)(SWIG_As_int(obj2
));
2694 if (SWIG_arg_fail(3)) SWIG_fail
;
2700 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2706 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2711 arg6
= (long)(SWIG_As_long(obj5
));
2712 if (SWIG_arg_fail(6)) SWIG_fail
;
2717 arg7
= wxString_in_helper(obj6
);
2718 if (arg7
== NULL
) SWIG_fail
;
2723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2724 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
2726 wxPyEndAllowThreads(__tstate
);
2727 if (PyErr_Occurred()) SWIG_fail
;
2730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2746 static PyObject
*_wrap_Panel_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2747 PyObject
*resultobj
;
2748 wxPanel
*arg1
= (wxPanel
*) 0 ;
2749 PyObject
* obj0
= 0 ;
2751 (char *) "self", NULL
2754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
2755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2756 if (SWIG_arg_fail(1)) SWIG_fail
;
2758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2759 (arg1
)->InitDialog();
2761 wxPyEndAllowThreads(__tstate
);
2762 if (PyErr_Occurred()) SWIG_fail
;
2764 Py_INCREF(Py_None
); resultobj
= Py_None
;
2771 static PyObject
*_wrap_Panel_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2772 PyObject
*resultobj
;
2773 wxPanel
*arg1
= (wxPanel
*) 0 ;
2774 PyObject
* obj0
= 0 ;
2776 (char *) "self", NULL
2779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_SetFocus",kwnames
,&obj0
)) goto fail
;
2780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2781 if (SWIG_arg_fail(1)) SWIG_fail
;
2783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2786 wxPyEndAllowThreads(__tstate
);
2787 if (PyErr_Occurred()) SWIG_fail
;
2789 Py_INCREF(Py_None
); resultobj
= Py_None
;
2796 static PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2797 PyObject
*resultobj
;
2798 wxPanel
*arg1
= (wxPanel
*) 0 ;
2799 PyObject
* obj0
= 0 ;
2801 (char *) "self", NULL
2804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_SetFocusIgnoringChildren",kwnames
,&obj0
)) goto fail
;
2805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2806 if (SWIG_arg_fail(1)) SWIG_fail
;
2808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2809 (arg1
)->SetFocusIgnoringChildren();
2811 wxPyEndAllowThreads(__tstate
);
2812 if (PyErr_Occurred()) SWIG_fail
;
2814 Py_INCREF(Py_None
); resultobj
= Py_None
;
2821 static PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2822 PyObject
*resultobj
;
2823 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
2824 wxVisualAttributes result
;
2825 PyObject
* obj0
= 0 ;
2827 (char *) "variant", NULL
2830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2833 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
2834 if (SWIG_arg_fail(1)) SWIG_fail
;
2838 if (!wxPyCheckForApp()) SWIG_fail
;
2839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2840 result
= wxPanel::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2842 wxPyEndAllowThreads(__tstate
);
2843 if (PyErr_Occurred()) SWIG_fail
;
2846 wxVisualAttributes
* resultptr
;
2847 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
2848 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2856 static PyObject
* Panel_swigregister(PyObject
*, PyObject
*args
) {
2858 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2859 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
2861 return Py_BuildValue((char *)"");
2863 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2864 PyObject
*resultobj
;
2865 wxWindow
*arg1
= (wxWindow
*) 0 ;
2866 int arg2
= (int) (int)-1 ;
2867 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2868 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2869 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2870 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2871 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
2872 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
2873 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
2874 wxScrolledWindow
*result
;
2877 bool temp6
= false ;
2878 PyObject
* obj0
= 0 ;
2879 PyObject
* obj1
= 0 ;
2880 PyObject
* obj2
= 0 ;
2881 PyObject
* obj3
= 0 ;
2882 PyObject
* obj4
= 0 ;
2883 PyObject
* obj5
= 0 ;
2885 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
2889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2890 if (SWIG_arg_fail(1)) SWIG_fail
;
2893 arg2
= (int const)(SWIG_As_int(obj1
));
2894 if (SWIG_arg_fail(2)) SWIG_fail
;
2900 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2906 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2911 arg5
= (long)(SWIG_As_long(obj4
));
2912 if (SWIG_arg_fail(5)) SWIG_fail
;
2917 arg6
= wxString_in_helper(obj5
);
2918 if (arg6
== NULL
) SWIG_fail
;
2923 if (!wxPyCheckForApp()) SWIG_fail
;
2924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2925 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
2927 wxPyEndAllowThreads(__tstate
);
2928 if (PyErr_Occurred()) SWIG_fail
;
2930 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
2945 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2946 PyObject
*resultobj
;
2947 wxScrolledWindow
*result
;
2952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
2954 if (!wxPyCheckForApp()) SWIG_fail
;
2955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2956 result
= (wxScrolledWindow
*)new wxScrolledWindow();
2958 wxPyEndAllowThreads(__tstate
);
2959 if (PyErr_Occurred()) SWIG_fail
;
2961 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
2968 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2969 PyObject
*resultobj
;
2970 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2971 wxWindow
*arg2
= (wxWindow
*) 0 ;
2972 int arg3
= (int) (int)-1 ;
2973 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2974 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2975 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2976 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2977 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
2978 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
2979 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2983 bool temp7
= false ;
2984 PyObject
* obj0
= 0 ;
2985 PyObject
* obj1
= 0 ;
2986 PyObject
* obj2
= 0 ;
2987 PyObject
* obj3
= 0 ;
2988 PyObject
* obj4
= 0 ;
2989 PyObject
* obj5
= 0 ;
2990 PyObject
* obj6
= 0 ;
2992 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
2997 if (SWIG_arg_fail(1)) SWIG_fail
;
2998 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2999 if (SWIG_arg_fail(2)) SWIG_fail
;
3002 arg3
= (int const)(SWIG_As_int(obj2
));
3003 if (SWIG_arg_fail(3)) SWIG_fail
;
3009 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3015 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3020 arg6
= (long)(SWIG_As_long(obj5
));
3021 if (SWIG_arg_fail(6)) SWIG_fail
;
3026 arg7
= wxString_in_helper(obj6
);
3027 if (arg7
== NULL
) SWIG_fail
;
3032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3033 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3035 wxPyEndAllowThreads(__tstate
);
3036 if (PyErr_Occurred()) SWIG_fail
;
3039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3055 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3056 PyObject
*resultobj
;
3057 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3062 int arg6
= (int) 0 ;
3063 int arg7
= (int) 0 ;
3064 bool arg8
= (bool) false ;
3065 PyObject
* obj0
= 0 ;
3066 PyObject
* obj1
= 0 ;
3067 PyObject
* obj2
= 0 ;
3068 PyObject
* obj3
= 0 ;
3069 PyObject
* obj4
= 0 ;
3070 PyObject
* obj5
= 0 ;
3071 PyObject
* obj6
= 0 ;
3072 PyObject
* obj7
= 0 ;
3074 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
3077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3079 if (SWIG_arg_fail(1)) SWIG_fail
;
3081 arg2
= (int)(SWIG_As_int(obj1
));
3082 if (SWIG_arg_fail(2)) SWIG_fail
;
3085 arg3
= (int)(SWIG_As_int(obj2
));
3086 if (SWIG_arg_fail(3)) SWIG_fail
;
3089 arg4
= (int)(SWIG_As_int(obj3
));
3090 if (SWIG_arg_fail(4)) SWIG_fail
;
3093 arg5
= (int)(SWIG_As_int(obj4
));
3094 if (SWIG_arg_fail(5)) SWIG_fail
;
3098 arg6
= (int)(SWIG_As_int(obj5
));
3099 if (SWIG_arg_fail(6)) SWIG_fail
;
3104 arg7
= (int)(SWIG_As_int(obj6
));
3105 if (SWIG_arg_fail(7)) SWIG_fail
;
3110 arg8
= (bool)(SWIG_As_bool(obj7
));
3111 if (SWIG_arg_fail(8)) SWIG_fail
;
3115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3116 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
3118 wxPyEndAllowThreads(__tstate
);
3119 if (PyErr_Occurred()) SWIG_fail
;
3121 Py_INCREF(Py_None
); resultobj
= Py_None
;
3128 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3129 PyObject
*resultobj
;
3130 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3133 PyObject
* obj0
= 0 ;
3134 PyObject
* obj1
= 0 ;
3135 PyObject
* obj2
= 0 ;
3137 (char *) "self",(char *) "x",(char *) "y", NULL
3140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3142 if (SWIG_arg_fail(1)) SWIG_fail
;
3144 arg2
= (int)(SWIG_As_int(obj1
));
3145 if (SWIG_arg_fail(2)) SWIG_fail
;
3148 arg3
= (int)(SWIG_As_int(obj2
));
3149 if (SWIG_arg_fail(3)) SWIG_fail
;
3152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3153 (arg1
)->Scroll(arg2
,arg3
);
3155 wxPyEndAllowThreads(__tstate
);
3156 if (PyErr_Occurred()) SWIG_fail
;
3158 Py_INCREF(Py_None
); resultobj
= Py_None
;
3165 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3166 PyObject
*resultobj
;
3167 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3170 PyObject
* obj0
= 0 ;
3171 PyObject
* obj1
= 0 ;
3173 (char *) "self",(char *) "orient", NULL
3176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3178 if (SWIG_arg_fail(1)) SWIG_fail
;
3180 arg2
= (int)(SWIG_As_int(obj1
));
3181 if (SWIG_arg_fail(2)) SWIG_fail
;
3184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3185 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
3187 wxPyEndAllowThreads(__tstate
);
3188 if (PyErr_Occurred()) SWIG_fail
;
3191 resultobj
= SWIG_From_int((int)(result
));
3199 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3200 PyObject
*resultobj
;
3201 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3204 PyObject
* obj0
= 0 ;
3205 PyObject
* obj1
= 0 ;
3206 PyObject
* obj2
= 0 ;
3208 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
3211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3213 if (SWIG_arg_fail(1)) SWIG_fail
;
3215 arg2
= (int)(SWIG_As_int(obj1
));
3216 if (SWIG_arg_fail(2)) SWIG_fail
;
3219 arg3
= (int)(SWIG_As_int(obj2
));
3220 if (SWIG_arg_fail(3)) SWIG_fail
;
3223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3224 (arg1
)->SetScrollPageSize(arg2
,arg3
);
3226 wxPyEndAllowThreads(__tstate
);
3227 if (PyErr_Occurred()) SWIG_fail
;
3229 Py_INCREF(Py_None
); resultobj
= Py_None
;
3236 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3237 PyObject
*resultobj
;
3238 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3241 PyObject
* obj0
= 0 ;
3242 PyObject
* obj1
= 0 ;
3243 PyObject
* obj2
= 0 ;
3245 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
3248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3250 if (SWIG_arg_fail(1)) SWIG_fail
;
3252 arg2
= (int)(SWIG_As_int(obj1
));
3253 if (SWIG_arg_fail(2)) SWIG_fail
;
3256 arg3
= (int)(SWIG_As_int(obj2
));
3257 if (SWIG_arg_fail(3)) SWIG_fail
;
3260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3261 (arg1
)->SetScrollRate(arg2
,arg3
);
3263 wxPyEndAllowThreads(__tstate
);
3264 if (PyErr_Occurred()) SWIG_fail
;
3266 Py_INCREF(Py_None
); resultobj
= Py_None
;
3273 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3274 PyObject
*resultobj
;
3275 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3276 int *arg2
= (int *) 0 ;
3277 int *arg3
= (int *) 0 ;
3282 PyObject
* obj0
= 0 ;
3284 (char *) "self", NULL
3287 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3288 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
3289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
3290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3291 if (SWIG_arg_fail(1)) SWIG_fail
;
3293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3294 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
3296 wxPyEndAllowThreads(__tstate
);
3297 if (PyErr_Occurred()) SWIG_fail
;
3299 Py_INCREF(Py_None
); resultobj
= Py_None
;
3300 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3301 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3302 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
3303 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
3310 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3311 PyObject
*resultobj
;
3312 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3315 PyObject
* obj0
= 0 ;
3316 PyObject
* obj1
= 0 ;
3317 PyObject
* obj2
= 0 ;
3319 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
3322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3324 if (SWIG_arg_fail(1)) SWIG_fail
;
3326 arg2
= (bool)(SWIG_As_bool(obj1
));
3327 if (SWIG_arg_fail(2)) SWIG_fail
;
3330 arg3
= (bool)(SWIG_As_bool(obj2
));
3331 if (SWIG_arg_fail(3)) SWIG_fail
;
3334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3335 (arg1
)->EnableScrolling(arg2
,arg3
);
3337 wxPyEndAllowThreads(__tstate
);
3338 if (PyErr_Occurred()) SWIG_fail
;
3340 Py_INCREF(Py_None
); resultobj
= Py_None
;
3347 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3348 PyObject
*resultobj
;
3349 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3350 int *arg2
= (int *) 0 ;
3351 int *arg3
= (int *) 0 ;
3356 PyObject
* obj0
= 0 ;
3358 (char *) "self", NULL
3361 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3362 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
3363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
3364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3365 if (SWIG_arg_fail(1)) SWIG_fail
;
3367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3368 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
3370 wxPyEndAllowThreads(__tstate
);
3371 if (PyErr_Occurred()) SWIG_fail
;
3373 Py_INCREF(Py_None
); resultobj
= Py_None
;
3374 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3375 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3376 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
3377 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
3384 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3385 PyObject
*resultobj
;
3386 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3389 PyObject
* obj0
= 0 ;
3390 PyObject
* obj1
= 0 ;
3391 PyObject
* obj2
= 0 ;
3393 (char *) "self",(char *) "xs",(char *) "ys", NULL
3396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3398 if (SWIG_arg_fail(1)) SWIG_fail
;
3400 arg2
= (double)(SWIG_As_double(obj1
));
3401 if (SWIG_arg_fail(2)) SWIG_fail
;
3404 arg3
= (double)(SWIG_As_double(obj2
));
3405 if (SWIG_arg_fail(3)) SWIG_fail
;
3408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3409 (arg1
)->SetScale(arg2
,arg3
);
3411 wxPyEndAllowThreads(__tstate
);
3412 if (PyErr_Occurred()) SWIG_fail
;
3414 Py_INCREF(Py_None
); resultobj
= Py_None
;
3421 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3422 PyObject
*resultobj
;
3423 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3425 PyObject
* obj0
= 0 ;
3427 (char *) "self", NULL
3430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
3431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3432 if (SWIG_arg_fail(1)) SWIG_fail
;
3434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3435 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
3437 wxPyEndAllowThreads(__tstate
);
3438 if (PyErr_Occurred()) SWIG_fail
;
3441 resultobj
= SWIG_From_double((double)(result
));
3449 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3450 PyObject
*resultobj
;
3451 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3453 PyObject
* obj0
= 0 ;
3455 (char *) "self", NULL
3458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
3459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3460 if (SWIG_arg_fail(1)) SWIG_fail
;
3462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3463 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
3465 wxPyEndAllowThreads(__tstate
);
3466 if (PyErr_Occurred()) SWIG_fail
;
3469 resultobj
= SWIG_From_double((double)(result
));
3477 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
3478 PyObject
*resultobj
;
3479 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3483 PyObject
* obj0
= 0 ;
3484 PyObject
* obj1
= 0 ;
3486 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
3487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3488 if (SWIG_arg_fail(1)) SWIG_fail
;
3491 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3495 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
3497 wxPyEndAllowThreads(__tstate
);
3498 if (PyErr_Occurred()) SWIG_fail
;
3501 wxPoint
* resultptr
;
3502 resultptr
= new wxPoint((wxPoint
&)(result
));
3503 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3511 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
3512 PyObject
*resultobj
;
3513 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3516 int *arg4
= (int *) 0 ;
3517 int *arg5
= (int *) 0 ;
3522 PyObject
* obj0
= 0 ;
3523 PyObject
* obj1
= 0 ;
3524 PyObject
* obj2
= 0 ;
3526 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
3527 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
3528 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
3529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3530 if (SWIG_arg_fail(1)) SWIG_fail
;
3532 arg2
= (int)(SWIG_As_int(obj1
));
3533 if (SWIG_arg_fail(2)) SWIG_fail
;
3536 arg3
= (int)(SWIG_As_int(obj2
));
3537 if (SWIG_arg_fail(3)) SWIG_fail
;
3540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3541 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
3543 wxPyEndAllowThreads(__tstate
);
3544 if (PyErr_Occurred()) SWIG_fail
;
3546 Py_INCREF(Py_None
); resultobj
= Py_None
;
3547 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
3548 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
3549 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
3550 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
3557 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
3562 argc
= PyObject_Length(args
);
3563 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
3564 argv
[ii
] = PyTuple_GetItem(args
,ii
);
3570 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3579 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
3582 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
3590 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3598 _v
= SWIG_Check_int(argv
[1]);
3600 _v
= SWIG_Check_int(argv
[2]);
3602 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
3608 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
3613 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
3614 PyObject
*resultobj
;
3615 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3619 PyObject
* obj0
= 0 ;
3620 PyObject
* obj1
= 0 ;
3622 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
3623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3624 if (SWIG_arg_fail(1)) SWIG_fail
;
3627 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3631 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
3633 wxPyEndAllowThreads(__tstate
);
3634 if (PyErr_Occurred()) SWIG_fail
;
3637 wxPoint
* resultptr
;
3638 resultptr
= new wxPoint((wxPoint
&)(result
));
3639 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3647 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
3648 PyObject
*resultobj
;
3649 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3652 int *arg4
= (int *) 0 ;
3653 int *arg5
= (int *) 0 ;
3658 PyObject
* obj0
= 0 ;
3659 PyObject
* obj1
= 0 ;
3660 PyObject
* obj2
= 0 ;
3662 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
3663 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
3664 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
3665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3666 if (SWIG_arg_fail(1)) SWIG_fail
;
3668 arg2
= (int)(SWIG_As_int(obj1
));
3669 if (SWIG_arg_fail(2)) SWIG_fail
;
3672 arg3
= (int)(SWIG_As_int(obj2
));
3673 if (SWIG_arg_fail(3)) SWIG_fail
;
3676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3677 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
3679 wxPyEndAllowThreads(__tstate
);
3680 if (PyErr_Occurred()) SWIG_fail
;
3682 Py_INCREF(Py_None
); resultobj
= Py_None
;
3683 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
3684 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
3685 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
3686 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
3693 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
3698 argc
= PyObject_Length(args
);
3699 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
3700 argv
[ii
] = PyTuple_GetItem(args
,ii
);
3706 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3715 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
3718 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
3726 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3734 _v
= SWIG_Check_int(argv
[1]);
3736 _v
= SWIG_Check_int(argv
[2]);
3738 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
3744 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
3749 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3750 PyObject
*resultobj
;
3751 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3752 PyObject
* obj0
= 0 ;
3754 (char *) "self", NULL
3757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
3758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3759 if (SWIG_arg_fail(1)) SWIG_fail
;
3761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3762 (arg1
)->AdjustScrollbars();
3764 wxPyEndAllowThreads(__tstate
);
3765 if (PyErr_Occurred()) SWIG_fail
;
3767 Py_INCREF(Py_None
); resultobj
= Py_None
;
3774 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3775 PyObject
*resultobj
;
3776 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3777 wxScrollWinEvent
*arg2
= 0 ;
3779 PyObject
* obj0
= 0 ;
3780 PyObject
* obj1
= 0 ;
3782 (char *) "self",(char *) "event", NULL
3785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
3786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3787 if (SWIG_arg_fail(1)) SWIG_fail
;
3789 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
3790 if (SWIG_arg_fail(2)) SWIG_fail
;
3792 SWIG_null_ref("wxScrollWinEvent");
3794 if (SWIG_arg_fail(2)) SWIG_fail
;
3797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3798 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
3800 wxPyEndAllowThreads(__tstate
);
3801 if (PyErr_Occurred()) SWIG_fail
;
3804 resultobj
= SWIG_From_int((int)(result
));
3812 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3813 PyObject
*resultobj
;
3814 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3815 wxWindow
*arg2
= (wxWindow
*) 0 ;
3816 PyObject
* obj0
= 0 ;
3817 PyObject
* obj1
= 0 ;
3819 (char *) "self",(char *) "target", NULL
3822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
3823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3824 if (SWIG_arg_fail(1)) SWIG_fail
;
3825 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3826 if (SWIG_arg_fail(2)) SWIG_fail
;
3828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3829 (arg1
)->SetTargetWindow(arg2
);
3831 wxPyEndAllowThreads(__tstate
);
3832 if (PyErr_Occurred()) SWIG_fail
;
3834 Py_INCREF(Py_None
); resultobj
= Py_None
;
3841 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3842 PyObject
*resultobj
;
3843 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3845 PyObject
* obj0
= 0 ;
3847 (char *) "self", NULL
3850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
3851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3852 if (SWIG_arg_fail(1)) SWIG_fail
;
3854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3855 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
3857 wxPyEndAllowThreads(__tstate
);
3858 if (PyErr_Occurred()) SWIG_fail
;
3861 resultobj
= wxPyMake_wxObject(result
, 0);
3869 static PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3870 PyObject
*resultobj
;
3871 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3874 PyObject
* obj0
= 0 ;
3875 PyObject
* obj1
= 0 ;
3877 (char *) "self",(char *) "rect", NULL
3880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
3881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3882 if (SWIG_arg_fail(1)) SWIG_fail
;
3885 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3889 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
3891 wxPyEndAllowThreads(__tstate
);
3892 if (PyErr_Occurred()) SWIG_fail
;
3894 Py_INCREF(Py_None
); resultobj
= Py_None
;
3901 static PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3902 PyObject
*resultobj
;
3903 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3905 PyObject
* obj0
= 0 ;
3907 (char *) "self", NULL
3910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetRect",kwnames
,&obj0
)) goto fail
;
3911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3912 if (SWIG_arg_fail(1)) SWIG_fail
;
3914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3915 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
3917 wxPyEndAllowThreads(__tstate
);
3918 if (PyErr_Occurred()) SWIG_fail
;
3922 resultptr
= new wxRect((wxRect
&)(result
));
3923 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
3931 static PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3932 PyObject
*resultobj
;
3933 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3935 PyObject
* obj0
= 0 ;
3936 PyObject
* obj1
= 0 ;
3938 (char *) "self",(char *) "dc", NULL
3941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
3942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3943 if (SWIG_arg_fail(1)) SWIG_fail
;
3945 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
3946 if (SWIG_arg_fail(2)) SWIG_fail
;
3948 SWIG_null_ref("wxDC");
3950 if (SWIG_arg_fail(2)) SWIG_fail
;
3953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3954 (arg1
)->DoPrepareDC(*arg2
);
3956 wxPyEndAllowThreads(__tstate
);
3957 if (PyErr_Occurred()) SWIG_fail
;
3959 Py_INCREF(Py_None
); resultobj
= Py_None
;
3966 static PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3967 PyObject
*resultobj
;
3968 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3969 wxVisualAttributes result
;
3970 PyObject
* obj0
= 0 ;
3972 (char *) "variant", NULL
3975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3978 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
3979 if (SWIG_arg_fail(1)) SWIG_fail
;
3983 if (!wxPyCheckForApp()) SWIG_fail
;
3984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3985 result
= wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3987 wxPyEndAllowThreads(__tstate
);
3988 if (PyErr_Occurred()) SWIG_fail
;
3991 wxVisualAttributes
* resultptr
;
3992 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
3993 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4001 static PyObject
* ScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
4003 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4004 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
4006 return Py_BuildValue((char *)"");
4008 static int _wrap_FrameNameStr_set(PyObject
*) {
4009 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
4014 static PyObject
*_wrap_FrameNameStr_get(void) {
4019 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
4021 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
4028 static int _wrap_DialogNameStr_set(PyObject
*) {
4029 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
4034 static PyObject
*_wrap_DialogNameStr_get(void) {
4039 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
4041 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
4048 static int _wrap_StatusLineNameStr_set(PyObject
*) {
4049 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
4054 static PyObject
*_wrap_StatusLineNameStr_get(void) {
4059 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
4061 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
4068 static int _wrap_ToolBarNameStr_set(PyObject
*) {
4069 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
4074 static PyObject
*_wrap_ToolBarNameStr_get(void) {
4079 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
4081 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
4088 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4089 PyObject
*resultobj
;
4090 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4091 bool arg2
= (bool) true ;
4092 PyObject
* obj0
= 0 ;
4093 PyObject
* obj1
= 0 ;
4095 (char *) "self",(char *) "maximize", NULL
4098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
4099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4100 if (SWIG_arg_fail(1)) SWIG_fail
;
4103 arg2
= (bool)(SWIG_As_bool(obj1
));
4104 if (SWIG_arg_fail(2)) SWIG_fail
;
4108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4109 (arg1
)->Maximize(arg2
);
4111 wxPyEndAllowThreads(__tstate
);
4112 if (PyErr_Occurred()) SWIG_fail
;
4114 Py_INCREF(Py_None
); resultobj
= Py_None
;
4121 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4122 PyObject
*resultobj
;
4123 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4124 PyObject
* obj0
= 0 ;
4126 (char *) "self", NULL
4129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
4130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4131 if (SWIG_arg_fail(1)) SWIG_fail
;
4133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4136 wxPyEndAllowThreads(__tstate
);
4137 if (PyErr_Occurred()) SWIG_fail
;
4139 Py_INCREF(Py_None
); resultobj
= Py_None
;
4146 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4147 PyObject
*resultobj
;
4148 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4149 bool arg2
= (bool) true ;
4150 PyObject
* obj0
= 0 ;
4151 PyObject
* obj1
= 0 ;
4153 (char *) "self",(char *) "iconize", NULL
4156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
4157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4158 if (SWIG_arg_fail(1)) SWIG_fail
;
4161 arg2
= (bool)(SWIG_As_bool(obj1
));
4162 if (SWIG_arg_fail(2)) SWIG_fail
;
4166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4167 (arg1
)->Iconize(arg2
);
4169 wxPyEndAllowThreads(__tstate
);
4170 if (PyErr_Occurred()) SWIG_fail
;
4172 Py_INCREF(Py_None
); resultobj
= Py_None
;
4179 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4180 PyObject
*resultobj
;
4181 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4183 PyObject
* obj0
= 0 ;
4185 (char *) "self", NULL
4188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
4189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4190 if (SWIG_arg_fail(1)) SWIG_fail
;
4192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4193 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
4195 wxPyEndAllowThreads(__tstate
);
4196 if (PyErr_Occurred()) SWIG_fail
;
4199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4207 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4208 PyObject
*resultobj
;
4209 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4211 PyObject
* obj0
= 0 ;
4213 (char *) "self", NULL
4216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
4217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4218 if (SWIG_arg_fail(1)) SWIG_fail
;
4220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4221 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
4223 wxPyEndAllowThreads(__tstate
);
4224 if (PyErr_Occurred()) SWIG_fail
;
4227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4235 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4236 PyObject
*resultobj
;
4237 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4239 PyObject
* obj0
= 0 ;
4241 (char *) "self", NULL
4244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
4245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4246 if (SWIG_arg_fail(1)) SWIG_fail
;
4248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4249 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
4251 wxPyEndAllowThreads(__tstate
);
4252 if (PyErr_Occurred()) SWIG_fail
;
4256 resultptr
= new wxIcon((wxIcon
&)(result
));
4257 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
4265 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4266 PyObject
*resultobj
;
4267 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4269 PyObject
* obj0
= 0 ;
4270 PyObject
* obj1
= 0 ;
4272 (char *) "self",(char *) "icon", NULL
4275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4277 if (SWIG_arg_fail(1)) SWIG_fail
;
4279 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
4280 if (SWIG_arg_fail(2)) SWIG_fail
;
4282 SWIG_null_ref("wxIcon");
4284 if (SWIG_arg_fail(2)) SWIG_fail
;
4287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4288 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
4290 wxPyEndAllowThreads(__tstate
);
4291 if (PyErr_Occurred()) SWIG_fail
;
4293 Py_INCREF(Py_None
); resultobj
= Py_None
;
4300 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4301 PyObject
*resultobj
;
4302 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4303 wxIconBundle
*arg2
= 0 ;
4304 PyObject
* obj0
= 0 ;
4305 PyObject
* obj1
= 0 ;
4307 (char *) "self",(char *) "icons", NULL
4310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
4311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4312 if (SWIG_arg_fail(1)) SWIG_fail
;
4314 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
4315 if (SWIG_arg_fail(2)) SWIG_fail
;
4317 SWIG_null_ref("wxIconBundle");
4319 if (SWIG_arg_fail(2)) SWIG_fail
;
4322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4323 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
4325 wxPyEndAllowThreads(__tstate
);
4326 if (PyErr_Occurred()) SWIG_fail
;
4328 Py_INCREF(Py_None
); resultobj
= Py_None
;
4335 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4336 PyObject
*resultobj
;
4337 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4339 long arg3
= (long) wxFULLSCREEN_ALL
;
4341 PyObject
* obj0
= 0 ;
4342 PyObject
* obj1
= 0 ;
4343 PyObject
* obj2
= 0 ;
4345 (char *) "self",(char *) "show",(char *) "style", NULL
4348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4350 if (SWIG_arg_fail(1)) SWIG_fail
;
4352 arg2
= (bool)(SWIG_As_bool(obj1
));
4353 if (SWIG_arg_fail(2)) SWIG_fail
;
4357 arg3
= (long)(SWIG_As_long(obj2
));
4358 if (SWIG_arg_fail(3)) SWIG_fail
;
4362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4363 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
4365 wxPyEndAllowThreads(__tstate
);
4366 if (PyErr_Occurred()) SWIG_fail
;
4369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4377 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4378 PyObject
*resultobj
;
4379 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4381 PyObject
* obj0
= 0 ;
4383 (char *) "self", NULL
4386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
4387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4388 if (SWIG_arg_fail(1)) SWIG_fail
;
4390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4391 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
4393 wxPyEndAllowThreads(__tstate
);
4394 if (PyErr_Occurred()) SWIG_fail
;
4397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4405 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4406 PyObject
*resultobj
;
4407 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4408 wxString
*arg2
= 0 ;
4409 bool temp2
= false ;
4410 PyObject
* obj0
= 0 ;
4411 PyObject
* obj1
= 0 ;
4413 (char *) "self",(char *) "title", NULL
4416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
4417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4418 if (SWIG_arg_fail(1)) SWIG_fail
;
4420 arg2
= wxString_in_helper(obj1
);
4421 if (arg2
== NULL
) SWIG_fail
;
4425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4426 (arg1
)->SetTitle((wxString
const &)*arg2
);
4428 wxPyEndAllowThreads(__tstate
);
4429 if (PyErr_Occurred()) SWIG_fail
;
4431 Py_INCREF(Py_None
); resultobj
= Py_None
;
4446 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4447 PyObject
*resultobj
;
4448 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4450 PyObject
* obj0
= 0 ;
4452 (char *) "self", NULL
4455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
4456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4457 if (SWIG_arg_fail(1)) SWIG_fail
;
4459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4460 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
4462 wxPyEndAllowThreads(__tstate
);
4463 if (PyErr_Occurred()) SWIG_fail
;
4467 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4469 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4478 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4479 PyObject
*resultobj
;
4480 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4481 wxRegion
*arg2
= 0 ;
4483 PyObject
* obj0
= 0 ;
4484 PyObject
* obj1
= 0 ;
4486 (char *) "self",(char *) "region", NULL
4489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
4490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4491 if (SWIG_arg_fail(1)) SWIG_fail
;
4493 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
4494 if (SWIG_arg_fail(2)) SWIG_fail
;
4496 SWIG_null_ref("wxRegion");
4498 if (SWIG_arg_fail(2)) SWIG_fail
;
4501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4502 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
4504 wxPyEndAllowThreads(__tstate
);
4505 if (PyErr_Occurred()) SWIG_fail
;
4508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4516 static PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4517 PyObject
*resultobj
;
4518 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4519 int arg2
= (int) wxUSER_ATTENTION_INFO
;
4520 PyObject
* obj0
= 0 ;
4521 PyObject
* obj1
= 0 ;
4523 (char *) "self",(char *) "flags", NULL
4526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) goto fail
;
4527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4528 if (SWIG_arg_fail(1)) SWIG_fail
;
4531 arg2
= (int)(SWIG_As_int(obj1
));
4532 if (SWIG_arg_fail(2)) SWIG_fail
;
4536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4537 (arg1
)->RequestUserAttention(arg2
);
4539 wxPyEndAllowThreads(__tstate
);
4540 if (PyErr_Occurred()) SWIG_fail
;
4542 Py_INCREF(Py_None
); resultobj
= Py_None
;
4549 static PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4550 PyObject
*resultobj
;
4551 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4553 PyObject
* obj0
= 0 ;
4555 (char *) "self", NULL
4558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsActive",kwnames
,&obj0
)) goto fail
;
4559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4560 if (SWIG_arg_fail(1)) SWIG_fail
;
4562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4563 result
= (bool)(arg1
)->IsActive();
4565 wxPyEndAllowThreads(__tstate
);
4566 if (PyErr_Occurred()) SWIG_fail
;
4569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4577 static PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4578 PyObject
*resultobj
;
4579 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4581 PyObject
* obj0
= 0 ;
4582 PyObject
* obj1
= 0 ;
4584 (char *) "self",(char *) "on", NULL
4587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) goto fail
;
4588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4589 if (SWIG_arg_fail(1)) SWIG_fail
;
4591 arg2
= (bool)(SWIG_As_bool(obj1
));
4592 if (SWIG_arg_fail(2)) SWIG_fail
;
4595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4596 (arg1
)->MacSetMetalAppearance(arg2
);
4598 wxPyEndAllowThreads(__tstate
);
4599 if (PyErr_Occurred()) SWIG_fail
;
4601 Py_INCREF(Py_None
); resultobj
= Py_None
;
4608 static PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4609 PyObject
*resultobj
;
4610 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4612 PyObject
* obj0
= 0 ;
4614 (char *) "self", NULL
4617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames
,&obj0
)) goto fail
;
4618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4619 if (SWIG_arg_fail(1)) SWIG_fail
;
4621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4622 result
= (bool)((wxTopLevelWindow
const *)arg1
)->MacGetMetalAppearance();
4624 wxPyEndAllowThreads(__tstate
);
4625 if (PyErr_Occurred()) SWIG_fail
;
4628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4636 static PyObject
* TopLevelWindow_swigregister(PyObject
*, PyObject
*args
) {
4638 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4639 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
4641 return Py_BuildValue((char *)"");
4643 static PyObject
*_wrap_new_Frame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4644 PyObject
*resultobj
;
4645 wxWindow
*arg1
= (wxWindow
*) 0 ;
4646 int arg2
= (int) (int)-1 ;
4647 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4648 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4649 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4650 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4651 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4652 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4653 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4654 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4655 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4657 bool temp3
= false ;
4660 bool temp7
= false ;
4661 PyObject
* obj0
= 0 ;
4662 PyObject
* obj1
= 0 ;
4663 PyObject
* obj2
= 0 ;
4664 PyObject
* obj3
= 0 ;
4665 PyObject
* obj4
= 0 ;
4666 PyObject
* obj5
= 0 ;
4667 PyObject
* obj6
= 0 ;
4669 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4674 if (SWIG_arg_fail(1)) SWIG_fail
;
4677 arg2
= (int const)(SWIG_As_int(obj1
));
4678 if (SWIG_arg_fail(2)) SWIG_fail
;
4683 arg3
= wxString_in_helper(obj2
);
4684 if (arg3
== NULL
) SWIG_fail
;
4691 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4697 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4702 arg6
= (long)(SWIG_As_long(obj5
));
4703 if (SWIG_arg_fail(6)) SWIG_fail
;
4708 arg7
= wxString_in_helper(obj6
);
4709 if (arg7
== NULL
) SWIG_fail
;
4714 if (!wxPyCheckForApp()) SWIG_fail
;
4715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4716 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4718 wxPyEndAllowThreads(__tstate
);
4719 if (PyErr_Occurred()) SWIG_fail
;
4721 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
4744 static PyObject
*_wrap_new_PreFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4745 PyObject
*resultobj
;
4751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
4753 if (!wxPyCheckForApp()) SWIG_fail
;
4754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4755 result
= (wxFrame
*)new wxFrame();
4757 wxPyEndAllowThreads(__tstate
);
4758 if (PyErr_Occurred()) SWIG_fail
;
4760 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
4767 static PyObject
*_wrap_Frame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4768 PyObject
*resultobj
;
4769 wxFrame
*arg1
= (wxFrame
*) 0 ;
4770 wxWindow
*arg2
= (wxWindow
*) 0 ;
4771 int arg3
= (int) (int)-1 ;
4772 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4773 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4774 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4775 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4776 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4777 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4778 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4779 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4780 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4782 bool temp4
= false ;
4785 bool temp8
= false ;
4786 PyObject
* obj0
= 0 ;
4787 PyObject
* obj1
= 0 ;
4788 PyObject
* obj2
= 0 ;
4789 PyObject
* obj3
= 0 ;
4790 PyObject
* obj4
= 0 ;
4791 PyObject
* obj5
= 0 ;
4792 PyObject
* obj6
= 0 ;
4793 PyObject
* obj7
= 0 ;
4795 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4800 if (SWIG_arg_fail(1)) SWIG_fail
;
4801 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4802 if (SWIG_arg_fail(2)) SWIG_fail
;
4805 arg3
= (int const)(SWIG_As_int(obj2
));
4806 if (SWIG_arg_fail(3)) SWIG_fail
;
4811 arg4
= wxString_in_helper(obj3
);
4812 if (arg4
== NULL
) SWIG_fail
;
4819 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4825 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4830 arg7
= (long)(SWIG_As_long(obj6
));
4831 if (SWIG_arg_fail(7)) SWIG_fail
;
4836 arg8
= wxString_in_helper(obj7
);
4837 if (arg8
== NULL
) SWIG_fail
;
4842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4843 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4845 wxPyEndAllowThreads(__tstate
);
4846 if (PyErr_Occurred()) SWIG_fail
;
4849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4873 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4874 PyObject
*resultobj
;
4875 wxFrame
*arg1
= (wxFrame
*) 0 ;
4877 PyObject
* obj0
= 0 ;
4879 (char *) "self", NULL
4882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
4883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4884 if (SWIG_arg_fail(1)) SWIG_fail
;
4886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4887 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
4889 wxPyEndAllowThreads(__tstate
);
4890 if (PyErr_Occurred()) SWIG_fail
;
4893 wxPoint
* resultptr
;
4894 resultptr
= new wxPoint((wxPoint
&)(result
));
4895 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4903 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4904 PyObject
*resultobj
;
4905 wxFrame
*arg1
= (wxFrame
*) 0 ;
4906 PyObject
* obj0
= 0 ;
4908 (char *) "self", NULL
4911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
4912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4913 if (SWIG_arg_fail(1)) SWIG_fail
;
4915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4916 (arg1
)->SendSizeEvent();
4918 wxPyEndAllowThreads(__tstate
);
4919 if (PyErr_Occurred()) SWIG_fail
;
4921 Py_INCREF(Py_None
); resultobj
= Py_None
;
4928 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4929 PyObject
*resultobj
;
4930 wxFrame
*arg1
= (wxFrame
*) 0 ;
4931 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
4932 PyObject
* obj0
= 0 ;
4933 PyObject
* obj1
= 0 ;
4935 (char *) "self",(char *) "menubar", NULL
4938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
4939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4940 if (SWIG_arg_fail(1)) SWIG_fail
;
4941 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
4942 if (SWIG_arg_fail(2)) SWIG_fail
;
4944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4945 (arg1
)->SetMenuBar(arg2
);
4947 wxPyEndAllowThreads(__tstate
);
4948 if (PyErr_Occurred()) SWIG_fail
;
4950 Py_INCREF(Py_None
); resultobj
= Py_None
;
4957 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4958 PyObject
*resultobj
;
4959 wxFrame
*arg1
= (wxFrame
*) 0 ;
4961 PyObject
* obj0
= 0 ;
4963 (char *) "self", NULL
4966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
4967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4968 if (SWIG_arg_fail(1)) SWIG_fail
;
4970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4971 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
4973 wxPyEndAllowThreads(__tstate
);
4974 if (PyErr_Occurred()) SWIG_fail
;
4977 resultobj
= wxPyMake_wxObject(result
, 0);
4985 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4986 PyObject
*resultobj
;
4987 wxFrame
*arg1
= (wxFrame
*) 0 ;
4990 PyObject
* obj0
= 0 ;
4991 PyObject
* obj1
= 0 ;
4993 (char *) "self",(char *) "winid", NULL
4996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
4997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4998 if (SWIG_arg_fail(1)) SWIG_fail
;
5000 arg2
= (int)(SWIG_As_int(obj1
));
5001 if (SWIG_arg_fail(2)) SWIG_fail
;
5004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5005 result
= (bool)(arg1
)->ProcessCommand(arg2
);
5007 wxPyEndAllowThreads(__tstate
);
5008 if (PyErr_Occurred()) SWIG_fail
;
5011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5019 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5020 PyObject
*resultobj
;
5021 wxFrame
*arg1
= (wxFrame
*) 0 ;
5022 int arg2
= (int) 1 ;
5023 long arg3
= (long) wxST_SIZEGRIP
;
5024 int arg4
= (int) 0 ;
5025 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
5026 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5027 wxStatusBar
*result
;
5028 bool temp5
= false ;
5029 PyObject
* obj0
= 0 ;
5030 PyObject
* obj1
= 0 ;
5031 PyObject
* obj2
= 0 ;
5032 PyObject
* obj3
= 0 ;
5033 PyObject
* obj4
= 0 ;
5035 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
5038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5040 if (SWIG_arg_fail(1)) SWIG_fail
;
5043 arg2
= (int)(SWIG_As_int(obj1
));
5044 if (SWIG_arg_fail(2)) SWIG_fail
;
5049 arg3
= (long)(SWIG_As_long(obj2
));
5050 if (SWIG_arg_fail(3)) SWIG_fail
;
5055 arg4
= (int)(SWIG_As_int(obj3
));
5056 if (SWIG_arg_fail(4)) SWIG_fail
;
5061 arg5
= wxString_in_helper(obj4
);
5062 if (arg5
== NULL
) SWIG_fail
;
5067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5068 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
5070 wxPyEndAllowThreads(__tstate
);
5071 if (PyErr_Occurred()) SWIG_fail
;
5074 resultobj
= wxPyMake_wxObject(result
, 0);
5090 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5091 PyObject
*resultobj
;
5092 wxFrame
*arg1
= (wxFrame
*) 0 ;
5093 wxStatusBar
*result
;
5094 PyObject
* obj0
= 0 ;
5096 (char *) "self", NULL
5099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
5100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5101 if (SWIG_arg_fail(1)) SWIG_fail
;
5103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5104 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
5106 wxPyEndAllowThreads(__tstate
);
5107 if (PyErr_Occurred()) SWIG_fail
;
5110 resultobj
= wxPyMake_wxObject(result
, 0);
5118 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5119 PyObject
*resultobj
;
5120 wxFrame
*arg1
= (wxFrame
*) 0 ;
5121 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
5122 PyObject
* obj0
= 0 ;
5123 PyObject
* obj1
= 0 ;
5125 (char *) "self",(char *) "statBar", NULL
5128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
5129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5130 if (SWIG_arg_fail(1)) SWIG_fail
;
5131 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
5132 if (SWIG_arg_fail(2)) SWIG_fail
;
5134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5135 (arg1
)->SetStatusBar(arg2
);
5137 wxPyEndAllowThreads(__tstate
);
5138 if (PyErr_Occurred()) SWIG_fail
;
5140 Py_INCREF(Py_None
); resultobj
= Py_None
;
5147 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5148 PyObject
*resultobj
;
5149 wxFrame
*arg1
= (wxFrame
*) 0 ;
5150 wxString
*arg2
= 0 ;
5151 int arg3
= (int) 0 ;
5152 bool temp2
= false ;
5153 PyObject
* obj0
= 0 ;
5154 PyObject
* obj1
= 0 ;
5155 PyObject
* obj2
= 0 ;
5157 (char *) "self",(char *) "text",(char *) "number", NULL
5160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5162 if (SWIG_arg_fail(1)) SWIG_fail
;
5164 arg2
= wxString_in_helper(obj1
);
5165 if (arg2
== NULL
) SWIG_fail
;
5170 arg3
= (int)(SWIG_As_int(obj2
));
5171 if (SWIG_arg_fail(3)) SWIG_fail
;
5175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5176 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5178 wxPyEndAllowThreads(__tstate
);
5179 if (PyErr_Occurred()) SWIG_fail
;
5181 Py_INCREF(Py_None
); resultobj
= Py_None
;
5196 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5197 PyObject
*resultobj
;
5198 wxFrame
*arg1
= (wxFrame
*) 0 ;
5200 int *arg3
= (int *) 0 ;
5201 PyObject
* obj0
= 0 ;
5202 PyObject
* obj1
= 0 ;
5204 (char *) "self",(char *) "widths", NULL
5207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5209 if (SWIG_arg_fail(1)) SWIG_fail
;
5211 arg2
= PyList_Size(obj1
);
5212 arg3
= int_LIST_helper(obj1
);
5213 if (arg3
== NULL
) SWIG_fail
;
5216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5217 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5219 wxPyEndAllowThreads(__tstate
);
5220 if (PyErr_Occurred()) SWIG_fail
;
5222 Py_INCREF(Py_None
); resultobj
= Py_None
;
5224 if (arg3
) delete [] arg3
;
5229 if (arg3
) delete [] arg3
;
5235 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5236 PyObject
*resultobj
;
5237 wxFrame
*arg1
= (wxFrame
*) 0 ;
5238 wxString
*arg2
= 0 ;
5239 int arg3
= (int) 0 ;
5240 bool temp2
= false ;
5241 PyObject
* obj0
= 0 ;
5242 PyObject
* obj1
= 0 ;
5243 PyObject
* obj2
= 0 ;
5245 (char *) "self",(char *) "text",(char *) "number", NULL
5248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5250 if (SWIG_arg_fail(1)) SWIG_fail
;
5252 arg2
= wxString_in_helper(obj1
);
5253 if (arg2
== NULL
) SWIG_fail
;
5258 arg3
= (int)(SWIG_As_int(obj2
));
5259 if (SWIG_arg_fail(3)) SWIG_fail
;
5263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5264 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5266 wxPyEndAllowThreads(__tstate
);
5267 if (PyErr_Occurred()) SWIG_fail
;
5269 Py_INCREF(Py_None
); resultobj
= Py_None
;
5284 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5285 PyObject
*resultobj
;
5286 wxFrame
*arg1
= (wxFrame
*) 0 ;
5287 int arg2
= (int) 0 ;
5288 PyObject
* obj0
= 0 ;
5289 PyObject
* obj1
= 0 ;
5291 (char *) "self",(char *) "number", NULL
5294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5296 if (SWIG_arg_fail(1)) SWIG_fail
;
5299 arg2
= (int)(SWIG_As_int(obj1
));
5300 if (SWIG_arg_fail(2)) SWIG_fail
;
5304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5305 (arg1
)->PopStatusText(arg2
);
5307 wxPyEndAllowThreads(__tstate
);
5308 if (PyErr_Occurred()) SWIG_fail
;
5310 Py_INCREF(Py_None
); resultobj
= Py_None
;
5317 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5318 PyObject
*resultobj
;
5319 wxFrame
*arg1
= (wxFrame
*) 0 ;
5321 PyObject
* obj0
= 0 ;
5322 PyObject
* obj1
= 0 ;
5324 (char *) "self",(char *) "n", NULL
5327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
5328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5329 if (SWIG_arg_fail(1)) SWIG_fail
;
5331 arg2
= (int)(SWIG_As_int(obj1
));
5332 if (SWIG_arg_fail(2)) SWIG_fail
;
5335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5336 (arg1
)->SetStatusBarPane(arg2
);
5338 wxPyEndAllowThreads(__tstate
);
5339 if (PyErr_Occurred()) SWIG_fail
;
5341 Py_INCREF(Py_None
); resultobj
= Py_None
;
5348 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5349 PyObject
*resultobj
;
5350 wxFrame
*arg1
= (wxFrame
*) 0 ;
5352 PyObject
* obj0
= 0 ;
5354 (char *) "self", NULL
5357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
5358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5359 if (SWIG_arg_fail(1)) SWIG_fail
;
5361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5362 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
5364 wxPyEndAllowThreads(__tstate
);
5365 if (PyErr_Occurred()) SWIG_fail
;
5368 resultobj
= SWIG_From_int((int)(result
));
5376 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5377 PyObject
*resultobj
;
5378 wxFrame
*arg1
= (wxFrame
*) 0 ;
5379 long arg2
= (long) -1 ;
5380 int arg3
= (int) -1 ;
5381 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
5382 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5384 bool temp4
= false ;
5385 PyObject
* obj0
= 0 ;
5386 PyObject
* obj1
= 0 ;
5387 PyObject
* obj2
= 0 ;
5388 PyObject
* obj3
= 0 ;
5390 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
5393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5395 if (SWIG_arg_fail(1)) SWIG_fail
;
5398 arg2
= (long)(SWIG_As_long(obj1
));
5399 if (SWIG_arg_fail(2)) SWIG_fail
;
5404 arg3
= (int)(SWIG_As_int(obj2
));
5405 if (SWIG_arg_fail(3)) SWIG_fail
;
5410 arg4
= wxString_in_helper(obj3
);
5411 if (arg4
== NULL
) SWIG_fail
;
5416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5417 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
5419 wxPyEndAllowThreads(__tstate
);
5420 if (PyErr_Occurred()) SWIG_fail
;
5423 resultobj
= wxPyMake_wxObject(result
, 0);
5439 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5440 PyObject
*resultobj
;
5441 wxFrame
*arg1
= (wxFrame
*) 0 ;
5443 PyObject
* obj0
= 0 ;
5445 (char *) "self", NULL
5448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
5449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5450 if (SWIG_arg_fail(1)) SWIG_fail
;
5452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5453 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
5455 wxPyEndAllowThreads(__tstate
);
5456 if (PyErr_Occurred()) SWIG_fail
;
5459 resultobj
= wxPyMake_wxObject(result
, 0);
5467 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5468 PyObject
*resultobj
;
5469 wxFrame
*arg1
= (wxFrame
*) 0 ;
5470 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
5471 PyObject
* obj0
= 0 ;
5472 PyObject
* obj1
= 0 ;
5474 (char *) "self",(char *) "toolbar", NULL
5477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
5478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5479 if (SWIG_arg_fail(1)) SWIG_fail
;
5480 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
5481 if (SWIG_arg_fail(2)) SWIG_fail
;
5483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5484 (arg1
)->SetToolBar(arg2
);
5486 wxPyEndAllowThreads(__tstate
);
5487 if (PyErr_Occurred()) SWIG_fail
;
5489 Py_INCREF(Py_None
); resultobj
= Py_None
;
5496 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5497 PyObject
*resultobj
;
5498 wxFrame
*arg1
= (wxFrame
*) 0 ;
5499 wxString
*arg2
= 0 ;
5501 bool temp2
= false ;
5502 PyObject
* obj0
= 0 ;
5503 PyObject
* obj1
= 0 ;
5504 PyObject
* obj2
= 0 ;
5506 (char *) "self",(char *) "text",(char *) "show", NULL
5509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5511 if (SWIG_arg_fail(1)) SWIG_fail
;
5513 arg2
= wxString_in_helper(obj1
);
5514 if (arg2
== NULL
) SWIG_fail
;
5518 arg3
= (bool)(SWIG_As_bool(obj2
));
5519 if (SWIG_arg_fail(3)) SWIG_fail
;
5522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5523 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
5525 wxPyEndAllowThreads(__tstate
);
5526 if (PyErr_Occurred()) SWIG_fail
;
5528 Py_INCREF(Py_None
); resultobj
= Py_None
;
5543 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5544 PyObject
*resultobj
;
5545 wxFrame
*arg1
= (wxFrame
*) 0 ;
5546 wxMenu
*arg2
= (wxMenu
*) NULL
;
5547 PyObject
* obj0
= 0 ;
5548 PyObject
* obj1
= 0 ;
5550 (char *) "self",(char *) "menu", NULL
5553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
5554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5555 if (SWIG_arg_fail(1)) SWIG_fail
;
5557 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
5558 if (SWIG_arg_fail(2)) SWIG_fail
;
5561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5562 (arg1
)->DoMenuUpdates(arg2
);
5564 wxPyEndAllowThreads(__tstate
);
5565 if (PyErr_Occurred()) SWIG_fail
;
5567 Py_INCREF(Py_None
); resultobj
= Py_None
;
5574 static PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5575 PyObject
*resultobj
;
5576 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5577 wxVisualAttributes result
;
5578 PyObject
* obj0
= 0 ;
5580 (char *) "variant", NULL
5583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5586 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
5587 if (SWIG_arg_fail(1)) SWIG_fail
;
5591 if (!wxPyCheckForApp()) SWIG_fail
;
5592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5593 result
= wxFrame::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5595 wxPyEndAllowThreads(__tstate
);
5596 if (PyErr_Occurred()) SWIG_fail
;
5599 wxVisualAttributes
* resultptr
;
5600 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
5601 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5609 static PyObject
* Frame_swigregister(PyObject
*, PyObject
*args
) {
5611 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5612 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
5614 return Py_BuildValue((char *)"");
5616 static PyObject
*_wrap_new_Dialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5617 PyObject
*resultobj
;
5618 wxWindow
*arg1
= (wxWindow
*) 0 ;
5619 int arg2
= (int) (int)-1 ;
5620 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5621 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5622 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5623 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5624 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5625 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5626 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
5627 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
5628 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5630 bool temp3
= false ;
5633 bool temp7
= false ;
5634 PyObject
* obj0
= 0 ;
5635 PyObject
* obj1
= 0 ;
5636 PyObject
* obj2
= 0 ;
5637 PyObject
* obj3
= 0 ;
5638 PyObject
* obj4
= 0 ;
5639 PyObject
* obj5
= 0 ;
5640 PyObject
* obj6
= 0 ;
5642 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5647 if (SWIG_arg_fail(1)) SWIG_fail
;
5650 arg2
= (int const)(SWIG_As_int(obj1
));
5651 if (SWIG_arg_fail(2)) SWIG_fail
;
5656 arg3
= wxString_in_helper(obj2
);
5657 if (arg3
== NULL
) SWIG_fail
;
5664 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5670 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5675 arg6
= (long)(SWIG_As_long(obj5
));
5676 if (SWIG_arg_fail(6)) SWIG_fail
;
5681 arg7
= wxString_in_helper(obj6
);
5682 if (arg7
== NULL
) SWIG_fail
;
5687 if (!wxPyCheckForApp()) SWIG_fail
;
5688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5689 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5691 wxPyEndAllowThreads(__tstate
);
5692 if (PyErr_Occurred()) SWIG_fail
;
5694 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
5717 static PyObject
*_wrap_new_PreDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5718 PyObject
*resultobj
;
5724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
5726 if (!wxPyCheckForApp()) SWIG_fail
;
5727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5728 result
= (wxDialog
*)new wxDialog();
5730 wxPyEndAllowThreads(__tstate
);
5731 if (PyErr_Occurred()) SWIG_fail
;
5733 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
5740 static PyObject
*_wrap_Dialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5741 PyObject
*resultobj
;
5742 wxDialog
*arg1
= (wxDialog
*) 0 ;
5743 wxWindow
*arg2
= (wxWindow
*) 0 ;
5744 int arg3
= (int) (int)-1 ;
5745 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5746 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5747 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5748 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5749 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5750 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5751 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
5752 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
5753 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5755 bool temp4
= false ;
5758 bool temp8
= false ;
5759 PyObject
* obj0
= 0 ;
5760 PyObject
* obj1
= 0 ;
5761 PyObject
* obj2
= 0 ;
5762 PyObject
* obj3
= 0 ;
5763 PyObject
* obj4
= 0 ;
5764 PyObject
* obj5
= 0 ;
5765 PyObject
* obj6
= 0 ;
5766 PyObject
* obj7
= 0 ;
5768 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5773 if (SWIG_arg_fail(1)) SWIG_fail
;
5774 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5775 if (SWIG_arg_fail(2)) SWIG_fail
;
5778 arg3
= (int const)(SWIG_As_int(obj2
));
5779 if (SWIG_arg_fail(3)) SWIG_fail
;
5784 arg4
= wxString_in_helper(obj3
);
5785 if (arg4
== NULL
) SWIG_fail
;
5792 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5798 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5803 arg7
= (long)(SWIG_As_long(obj6
));
5804 if (SWIG_arg_fail(7)) SWIG_fail
;
5809 arg8
= wxString_in_helper(obj7
);
5810 if (arg8
== NULL
) SWIG_fail
;
5815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5816 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5818 wxPyEndAllowThreads(__tstate
);
5819 if (PyErr_Occurred()) SWIG_fail
;
5822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5846 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5847 PyObject
*resultobj
;
5848 wxDialog
*arg1
= (wxDialog
*) 0 ;
5850 PyObject
* obj0
= 0 ;
5851 PyObject
* obj1
= 0 ;
5853 (char *) "self",(char *) "returnCode", NULL
5856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
5857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5858 if (SWIG_arg_fail(1)) SWIG_fail
;
5860 arg2
= (int)(SWIG_As_int(obj1
));
5861 if (SWIG_arg_fail(2)) SWIG_fail
;
5864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5865 (arg1
)->SetReturnCode(arg2
);
5867 wxPyEndAllowThreads(__tstate
);
5868 if (PyErr_Occurred()) SWIG_fail
;
5870 Py_INCREF(Py_None
); resultobj
= Py_None
;
5877 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5878 PyObject
*resultobj
;
5879 wxDialog
*arg1
= (wxDialog
*) 0 ;
5881 PyObject
* obj0
= 0 ;
5883 (char *) "self", NULL
5886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
5887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5888 if (SWIG_arg_fail(1)) SWIG_fail
;
5890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5891 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
5893 wxPyEndAllowThreads(__tstate
);
5894 if (PyErr_Occurred()) SWIG_fail
;
5897 resultobj
= SWIG_From_int((int)(result
));
5905 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5906 PyObject
*resultobj
;
5907 wxDialog
*arg1
= (wxDialog
*) 0 ;
5908 wxString
*arg2
= 0 ;
5910 bool temp2
= false ;
5911 PyObject
* obj0
= 0 ;
5912 PyObject
* obj1
= 0 ;
5914 (char *) "self",(char *) "message", NULL
5917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
5918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5919 if (SWIG_arg_fail(1)) SWIG_fail
;
5921 arg2
= wxString_in_helper(obj1
);
5922 if (arg2
== NULL
) SWIG_fail
;
5926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5927 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
5929 wxPyEndAllowThreads(__tstate
);
5930 if (PyErr_Occurred()) SWIG_fail
;
5933 resultobj
= wxPyMake_wxSizer(result
, 0);
5949 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5950 PyObject
*resultobj
;
5951 wxDialog
*arg1
= (wxDialog
*) 0 ;
5954 PyObject
* obj0
= 0 ;
5955 PyObject
* obj1
= 0 ;
5957 (char *) "self",(char *) "flags", NULL
5960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
5961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5962 if (SWIG_arg_fail(1)) SWIG_fail
;
5964 arg2
= (long)(SWIG_As_long(obj1
));
5965 if (SWIG_arg_fail(2)) SWIG_fail
;
5968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5969 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
5971 wxPyEndAllowThreads(__tstate
);
5972 if (PyErr_Occurred()) SWIG_fail
;
5975 resultobj
= wxPyMake_wxSizer(result
, 0);
5983 static PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5984 PyObject
*resultobj
;
5985 wxDialog
*arg1
= (wxDialog
*) 0 ;
5987 wxStdDialogButtonSizer
*result
;
5988 PyObject
* obj0
= 0 ;
5989 PyObject
* obj1
= 0 ;
5991 (char *) "self",(char *) "flags", NULL
5994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
5995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5996 if (SWIG_arg_fail(1)) SWIG_fail
;
5998 arg2
= (long)(SWIG_As_long(obj1
));
5999 if (SWIG_arg_fail(2)) SWIG_fail
;
6002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6003 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
6005 wxPyEndAllowThreads(__tstate
);
6006 if (PyErr_Occurred()) SWIG_fail
;
6008 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0);
6015 static PyObject
*_wrap_Dialog_IsModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6016 PyObject
*resultobj
;
6017 wxDialog
*arg1
= (wxDialog
*) 0 ;
6019 PyObject
* obj0
= 0 ;
6021 (char *) "self", NULL
6024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
6025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6026 if (SWIG_arg_fail(1)) SWIG_fail
;
6028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6029 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
6031 wxPyEndAllowThreads(__tstate
);
6032 if (PyErr_Occurred()) SWIG_fail
;
6035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6043 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6044 PyObject
*resultobj
;
6045 wxDialog
*arg1
= (wxDialog
*) 0 ;
6047 PyObject
* obj0
= 0 ;
6049 (char *) "self", NULL
6052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
6053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6054 if (SWIG_arg_fail(1)) SWIG_fail
;
6056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6057 result
= (int)(arg1
)->ShowModal();
6059 wxPyEndAllowThreads(__tstate
);
6060 if (PyErr_Occurred()) SWIG_fail
;
6063 resultobj
= SWIG_From_int((int)(result
));
6071 static PyObject
*_wrap_Dialog_EndModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6072 PyObject
*resultobj
;
6073 wxDialog
*arg1
= (wxDialog
*) 0 ;
6075 PyObject
* obj0
= 0 ;
6076 PyObject
* obj1
= 0 ;
6078 (char *) "self",(char *) "retCode", NULL
6081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
6082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6083 if (SWIG_arg_fail(1)) SWIG_fail
;
6085 arg2
= (int)(SWIG_As_int(obj1
));
6086 if (SWIG_arg_fail(2)) SWIG_fail
;
6089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6090 (arg1
)->EndModal(arg2
);
6092 wxPyEndAllowThreads(__tstate
);
6093 if (PyErr_Occurred()) SWIG_fail
;
6095 Py_INCREF(Py_None
); resultobj
= Py_None
;
6102 static PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6103 PyObject
*resultobj
;
6104 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6105 wxVisualAttributes result
;
6106 PyObject
* obj0
= 0 ;
6108 (char *) "variant", NULL
6111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6114 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6115 if (SWIG_arg_fail(1)) SWIG_fail
;
6119 if (!wxPyCheckForApp()) SWIG_fail
;
6120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6121 result
= wxDialog::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6123 wxPyEndAllowThreads(__tstate
);
6124 if (PyErr_Occurred()) SWIG_fail
;
6127 wxVisualAttributes
* resultptr
;
6128 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6129 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6137 static PyObject
* Dialog_swigregister(PyObject
*, PyObject
*args
) {
6139 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6140 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
6142 return Py_BuildValue((char *)"");
6144 static PyObject
*_wrap_new_MiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6145 PyObject
*resultobj
;
6146 wxWindow
*arg1
= (wxWindow
*) 0 ;
6147 int arg2
= (int) (int)-1 ;
6148 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6149 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6150 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6151 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6152 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6153 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6154 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6155 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6156 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6157 wxMiniFrame
*result
;
6158 bool temp3
= false ;
6161 bool temp7
= false ;
6162 PyObject
* obj0
= 0 ;
6163 PyObject
* obj1
= 0 ;
6164 PyObject
* obj2
= 0 ;
6165 PyObject
* obj3
= 0 ;
6166 PyObject
* obj4
= 0 ;
6167 PyObject
* obj5
= 0 ;
6168 PyObject
* obj6
= 0 ;
6170 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6175 if (SWIG_arg_fail(1)) SWIG_fail
;
6178 arg2
= (int const)(SWIG_As_int(obj1
));
6179 if (SWIG_arg_fail(2)) SWIG_fail
;
6184 arg3
= wxString_in_helper(obj2
);
6185 if (arg3
== NULL
) SWIG_fail
;
6192 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6198 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6203 arg6
= (long)(SWIG_As_long(obj5
));
6204 if (SWIG_arg_fail(6)) SWIG_fail
;
6209 arg7
= wxString_in_helper(obj6
);
6210 if (arg7
== NULL
) SWIG_fail
;
6215 if (!wxPyCheckForApp()) SWIG_fail
;
6216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6217 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6219 wxPyEndAllowThreads(__tstate
);
6220 if (PyErr_Occurred()) SWIG_fail
;
6222 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
6245 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6246 PyObject
*resultobj
;
6247 wxMiniFrame
*result
;
6252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
6254 if (!wxPyCheckForApp()) SWIG_fail
;
6255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6256 result
= (wxMiniFrame
*)new wxMiniFrame();
6258 wxPyEndAllowThreads(__tstate
);
6259 if (PyErr_Occurred()) SWIG_fail
;
6261 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
6268 static PyObject
*_wrap_MiniFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6269 PyObject
*resultobj
;
6270 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
6271 wxWindow
*arg2
= (wxWindow
*) 0 ;
6272 int arg3
= (int) (int)-1 ;
6273 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6274 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6275 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6276 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6277 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6278 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6279 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6280 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6281 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6283 bool temp4
= false ;
6286 bool temp8
= false ;
6287 PyObject
* obj0
= 0 ;
6288 PyObject
* obj1
= 0 ;
6289 PyObject
* obj2
= 0 ;
6290 PyObject
* obj3
= 0 ;
6291 PyObject
* obj4
= 0 ;
6292 PyObject
* obj5
= 0 ;
6293 PyObject
* obj6
= 0 ;
6294 PyObject
* obj7
= 0 ;
6296 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_EXCEPTION
| 0);
6301 if (SWIG_arg_fail(1)) SWIG_fail
;
6302 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6303 if (SWIG_arg_fail(2)) SWIG_fail
;
6306 arg3
= (int const)(SWIG_As_int(obj2
));
6307 if (SWIG_arg_fail(3)) SWIG_fail
;
6312 arg4
= wxString_in_helper(obj3
);
6313 if (arg4
== NULL
) SWIG_fail
;
6320 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6326 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6331 arg7
= (long)(SWIG_As_long(obj6
));
6332 if (SWIG_arg_fail(7)) SWIG_fail
;
6337 arg8
= wxString_in_helper(obj7
);
6338 if (arg8
== NULL
) SWIG_fail
;
6343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6344 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6346 wxPyEndAllowThreads(__tstate
);
6347 if (PyErr_Occurred()) SWIG_fail
;
6350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6374 static PyObject
* MiniFrame_swigregister(PyObject
*, PyObject
*args
) {
6376 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6377 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
6379 return Py_BuildValue((char *)"");
6381 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6382 PyObject
*resultobj
;
6383 wxBitmap
*arg1
= 0 ;
6384 wxWindow
*arg2
= (wxWindow
*) 0 ;
6386 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6387 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6388 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6389 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6390 long arg6
= (long) wxNO_BORDER
;
6391 wxSplashScreenWindow
*result
;
6394 PyObject
* obj0
= 0 ;
6395 PyObject
* obj1
= 0 ;
6396 PyObject
* obj2
= 0 ;
6397 PyObject
* obj3
= 0 ;
6398 PyObject
* obj4
= 0 ;
6399 PyObject
* obj5
= 0 ;
6401 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6407 if (SWIG_arg_fail(1)) SWIG_fail
;
6409 SWIG_null_ref("wxBitmap");
6411 if (SWIG_arg_fail(1)) SWIG_fail
;
6413 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6414 if (SWIG_arg_fail(2)) SWIG_fail
;
6416 arg3
= (int)(SWIG_As_int(obj2
));
6417 if (SWIG_arg_fail(3)) SWIG_fail
;
6422 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6428 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6433 arg6
= (long)(SWIG_As_long(obj5
));
6434 if (SWIG_arg_fail(6)) SWIG_fail
;
6438 if (!wxPyCheckForApp()) SWIG_fail
;
6439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6440 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
6442 wxPyEndAllowThreads(__tstate
);
6443 if (PyErr_Occurred()) SWIG_fail
;
6445 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
6452 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6453 PyObject
*resultobj
;
6454 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
6455 wxBitmap
*arg2
= 0 ;
6456 PyObject
* obj0
= 0 ;
6457 PyObject
* obj1
= 0 ;
6459 (char *) "self",(char *) "bitmap", NULL
6462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
6463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_EXCEPTION
| 0);
6464 if (SWIG_arg_fail(1)) SWIG_fail
;
6466 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6467 if (SWIG_arg_fail(2)) SWIG_fail
;
6469 SWIG_null_ref("wxBitmap");
6471 if (SWIG_arg_fail(2)) SWIG_fail
;
6474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6475 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
6477 wxPyEndAllowThreads(__tstate
);
6478 if (PyErr_Occurred()) SWIG_fail
;
6480 Py_INCREF(Py_None
); resultobj
= Py_None
;
6487 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6488 PyObject
*resultobj
;
6489 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
6491 PyObject
* obj0
= 0 ;
6493 (char *) "self", NULL
6496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
6497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_EXCEPTION
| 0);
6498 if (SWIG_arg_fail(1)) SWIG_fail
;
6500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6502 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
6503 result
= (wxBitmap
*) &_result_ref
;
6506 wxPyEndAllowThreads(__tstate
);
6507 if (PyErr_Occurred()) SWIG_fail
;
6510 wxBitmap
* resultptr
= new wxBitmap(*result
);
6511 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
6519 static PyObject
* SplashScreenWindow_swigregister(PyObject
*, PyObject
*args
) {
6521 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6522 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
6524 return Py_BuildValue((char *)"");
6526 static PyObject
*_wrap_new_SplashScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6527 PyObject
*resultobj
;
6528 wxBitmap
*arg1
= 0 ;
6531 wxWindow
*arg4
= (wxWindow
*) 0 ;
6532 int arg5
= (int) -1 ;
6533 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
6534 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
6535 wxSize
const &arg7_defvalue
= wxDefaultSize
;
6536 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
6537 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
6538 wxSplashScreen
*result
;
6541 PyObject
* obj0
= 0 ;
6542 PyObject
* obj1
= 0 ;
6543 PyObject
* obj2
= 0 ;
6544 PyObject
* obj3
= 0 ;
6545 PyObject
* obj4
= 0 ;
6546 PyObject
* obj5
= 0 ;
6547 PyObject
* obj6
= 0 ;
6548 PyObject
* obj7
= 0 ;
6550 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6556 if (SWIG_arg_fail(1)) SWIG_fail
;
6558 SWIG_null_ref("wxBitmap");
6560 if (SWIG_arg_fail(1)) SWIG_fail
;
6563 arg2
= (long)(SWIG_As_long(obj1
));
6564 if (SWIG_arg_fail(2)) SWIG_fail
;
6567 arg3
= (int)(SWIG_As_int(obj2
));
6568 if (SWIG_arg_fail(3)) SWIG_fail
;
6570 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6571 if (SWIG_arg_fail(4)) SWIG_fail
;
6574 arg5
= (int)(SWIG_As_int(obj4
));
6575 if (SWIG_arg_fail(5)) SWIG_fail
;
6581 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
6587 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
6592 arg8
= (long)(SWIG_As_long(obj7
));
6593 if (SWIG_arg_fail(8)) SWIG_fail
;
6597 if (!wxPyCheckForApp()) SWIG_fail
;
6598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6599 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
6601 wxPyEndAllowThreads(__tstate
);
6602 if (PyErr_Occurred()) SWIG_fail
;
6604 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
6611 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6612 PyObject
*resultobj
;
6613 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6615 PyObject
* obj0
= 0 ;
6617 (char *) "self", NULL
6620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
6621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6622 if (SWIG_arg_fail(1)) SWIG_fail
;
6624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6625 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
6627 wxPyEndAllowThreads(__tstate
);
6628 if (PyErr_Occurred()) SWIG_fail
;
6631 resultobj
= SWIG_From_long((long)(result
));
6639 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6640 PyObject
*resultobj
;
6641 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6642 wxSplashScreenWindow
*result
;
6643 PyObject
* obj0
= 0 ;
6645 (char *) "self", NULL
6648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
6649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6650 if (SWIG_arg_fail(1)) SWIG_fail
;
6652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6653 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
6655 wxPyEndAllowThreads(__tstate
);
6656 if (PyErr_Occurred()) SWIG_fail
;
6658 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
6665 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6666 PyObject
*resultobj
;
6667 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6669 PyObject
* obj0
= 0 ;
6671 (char *) "self", NULL
6674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
6675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6676 if (SWIG_arg_fail(1)) SWIG_fail
;
6678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6679 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
6681 wxPyEndAllowThreads(__tstate
);
6682 if (PyErr_Occurred()) SWIG_fail
;
6685 resultobj
= SWIG_From_int((int)(result
));
6693 static PyObject
* SplashScreen_swigregister(PyObject
*, PyObject
*args
) {
6695 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6696 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
6698 return Py_BuildValue((char *)"");
6700 static PyObject
*_wrap_new_StatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6701 PyObject
*resultobj
;
6702 wxWindow
*arg1
= (wxWindow
*) 0 ;
6703 int arg2
= (int) -1 ;
6704 long arg3
= (long) wxST_SIZEGRIP
;
6705 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
6706 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6707 wxStatusBar
*result
;
6708 bool temp4
= false ;
6709 PyObject
* obj0
= 0 ;
6710 PyObject
* obj1
= 0 ;
6711 PyObject
* obj2
= 0 ;
6712 PyObject
* obj3
= 0 ;
6714 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6719 if (SWIG_arg_fail(1)) SWIG_fail
;
6722 arg2
= (int)(SWIG_As_int(obj1
));
6723 if (SWIG_arg_fail(2)) SWIG_fail
;
6728 arg3
= (long)(SWIG_As_long(obj2
));
6729 if (SWIG_arg_fail(3)) SWIG_fail
;
6734 arg4
= wxString_in_helper(obj3
);
6735 if (arg4
== NULL
) SWIG_fail
;
6740 if (!wxPyCheckForApp()) SWIG_fail
;
6741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6742 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
6744 wxPyEndAllowThreads(__tstate
);
6745 if (PyErr_Occurred()) SWIG_fail
;
6747 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
6762 static PyObject
*_wrap_new_PreStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6763 PyObject
*resultobj
;
6764 wxStatusBar
*result
;
6769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
6771 if (!wxPyCheckForApp()) SWIG_fail
;
6772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6773 result
= (wxStatusBar
*)new wxStatusBar();
6775 wxPyEndAllowThreads(__tstate
);
6776 if (PyErr_Occurred()) SWIG_fail
;
6778 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
6785 static PyObject
*_wrap_StatusBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6786 PyObject
*resultobj
;
6787 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6788 wxWindow
*arg2
= (wxWindow
*) 0 ;
6789 int arg3
= (int) -1 ;
6790 long arg4
= (long) wxST_SIZEGRIP
;
6791 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6792 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6794 bool temp5
= false ;
6795 PyObject
* obj0
= 0 ;
6796 PyObject
* obj1
= 0 ;
6797 PyObject
* obj2
= 0 ;
6798 PyObject
* obj3
= 0 ;
6799 PyObject
* obj4
= 0 ;
6801 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6806 if (SWIG_arg_fail(1)) SWIG_fail
;
6807 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6808 if (SWIG_arg_fail(2)) SWIG_fail
;
6811 arg3
= (int)(SWIG_As_int(obj2
));
6812 if (SWIG_arg_fail(3)) SWIG_fail
;
6817 arg4
= (long)(SWIG_As_long(obj3
));
6818 if (SWIG_arg_fail(4)) SWIG_fail
;
6823 arg5
= wxString_in_helper(obj4
);
6824 if (arg5
== NULL
) SWIG_fail
;
6829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6830 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6832 wxPyEndAllowThreads(__tstate
);
6833 if (PyErr_Occurred()) SWIG_fail
;
6836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6852 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6853 PyObject
*resultobj
;
6854 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6855 int arg2
= (int) 1 ;
6856 PyObject
* obj0
= 0 ;
6857 PyObject
* obj1
= 0 ;
6859 (char *) "self",(char *) "number", NULL
6862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
6863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6864 if (SWIG_arg_fail(1)) SWIG_fail
;
6867 arg2
= (int)(SWIG_As_int(obj1
));
6868 if (SWIG_arg_fail(2)) SWIG_fail
;
6872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6873 (arg1
)->SetFieldsCount(arg2
);
6875 wxPyEndAllowThreads(__tstate
);
6876 if (PyErr_Occurred()) SWIG_fail
;
6878 Py_INCREF(Py_None
); resultobj
= Py_None
;
6885 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6886 PyObject
*resultobj
;
6887 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6889 PyObject
* obj0
= 0 ;
6891 (char *) "self", NULL
6894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
6895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6896 if (SWIG_arg_fail(1)) SWIG_fail
;
6898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6899 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
6901 wxPyEndAllowThreads(__tstate
);
6902 if (PyErr_Occurred()) SWIG_fail
;
6905 resultobj
= SWIG_From_int((int)(result
));
6913 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6914 PyObject
*resultobj
;
6915 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6916 wxString
*arg2
= 0 ;
6917 int arg3
= (int) 0 ;
6918 bool temp2
= false ;
6919 PyObject
* obj0
= 0 ;
6920 PyObject
* obj1
= 0 ;
6921 PyObject
* obj2
= 0 ;
6923 (char *) "self",(char *) "text",(char *) "number", NULL
6926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6928 if (SWIG_arg_fail(1)) SWIG_fail
;
6930 arg2
= wxString_in_helper(obj1
);
6931 if (arg2
== NULL
) SWIG_fail
;
6936 arg3
= (int)(SWIG_As_int(obj2
));
6937 if (SWIG_arg_fail(3)) SWIG_fail
;
6941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6942 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6944 wxPyEndAllowThreads(__tstate
);
6945 if (PyErr_Occurred()) SWIG_fail
;
6947 Py_INCREF(Py_None
); resultobj
= Py_None
;
6962 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6963 PyObject
*resultobj
;
6964 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6965 int arg2
= (int) 0 ;
6967 PyObject
* obj0
= 0 ;
6968 PyObject
* obj1
= 0 ;
6970 (char *) "self",(char *) "number", NULL
6973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
6974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6975 if (SWIG_arg_fail(1)) SWIG_fail
;
6978 arg2
= (int)(SWIG_As_int(obj1
));
6979 if (SWIG_arg_fail(2)) SWIG_fail
;
6983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6984 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
6986 wxPyEndAllowThreads(__tstate
);
6987 if (PyErr_Occurred()) SWIG_fail
;
6991 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6993 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7002 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7003 PyObject
*resultobj
;
7004 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7005 wxString
*arg2
= 0 ;
7006 int arg3
= (int) 0 ;
7007 bool temp2
= false ;
7008 PyObject
* obj0
= 0 ;
7009 PyObject
* obj1
= 0 ;
7010 PyObject
* obj2
= 0 ;
7012 (char *) "self",(char *) "text",(char *) "number", NULL
7015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7017 if (SWIG_arg_fail(1)) SWIG_fail
;
7019 arg2
= wxString_in_helper(obj1
);
7020 if (arg2
== NULL
) SWIG_fail
;
7025 arg3
= (int)(SWIG_As_int(obj2
));
7026 if (SWIG_arg_fail(3)) SWIG_fail
;
7030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7031 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
7033 wxPyEndAllowThreads(__tstate
);
7034 if (PyErr_Occurred()) SWIG_fail
;
7036 Py_INCREF(Py_None
); resultobj
= Py_None
;
7051 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7052 PyObject
*resultobj
;
7053 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7054 int arg2
= (int) 0 ;
7055 PyObject
* obj0
= 0 ;
7056 PyObject
* obj1
= 0 ;
7058 (char *) "self",(char *) "number", NULL
7061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
7062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7063 if (SWIG_arg_fail(1)) SWIG_fail
;
7066 arg2
= (int)(SWIG_As_int(obj1
));
7067 if (SWIG_arg_fail(2)) SWIG_fail
;
7071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7072 (arg1
)->PopStatusText(arg2
);
7074 wxPyEndAllowThreads(__tstate
);
7075 if (PyErr_Occurred()) SWIG_fail
;
7077 Py_INCREF(Py_None
); resultobj
= Py_None
;
7084 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7085 PyObject
*resultobj
;
7086 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7088 int *arg3
= (int *) 0 ;
7089 PyObject
* obj0
= 0 ;
7090 PyObject
* obj1
= 0 ;
7092 (char *) "self",(char *) "widths", NULL
7095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
7096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7097 if (SWIG_arg_fail(1)) SWIG_fail
;
7099 arg2
= PyList_Size(obj1
);
7100 arg3
= int_LIST_helper(obj1
);
7101 if (arg3
== NULL
) SWIG_fail
;
7104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7105 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
7107 wxPyEndAllowThreads(__tstate
);
7108 if (PyErr_Occurred()) SWIG_fail
;
7110 Py_INCREF(Py_None
); resultobj
= Py_None
;
7112 if (arg3
) delete [] arg3
;
7117 if (arg3
) delete [] arg3
;
7123 static PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7124 PyObject
*resultobj
;
7125 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7127 int *arg3
= (int *) 0 ;
7128 PyObject
* obj0
= 0 ;
7129 PyObject
* obj1
= 0 ;
7131 (char *) "self",(char *) "styles", NULL
7134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) goto fail
;
7135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7136 if (SWIG_arg_fail(1)) SWIG_fail
;
7138 arg2
= PyList_Size(obj1
);
7139 arg3
= int_LIST_helper(obj1
);
7140 if (arg3
== NULL
) SWIG_fail
;
7143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7144 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
7146 wxPyEndAllowThreads(__tstate
);
7147 if (PyErr_Occurred()) SWIG_fail
;
7149 Py_INCREF(Py_None
); resultobj
= Py_None
;
7151 if (arg3
) delete [] arg3
;
7156 if (arg3
) delete [] arg3
;
7162 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7163 PyObject
*resultobj
;
7164 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7167 PyObject
* obj0
= 0 ;
7168 PyObject
* obj1
= 0 ;
7170 (char *) "self",(char *) "i", NULL
7173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7175 if (SWIG_arg_fail(1)) SWIG_fail
;
7177 arg2
= (int)(SWIG_As_int(obj1
));
7178 if (SWIG_arg_fail(2)) SWIG_fail
;
7181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7182 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
7184 wxPyEndAllowThreads(__tstate
);
7185 if (PyErr_Occurred()) SWIG_fail
;
7189 resultptr
= new wxRect((wxRect
&)(result
));
7190 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7198 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7199 PyObject
*resultobj
;
7200 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7202 PyObject
* obj0
= 0 ;
7203 PyObject
* obj1
= 0 ;
7205 (char *) "self",(char *) "height", NULL
7208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
7209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7210 if (SWIG_arg_fail(1)) SWIG_fail
;
7212 arg2
= (int)(SWIG_As_int(obj1
));
7213 if (SWIG_arg_fail(2)) SWIG_fail
;
7216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7217 (arg1
)->SetMinHeight(arg2
);
7219 wxPyEndAllowThreads(__tstate
);
7220 if (PyErr_Occurred()) SWIG_fail
;
7222 Py_INCREF(Py_None
); resultobj
= Py_None
;
7229 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7230 PyObject
*resultobj
;
7231 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7233 PyObject
* obj0
= 0 ;
7235 (char *) "self", NULL
7238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
7239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7240 if (SWIG_arg_fail(1)) SWIG_fail
;
7242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7243 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
7245 wxPyEndAllowThreads(__tstate
);
7246 if (PyErr_Occurred()) SWIG_fail
;
7249 resultobj
= SWIG_From_int((int)(result
));
7257 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7258 PyObject
*resultobj
;
7259 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7261 PyObject
* obj0
= 0 ;
7263 (char *) "self", NULL
7266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
7267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7268 if (SWIG_arg_fail(1)) SWIG_fail
;
7270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7271 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
7273 wxPyEndAllowThreads(__tstate
);
7274 if (PyErr_Occurred()) SWIG_fail
;
7277 resultobj
= SWIG_From_int((int)(result
));
7285 static PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7286 PyObject
*resultobj
;
7287 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7288 wxVisualAttributes result
;
7289 PyObject
* obj0
= 0 ;
7291 (char *) "variant", NULL
7294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
7297 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
7298 if (SWIG_arg_fail(1)) SWIG_fail
;
7302 if (!wxPyCheckForApp()) SWIG_fail
;
7303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7304 result
= wxStatusBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
7306 wxPyEndAllowThreads(__tstate
);
7307 if (PyErr_Occurred()) SWIG_fail
;
7310 wxVisualAttributes
* resultptr
;
7311 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
7312 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
7320 static PyObject
* StatusBar_swigregister(PyObject
*, PyObject
*args
) {
7322 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7323 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
7325 return Py_BuildValue((char *)"");
7327 static int _wrap_SplitterNameStr_set(PyObject
*) {
7328 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
7333 static PyObject
*_wrap_SplitterNameStr_get(void) {
7338 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
7340 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
7347 static PyObject
*_wrap_new_SplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7348 PyObject
*resultobj
;
7349 wxWindow
*arg1
= (wxWindow
*) 0 ;
7350 int arg2
= (int) -1 ;
7351 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7352 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7353 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7354 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7355 long arg5
= (long) wxSP_3D
;
7356 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
7357 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7358 wxSplitterWindow
*result
;
7361 bool temp6
= false ;
7362 PyObject
* obj0
= 0 ;
7363 PyObject
* obj1
= 0 ;
7364 PyObject
* obj2
= 0 ;
7365 PyObject
* obj3
= 0 ;
7366 PyObject
* obj4
= 0 ;
7367 PyObject
* obj5
= 0 ;
7369 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7374 if (SWIG_arg_fail(1)) SWIG_fail
;
7377 arg2
= (int)(SWIG_As_int(obj1
));
7378 if (SWIG_arg_fail(2)) SWIG_fail
;
7384 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7390 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7395 arg5
= (long)(SWIG_As_long(obj4
));
7396 if (SWIG_arg_fail(5)) SWIG_fail
;
7401 arg6
= wxString_in_helper(obj5
);
7402 if (arg6
== NULL
) SWIG_fail
;
7407 if (!wxPyCheckForApp()) SWIG_fail
;
7408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7409 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7411 wxPyEndAllowThreads(__tstate
);
7412 if (PyErr_Occurred()) SWIG_fail
;
7414 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
7429 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7430 PyObject
*resultobj
;
7431 wxSplitterWindow
*result
;
7436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
7438 if (!wxPyCheckForApp()) SWIG_fail
;
7439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7440 result
= (wxSplitterWindow
*)new wxSplitterWindow();
7442 wxPyEndAllowThreads(__tstate
);
7443 if (PyErr_Occurred()) SWIG_fail
;
7445 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
7452 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7453 PyObject
*resultobj
;
7454 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7455 wxWindow
*arg2
= (wxWindow
*) 0 ;
7456 int arg3
= (int) -1 ;
7457 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7458 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7459 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7460 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7461 long arg6
= (long) wxSP_3D
;
7462 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
7463 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7467 bool temp7
= false ;
7468 PyObject
* obj0
= 0 ;
7469 PyObject
* obj1
= 0 ;
7470 PyObject
* obj2
= 0 ;
7471 PyObject
* obj3
= 0 ;
7472 PyObject
* obj4
= 0 ;
7473 PyObject
* obj5
= 0 ;
7474 PyObject
* obj6
= 0 ;
7476 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7481 if (SWIG_arg_fail(1)) SWIG_fail
;
7482 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7483 if (SWIG_arg_fail(2)) SWIG_fail
;
7486 arg3
= (int)(SWIG_As_int(obj2
));
7487 if (SWIG_arg_fail(3)) SWIG_fail
;
7493 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7499 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7504 arg6
= (long)(SWIG_As_long(obj5
));
7505 if (SWIG_arg_fail(6)) SWIG_fail
;
7510 arg7
= wxString_in_helper(obj6
);
7511 if (arg7
== NULL
) SWIG_fail
;
7516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7517 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7519 wxPyEndAllowThreads(__tstate
);
7520 if (PyErr_Occurred()) SWIG_fail
;
7523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7539 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7540 PyObject
*resultobj
;
7541 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7543 PyObject
* obj0
= 0 ;
7545 (char *) "self", NULL
7548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
7549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7550 if (SWIG_arg_fail(1)) SWIG_fail
;
7552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7553 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
7555 wxPyEndAllowThreads(__tstate
);
7556 if (PyErr_Occurred()) SWIG_fail
;
7559 resultobj
= wxPyMake_wxObject(result
, 0);
7567 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7568 PyObject
*resultobj
;
7569 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7571 PyObject
* obj0
= 0 ;
7573 (char *) "self", NULL
7576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
7577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7578 if (SWIG_arg_fail(1)) SWIG_fail
;
7580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7581 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
7583 wxPyEndAllowThreads(__tstate
);
7584 if (PyErr_Occurred()) SWIG_fail
;
7587 resultobj
= wxPyMake_wxObject(result
, 0);
7595 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7596 PyObject
*resultobj
;
7597 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7599 PyObject
* obj0
= 0 ;
7600 PyObject
* obj1
= 0 ;
7602 (char *) "self",(char *) "mode", NULL
7605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
7606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7607 if (SWIG_arg_fail(1)) SWIG_fail
;
7609 arg2
= (int)(SWIG_As_int(obj1
));
7610 if (SWIG_arg_fail(2)) SWIG_fail
;
7613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7614 (arg1
)->SetSplitMode(arg2
);
7616 wxPyEndAllowThreads(__tstate
);
7617 if (PyErr_Occurred()) SWIG_fail
;
7619 Py_INCREF(Py_None
); resultobj
= Py_None
;
7626 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7627 PyObject
*resultobj
;
7628 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7630 PyObject
* obj0
= 0 ;
7632 (char *) "self", NULL
7635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
7636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7637 if (SWIG_arg_fail(1)) SWIG_fail
;
7639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7640 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
7642 wxPyEndAllowThreads(__tstate
);
7643 if (PyErr_Occurred()) SWIG_fail
;
7645 resultobj
= SWIG_From_int((result
));
7652 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7653 PyObject
*resultobj
;
7654 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7655 wxWindow
*arg2
= (wxWindow
*) 0 ;
7656 PyObject
* obj0
= 0 ;
7657 PyObject
* obj1
= 0 ;
7659 (char *) "self",(char *) "window", NULL
7662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
7663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7664 if (SWIG_arg_fail(1)) SWIG_fail
;
7665 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7666 if (SWIG_arg_fail(2)) SWIG_fail
;
7668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7669 (arg1
)->Initialize(arg2
);
7671 wxPyEndAllowThreads(__tstate
);
7672 if (PyErr_Occurred()) SWIG_fail
;
7674 Py_INCREF(Py_None
); resultobj
= Py_None
;
7681 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7682 PyObject
*resultobj
;
7683 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7684 wxWindow
*arg2
= (wxWindow
*) 0 ;
7685 wxWindow
*arg3
= (wxWindow
*) 0 ;
7686 int arg4
= (int) 0 ;
7688 PyObject
* obj0
= 0 ;
7689 PyObject
* obj1
= 0 ;
7690 PyObject
* obj2
= 0 ;
7691 PyObject
* obj3
= 0 ;
7693 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7698 if (SWIG_arg_fail(1)) SWIG_fail
;
7699 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7700 if (SWIG_arg_fail(2)) SWIG_fail
;
7701 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7702 if (SWIG_arg_fail(3)) SWIG_fail
;
7705 arg4
= (int)(SWIG_As_int(obj3
));
7706 if (SWIG_arg_fail(4)) SWIG_fail
;
7710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7711 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
7713 wxPyEndAllowThreads(__tstate
);
7714 if (PyErr_Occurred()) SWIG_fail
;
7717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7725 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7726 PyObject
*resultobj
;
7727 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7728 wxWindow
*arg2
= (wxWindow
*) 0 ;
7729 wxWindow
*arg3
= (wxWindow
*) 0 ;
7730 int arg4
= (int) 0 ;
7732 PyObject
* obj0
= 0 ;
7733 PyObject
* obj1
= 0 ;
7734 PyObject
* obj2
= 0 ;
7735 PyObject
* obj3
= 0 ;
7737 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7742 if (SWIG_arg_fail(1)) SWIG_fail
;
7743 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7744 if (SWIG_arg_fail(2)) SWIG_fail
;
7745 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7746 if (SWIG_arg_fail(3)) SWIG_fail
;
7749 arg4
= (int)(SWIG_As_int(obj3
));
7750 if (SWIG_arg_fail(4)) SWIG_fail
;
7754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7755 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
7757 wxPyEndAllowThreads(__tstate
);
7758 if (PyErr_Occurred()) SWIG_fail
;
7761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7769 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7770 PyObject
*resultobj
;
7771 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7772 wxWindow
*arg2
= (wxWindow
*) NULL
;
7774 PyObject
* obj0
= 0 ;
7775 PyObject
* obj1
= 0 ;
7777 (char *) "self",(char *) "toRemove", NULL
7780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
7781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7782 if (SWIG_arg_fail(1)) SWIG_fail
;
7784 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7785 if (SWIG_arg_fail(2)) SWIG_fail
;
7788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7789 result
= (bool)(arg1
)->Unsplit(arg2
);
7791 wxPyEndAllowThreads(__tstate
);
7792 if (PyErr_Occurred()) SWIG_fail
;
7795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7803 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7804 PyObject
*resultobj
;
7805 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7806 wxWindow
*arg2
= (wxWindow
*) 0 ;
7807 wxWindow
*arg3
= (wxWindow
*) 0 ;
7809 PyObject
* obj0
= 0 ;
7810 PyObject
* obj1
= 0 ;
7811 PyObject
* obj2
= 0 ;
7813 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
7816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7818 if (SWIG_arg_fail(1)) SWIG_fail
;
7819 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7820 if (SWIG_arg_fail(2)) SWIG_fail
;
7821 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7822 if (SWIG_arg_fail(3)) SWIG_fail
;
7824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7825 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
7827 wxPyEndAllowThreads(__tstate
);
7828 if (PyErr_Occurred()) SWIG_fail
;
7831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7839 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7840 PyObject
*resultobj
;
7841 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7842 PyObject
* obj0
= 0 ;
7844 (char *) "self", NULL
7847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
7848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7849 if (SWIG_arg_fail(1)) SWIG_fail
;
7851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7852 (arg1
)->UpdateSize();
7854 wxPyEndAllowThreads(__tstate
);
7855 if (PyErr_Occurred()) SWIG_fail
;
7857 Py_INCREF(Py_None
); resultobj
= Py_None
;
7864 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7865 PyObject
*resultobj
;
7866 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7868 PyObject
* obj0
= 0 ;
7870 (char *) "self", NULL
7873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
7874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7875 if (SWIG_arg_fail(1)) SWIG_fail
;
7877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7878 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
7880 wxPyEndAllowThreads(__tstate
);
7881 if (PyErr_Occurred()) SWIG_fail
;
7884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7892 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7893 PyObject
*resultobj
;
7894 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7896 PyObject
* obj0
= 0 ;
7897 PyObject
* obj1
= 0 ;
7899 (char *) "self",(char *) "width", NULL
7902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7904 if (SWIG_arg_fail(1)) SWIG_fail
;
7906 arg2
= (int)(SWIG_As_int(obj1
));
7907 if (SWIG_arg_fail(2)) SWIG_fail
;
7910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7911 (arg1
)->SetSashSize(arg2
);
7913 wxPyEndAllowThreads(__tstate
);
7914 if (PyErr_Occurred()) SWIG_fail
;
7916 Py_INCREF(Py_None
); resultobj
= Py_None
;
7923 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7924 PyObject
*resultobj
;
7925 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7927 PyObject
* obj0
= 0 ;
7928 PyObject
* obj1
= 0 ;
7930 (char *) "self",(char *) "width", NULL
7933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7935 if (SWIG_arg_fail(1)) SWIG_fail
;
7937 arg2
= (int)(SWIG_As_int(obj1
));
7938 if (SWIG_arg_fail(2)) SWIG_fail
;
7941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7942 (arg1
)->SetBorderSize(arg2
);
7944 wxPyEndAllowThreads(__tstate
);
7945 if (PyErr_Occurred()) SWIG_fail
;
7947 Py_INCREF(Py_None
); resultobj
= Py_None
;
7954 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7955 PyObject
*resultobj
;
7956 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7958 PyObject
* obj0
= 0 ;
7960 (char *) "self", NULL
7963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
7964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7965 if (SWIG_arg_fail(1)) SWIG_fail
;
7967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7968 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
7970 wxPyEndAllowThreads(__tstate
);
7971 if (PyErr_Occurred()) SWIG_fail
;
7974 resultobj
= SWIG_From_int((int)(result
));
7982 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7983 PyObject
*resultobj
;
7984 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7986 PyObject
* obj0
= 0 ;
7988 (char *) "self", NULL
7991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
7992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7993 if (SWIG_arg_fail(1)) SWIG_fail
;
7995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7996 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
7998 wxPyEndAllowThreads(__tstate
);
7999 if (PyErr_Occurred()) SWIG_fail
;
8002 resultobj
= SWIG_From_int((int)(result
));
8010 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8011 PyObject
*resultobj
;
8012 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8014 bool arg3
= (bool) true ;
8015 PyObject
* obj0
= 0 ;
8016 PyObject
* obj1
= 0 ;
8017 PyObject
* obj2
= 0 ;
8019 (char *) "self",(char *) "position",(char *) "redraw", NULL
8022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8024 if (SWIG_arg_fail(1)) SWIG_fail
;
8026 arg2
= (int)(SWIG_As_int(obj1
));
8027 if (SWIG_arg_fail(2)) SWIG_fail
;
8031 arg3
= (bool)(SWIG_As_bool(obj2
));
8032 if (SWIG_arg_fail(3)) SWIG_fail
;
8036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8037 (arg1
)->SetSashPosition(arg2
,arg3
);
8039 wxPyEndAllowThreads(__tstate
);
8040 if (PyErr_Occurred()) SWIG_fail
;
8042 Py_INCREF(Py_None
); resultobj
= Py_None
;
8049 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8050 PyObject
*resultobj
;
8051 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8053 PyObject
* obj0
= 0 ;
8055 (char *) "self", NULL
8058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
8059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8060 if (SWIG_arg_fail(1)) SWIG_fail
;
8062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8063 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
8065 wxPyEndAllowThreads(__tstate
);
8066 if (PyErr_Occurred()) SWIG_fail
;
8069 resultobj
= SWIG_From_int((int)(result
));
8077 static PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8078 PyObject
*resultobj
;
8079 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8081 PyObject
* obj0
= 0 ;
8082 PyObject
* obj1
= 0 ;
8084 (char *) "self",(char *) "gravity", NULL
8087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) goto fail
;
8088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8089 if (SWIG_arg_fail(1)) SWIG_fail
;
8091 arg2
= (double)(SWIG_As_double(obj1
));
8092 if (SWIG_arg_fail(2)) SWIG_fail
;
8095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8096 (arg1
)->SetSashGravity(arg2
);
8098 wxPyEndAllowThreads(__tstate
);
8099 if (PyErr_Occurred()) SWIG_fail
;
8101 Py_INCREF(Py_None
); resultobj
= Py_None
;
8108 static PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8109 PyObject
*resultobj
;
8110 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8112 PyObject
* obj0
= 0 ;
8114 (char *) "self", NULL
8117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashGravity",kwnames
,&obj0
)) goto fail
;
8118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8119 if (SWIG_arg_fail(1)) SWIG_fail
;
8121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8122 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
8124 wxPyEndAllowThreads(__tstate
);
8125 if (PyErr_Occurred()) SWIG_fail
;
8128 resultobj
= SWIG_From_double((double)(result
));
8136 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8137 PyObject
*resultobj
;
8138 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8140 PyObject
* obj0
= 0 ;
8141 PyObject
* obj1
= 0 ;
8143 (char *) "self",(char *) "min", NULL
8146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8148 if (SWIG_arg_fail(1)) SWIG_fail
;
8150 arg2
= (int)(SWIG_As_int(obj1
));
8151 if (SWIG_arg_fail(2)) SWIG_fail
;
8154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8155 (arg1
)->SetMinimumPaneSize(arg2
);
8157 wxPyEndAllowThreads(__tstate
);
8158 if (PyErr_Occurred()) SWIG_fail
;
8160 Py_INCREF(Py_None
); resultobj
= Py_None
;
8167 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8168 PyObject
*resultobj
;
8169 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8171 PyObject
* obj0
= 0 ;
8173 (char *) "self", NULL
8176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
8177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8178 if (SWIG_arg_fail(1)) SWIG_fail
;
8180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8181 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
8183 wxPyEndAllowThreads(__tstate
);
8184 if (PyErr_Occurred()) SWIG_fail
;
8187 resultobj
= SWIG_From_int((int)(result
));
8195 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8196 PyObject
*resultobj
;
8197 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8200 int arg4
= (int) 5 ;
8202 PyObject
* obj0
= 0 ;
8203 PyObject
* obj1
= 0 ;
8204 PyObject
* obj2
= 0 ;
8205 PyObject
* obj3
= 0 ;
8207 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
8210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8212 if (SWIG_arg_fail(1)) SWIG_fail
;
8214 arg2
= (int)(SWIG_As_int(obj1
));
8215 if (SWIG_arg_fail(2)) SWIG_fail
;
8218 arg3
= (int)(SWIG_As_int(obj2
));
8219 if (SWIG_arg_fail(3)) SWIG_fail
;
8223 arg4
= (int)(SWIG_As_int(obj3
));
8224 if (SWIG_arg_fail(4)) SWIG_fail
;
8228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8229 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
8231 wxPyEndAllowThreads(__tstate
);
8232 if (PyErr_Occurred()) SWIG_fail
;
8235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8243 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8244 PyObject
*resultobj
;
8245 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8246 PyObject
* obj0
= 0 ;
8248 (char *) "self", NULL
8251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
8252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8253 if (SWIG_arg_fail(1)) SWIG_fail
;
8255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8256 (arg1
)->SizeWindows();
8258 wxPyEndAllowThreads(__tstate
);
8259 if (PyErr_Occurred()) SWIG_fail
;
8261 Py_INCREF(Py_None
); resultobj
= Py_None
;
8268 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8269 PyObject
*resultobj
;
8270 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8272 PyObject
* obj0
= 0 ;
8273 PyObject
* obj1
= 0 ;
8275 (char *) "self",(char *) "needUpdating", NULL
8278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
8279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8280 if (SWIG_arg_fail(1)) SWIG_fail
;
8282 arg2
= (bool)(SWIG_As_bool(obj1
));
8283 if (SWIG_arg_fail(2)) SWIG_fail
;
8286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8287 (arg1
)->SetNeedUpdating(arg2
);
8289 wxPyEndAllowThreads(__tstate
);
8290 if (PyErr_Occurred()) SWIG_fail
;
8292 Py_INCREF(Py_None
); resultobj
= Py_None
;
8299 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8300 PyObject
*resultobj
;
8301 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8303 PyObject
* obj0
= 0 ;
8305 (char *) "self", NULL
8308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
8309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8310 if (SWIG_arg_fail(1)) SWIG_fail
;
8312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8313 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
8315 wxPyEndAllowThreads(__tstate
);
8316 if (PyErr_Occurred()) SWIG_fail
;
8319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8327 static PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8328 PyObject
*resultobj
;
8329 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8330 wxVisualAttributes result
;
8331 PyObject
* obj0
= 0 ;
8333 (char *) "variant", NULL
8336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
8339 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
8340 if (SWIG_arg_fail(1)) SWIG_fail
;
8344 if (!wxPyCheckForApp()) SWIG_fail
;
8345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8346 result
= wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
8348 wxPyEndAllowThreads(__tstate
);
8349 if (PyErr_Occurred()) SWIG_fail
;
8352 wxVisualAttributes
* resultptr
;
8353 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
8354 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
8362 static PyObject
* SplitterWindow_swigregister(PyObject
*, PyObject
*args
) {
8364 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8365 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
8367 return Py_BuildValue((char *)"");
8369 static PyObject
*_wrap_new_SplitterEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8370 PyObject
*resultobj
;
8371 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
8372 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
8373 wxSplitterEvent
*result
;
8374 PyObject
* obj0
= 0 ;
8375 PyObject
* obj1
= 0 ;
8377 (char *) "type",(char *) "splitter", NULL
8380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
8383 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
8384 if (SWIG_arg_fail(1)) SWIG_fail
;
8388 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8389 if (SWIG_arg_fail(2)) SWIG_fail
;
8392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8393 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
8395 wxPyEndAllowThreads(__tstate
);
8396 if (PyErr_Occurred()) SWIG_fail
;
8398 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
8405 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8406 PyObject
*resultobj
;
8407 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8409 PyObject
* obj0
= 0 ;
8410 PyObject
* obj1
= 0 ;
8412 (char *) "self",(char *) "pos", NULL
8415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
8416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8417 if (SWIG_arg_fail(1)) SWIG_fail
;
8419 arg2
= (int)(SWIG_As_int(obj1
));
8420 if (SWIG_arg_fail(2)) SWIG_fail
;
8423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8424 (arg1
)->SetSashPosition(arg2
);
8426 wxPyEndAllowThreads(__tstate
);
8427 if (PyErr_Occurred()) SWIG_fail
;
8429 Py_INCREF(Py_None
); resultobj
= Py_None
;
8436 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8437 PyObject
*resultobj
;
8438 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8440 PyObject
* obj0
= 0 ;
8442 (char *) "self", NULL
8445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
8446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8447 if (SWIG_arg_fail(1)) SWIG_fail
;
8449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8450 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
8452 wxPyEndAllowThreads(__tstate
);
8453 if (PyErr_Occurred()) SWIG_fail
;
8456 resultobj
= SWIG_From_int((int)(result
));
8464 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8465 PyObject
*resultobj
;
8466 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8468 PyObject
* obj0
= 0 ;
8470 (char *) "self", NULL
8473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
8474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8475 if (SWIG_arg_fail(1)) SWIG_fail
;
8477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8478 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
8480 wxPyEndAllowThreads(__tstate
);
8481 if (PyErr_Occurred()) SWIG_fail
;
8484 resultobj
= wxPyMake_wxObject(result
, 0);
8492 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8493 PyObject
*resultobj
;
8494 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8496 PyObject
* obj0
= 0 ;
8498 (char *) "self", NULL
8501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
8502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8503 if (SWIG_arg_fail(1)) SWIG_fail
;
8505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8506 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
8508 wxPyEndAllowThreads(__tstate
);
8509 if (PyErr_Occurred()) SWIG_fail
;
8512 resultobj
= SWIG_From_int((int)(result
));
8520 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8521 PyObject
*resultobj
;
8522 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8524 PyObject
* obj0
= 0 ;
8526 (char *) "self", NULL
8529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
8530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8531 if (SWIG_arg_fail(1)) SWIG_fail
;
8533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8534 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
8536 wxPyEndAllowThreads(__tstate
);
8537 if (PyErr_Occurred()) SWIG_fail
;
8540 resultobj
= SWIG_From_int((int)(result
));
8548 static PyObject
* SplitterEvent_swigregister(PyObject
*, PyObject
*args
) {
8550 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8551 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
8553 return Py_BuildValue((char *)"");
8555 static int _wrap_SashNameStr_set(PyObject
*) {
8556 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
8561 static PyObject
*_wrap_SashNameStr_get(void) {
8566 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
8568 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
8575 static int _wrap_SashLayoutNameStr_set(PyObject
*) {
8576 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
8581 static PyObject
*_wrap_SashLayoutNameStr_get(void) {
8586 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
8588 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
8595 static PyObject
*_wrap_new_SashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8596 PyObject
*resultobj
;
8597 wxWindow
*arg1
= (wxWindow
*) 0 ;
8598 int arg2
= (int) -1 ;
8599 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8600 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8601 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8602 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8603 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8604 wxString
const &arg6_defvalue
= wxPySashNameStr
;
8605 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8606 wxSashWindow
*result
;
8609 bool temp6
= false ;
8610 PyObject
* obj0
= 0 ;
8611 PyObject
* obj1
= 0 ;
8612 PyObject
* obj2
= 0 ;
8613 PyObject
* obj3
= 0 ;
8614 PyObject
* obj4
= 0 ;
8615 PyObject
* obj5
= 0 ;
8617 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8622 if (SWIG_arg_fail(1)) SWIG_fail
;
8625 arg2
= (int)(SWIG_As_int(obj1
));
8626 if (SWIG_arg_fail(2)) SWIG_fail
;
8632 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8638 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8643 arg5
= (long)(SWIG_As_long(obj4
));
8644 if (SWIG_arg_fail(5)) SWIG_fail
;
8649 arg6
= wxString_in_helper(obj5
);
8650 if (arg6
== NULL
) SWIG_fail
;
8655 if (!wxPyCheckForApp()) SWIG_fail
;
8656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8657 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8659 wxPyEndAllowThreads(__tstate
);
8660 if (PyErr_Occurred()) SWIG_fail
;
8662 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
8677 static PyObject
*_wrap_new_PreSashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8678 PyObject
*resultobj
;
8679 wxSashWindow
*result
;
8684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
8686 if (!wxPyCheckForApp()) SWIG_fail
;
8687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8688 result
= (wxSashWindow
*)new wxSashWindow();
8690 wxPyEndAllowThreads(__tstate
);
8691 if (PyErr_Occurred()) SWIG_fail
;
8693 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
8700 static PyObject
*_wrap_SashWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8701 PyObject
*resultobj
;
8702 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8703 wxWindow
*arg2
= (wxWindow
*) 0 ;
8704 int arg3
= (int) -1 ;
8705 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8706 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8707 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8708 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8709 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8710 wxString
const &arg7_defvalue
= wxPySashNameStr
;
8711 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8715 bool temp7
= false ;
8716 PyObject
* obj0
= 0 ;
8717 PyObject
* obj1
= 0 ;
8718 PyObject
* obj2
= 0 ;
8719 PyObject
* obj3
= 0 ;
8720 PyObject
* obj4
= 0 ;
8721 PyObject
* obj5
= 0 ;
8722 PyObject
* obj6
= 0 ;
8724 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8729 if (SWIG_arg_fail(1)) SWIG_fail
;
8730 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8731 if (SWIG_arg_fail(2)) SWIG_fail
;
8734 arg3
= (int)(SWIG_As_int(obj2
));
8735 if (SWIG_arg_fail(3)) SWIG_fail
;
8741 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8747 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8752 arg6
= (long)(SWIG_As_long(obj5
));
8753 if (SWIG_arg_fail(6)) SWIG_fail
;
8758 arg7
= wxString_in_helper(obj6
);
8759 if (arg7
== NULL
) SWIG_fail
;
8764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8765 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8767 wxPyEndAllowThreads(__tstate
);
8768 if (PyErr_Occurred()) SWIG_fail
;
8771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8787 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8788 PyObject
*resultobj
;
8789 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8790 wxSashEdgePosition arg2
;
8792 PyObject
* obj0
= 0 ;
8793 PyObject
* obj1
= 0 ;
8794 PyObject
* obj2
= 0 ;
8796 (char *) "self",(char *) "edge",(char *) "sash", NULL
8799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8801 if (SWIG_arg_fail(1)) SWIG_fail
;
8803 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8804 if (SWIG_arg_fail(2)) SWIG_fail
;
8807 arg3
= (bool)(SWIG_As_bool(obj2
));
8808 if (SWIG_arg_fail(3)) SWIG_fail
;
8811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8812 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
8814 wxPyEndAllowThreads(__tstate
);
8815 if (PyErr_Occurred()) SWIG_fail
;
8817 Py_INCREF(Py_None
); resultobj
= Py_None
;
8824 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8825 PyObject
*resultobj
;
8826 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8827 wxSashEdgePosition arg2
;
8829 PyObject
* obj0
= 0 ;
8830 PyObject
* obj1
= 0 ;
8832 (char *) "self",(char *) "edge", NULL
8835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
8836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8837 if (SWIG_arg_fail(1)) SWIG_fail
;
8839 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8840 if (SWIG_arg_fail(2)) SWIG_fail
;
8843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8844 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
8846 wxPyEndAllowThreads(__tstate
);
8847 if (PyErr_Occurred()) SWIG_fail
;
8850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8858 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8859 PyObject
*resultobj
;
8860 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8861 wxSashEdgePosition arg2
;
8863 PyObject
* obj0
= 0 ;
8864 PyObject
* obj1
= 0 ;
8865 PyObject
* obj2
= 0 ;
8867 (char *) "self",(char *) "edge",(char *) "border", NULL
8870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8872 if (SWIG_arg_fail(1)) SWIG_fail
;
8874 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8875 if (SWIG_arg_fail(2)) SWIG_fail
;
8878 arg3
= (bool)(SWIG_As_bool(obj2
));
8879 if (SWIG_arg_fail(3)) SWIG_fail
;
8882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8883 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
8885 wxPyEndAllowThreads(__tstate
);
8886 if (PyErr_Occurred()) SWIG_fail
;
8888 Py_INCREF(Py_None
); resultobj
= Py_None
;
8895 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8896 PyObject
*resultobj
;
8897 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8898 wxSashEdgePosition arg2
;
8900 PyObject
* obj0
= 0 ;
8901 PyObject
* obj1
= 0 ;
8903 (char *) "self",(char *) "edge", NULL
8906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
8907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8908 if (SWIG_arg_fail(1)) SWIG_fail
;
8910 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8911 if (SWIG_arg_fail(2)) SWIG_fail
;
8914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8915 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
8917 wxPyEndAllowThreads(__tstate
);
8918 if (PyErr_Occurred()) SWIG_fail
;
8921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8929 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8930 PyObject
*resultobj
;
8931 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8932 wxSashEdgePosition arg2
;
8934 PyObject
* obj0
= 0 ;
8935 PyObject
* obj1
= 0 ;
8937 (char *) "self",(char *) "edge", NULL
8940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
8941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8942 if (SWIG_arg_fail(1)) SWIG_fail
;
8944 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8945 if (SWIG_arg_fail(2)) SWIG_fail
;
8948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8949 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
8951 wxPyEndAllowThreads(__tstate
);
8952 if (PyErr_Occurred()) SWIG_fail
;
8955 resultobj
= SWIG_From_int((int)(result
));
8963 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8964 PyObject
*resultobj
;
8965 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8967 PyObject
* obj0
= 0 ;
8968 PyObject
* obj1
= 0 ;
8970 (char *) "self",(char *) "width", NULL
8973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8975 if (SWIG_arg_fail(1)) SWIG_fail
;
8977 arg2
= (int)(SWIG_As_int(obj1
));
8978 if (SWIG_arg_fail(2)) SWIG_fail
;
8981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8982 (arg1
)->SetDefaultBorderSize(arg2
);
8984 wxPyEndAllowThreads(__tstate
);
8985 if (PyErr_Occurred()) SWIG_fail
;
8987 Py_INCREF(Py_None
); resultobj
= Py_None
;
8994 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8995 PyObject
*resultobj
;
8996 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8998 PyObject
* obj0
= 0 ;
9000 (char *) "self", NULL
9003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
9004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9005 if (SWIG_arg_fail(1)) SWIG_fail
;
9007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9008 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
9010 wxPyEndAllowThreads(__tstate
);
9011 if (PyErr_Occurred()) SWIG_fail
;
9014 resultobj
= SWIG_From_int((int)(result
));
9022 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9023 PyObject
*resultobj
;
9024 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9026 PyObject
* obj0
= 0 ;
9027 PyObject
* obj1
= 0 ;
9029 (char *) "self",(char *) "width", NULL
9032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9034 if (SWIG_arg_fail(1)) SWIG_fail
;
9036 arg2
= (int)(SWIG_As_int(obj1
));
9037 if (SWIG_arg_fail(2)) SWIG_fail
;
9040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9041 (arg1
)->SetExtraBorderSize(arg2
);
9043 wxPyEndAllowThreads(__tstate
);
9044 if (PyErr_Occurred()) SWIG_fail
;
9046 Py_INCREF(Py_None
); resultobj
= Py_None
;
9053 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9054 PyObject
*resultobj
;
9055 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9057 PyObject
* obj0
= 0 ;
9059 (char *) "self", NULL
9062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
9063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9064 if (SWIG_arg_fail(1)) SWIG_fail
;
9066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9067 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
9069 wxPyEndAllowThreads(__tstate
);
9070 if (PyErr_Occurred()) SWIG_fail
;
9073 resultobj
= SWIG_From_int((int)(result
));
9081 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9082 PyObject
*resultobj
;
9083 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9085 PyObject
* obj0
= 0 ;
9086 PyObject
* obj1
= 0 ;
9088 (char *) "self",(char *) "min", NULL
9091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
9092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9093 if (SWIG_arg_fail(1)) SWIG_fail
;
9095 arg2
= (int)(SWIG_As_int(obj1
));
9096 if (SWIG_arg_fail(2)) SWIG_fail
;
9099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9100 (arg1
)->SetMinimumSizeX(arg2
);
9102 wxPyEndAllowThreads(__tstate
);
9103 if (PyErr_Occurred()) SWIG_fail
;
9105 Py_INCREF(Py_None
); resultobj
= Py_None
;
9112 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9113 PyObject
*resultobj
;
9114 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9116 PyObject
* obj0
= 0 ;
9117 PyObject
* obj1
= 0 ;
9119 (char *) "self",(char *) "min", NULL
9122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
9123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9124 if (SWIG_arg_fail(1)) SWIG_fail
;
9126 arg2
= (int)(SWIG_As_int(obj1
));
9127 if (SWIG_arg_fail(2)) SWIG_fail
;
9130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9131 (arg1
)->SetMinimumSizeY(arg2
);
9133 wxPyEndAllowThreads(__tstate
);
9134 if (PyErr_Occurred()) SWIG_fail
;
9136 Py_INCREF(Py_None
); resultobj
= Py_None
;
9143 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9144 PyObject
*resultobj
;
9145 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9147 PyObject
* obj0
= 0 ;
9149 (char *) "self", NULL
9152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
9153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9154 if (SWIG_arg_fail(1)) SWIG_fail
;
9156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9157 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
9159 wxPyEndAllowThreads(__tstate
);
9160 if (PyErr_Occurred()) SWIG_fail
;
9163 resultobj
= SWIG_From_int((int)(result
));
9171 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9172 PyObject
*resultobj
;
9173 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9175 PyObject
* obj0
= 0 ;
9177 (char *) "self", NULL
9180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
9181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9182 if (SWIG_arg_fail(1)) SWIG_fail
;
9184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9185 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
9187 wxPyEndAllowThreads(__tstate
);
9188 if (PyErr_Occurred()) SWIG_fail
;
9191 resultobj
= SWIG_From_int((int)(result
));
9199 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9200 PyObject
*resultobj
;
9201 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9203 PyObject
* obj0
= 0 ;
9204 PyObject
* obj1
= 0 ;
9206 (char *) "self",(char *) "max", NULL
9209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
9210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9211 if (SWIG_arg_fail(1)) SWIG_fail
;
9213 arg2
= (int)(SWIG_As_int(obj1
));
9214 if (SWIG_arg_fail(2)) SWIG_fail
;
9217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9218 (arg1
)->SetMaximumSizeX(arg2
);
9220 wxPyEndAllowThreads(__tstate
);
9221 if (PyErr_Occurred()) SWIG_fail
;
9223 Py_INCREF(Py_None
); resultobj
= Py_None
;
9230 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9231 PyObject
*resultobj
;
9232 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9234 PyObject
* obj0
= 0 ;
9235 PyObject
* obj1
= 0 ;
9237 (char *) "self",(char *) "max", NULL
9240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
9241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9242 if (SWIG_arg_fail(1)) SWIG_fail
;
9244 arg2
= (int)(SWIG_As_int(obj1
));
9245 if (SWIG_arg_fail(2)) SWIG_fail
;
9248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9249 (arg1
)->SetMaximumSizeY(arg2
);
9251 wxPyEndAllowThreads(__tstate
);
9252 if (PyErr_Occurred()) SWIG_fail
;
9254 Py_INCREF(Py_None
); resultobj
= Py_None
;
9261 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9262 PyObject
*resultobj
;
9263 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9265 PyObject
* obj0
= 0 ;
9267 (char *) "self", NULL
9270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
9271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9272 if (SWIG_arg_fail(1)) SWIG_fail
;
9274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9275 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
9277 wxPyEndAllowThreads(__tstate
);
9278 if (PyErr_Occurred()) SWIG_fail
;
9281 resultobj
= SWIG_From_int((int)(result
));
9289 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9290 PyObject
*resultobj
;
9291 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9293 PyObject
* obj0
= 0 ;
9295 (char *) "self", NULL
9298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
9299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9300 if (SWIG_arg_fail(1)) SWIG_fail
;
9302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9303 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
9305 wxPyEndAllowThreads(__tstate
);
9306 if (PyErr_Occurred()) SWIG_fail
;
9309 resultobj
= SWIG_From_int((int)(result
));
9317 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9318 PyObject
*resultobj
;
9319 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9322 int arg4
= (int) 2 ;
9323 wxSashEdgePosition result
;
9324 PyObject
* obj0
= 0 ;
9325 PyObject
* obj1
= 0 ;
9326 PyObject
* obj2
= 0 ;
9327 PyObject
* obj3
= 0 ;
9329 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
9332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9334 if (SWIG_arg_fail(1)) SWIG_fail
;
9336 arg2
= (int)(SWIG_As_int(obj1
));
9337 if (SWIG_arg_fail(2)) SWIG_fail
;
9340 arg3
= (int)(SWIG_As_int(obj2
));
9341 if (SWIG_arg_fail(3)) SWIG_fail
;
9345 arg4
= (int)(SWIG_As_int(obj3
));
9346 if (SWIG_arg_fail(4)) SWIG_fail
;
9350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9351 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
9353 wxPyEndAllowThreads(__tstate
);
9354 if (PyErr_Occurred()) SWIG_fail
;
9356 resultobj
= SWIG_From_int((result
));
9363 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9364 PyObject
*resultobj
;
9365 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9366 PyObject
* obj0
= 0 ;
9368 (char *) "self", NULL
9371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
9372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9373 if (SWIG_arg_fail(1)) SWIG_fail
;
9375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9376 (arg1
)->SizeWindows();
9378 wxPyEndAllowThreads(__tstate
);
9379 if (PyErr_Occurred()) SWIG_fail
;
9381 Py_INCREF(Py_None
); resultobj
= Py_None
;
9388 static PyObject
* SashWindow_swigregister(PyObject
*, PyObject
*args
) {
9390 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9391 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
9393 return Py_BuildValue((char *)"");
9395 static PyObject
*_wrap_new_SashEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9396 PyObject
*resultobj
;
9397 int arg1
= (int) 0 ;
9398 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
9399 wxSashEvent
*result
;
9400 PyObject
* obj0
= 0 ;
9401 PyObject
* obj1
= 0 ;
9403 (char *) "id",(char *) "edge", NULL
9406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
9409 arg1
= (int)(SWIG_As_int(obj0
));
9410 if (SWIG_arg_fail(1)) SWIG_fail
;
9415 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
9416 if (SWIG_arg_fail(2)) SWIG_fail
;
9420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9421 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
9423 wxPyEndAllowThreads(__tstate
);
9424 if (PyErr_Occurred()) SWIG_fail
;
9426 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
9433 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9434 PyObject
*resultobj
;
9435 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9436 wxSashEdgePosition arg2
;
9437 PyObject
* obj0
= 0 ;
9438 PyObject
* obj1
= 0 ;
9440 (char *) "self",(char *) "edge", NULL
9443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
9444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9445 if (SWIG_arg_fail(1)) SWIG_fail
;
9447 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
9448 if (SWIG_arg_fail(2)) SWIG_fail
;
9451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9452 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
9454 wxPyEndAllowThreads(__tstate
);
9455 if (PyErr_Occurred()) SWIG_fail
;
9457 Py_INCREF(Py_None
); resultobj
= Py_None
;
9464 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9465 PyObject
*resultobj
;
9466 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9467 wxSashEdgePosition result
;
9468 PyObject
* obj0
= 0 ;
9470 (char *) "self", NULL
9473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
9474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9475 if (SWIG_arg_fail(1)) SWIG_fail
;
9477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9478 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
9480 wxPyEndAllowThreads(__tstate
);
9481 if (PyErr_Occurred()) SWIG_fail
;
9483 resultobj
= SWIG_From_int((result
));
9490 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9491 PyObject
*resultobj
;
9492 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9495 PyObject
* obj0
= 0 ;
9496 PyObject
* obj1
= 0 ;
9498 (char *) "self",(char *) "rect", NULL
9501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
9502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9503 if (SWIG_arg_fail(1)) SWIG_fail
;
9506 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9510 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
9512 wxPyEndAllowThreads(__tstate
);
9513 if (PyErr_Occurred()) SWIG_fail
;
9515 Py_INCREF(Py_None
); resultobj
= Py_None
;
9522 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9523 PyObject
*resultobj
;
9524 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9526 PyObject
* obj0
= 0 ;
9528 (char *) "self", NULL
9531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
9532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9533 if (SWIG_arg_fail(1)) SWIG_fail
;
9535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9536 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
9538 wxPyEndAllowThreads(__tstate
);
9539 if (PyErr_Occurred()) SWIG_fail
;
9543 resultptr
= new wxRect((wxRect
&)(result
));
9544 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
9552 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9553 PyObject
*resultobj
;
9554 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9555 wxSashDragStatus arg2
;
9556 PyObject
* obj0
= 0 ;
9557 PyObject
* obj1
= 0 ;
9559 (char *) "self",(char *) "status", NULL
9562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
9563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9564 if (SWIG_arg_fail(1)) SWIG_fail
;
9566 arg2
= (wxSashDragStatus
)(SWIG_As_int(obj1
));
9567 if (SWIG_arg_fail(2)) SWIG_fail
;
9570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9571 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
9573 wxPyEndAllowThreads(__tstate
);
9574 if (PyErr_Occurred()) SWIG_fail
;
9576 Py_INCREF(Py_None
); resultobj
= Py_None
;
9583 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9584 PyObject
*resultobj
;
9585 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9586 wxSashDragStatus result
;
9587 PyObject
* obj0
= 0 ;
9589 (char *) "self", NULL
9592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
9593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9594 if (SWIG_arg_fail(1)) SWIG_fail
;
9596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9597 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
9599 wxPyEndAllowThreads(__tstate
);
9600 if (PyErr_Occurred()) SWIG_fail
;
9602 resultobj
= SWIG_From_int((result
));
9609 static PyObject
* SashEvent_swigregister(PyObject
*, PyObject
*args
) {
9611 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9612 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
9614 return Py_BuildValue((char *)"");
9616 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9617 PyObject
*resultobj
;
9618 int arg1
= (int) 0 ;
9619 wxQueryLayoutInfoEvent
*result
;
9620 PyObject
* obj0
= 0 ;
9625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
9628 arg1
= (int)(SWIG_As_int(obj0
));
9629 if (SWIG_arg_fail(1)) SWIG_fail
;
9633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9634 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
9636 wxPyEndAllowThreads(__tstate
);
9637 if (PyErr_Occurred()) SWIG_fail
;
9639 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
9646 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9647 PyObject
*resultobj
;
9648 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9650 PyObject
* obj0
= 0 ;
9651 PyObject
* obj1
= 0 ;
9653 (char *) "self",(char *) "length", NULL
9656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
9657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9658 if (SWIG_arg_fail(1)) SWIG_fail
;
9660 arg2
= (int)(SWIG_As_int(obj1
));
9661 if (SWIG_arg_fail(2)) SWIG_fail
;
9664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9665 (arg1
)->SetRequestedLength(arg2
);
9667 wxPyEndAllowThreads(__tstate
);
9668 if (PyErr_Occurred()) SWIG_fail
;
9670 Py_INCREF(Py_None
); resultobj
= Py_None
;
9677 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9678 PyObject
*resultobj
;
9679 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9681 PyObject
* obj0
= 0 ;
9683 (char *) "self", NULL
9686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
9687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9688 if (SWIG_arg_fail(1)) SWIG_fail
;
9690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9691 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
9693 wxPyEndAllowThreads(__tstate
);
9694 if (PyErr_Occurred()) SWIG_fail
;
9697 resultobj
= SWIG_From_int((int)(result
));
9705 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9706 PyObject
*resultobj
;
9707 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9709 PyObject
* obj0
= 0 ;
9710 PyObject
* obj1
= 0 ;
9712 (char *) "self",(char *) "flags", NULL
9715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
9716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9717 if (SWIG_arg_fail(1)) SWIG_fail
;
9719 arg2
= (int)(SWIG_As_int(obj1
));
9720 if (SWIG_arg_fail(2)) SWIG_fail
;
9723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9724 (arg1
)->SetFlags(arg2
);
9726 wxPyEndAllowThreads(__tstate
);
9727 if (PyErr_Occurred()) SWIG_fail
;
9729 Py_INCREF(Py_None
); resultobj
= Py_None
;
9736 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9737 PyObject
*resultobj
;
9738 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9740 PyObject
* obj0
= 0 ;
9742 (char *) "self", NULL
9745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
9746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9747 if (SWIG_arg_fail(1)) SWIG_fail
;
9749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9750 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
9752 wxPyEndAllowThreads(__tstate
);
9753 if (PyErr_Occurred()) SWIG_fail
;
9756 resultobj
= SWIG_From_int((int)(result
));
9764 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9765 PyObject
*resultobj
;
9766 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9769 PyObject
* obj0
= 0 ;
9770 PyObject
* obj1
= 0 ;
9772 (char *) "self",(char *) "size", NULL
9775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9777 if (SWIG_arg_fail(1)) SWIG_fail
;
9780 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9784 (arg1
)->SetSize((wxSize
const &)*arg2
);
9786 wxPyEndAllowThreads(__tstate
);
9787 if (PyErr_Occurred()) SWIG_fail
;
9789 Py_INCREF(Py_None
); resultobj
= Py_None
;
9796 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9797 PyObject
*resultobj
;
9798 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9800 PyObject
* obj0
= 0 ;
9802 (char *) "self", NULL
9805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
9806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9807 if (SWIG_arg_fail(1)) SWIG_fail
;
9809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9810 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
9812 wxPyEndAllowThreads(__tstate
);
9813 if (PyErr_Occurred()) SWIG_fail
;
9817 resultptr
= new wxSize((wxSize
&)(result
));
9818 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
9826 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9827 PyObject
*resultobj
;
9828 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9829 wxLayoutOrientation arg2
;
9830 PyObject
* obj0
= 0 ;
9831 PyObject
* obj1
= 0 ;
9833 (char *) "self",(char *) "orient", NULL
9836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
9837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9838 if (SWIG_arg_fail(1)) SWIG_fail
;
9840 arg2
= (wxLayoutOrientation
)(SWIG_As_int(obj1
));
9841 if (SWIG_arg_fail(2)) SWIG_fail
;
9844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9845 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
9847 wxPyEndAllowThreads(__tstate
);
9848 if (PyErr_Occurred()) SWIG_fail
;
9850 Py_INCREF(Py_None
); resultobj
= Py_None
;
9857 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9858 PyObject
*resultobj
;
9859 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9860 wxLayoutOrientation result
;
9861 PyObject
* obj0
= 0 ;
9863 (char *) "self", NULL
9866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
9867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9868 if (SWIG_arg_fail(1)) SWIG_fail
;
9870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9871 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
9873 wxPyEndAllowThreads(__tstate
);
9874 if (PyErr_Occurred()) SWIG_fail
;
9876 resultobj
= SWIG_From_int((result
));
9883 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9884 PyObject
*resultobj
;
9885 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9886 wxLayoutAlignment arg2
;
9887 PyObject
* obj0
= 0 ;
9888 PyObject
* obj1
= 0 ;
9890 (char *) "self",(char *) "align", NULL
9893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
9894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9895 if (SWIG_arg_fail(1)) SWIG_fail
;
9897 arg2
= (wxLayoutAlignment
)(SWIG_As_int(obj1
));
9898 if (SWIG_arg_fail(2)) SWIG_fail
;
9901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9902 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
9904 wxPyEndAllowThreads(__tstate
);
9905 if (PyErr_Occurred()) SWIG_fail
;
9907 Py_INCREF(Py_None
); resultobj
= Py_None
;
9914 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9915 PyObject
*resultobj
;
9916 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9917 wxLayoutAlignment result
;
9918 PyObject
* obj0
= 0 ;
9920 (char *) "self", NULL
9923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
9924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9925 if (SWIG_arg_fail(1)) SWIG_fail
;
9927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9928 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
9930 wxPyEndAllowThreads(__tstate
);
9931 if (PyErr_Occurred()) SWIG_fail
;
9933 resultobj
= SWIG_From_int((result
));
9940 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*, PyObject
*args
) {
9942 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9943 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
9945 return Py_BuildValue((char *)"");
9947 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9948 PyObject
*resultobj
;
9949 int arg1
= (int) 0 ;
9950 wxCalculateLayoutEvent
*result
;
9951 PyObject
* obj0
= 0 ;
9956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
9959 arg1
= (int)(SWIG_As_int(obj0
));
9960 if (SWIG_arg_fail(1)) SWIG_fail
;
9964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9965 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
9967 wxPyEndAllowThreads(__tstate
);
9968 if (PyErr_Occurred()) SWIG_fail
;
9970 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
9977 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9978 PyObject
*resultobj
;
9979 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
9981 PyObject
* obj0
= 0 ;
9982 PyObject
* obj1
= 0 ;
9984 (char *) "self",(char *) "flags", NULL
9987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
9988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
9989 if (SWIG_arg_fail(1)) SWIG_fail
;
9991 arg2
= (int)(SWIG_As_int(obj1
));
9992 if (SWIG_arg_fail(2)) SWIG_fail
;
9995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9996 (arg1
)->SetFlags(arg2
);
9998 wxPyEndAllowThreads(__tstate
);
9999 if (PyErr_Occurred()) SWIG_fail
;
10001 Py_INCREF(Py_None
); resultobj
= Py_None
;
10008 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10009 PyObject
*resultobj
;
10010 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10012 PyObject
* obj0
= 0 ;
10013 char *kwnames
[] = {
10014 (char *) "self", NULL
10017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
10018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10019 if (SWIG_arg_fail(1)) SWIG_fail
;
10021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10022 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
10024 wxPyEndAllowThreads(__tstate
);
10025 if (PyErr_Occurred()) SWIG_fail
;
10028 resultobj
= SWIG_From_int((int)(result
));
10036 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10037 PyObject
*resultobj
;
10038 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10041 PyObject
* obj0
= 0 ;
10042 PyObject
* obj1
= 0 ;
10043 char *kwnames
[] = {
10044 (char *) "self",(char *) "rect", NULL
10047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10049 if (SWIG_arg_fail(1)) SWIG_fail
;
10052 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10056 (arg1
)->SetRect((wxRect
const &)*arg2
);
10058 wxPyEndAllowThreads(__tstate
);
10059 if (PyErr_Occurred()) SWIG_fail
;
10061 Py_INCREF(Py_None
); resultobj
= Py_None
;
10068 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10069 PyObject
*resultobj
;
10070 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10072 PyObject
* obj0
= 0 ;
10073 char *kwnames
[] = {
10074 (char *) "self", NULL
10077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
10078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10079 if (SWIG_arg_fail(1)) SWIG_fail
;
10081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10082 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
10084 wxPyEndAllowThreads(__tstate
);
10085 if (PyErr_Occurred()) SWIG_fail
;
10088 wxRect
* resultptr
;
10089 resultptr
= new wxRect((wxRect
&)(result
));
10090 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
10098 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*, PyObject
*args
) {
10100 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10101 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
10103 return Py_BuildValue((char *)"");
10105 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10106 PyObject
*resultobj
;
10107 wxWindow
*arg1
= (wxWindow
*) 0 ;
10108 int arg2
= (int) -1 ;
10109 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10110 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10111 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10112 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10113 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10114 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
10115 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10116 wxSashLayoutWindow
*result
;
10119 bool temp6
= false ;
10120 PyObject
* obj0
= 0 ;
10121 PyObject
* obj1
= 0 ;
10122 PyObject
* obj2
= 0 ;
10123 PyObject
* obj3
= 0 ;
10124 PyObject
* obj4
= 0 ;
10125 PyObject
* obj5
= 0 ;
10126 char *kwnames
[] = {
10127 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10132 if (SWIG_arg_fail(1)) SWIG_fail
;
10135 arg2
= (int)(SWIG_As_int(obj1
));
10136 if (SWIG_arg_fail(2)) SWIG_fail
;
10142 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10148 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10153 arg5
= (long)(SWIG_As_long(obj4
));
10154 if (SWIG_arg_fail(5)) SWIG_fail
;
10159 arg6
= wxString_in_helper(obj5
);
10160 if (arg6
== NULL
) SWIG_fail
;
10165 if (!wxPyCheckForApp()) SWIG_fail
;
10166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10167 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10169 wxPyEndAllowThreads(__tstate
);
10170 if (PyErr_Occurred()) SWIG_fail
;
10172 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
10187 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10188 PyObject
*resultobj
;
10189 wxSashLayoutWindow
*result
;
10190 char *kwnames
[] = {
10194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
10196 if (!wxPyCheckForApp()) SWIG_fail
;
10197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10198 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
10200 wxPyEndAllowThreads(__tstate
);
10201 if (PyErr_Occurred()) SWIG_fail
;
10203 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
10210 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10211 PyObject
*resultobj
;
10212 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10213 wxWindow
*arg2
= (wxWindow
*) 0 ;
10214 int arg3
= (int) -1 ;
10215 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10216 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10217 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10218 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10219 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10220 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
10221 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10225 bool temp7
= false ;
10226 PyObject
* obj0
= 0 ;
10227 PyObject
* obj1
= 0 ;
10228 PyObject
* obj2
= 0 ;
10229 PyObject
* obj3
= 0 ;
10230 PyObject
* obj4
= 0 ;
10231 PyObject
* obj5
= 0 ;
10232 PyObject
* obj6
= 0 ;
10233 char *kwnames
[] = {
10234 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10239 if (SWIG_arg_fail(1)) SWIG_fail
;
10240 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10241 if (SWIG_arg_fail(2)) SWIG_fail
;
10244 arg3
= (int)(SWIG_As_int(obj2
));
10245 if (SWIG_arg_fail(3)) SWIG_fail
;
10251 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10257 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10262 arg6
= (long)(SWIG_As_long(obj5
));
10263 if (SWIG_arg_fail(6)) SWIG_fail
;
10268 arg7
= wxString_in_helper(obj6
);
10269 if (arg7
== NULL
) SWIG_fail
;
10274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10275 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10277 wxPyEndAllowThreads(__tstate
);
10278 if (PyErr_Occurred()) SWIG_fail
;
10281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10297 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10298 PyObject
*resultobj
;
10299 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10300 wxLayoutAlignment result
;
10301 PyObject
* obj0
= 0 ;
10302 char *kwnames
[] = {
10303 (char *) "self", NULL
10306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
10307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10308 if (SWIG_arg_fail(1)) SWIG_fail
;
10310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10311 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
10313 wxPyEndAllowThreads(__tstate
);
10314 if (PyErr_Occurred()) SWIG_fail
;
10316 resultobj
= SWIG_From_int((result
));
10323 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10324 PyObject
*resultobj
;
10325 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10326 wxLayoutOrientation result
;
10327 PyObject
* obj0
= 0 ;
10328 char *kwnames
[] = {
10329 (char *) "self", NULL
10332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
10333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10334 if (SWIG_arg_fail(1)) SWIG_fail
;
10336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10337 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
10339 wxPyEndAllowThreads(__tstate
);
10340 if (PyErr_Occurred()) SWIG_fail
;
10342 resultobj
= SWIG_From_int((result
));
10349 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10350 PyObject
*resultobj
;
10351 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10352 wxLayoutAlignment arg2
;
10353 PyObject
* obj0
= 0 ;
10354 PyObject
* obj1
= 0 ;
10355 char *kwnames
[] = {
10356 (char *) "self",(char *) "alignment", NULL
10359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
10360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10361 if (SWIG_arg_fail(1)) SWIG_fail
;
10363 arg2
= (wxLayoutAlignment
)(SWIG_As_int(obj1
));
10364 if (SWIG_arg_fail(2)) SWIG_fail
;
10367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10368 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
10370 wxPyEndAllowThreads(__tstate
);
10371 if (PyErr_Occurred()) SWIG_fail
;
10373 Py_INCREF(Py_None
); resultobj
= Py_None
;
10380 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10381 PyObject
*resultobj
;
10382 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10385 PyObject
* obj0
= 0 ;
10386 PyObject
* obj1
= 0 ;
10387 char *kwnames
[] = {
10388 (char *) "self",(char *) "size", NULL
10391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10393 if (SWIG_arg_fail(1)) SWIG_fail
;
10396 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10400 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
10402 wxPyEndAllowThreads(__tstate
);
10403 if (PyErr_Occurred()) SWIG_fail
;
10405 Py_INCREF(Py_None
); resultobj
= Py_None
;
10412 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10413 PyObject
*resultobj
;
10414 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10415 wxLayoutOrientation arg2
;
10416 PyObject
* obj0
= 0 ;
10417 PyObject
* obj1
= 0 ;
10418 char *kwnames
[] = {
10419 (char *) "self",(char *) "orientation", NULL
10422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
10423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10424 if (SWIG_arg_fail(1)) SWIG_fail
;
10426 arg2
= (wxLayoutOrientation
)(SWIG_As_int(obj1
));
10427 if (SWIG_arg_fail(2)) SWIG_fail
;
10430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10431 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
10433 wxPyEndAllowThreads(__tstate
);
10434 if (PyErr_Occurred()) SWIG_fail
;
10436 Py_INCREF(Py_None
); resultobj
= Py_None
;
10443 static PyObject
* SashLayoutWindow_swigregister(PyObject
*, PyObject
*args
) {
10445 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10446 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
10448 return Py_BuildValue((char *)"");
10450 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10451 PyObject
*resultobj
;
10452 wxLayoutAlgorithm
*result
;
10453 char *kwnames
[] = {
10457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
10459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10460 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
10462 wxPyEndAllowThreads(__tstate
);
10463 if (PyErr_Occurred()) SWIG_fail
;
10465 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
10472 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10473 PyObject
*resultobj
;
10474 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10475 PyObject
* obj0
= 0 ;
10476 char *kwnames
[] = {
10477 (char *) "self", NULL
10480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
10481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10482 if (SWIG_arg_fail(1)) SWIG_fail
;
10484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10487 wxPyEndAllowThreads(__tstate
);
10488 if (PyErr_Occurred()) SWIG_fail
;
10490 Py_INCREF(Py_None
); resultobj
= Py_None
;
10497 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10498 PyObject
*resultobj
;
10499 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10500 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
10501 wxRect
*arg3
= (wxRect
*) NULL
;
10503 PyObject
* obj0
= 0 ;
10504 PyObject
* obj1
= 0 ;
10505 PyObject
* obj2
= 0 ;
10506 char *kwnames
[] = {
10507 (char *) "self",(char *) "frame",(char *) "rect", NULL
10510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10512 if (SWIG_arg_fail(1)) SWIG_fail
;
10513 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
10514 if (SWIG_arg_fail(2)) SWIG_fail
;
10516 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
10517 if (SWIG_arg_fail(3)) SWIG_fail
;
10520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10521 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
10523 wxPyEndAllowThreads(__tstate
);
10524 if (PyErr_Occurred()) SWIG_fail
;
10527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10535 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10536 PyObject
*resultobj
;
10537 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10538 wxFrame
*arg2
= (wxFrame
*) 0 ;
10539 wxWindow
*arg3
= (wxWindow
*) NULL
;
10541 PyObject
* obj0
= 0 ;
10542 PyObject
* obj1
= 0 ;
10543 PyObject
* obj2
= 0 ;
10544 char *kwnames
[] = {
10545 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
10548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10550 if (SWIG_arg_fail(1)) SWIG_fail
;
10551 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
10552 if (SWIG_arg_fail(2)) SWIG_fail
;
10554 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10555 if (SWIG_arg_fail(3)) SWIG_fail
;
10558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10559 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
10561 wxPyEndAllowThreads(__tstate
);
10562 if (PyErr_Occurred()) SWIG_fail
;
10565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10573 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10574 PyObject
*resultobj
;
10575 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10576 wxWindow
*arg2
= (wxWindow
*) 0 ;
10577 wxWindow
*arg3
= (wxWindow
*) NULL
;
10579 PyObject
* obj0
= 0 ;
10580 PyObject
* obj1
= 0 ;
10581 PyObject
* obj2
= 0 ;
10582 char *kwnames
[] = {
10583 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
10586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10588 if (SWIG_arg_fail(1)) SWIG_fail
;
10589 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10590 if (SWIG_arg_fail(2)) SWIG_fail
;
10592 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10593 if (SWIG_arg_fail(3)) SWIG_fail
;
10596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10597 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
10599 wxPyEndAllowThreads(__tstate
);
10600 if (PyErr_Occurred()) SWIG_fail
;
10603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10611 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*, PyObject
*args
) {
10613 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10614 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
10616 return Py_BuildValue((char *)"");
10618 static PyObject
*_wrap_new_PopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10619 PyObject
*resultobj
;
10620 wxWindow
*arg1
= (wxWindow
*) 0 ;
10621 int arg2
= (int) wxBORDER_NONE
;
10622 wxPopupWindow
*result
;
10623 PyObject
* obj0
= 0 ;
10624 PyObject
* obj1
= 0 ;
10625 char *kwnames
[] = {
10626 (char *) "parent",(char *) "flags", NULL
10629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
10630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10631 if (SWIG_arg_fail(1)) SWIG_fail
;
10634 arg2
= (int)(SWIG_As_int(obj1
));
10635 if (SWIG_arg_fail(2)) SWIG_fail
;
10639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10640 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
10642 wxPyEndAllowThreads(__tstate
);
10643 if (PyErr_Occurred()) SWIG_fail
;
10645 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
10652 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10653 PyObject
*resultobj
;
10654 wxPopupWindow
*result
;
10655 char *kwnames
[] = {
10659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
10661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10662 result
= (wxPopupWindow
*)new wxPopupWindow();
10664 wxPyEndAllowThreads(__tstate
);
10665 if (PyErr_Occurred()) SWIG_fail
;
10667 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
10674 static PyObject
* PopupWindow_swigregister(PyObject
*, PyObject
*args
) {
10676 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10677 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
10679 return Py_BuildValue((char *)"");
10681 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10682 PyObject
*resultobj
;
10683 wxWindow
*arg1
= (wxWindow
*) 0 ;
10684 int arg2
= (int) wxBORDER_NONE
;
10685 wxPyPopupTransientWindow
*result
;
10686 PyObject
* obj0
= 0 ;
10687 PyObject
* obj1
= 0 ;
10688 char *kwnames
[] = {
10689 (char *) "parent",(char *) "style", NULL
10692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
10693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10694 if (SWIG_arg_fail(1)) SWIG_fail
;
10697 arg2
= (int)(SWIG_As_int(obj1
));
10698 if (SWIG_arg_fail(2)) SWIG_fail
;
10702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10703 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
10705 wxPyEndAllowThreads(__tstate
);
10706 if (PyErr_Occurred()) SWIG_fail
;
10708 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
10715 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10716 PyObject
*resultobj
;
10717 wxPyPopupTransientWindow
*result
;
10718 char *kwnames
[] = {
10722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
10724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10725 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
10727 wxPyEndAllowThreads(__tstate
);
10728 if (PyErr_Occurred()) SWIG_fail
;
10730 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
10737 static PyObject
* PopupTransientWindow_swigregister(PyObject
*, PyObject
*args
) {
10739 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10740 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
10742 return Py_BuildValue((char *)"");
10744 static PyObject
*_wrap_new_TipWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10745 PyObject
*resultobj
;
10746 wxWindow
*arg1
= (wxWindow
*) 0 ;
10747 wxString
*arg2
= 0 ;
10748 int arg3
= (int) 100 ;
10749 wxRect
*arg4
= (wxRect
*) NULL
;
10750 wxTipWindow
*result
;
10751 bool temp2
= false ;
10752 PyObject
* obj0
= 0 ;
10753 PyObject
* obj1
= 0 ;
10754 PyObject
* obj2
= 0 ;
10755 PyObject
* obj3
= 0 ;
10756 char *kwnames
[] = {
10757 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
10760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10762 if (SWIG_arg_fail(1)) SWIG_fail
;
10764 arg2
= wxString_in_helper(obj1
);
10765 if (arg2
== NULL
) SWIG_fail
;
10770 arg3
= (int)(SWIG_As_int(obj2
));
10771 if (SWIG_arg_fail(3)) SWIG_fail
;
10775 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
10776 if (SWIG_arg_fail(4)) SWIG_fail
;
10779 if (!wxPyCheckForApp()) SWIG_fail
;
10780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10781 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
10783 wxPyEndAllowThreads(__tstate
);
10784 if (PyErr_Occurred()) SWIG_fail
;
10786 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
10801 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10802 PyObject
*resultobj
;
10803 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
10806 PyObject
* obj0
= 0 ;
10807 PyObject
* obj1
= 0 ;
10808 char *kwnames
[] = {
10809 (char *) "self",(char *) "rectBound", NULL
10812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_EXCEPTION
| 0);
10814 if (SWIG_arg_fail(1)) SWIG_fail
;
10817 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10821 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
10823 wxPyEndAllowThreads(__tstate
);
10824 if (PyErr_Occurred()) SWIG_fail
;
10826 Py_INCREF(Py_None
); resultobj
= Py_None
;
10833 static PyObject
*_wrap_TipWindow_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10834 PyObject
*resultobj
;
10835 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
10836 PyObject
* obj0
= 0 ;
10837 char *kwnames
[] = {
10838 (char *) "self", NULL
10841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
10842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_EXCEPTION
| 0);
10843 if (SWIG_arg_fail(1)) SWIG_fail
;
10845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10848 wxPyEndAllowThreads(__tstate
);
10849 if (PyErr_Occurred()) SWIG_fail
;
10851 Py_INCREF(Py_None
); resultobj
= Py_None
;
10858 static PyObject
* TipWindow_swigregister(PyObject
*, PyObject
*args
) {
10860 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10861 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
10863 return Py_BuildValue((char *)"");
10865 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10866 PyObject
*resultobj
;
10867 wxWindow
*arg1
= (wxWindow
*) 0 ;
10868 int arg2
= (int) wxID_ANY
;
10869 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10870 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10871 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10872 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10873 long arg5
= (long) 0 ;
10874 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
10875 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10876 wxPyVScrolledWindow
*result
;
10879 bool temp6
= false ;
10880 PyObject
* obj0
= 0 ;
10881 PyObject
* obj1
= 0 ;
10882 PyObject
* obj2
= 0 ;
10883 PyObject
* obj3
= 0 ;
10884 PyObject
* obj4
= 0 ;
10885 PyObject
* obj5
= 0 ;
10886 char *kwnames
[] = {
10887 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10892 if (SWIG_arg_fail(1)) SWIG_fail
;
10895 arg2
= (int)(SWIG_As_int(obj1
));
10896 if (SWIG_arg_fail(2)) SWIG_fail
;
10902 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10908 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10913 arg5
= (long)(SWIG_As_long(obj4
));
10914 if (SWIG_arg_fail(5)) SWIG_fail
;
10919 arg6
= wxString_in_helper(obj5
);
10920 if (arg6
== NULL
) SWIG_fail
;
10925 if (!wxPyCheckForApp()) SWIG_fail
;
10926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10927 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10929 wxPyEndAllowThreads(__tstate
);
10930 if (PyErr_Occurred()) SWIG_fail
;
10932 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
10947 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10948 PyObject
*resultobj
;
10949 wxPyVScrolledWindow
*result
;
10950 char *kwnames
[] = {
10954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
10956 if (!wxPyCheckForApp()) SWIG_fail
;
10957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10958 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
10960 wxPyEndAllowThreads(__tstate
);
10961 if (PyErr_Occurred()) SWIG_fail
;
10963 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
10970 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10971 PyObject
*resultobj
;
10972 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
10973 PyObject
*arg2
= (PyObject
*) 0 ;
10974 PyObject
*arg3
= (PyObject
*) 0 ;
10975 PyObject
* obj0
= 0 ;
10976 PyObject
* obj1
= 0 ;
10977 PyObject
* obj2
= 0 ;
10978 char *kwnames
[] = {
10979 (char *) "self",(char *) "self",(char *) "_class", NULL
10982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
10984 if (SWIG_arg_fail(1)) SWIG_fail
;
10988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10989 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10991 wxPyEndAllowThreads(__tstate
);
10992 if (PyErr_Occurred()) SWIG_fail
;
10994 Py_INCREF(Py_None
); resultobj
= Py_None
;
11001 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11002 PyObject
*resultobj
;
11003 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11004 wxWindow
*arg2
= (wxWindow
*) 0 ;
11005 int arg3
= (int) wxID_ANY
;
11006 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11007 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11008 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11009 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11010 long arg6
= (long) 0 ;
11011 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
11012 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11016 bool temp7
= false ;
11017 PyObject
* obj0
= 0 ;
11018 PyObject
* obj1
= 0 ;
11019 PyObject
* obj2
= 0 ;
11020 PyObject
* obj3
= 0 ;
11021 PyObject
* obj4
= 0 ;
11022 PyObject
* obj5
= 0 ;
11023 PyObject
* obj6
= 0 ;
11024 char *kwnames
[] = {
11025 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11030 if (SWIG_arg_fail(1)) SWIG_fail
;
11031 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11032 if (SWIG_arg_fail(2)) SWIG_fail
;
11035 arg3
= (int)(SWIG_As_int(obj2
));
11036 if (SWIG_arg_fail(3)) SWIG_fail
;
11042 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11048 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11053 arg6
= (long)(SWIG_As_long(obj5
));
11054 if (SWIG_arg_fail(6)) SWIG_fail
;
11059 arg7
= wxString_in_helper(obj6
);
11060 if (arg7
== NULL
) SWIG_fail
;
11065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11066 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11068 wxPyEndAllowThreads(__tstate
);
11069 if (PyErr_Occurred()) SWIG_fail
;
11072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11088 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11089 PyObject
*resultobj
;
11090 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11092 PyObject
* obj0
= 0 ;
11093 PyObject
* obj1
= 0 ;
11094 char *kwnames
[] = {
11095 (char *) "self",(char *) "count", NULL
11098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11100 if (SWIG_arg_fail(1)) SWIG_fail
;
11102 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11103 if (SWIG_arg_fail(2)) SWIG_fail
;
11106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11107 (arg1
)->SetLineCount(arg2
);
11109 wxPyEndAllowThreads(__tstate
);
11110 if (PyErr_Occurred()) SWIG_fail
;
11112 Py_INCREF(Py_None
); resultobj
= Py_None
;
11119 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11120 PyObject
*resultobj
;
11121 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11124 PyObject
* obj0
= 0 ;
11125 PyObject
* obj1
= 0 ;
11126 char *kwnames
[] = {
11127 (char *) "self",(char *) "line", NULL
11130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
11131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11132 if (SWIG_arg_fail(1)) SWIG_fail
;
11134 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11135 if (SWIG_arg_fail(2)) SWIG_fail
;
11138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11139 result
= (bool)(arg1
)->ScrollToLine(arg2
);
11141 wxPyEndAllowThreads(__tstate
);
11142 if (PyErr_Occurred()) SWIG_fail
;
11145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11153 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11154 PyObject
*resultobj
;
11155 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11158 PyObject
* obj0
= 0 ;
11159 PyObject
* obj1
= 0 ;
11160 char *kwnames
[] = {
11161 (char *) "self",(char *) "lines", NULL
11164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
11165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11166 if (SWIG_arg_fail(1)) SWIG_fail
;
11168 arg2
= (int)(SWIG_As_int(obj1
));
11169 if (SWIG_arg_fail(2)) SWIG_fail
;
11172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11173 result
= (bool)(arg1
)->ScrollLines(arg2
);
11175 wxPyEndAllowThreads(__tstate
);
11176 if (PyErr_Occurred()) SWIG_fail
;
11179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11187 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11188 PyObject
*resultobj
;
11189 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11192 PyObject
* obj0
= 0 ;
11193 PyObject
* obj1
= 0 ;
11194 char *kwnames
[] = {
11195 (char *) "self",(char *) "pages", NULL
11198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
11199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11200 if (SWIG_arg_fail(1)) SWIG_fail
;
11202 arg2
= (int)(SWIG_As_int(obj1
));
11203 if (SWIG_arg_fail(2)) SWIG_fail
;
11206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11207 result
= (bool)(arg1
)->ScrollPages(arg2
);
11209 wxPyEndAllowThreads(__tstate
);
11210 if (PyErr_Occurred()) SWIG_fail
;
11213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11221 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11222 PyObject
*resultobj
;
11223 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11225 PyObject
* obj0
= 0 ;
11226 PyObject
* obj1
= 0 ;
11227 char *kwnames
[] = {
11228 (char *) "self",(char *) "line", NULL
11231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
11232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11233 if (SWIG_arg_fail(1)) SWIG_fail
;
11235 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11236 if (SWIG_arg_fail(2)) SWIG_fail
;
11239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11240 (arg1
)->RefreshLine(arg2
);
11242 wxPyEndAllowThreads(__tstate
);
11243 if (PyErr_Occurred()) SWIG_fail
;
11245 Py_INCREF(Py_None
); resultobj
= Py_None
;
11252 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11253 PyObject
*resultobj
;
11254 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11257 PyObject
* obj0
= 0 ;
11258 PyObject
* obj1
= 0 ;
11259 PyObject
* obj2
= 0 ;
11260 char *kwnames
[] = {
11261 (char *) "self",(char *) "from",(char *) "to", NULL
11264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11266 if (SWIG_arg_fail(1)) SWIG_fail
;
11268 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11269 if (SWIG_arg_fail(2)) SWIG_fail
;
11272 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
11273 if (SWIG_arg_fail(3)) SWIG_fail
;
11276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11277 (arg1
)->RefreshLines(arg2
,arg3
);
11279 wxPyEndAllowThreads(__tstate
);
11280 if (PyErr_Occurred()) SWIG_fail
;
11282 Py_INCREF(Py_None
); resultobj
= Py_None
;
11289 static PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11290 PyObject
*resultobj
;
11291 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11295 PyObject
* obj0
= 0 ;
11296 PyObject
* obj1
= 0 ;
11297 PyObject
* obj2
= 0 ;
11298 char *kwnames
[] = {
11299 (char *) "self",(char *) "x",(char *) "y", NULL
11302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11304 if (SWIG_arg_fail(1)) SWIG_fail
;
11306 arg2
= (int)(SWIG_As_int(obj1
));
11307 if (SWIG_arg_fail(2)) SWIG_fail
;
11310 arg3
= (int)(SWIG_As_int(obj2
));
11311 if (SWIG_arg_fail(3)) SWIG_fail
;
11314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11315 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
11317 wxPyEndAllowThreads(__tstate
);
11318 if (PyErr_Occurred()) SWIG_fail
;
11321 resultobj
= SWIG_From_int((int)(result
));
11329 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11330 PyObject
*resultobj
;
11331 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11332 wxPoint
*arg2
= 0 ;
11335 PyObject
* obj0
= 0 ;
11336 PyObject
* obj1
= 0 ;
11337 char *kwnames
[] = {
11338 (char *) "self",(char *) "pt", NULL
11341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
11342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11343 if (SWIG_arg_fail(1)) SWIG_fail
;
11346 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11350 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
11352 wxPyEndAllowThreads(__tstate
);
11353 if (PyErr_Occurred()) SWIG_fail
;
11356 resultobj
= SWIG_From_int((int)(result
));
11364 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11365 PyObject
*resultobj
;
11366 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11367 PyObject
* obj0
= 0 ;
11368 char *kwnames
[] = {
11369 (char *) "self", NULL
11372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
11373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11374 if (SWIG_arg_fail(1)) SWIG_fail
;
11376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11377 (arg1
)->RefreshAll();
11379 wxPyEndAllowThreads(__tstate
);
11380 if (PyErr_Occurred()) SWIG_fail
;
11382 Py_INCREF(Py_None
); resultobj
= Py_None
;
11389 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11390 PyObject
*resultobj
;
11391 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11393 PyObject
* obj0
= 0 ;
11394 char *kwnames
[] = {
11395 (char *) "self", NULL
11398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
11399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11400 if (SWIG_arg_fail(1)) SWIG_fail
;
11402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11403 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
11405 wxPyEndAllowThreads(__tstate
);
11406 if (PyErr_Occurred()) SWIG_fail
;
11409 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11417 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11418 PyObject
*resultobj
;
11419 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11421 PyObject
* obj0
= 0 ;
11422 char *kwnames
[] = {
11423 (char *) "self", NULL
11426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
11427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11428 if (SWIG_arg_fail(1)) SWIG_fail
;
11430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11431 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
11433 wxPyEndAllowThreads(__tstate
);
11434 if (PyErr_Occurred()) SWIG_fail
;
11437 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11445 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11446 PyObject
*resultobj
;
11447 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11449 PyObject
* obj0
= 0 ;
11450 char *kwnames
[] = {
11451 (char *) "self", NULL
11454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
11455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11456 if (SWIG_arg_fail(1)) SWIG_fail
;
11458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11459 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
11461 wxPyEndAllowThreads(__tstate
);
11462 if (PyErr_Occurred()) SWIG_fail
;
11465 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11473 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11474 PyObject
*resultobj
;
11475 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11478 PyObject
* obj0
= 0 ;
11479 PyObject
* obj1
= 0 ;
11480 char *kwnames
[] = {
11481 (char *) "self",(char *) "line", NULL
11484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
11485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11486 if (SWIG_arg_fail(1)) SWIG_fail
;
11488 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11489 if (SWIG_arg_fail(2)) SWIG_fail
;
11492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11493 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
11495 wxPyEndAllowThreads(__tstate
);
11496 if (PyErr_Occurred()) SWIG_fail
;
11499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11507 static PyObject
* VScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
11509 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11510 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
11512 return Py_BuildValue((char *)"");
11514 static int _wrap_VListBoxNameStr_set(PyObject
*) {
11515 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
11520 static PyObject
*_wrap_VListBoxNameStr_get(void) {
11525 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
11527 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
11534 static PyObject
*_wrap_new_VListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11535 PyObject
*resultobj
;
11536 wxWindow
*arg1
= (wxWindow
*) 0 ;
11537 int arg2
= (int) wxID_ANY
;
11538 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11539 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11540 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11541 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11542 long arg5
= (long) 0 ;
11543 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
11544 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11545 wxPyVListBox
*result
;
11548 bool temp6
= false ;
11549 PyObject
* obj0
= 0 ;
11550 PyObject
* obj1
= 0 ;
11551 PyObject
* obj2
= 0 ;
11552 PyObject
* obj3
= 0 ;
11553 PyObject
* obj4
= 0 ;
11554 PyObject
* obj5
= 0 ;
11555 char *kwnames
[] = {
11556 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11561 if (SWIG_arg_fail(1)) SWIG_fail
;
11564 arg2
= (int)(SWIG_As_int(obj1
));
11565 if (SWIG_arg_fail(2)) SWIG_fail
;
11571 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11577 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11582 arg5
= (long)(SWIG_As_long(obj4
));
11583 if (SWIG_arg_fail(5)) SWIG_fail
;
11588 arg6
= wxString_in_helper(obj5
);
11589 if (arg6
== NULL
) SWIG_fail
;
11594 if (!wxPyCheckForApp()) SWIG_fail
;
11595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11596 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
11598 wxPyEndAllowThreads(__tstate
);
11599 if (PyErr_Occurred()) SWIG_fail
;
11601 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
11616 static PyObject
*_wrap_new_PreVListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11617 PyObject
*resultobj
;
11618 wxPyVListBox
*result
;
11619 char *kwnames
[] = {
11623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
11625 if (!wxPyCheckForApp()) SWIG_fail
;
11626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11627 result
= (wxPyVListBox
*)new wxPyVListBox();
11629 wxPyEndAllowThreads(__tstate
);
11630 if (PyErr_Occurred()) SWIG_fail
;
11632 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
11639 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11640 PyObject
*resultobj
;
11641 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11642 PyObject
*arg2
= (PyObject
*) 0 ;
11643 PyObject
*arg3
= (PyObject
*) 0 ;
11644 PyObject
* obj0
= 0 ;
11645 PyObject
* obj1
= 0 ;
11646 PyObject
* obj2
= 0 ;
11647 char *kwnames
[] = {
11648 (char *) "self",(char *) "self",(char *) "_class", NULL
11651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11653 if (SWIG_arg_fail(1)) SWIG_fail
;
11657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11658 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11660 wxPyEndAllowThreads(__tstate
);
11661 if (PyErr_Occurred()) SWIG_fail
;
11663 Py_INCREF(Py_None
); resultobj
= Py_None
;
11670 static PyObject
*_wrap_VListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11671 PyObject
*resultobj
;
11672 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11673 wxWindow
*arg2
= (wxWindow
*) 0 ;
11674 int arg3
= (int) wxID_ANY
;
11675 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11676 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11677 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11678 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11679 long arg6
= (long) 0 ;
11680 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
11681 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11685 bool temp7
= false ;
11686 PyObject
* obj0
= 0 ;
11687 PyObject
* obj1
= 0 ;
11688 PyObject
* obj2
= 0 ;
11689 PyObject
* obj3
= 0 ;
11690 PyObject
* obj4
= 0 ;
11691 PyObject
* obj5
= 0 ;
11692 PyObject
* obj6
= 0 ;
11693 char *kwnames
[] = {
11694 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11699 if (SWIG_arg_fail(1)) SWIG_fail
;
11700 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11701 if (SWIG_arg_fail(2)) SWIG_fail
;
11704 arg3
= (int)(SWIG_As_int(obj2
));
11705 if (SWIG_arg_fail(3)) SWIG_fail
;
11711 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11717 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11722 arg6
= (long)(SWIG_As_long(obj5
));
11723 if (SWIG_arg_fail(6)) SWIG_fail
;
11728 arg7
= wxString_in_helper(obj6
);
11729 if (arg7
== NULL
) SWIG_fail
;
11734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11735 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11737 wxPyEndAllowThreads(__tstate
);
11738 if (PyErr_Occurred()) SWIG_fail
;
11741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11757 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11758 PyObject
*resultobj
;
11759 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11761 PyObject
* obj0
= 0 ;
11762 char *kwnames
[] = {
11763 (char *) "self", NULL
11766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
11767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11768 if (SWIG_arg_fail(1)) SWIG_fail
;
11770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11771 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
11773 wxPyEndAllowThreads(__tstate
);
11774 if (PyErr_Occurred()) SWIG_fail
;
11777 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11785 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11786 PyObject
*resultobj
;
11787 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11789 PyObject
* obj0
= 0 ;
11790 char *kwnames
[] = {
11791 (char *) "self", NULL
11794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
11795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11796 if (SWIG_arg_fail(1)) SWIG_fail
;
11798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11799 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
11801 wxPyEndAllowThreads(__tstate
);
11802 if (PyErr_Occurred()) SWIG_fail
;
11805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11813 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11814 PyObject
*resultobj
;
11815 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11817 PyObject
* obj0
= 0 ;
11818 char *kwnames
[] = {
11819 (char *) "self", NULL
11822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
11823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11824 if (SWIG_arg_fail(1)) SWIG_fail
;
11826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11827 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
11829 wxPyEndAllowThreads(__tstate
);
11830 if (PyErr_Occurred()) SWIG_fail
;
11833 resultobj
= SWIG_From_int((int)(result
));
11841 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11842 PyObject
*resultobj
;
11843 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11846 PyObject
* obj0
= 0 ;
11847 PyObject
* obj1
= 0 ;
11848 char *kwnames
[] = {
11849 (char *) "self",(char *) "item", NULL
11852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
11853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11854 if (SWIG_arg_fail(1)) SWIG_fail
;
11856 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11857 if (SWIG_arg_fail(2)) SWIG_fail
;
11860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11861 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
11863 wxPyEndAllowThreads(__tstate
);
11864 if (PyErr_Occurred()) SWIG_fail
;
11867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11875 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11876 PyObject
*resultobj
;
11877 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11880 PyObject
* obj0
= 0 ;
11881 PyObject
* obj1
= 0 ;
11882 char *kwnames
[] = {
11883 (char *) "self",(char *) "item", NULL
11886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
11887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11888 if (SWIG_arg_fail(1)) SWIG_fail
;
11890 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11891 if (SWIG_arg_fail(2)) SWIG_fail
;
11894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11895 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
11897 wxPyEndAllowThreads(__tstate
);
11898 if (PyErr_Occurred()) SWIG_fail
;
11901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11909 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11910 PyObject
*resultobj
;
11911 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11913 PyObject
* obj0
= 0 ;
11914 char *kwnames
[] = {
11915 (char *) "self", NULL
11918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
11919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11920 if (SWIG_arg_fail(1)) SWIG_fail
;
11922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11923 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
11925 wxPyEndAllowThreads(__tstate
);
11926 if (PyErr_Occurred()) SWIG_fail
;
11929 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11937 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11938 PyObject
*resultobj
;
11939 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11941 PyObject
* obj0
= 0 ;
11942 char *kwnames
[] = {
11943 (char *) "self", NULL
11946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
11947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11948 if (SWIG_arg_fail(1)) SWIG_fail
;
11950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11951 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
11953 wxPyEndAllowThreads(__tstate
);
11954 if (PyErr_Occurred()) SWIG_fail
;
11956 resultobj
= result
;
11963 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11964 PyObject
*resultobj
;
11965 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11966 unsigned long arg2
;
11968 PyObject
* obj0
= 0 ;
11969 PyObject
* obj1
= 0 ;
11970 char *kwnames
[] = {
11971 (char *) "self",(char *) "cookie", NULL
11974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
11975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11976 if (SWIG_arg_fail(1)) SWIG_fail
;
11978 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
11979 if (SWIG_arg_fail(2)) SWIG_fail
;
11982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11983 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
11985 wxPyEndAllowThreads(__tstate
);
11986 if (PyErr_Occurred()) SWIG_fail
;
11988 resultobj
= result
;
11995 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11996 PyObject
*resultobj
;
11997 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11999 PyObject
* obj0
= 0 ;
12000 char *kwnames
[] = {
12001 (char *) "self", NULL
12004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
12005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12006 if (SWIG_arg_fail(1)) SWIG_fail
;
12008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12009 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
12011 wxPyEndAllowThreads(__tstate
);
12012 if (PyErr_Occurred()) SWIG_fail
;
12015 wxPoint
* resultptr
;
12016 resultptr
= new wxPoint((wxPoint
&)(result
));
12017 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
12025 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12026 PyObject
*resultobj
;
12027 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12029 PyObject
* obj0
= 0 ;
12030 char *kwnames
[] = {
12031 (char *) "self", NULL
12034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
12035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12036 if (SWIG_arg_fail(1)) SWIG_fail
;
12038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12040 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
12041 result
= (wxColour
*) &_result_ref
;
12044 wxPyEndAllowThreads(__tstate
);
12045 if (PyErr_Occurred()) SWIG_fail
;
12047 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
12054 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12055 PyObject
*resultobj
;
12056 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12058 PyObject
* obj0
= 0 ;
12059 PyObject
* obj1
= 0 ;
12060 char *kwnames
[] = {
12061 (char *) "self",(char *) "count", NULL
12064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
12065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12066 if (SWIG_arg_fail(1)) SWIG_fail
;
12068 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12069 if (SWIG_arg_fail(2)) SWIG_fail
;
12072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12073 (arg1
)->SetItemCount(arg2
);
12075 wxPyEndAllowThreads(__tstate
);
12076 if (PyErr_Occurred()) SWIG_fail
;
12078 Py_INCREF(Py_None
); resultobj
= Py_None
;
12085 static PyObject
*_wrap_VListBox_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12086 PyObject
*resultobj
;
12087 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12088 PyObject
* obj0
= 0 ;
12089 char *kwnames
[] = {
12090 (char *) "self", NULL
12093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
12094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12095 if (SWIG_arg_fail(1)) SWIG_fail
;
12097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12100 wxPyEndAllowThreads(__tstate
);
12101 if (PyErr_Occurred()) SWIG_fail
;
12103 Py_INCREF(Py_None
); resultobj
= Py_None
;
12110 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12111 PyObject
*resultobj
;
12112 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12114 PyObject
* obj0
= 0 ;
12115 PyObject
* obj1
= 0 ;
12116 char *kwnames
[] = {
12117 (char *) "self",(char *) "selection", NULL
12120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12122 if (SWIG_arg_fail(1)) SWIG_fail
;
12124 arg2
= (int)(SWIG_As_int(obj1
));
12125 if (SWIG_arg_fail(2)) SWIG_fail
;
12128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12129 (arg1
)->SetSelection(arg2
);
12131 wxPyEndAllowThreads(__tstate
);
12132 if (PyErr_Occurred()) SWIG_fail
;
12134 Py_INCREF(Py_None
); resultobj
= Py_None
;
12141 static PyObject
*_wrap_VListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12142 PyObject
*resultobj
;
12143 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12145 bool arg3
= (bool) true ;
12147 PyObject
* obj0
= 0 ;
12148 PyObject
* obj1
= 0 ;
12149 PyObject
* obj2
= 0 ;
12150 char *kwnames
[] = {
12151 (char *) "self",(char *) "item",(char *) "select", NULL
12154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12156 if (SWIG_arg_fail(1)) SWIG_fail
;
12158 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12159 if (SWIG_arg_fail(2)) SWIG_fail
;
12163 arg3
= (bool)(SWIG_As_bool(obj2
));
12164 if (SWIG_arg_fail(3)) SWIG_fail
;
12168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12169 result
= (bool)(arg1
)->Select(arg2
,arg3
);
12171 wxPyEndAllowThreads(__tstate
);
12172 if (PyErr_Occurred()) SWIG_fail
;
12175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12183 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12184 PyObject
*resultobj
;
12185 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12189 PyObject
* obj0
= 0 ;
12190 PyObject
* obj1
= 0 ;
12191 PyObject
* obj2
= 0 ;
12192 char *kwnames
[] = {
12193 (char *) "self",(char *) "from",(char *) "to", NULL
12196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12198 if (SWIG_arg_fail(1)) SWIG_fail
;
12200 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12201 if (SWIG_arg_fail(2)) SWIG_fail
;
12204 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
12205 if (SWIG_arg_fail(3)) SWIG_fail
;
12208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12209 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
12211 wxPyEndAllowThreads(__tstate
);
12212 if (PyErr_Occurred()) SWIG_fail
;
12215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12223 static PyObject
*_wrap_VListBox_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12224 PyObject
*resultobj
;
12225 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12227 PyObject
* obj0
= 0 ;
12228 PyObject
* obj1
= 0 ;
12229 char *kwnames
[] = {
12230 (char *) "self",(char *) "item", NULL
12233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
12234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12235 if (SWIG_arg_fail(1)) SWIG_fail
;
12237 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12238 if (SWIG_arg_fail(2)) SWIG_fail
;
12241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12242 (arg1
)->Toggle(arg2
);
12244 wxPyEndAllowThreads(__tstate
);
12245 if (PyErr_Occurred()) SWIG_fail
;
12247 Py_INCREF(Py_None
); resultobj
= Py_None
;
12254 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12255 PyObject
*resultobj
;
12256 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12258 PyObject
* obj0
= 0 ;
12259 char *kwnames
[] = {
12260 (char *) "self", NULL
12263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
12264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12265 if (SWIG_arg_fail(1)) SWIG_fail
;
12267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12268 result
= (bool)(arg1
)->SelectAll();
12270 wxPyEndAllowThreads(__tstate
);
12271 if (PyErr_Occurred()) SWIG_fail
;
12274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12282 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12283 PyObject
*resultobj
;
12284 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12286 PyObject
* obj0
= 0 ;
12287 char *kwnames
[] = {
12288 (char *) "self", NULL
12291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
12292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12293 if (SWIG_arg_fail(1)) SWIG_fail
;
12295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12296 result
= (bool)(arg1
)->DeselectAll();
12298 wxPyEndAllowThreads(__tstate
);
12299 if (PyErr_Occurred()) SWIG_fail
;
12302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12310 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12311 PyObject
*resultobj
;
12312 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12313 wxPoint
*arg2
= 0 ;
12315 PyObject
* obj0
= 0 ;
12316 PyObject
* obj1
= 0 ;
12317 char *kwnames
[] = {
12318 (char *) "self",(char *) "pt", NULL
12321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
12322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12323 if (SWIG_arg_fail(1)) SWIG_fail
;
12326 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12330 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
12332 wxPyEndAllowThreads(__tstate
);
12333 if (PyErr_Occurred()) SWIG_fail
;
12335 Py_INCREF(Py_None
); resultobj
= Py_None
;
12342 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12343 PyObject
*resultobj
;
12344 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12347 PyObject
* obj0
= 0 ;
12348 PyObject
* obj1
= 0 ;
12349 PyObject
* obj2
= 0 ;
12350 char *kwnames
[] = {
12351 (char *) "self",(char *) "x",(char *) "y", NULL
12354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12356 if (SWIG_arg_fail(1)) SWIG_fail
;
12358 arg2
= (int)(SWIG_As_int(obj1
));
12359 if (SWIG_arg_fail(2)) SWIG_fail
;
12362 arg3
= (int)(SWIG_As_int(obj2
));
12363 if (SWIG_arg_fail(3)) SWIG_fail
;
12366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12367 (arg1
)->SetMargins(arg2
,arg3
);
12369 wxPyEndAllowThreads(__tstate
);
12370 if (PyErr_Occurred()) SWIG_fail
;
12372 Py_INCREF(Py_None
); resultobj
= Py_None
;
12379 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12380 PyObject
*resultobj
;
12381 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12382 wxColour
*arg2
= 0 ;
12384 PyObject
* obj0
= 0 ;
12385 PyObject
* obj1
= 0 ;
12386 char *kwnames
[] = {
12387 (char *) "self",(char *) "col", NULL
12390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
12391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12392 if (SWIG_arg_fail(1)) SWIG_fail
;
12395 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12399 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
12401 wxPyEndAllowThreads(__tstate
);
12402 if (PyErr_Occurred()) SWIG_fail
;
12404 Py_INCREF(Py_None
); resultobj
= Py_None
;
12411 static PyObject
* VListBox_swigregister(PyObject
*, PyObject
*args
) {
12413 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12414 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
12416 return Py_BuildValue((char *)"");
12418 static PyObject
*_wrap_new_HtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12419 PyObject
*resultobj
;
12420 wxWindow
*arg1
= (wxWindow
*) 0 ;
12421 int arg2
= (int) wxID_ANY
;
12422 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12423 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12424 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12425 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12426 long arg5
= (long) 0 ;
12427 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
12428 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12429 wxPyHtmlListBox
*result
;
12432 bool temp6
= false ;
12433 PyObject
* obj0
= 0 ;
12434 PyObject
* obj1
= 0 ;
12435 PyObject
* obj2
= 0 ;
12436 PyObject
* obj3
= 0 ;
12437 PyObject
* obj4
= 0 ;
12438 PyObject
* obj5
= 0 ;
12439 char *kwnames
[] = {
12440 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12445 if (SWIG_arg_fail(1)) SWIG_fail
;
12448 arg2
= (int)(SWIG_As_int(obj1
));
12449 if (SWIG_arg_fail(2)) SWIG_fail
;
12455 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12461 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12466 arg5
= (long)(SWIG_As_long(obj4
));
12467 if (SWIG_arg_fail(5)) SWIG_fail
;
12472 arg6
= wxString_in_helper(obj5
);
12473 if (arg6
== NULL
) SWIG_fail
;
12478 if (!wxPyCheckForApp()) SWIG_fail
;
12479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12480 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12482 wxPyEndAllowThreads(__tstate
);
12483 if (PyErr_Occurred()) SWIG_fail
;
12485 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
12500 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12501 PyObject
*resultobj
;
12502 wxPyHtmlListBox
*result
;
12503 char *kwnames
[] = {
12507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
12509 if (!wxPyCheckForApp()) SWIG_fail
;
12510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12511 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
12513 wxPyEndAllowThreads(__tstate
);
12514 if (PyErr_Occurred()) SWIG_fail
;
12516 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
12523 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12524 PyObject
*resultobj
;
12525 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12526 PyObject
*arg2
= (PyObject
*) 0 ;
12527 PyObject
*arg3
= (PyObject
*) 0 ;
12528 PyObject
* obj0
= 0 ;
12529 PyObject
* obj1
= 0 ;
12530 PyObject
* obj2
= 0 ;
12531 char *kwnames
[] = {
12532 (char *) "self",(char *) "self",(char *) "_class", NULL
12535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12537 if (SWIG_arg_fail(1)) SWIG_fail
;
12541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12542 (arg1
)->_setCallbackInfo(arg2
,arg3
);
12544 wxPyEndAllowThreads(__tstate
);
12545 if (PyErr_Occurred()) SWIG_fail
;
12547 Py_INCREF(Py_None
); resultobj
= Py_None
;
12554 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12555 PyObject
*resultobj
;
12556 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12557 wxWindow
*arg2
= (wxWindow
*) 0 ;
12558 int arg3
= (int) wxID_ANY
;
12559 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12560 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12561 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12562 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12563 long arg6
= (long) 0 ;
12564 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
12565 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12569 bool temp7
= false ;
12570 PyObject
* obj0
= 0 ;
12571 PyObject
* obj1
= 0 ;
12572 PyObject
* obj2
= 0 ;
12573 PyObject
* obj3
= 0 ;
12574 PyObject
* obj4
= 0 ;
12575 PyObject
* obj5
= 0 ;
12576 PyObject
* obj6
= 0 ;
12577 char *kwnames
[] = {
12578 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12583 if (SWIG_arg_fail(1)) SWIG_fail
;
12584 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12585 if (SWIG_arg_fail(2)) SWIG_fail
;
12588 arg3
= (int)(SWIG_As_int(obj2
));
12589 if (SWIG_arg_fail(3)) SWIG_fail
;
12595 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12601 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12606 arg6
= (long)(SWIG_As_long(obj5
));
12607 if (SWIG_arg_fail(6)) SWIG_fail
;
12612 arg7
= wxString_in_helper(obj6
);
12613 if (arg7
== NULL
) SWIG_fail
;
12618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12619 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12621 wxPyEndAllowThreads(__tstate
);
12622 if (PyErr_Occurred()) SWIG_fail
;
12625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12641 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12642 PyObject
*resultobj
;
12643 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12644 PyObject
* obj0
= 0 ;
12645 char *kwnames
[] = {
12646 (char *) "self", NULL
12649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
12650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12651 if (SWIG_arg_fail(1)) SWIG_fail
;
12653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12654 (arg1
)->RefreshAll();
12656 wxPyEndAllowThreads(__tstate
);
12657 if (PyErr_Occurred()) SWIG_fail
;
12659 Py_INCREF(Py_None
); resultobj
= Py_None
;
12666 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12667 PyObject
*resultobj
;
12668 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12670 PyObject
* obj0
= 0 ;
12671 PyObject
* obj1
= 0 ;
12672 char *kwnames
[] = {
12673 (char *) "self",(char *) "count", NULL
12676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
12677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12678 if (SWIG_arg_fail(1)) SWIG_fail
;
12680 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12681 if (SWIG_arg_fail(2)) SWIG_fail
;
12684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12685 (arg1
)->SetItemCount(arg2
);
12687 wxPyEndAllowThreads(__tstate
);
12688 if (PyErr_Occurred()) SWIG_fail
;
12690 Py_INCREF(Py_None
); resultobj
= Py_None
;
12697 static PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12698 PyObject
*resultobj
;
12699 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12700 wxFileSystem
*result
;
12701 PyObject
* obj0
= 0 ;
12702 char *kwnames
[] = {
12703 (char *) "self", NULL
12706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_GetFileSystem",kwnames
,&obj0
)) goto fail
;
12707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12708 if (SWIG_arg_fail(1)) SWIG_fail
;
12710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12712 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
12713 result
= (wxFileSystem
*) &_result_ref
;
12716 wxPyEndAllowThreads(__tstate
);
12717 if (PyErr_Occurred()) SWIG_fail
;
12719 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileSystem
, 0);
12726 static PyObject
* HtmlListBox_swigregister(PyObject
*, PyObject
*args
) {
12728 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12729 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
12731 return Py_BuildValue((char *)"");
12733 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12734 PyObject
*resultobj
;
12735 wxPyTaskBarIcon
*result
;
12736 char *kwnames
[] = {
12740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
12742 if (!wxPyCheckForApp()) SWIG_fail
;
12743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12744 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
12746 wxPyEndAllowThreads(__tstate
);
12747 if (PyErr_Occurred()) SWIG_fail
;
12749 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTaskBarIcon
, 1);
12756 static PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12757 PyObject
*resultobj
;
12758 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12759 PyObject
*arg2
= (PyObject
*) 0 ;
12760 PyObject
*arg3
= (PyObject
*) 0 ;
12762 PyObject
* obj0
= 0 ;
12763 PyObject
* obj1
= 0 ;
12764 PyObject
* obj2
= 0 ;
12765 PyObject
* obj3
= 0 ;
12766 char *kwnames
[] = {
12767 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
12770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12772 if (SWIG_arg_fail(1)) SWIG_fail
;
12776 arg4
= (int)(SWIG_As_int(obj3
));
12777 if (SWIG_arg_fail(4)) SWIG_fail
;
12780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12781 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
12783 wxPyEndAllowThreads(__tstate
);
12784 if (PyErr_Occurred()) SWIG_fail
;
12786 Py_INCREF(Py_None
); resultobj
= Py_None
;
12793 static PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12794 PyObject
*resultobj
;
12795 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12796 PyObject
* obj0
= 0 ;
12797 char *kwnames
[] = {
12798 (char *) "self", NULL
12801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_Destroy",kwnames
,&obj0
)) goto fail
;
12802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12803 if (SWIG_arg_fail(1)) SWIG_fail
;
12805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12806 wxPyTaskBarIcon_Destroy(arg1
);
12808 wxPyEndAllowThreads(__tstate
);
12809 if (PyErr_Occurred()) SWIG_fail
;
12811 Py_INCREF(Py_None
); resultobj
= Py_None
;
12818 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12819 PyObject
*resultobj
;
12820 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12822 PyObject
* obj0
= 0 ;
12823 char *kwnames
[] = {
12824 (char *) "self", NULL
12827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
12828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12829 if (SWIG_arg_fail(1)) SWIG_fail
;
12831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12832 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
12834 wxPyEndAllowThreads(__tstate
);
12835 if (PyErr_Occurred()) SWIG_fail
;
12838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12846 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12847 PyObject
*resultobj
;
12848 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12850 PyObject
* obj0
= 0 ;
12851 char *kwnames
[] = {
12852 (char *) "self", NULL
12855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
12856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12857 if (SWIG_arg_fail(1)) SWIG_fail
;
12859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12860 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
12862 wxPyEndAllowThreads(__tstate
);
12863 if (PyErr_Occurred()) SWIG_fail
;
12866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12874 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12875 PyObject
*resultobj
;
12876 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12878 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12879 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12881 bool temp3
= false ;
12882 PyObject
* obj0
= 0 ;
12883 PyObject
* obj1
= 0 ;
12884 PyObject
* obj2
= 0 ;
12885 char *kwnames
[] = {
12886 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
12889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12891 if (SWIG_arg_fail(1)) SWIG_fail
;
12893 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
12894 if (SWIG_arg_fail(2)) SWIG_fail
;
12895 if (arg2
== NULL
) {
12896 SWIG_null_ref("wxIcon");
12898 if (SWIG_arg_fail(2)) SWIG_fail
;
12902 arg3
= wxString_in_helper(obj2
);
12903 if (arg3
== NULL
) SWIG_fail
;
12908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12909 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
12911 wxPyEndAllowThreads(__tstate
);
12912 if (PyErr_Occurred()) SWIG_fail
;
12915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12931 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12932 PyObject
*resultobj
;
12933 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12935 PyObject
* obj0
= 0 ;
12936 char *kwnames
[] = {
12937 (char *) "self", NULL
12940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
12941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12942 if (SWIG_arg_fail(1)) SWIG_fail
;
12944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12945 result
= (bool)(arg1
)->RemoveIcon();
12947 wxPyEndAllowThreads(__tstate
);
12948 if (PyErr_Occurred()) SWIG_fail
;
12951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12959 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12960 PyObject
*resultobj
;
12961 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12962 wxMenu
*arg2
= (wxMenu
*) 0 ;
12964 PyObject
* obj0
= 0 ;
12965 PyObject
* obj1
= 0 ;
12966 char *kwnames
[] = {
12967 (char *) "self",(char *) "menu", NULL
12970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
12971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12972 if (SWIG_arg_fail(1)) SWIG_fail
;
12973 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
12974 if (SWIG_arg_fail(2)) SWIG_fail
;
12976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12977 result
= (bool)(arg1
)->PopupMenu(arg2
);
12979 wxPyEndAllowThreads(__tstate
);
12980 if (PyErr_Occurred()) SWIG_fail
;
12983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12991 static PyObject
* TaskBarIcon_swigregister(PyObject
*, PyObject
*args
) {
12993 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12994 SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon
, obj
);
12996 return Py_BuildValue((char *)"");
12998 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12999 PyObject
*resultobj
;
13001 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
13002 wxTaskBarIconEvent
*result
;
13003 PyObject
* obj0
= 0 ;
13004 PyObject
* obj1
= 0 ;
13005 char *kwnames
[] = {
13006 (char *) "evtType",(char *) "tbIcon", NULL
13009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13011 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
13012 if (SWIG_arg_fail(1)) SWIG_fail
;
13014 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13015 if (SWIG_arg_fail(2)) SWIG_fail
;
13017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13018 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
13020 wxPyEndAllowThreads(__tstate
);
13021 if (PyErr_Occurred()) SWIG_fail
;
13023 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
13030 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*, PyObject
*args
) {
13032 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13033 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
13035 return Py_BuildValue((char *)"");
13037 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
13038 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
13043 static PyObject
*_wrap_FileSelectorPromptStr_get(void) {
13048 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
13050 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
13057 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
13058 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
13063 static PyObject
*_wrap_DirSelectorPromptStr_get(void) {
13068 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
13070 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
13077 static int _wrap_DirDialogNameStr_set(PyObject
*) {
13078 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
13083 static PyObject
*_wrap_DirDialogNameStr_get(void) {
13088 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
13090 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
13097 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
13098 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
13103 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get(void) {
13108 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
13110 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
13117 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*) {
13118 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
13123 static PyObject
*_wrap_GetTextFromUserPromptStr_get(void) {
13128 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
13130 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
13137 static int _wrap_MessageBoxCaptionStr_set(PyObject
*) {
13138 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
13143 static PyObject
*_wrap_MessageBoxCaptionStr_get(void) {
13148 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
13150 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
13157 static PyObject
*_wrap_new_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13158 PyObject
*resultobj
;
13159 wxColourData
*result
;
13160 char *kwnames
[] = {
13164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
13166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13167 result
= (wxColourData
*)new wxColourData();
13169 wxPyEndAllowThreads(__tstate
);
13170 if (PyErr_Occurred()) SWIG_fail
;
13172 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
13179 static PyObject
*_wrap_delete_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13180 PyObject
*resultobj
;
13181 wxColourData
*arg1
= (wxColourData
*) 0 ;
13182 PyObject
* obj0
= 0 ;
13183 char *kwnames
[] = {
13184 (char *) "self", NULL
13187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
13188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13189 if (SWIG_arg_fail(1)) SWIG_fail
;
13191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13194 wxPyEndAllowThreads(__tstate
);
13195 if (PyErr_Occurred()) SWIG_fail
;
13197 Py_INCREF(Py_None
); resultobj
= Py_None
;
13204 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13205 PyObject
*resultobj
;
13206 wxColourData
*arg1
= (wxColourData
*) 0 ;
13208 PyObject
* obj0
= 0 ;
13209 char *kwnames
[] = {
13210 (char *) "self", NULL
13213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
13214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13215 if (SWIG_arg_fail(1)) SWIG_fail
;
13217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13218 result
= (bool)(arg1
)->GetChooseFull();
13220 wxPyEndAllowThreads(__tstate
);
13221 if (PyErr_Occurred()) SWIG_fail
;
13224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13232 static PyObject
*_wrap_ColourData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13233 PyObject
*resultobj
;
13234 wxColourData
*arg1
= (wxColourData
*) 0 ;
13236 PyObject
* obj0
= 0 ;
13237 char *kwnames
[] = {
13238 (char *) "self", NULL
13241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
13242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13243 if (SWIG_arg_fail(1)) SWIG_fail
;
13245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13246 result
= (arg1
)->GetColour();
13248 wxPyEndAllowThreads(__tstate
);
13249 if (PyErr_Occurred()) SWIG_fail
;
13252 wxColour
* resultptr
;
13253 resultptr
= new wxColour((wxColour
&)(result
));
13254 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13262 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13263 PyObject
*resultobj
;
13264 wxColourData
*arg1
= (wxColourData
*) 0 ;
13267 PyObject
* obj0
= 0 ;
13268 PyObject
* obj1
= 0 ;
13269 char *kwnames
[] = {
13270 (char *) "self",(char *) "i", NULL
13273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13275 if (SWIG_arg_fail(1)) SWIG_fail
;
13277 arg2
= (int)(SWIG_As_int(obj1
));
13278 if (SWIG_arg_fail(2)) SWIG_fail
;
13281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13282 result
= (arg1
)->GetCustomColour(arg2
);
13284 wxPyEndAllowThreads(__tstate
);
13285 if (PyErr_Occurred()) SWIG_fail
;
13288 wxColour
* resultptr
;
13289 resultptr
= new wxColour((wxColour
&)(result
));
13290 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13298 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13299 PyObject
*resultobj
;
13300 wxColourData
*arg1
= (wxColourData
*) 0 ;
13302 PyObject
* obj0
= 0 ;
13303 PyObject
* obj1
= 0 ;
13304 char *kwnames
[] = {
13305 (char *) "self",(char *) "flag", NULL
13308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
13309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13310 if (SWIG_arg_fail(1)) SWIG_fail
;
13312 arg2
= (int)(SWIG_As_int(obj1
));
13313 if (SWIG_arg_fail(2)) SWIG_fail
;
13316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13317 (arg1
)->SetChooseFull(arg2
);
13319 wxPyEndAllowThreads(__tstate
);
13320 if (PyErr_Occurred()) SWIG_fail
;
13322 Py_INCREF(Py_None
); resultobj
= Py_None
;
13329 static PyObject
*_wrap_ColourData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13330 PyObject
*resultobj
;
13331 wxColourData
*arg1
= (wxColourData
*) 0 ;
13332 wxColour
*arg2
= 0 ;
13334 PyObject
* obj0
= 0 ;
13335 PyObject
* obj1
= 0 ;
13336 char *kwnames
[] = {
13337 (char *) "self",(char *) "colour", NULL
13340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13342 if (SWIG_arg_fail(1)) SWIG_fail
;
13345 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13349 (arg1
)->SetColour((wxColour
const &)*arg2
);
13351 wxPyEndAllowThreads(__tstate
);
13352 if (PyErr_Occurred()) SWIG_fail
;
13354 Py_INCREF(Py_None
); resultobj
= Py_None
;
13361 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13362 PyObject
*resultobj
;
13363 wxColourData
*arg1
= (wxColourData
*) 0 ;
13365 wxColour
*arg3
= 0 ;
13367 PyObject
* obj0
= 0 ;
13368 PyObject
* obj1
= 0 ;
13369 PyObject
* obj2
= 0 ;
13370 char *kwnames
[] = {
13371 (char *) "self",(char *) "i",(char *) "colour", NULL
13374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13376 if (SWIG_arg_fail(1)) SWIG_fail
;
13378 arg2
= (int)(SWIG_As_int(obj1
));
13379 if (SWIG_arg_fail(2)) SWIG_fail
;
13383 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
13386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13387 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
13389 wxPyEndAllowThreads(__tstate
);
13390 if (PyErr_Occurred()) SWIG_fail
;
13392 Py_INCREF(Py_None
); resultobj
= Py_None
;
13399 static PyObject
* ColourData_swigregister(PyObject
*, PyObject
*args
) {
13401 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13402 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
13404 return Py_BuildValue((char *)"");
13406 static PyObject
*_wrap_new_ColourDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13407 PyObject
*resultobj
;
13408 wxWindow
*arg1
= (wxWindow
*) 0 ;
13409 wxColourData
*arg2
= (wxColourData
*) NULL
;
13410 wxColourDialog
*result
;
13411 PyObject
* obj0
= 0 ;
13412 PyObject
* obj1
= 0 ;
13413 char *kwnames
[] = {
13414 (char *) "parent",(char *) "data", NULL
13417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
13418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13419 if (SWIG_arg_fail(1)) SWIG_fail
;
13421 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13422 if (SWIG_arg_fail(2)) SWIG_fail
;
13425 if (!wxPyCheckForApp()) SWIG_fail
;
13426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13427 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
13429 wxPyEndAllowThreads(__tstate
);
13430 if (PyErr_Occurred()) SWIG_fail
;
13432 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
13439 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13440 PyObject
*resultobj
;
13441 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
13442 wxColourData
*result
;
13443 PyObject
* obj0
= 0 ;
13444 char *kwnames
[] = {
13445 (char *) "self", NULL
13448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
13449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_EXCEPTION
| 0);
13450 if (SWIG_arg_fail(1)) SWIG_fail
;
13452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13454 wxColourData
&_result_ref
= (arg1
)->GetColourData();
13455 result
= (wxColourData
*) &_result_ref
;
13458 wxPyEndAllowThreads(__tstate
);
13459 if (PyErr_Occurred()) SWIG_fail
;
13461 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
13468 static PyObject
* ColourDialog_swigregister(PyObject
*, PyObject
*args
) {
13470 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13471 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
13473 return Py_BuildValue((char *)"");
13475 static PyObject
*_wrap_new_DirDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13476 PyObject
*resultobj
;
13477 wxWindow
*arg1
= (wxWindow
*) 0 ;
13478 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
13479 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13480 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13481 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13482 long arg4
= (long) 0 ;
13483 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13484 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13485 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13486 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13487 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
13488 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13489 wxDirDialog
*result
;
13490 bool temp2
= false ;
13491 bool temp3
= false ;
13494 bool temp7
= false ;
13495 PyObject
* obj0
= 0 ;
13496 PyObject
* obj1
= 0 ;
13497 PyObject
* obj2
= 0 ;
13498 PyObject
* obj3
= 0 ;
13499 PyObject
* obj4
= 0 ;
13500 PyObject
* obj5
= 0 ;
13501 PyObject
* obj6
= 0 ;
13502 char *kwnames
[] = {
13503 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
13506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13508 if (SWIG_arg_fail(1)) SWIG_fail
;
13511 arg2
= wxString_in_helper(obj1
);
13512 if (arg2
== NULL
) SWIG_fail
;
13518 arg3
= wxString_in_helper(obj2
);
13519 if (arg3
== NULL
) SWIG_fail
;
13525 arg4
= (long)(SWIG_As_long(obj3
));
13526 if (SWIG_arg_fail(4)) SWIG_fail
;
13532 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13538 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13543 arg7
= wxString_in_helper(obj6
);
13544 if (arg7
== NULL
) SWIG_fail
;
13549 if (!wxPyCheckForApp()) SWIG_fail
;
13550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13551 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
13553 wxPyEndAllowThreads(__tstate
);
13554 if (PyErr_Occurred()) SWIG_fail
;
13556 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
13587 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13588 PyObject
*resultobj
;
13589 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13591 PyObject
* obj0
= 0 ;
13592 char *kwnames
[] = {
13593 (char *) "self", NULL
13596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
13597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13598 if (SWIG_arg_fail(1)) SWIG_fail
;
13600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13601 result
= (arg1
)->GetPath();
13603 wxPyEndAllowThreads(__tstate
);
13604 if (PyErr_Occurred()) SWIG_fail
;
13608 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13610 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13619 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13620 PyObject
*resultobj
;
13621 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13623 PyObject
* obj0
= 0 ;
13624 char *kwnames
[] = {
13625 (char *) "self", NULL
13628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
13629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13630 if (SWIG_arg_fail(1)) SWIG_fail
;
13632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13633 result
= (arg1
)->GetMessage();
13635 wxPyEndAllowThreads(__tstate
);
13636 if (PyErr_Occurred()) SWIG_fail
;
13640 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13642 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13651 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13652 PyObject
*resultobj
;
13653 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13655 PyObject
* obj0
= 0 ;
13656 char *kwnames
[] = {
13657 (char *) "self", NULL
13660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
13661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13662 if (SWIG_arg_fail(1)) SWIG_fail
;
13664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13665 result
= (long)(arg1
)->GetStyle();
13667 wxPyEndAllowThreads(__tstate
);
13668 if (PyErr_Occurred()) SWIG_fail
;
13671 resultobj
= SWIG_From_long((long)(result
));
13679 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13680 PyObject
*resultobj
;
13681 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13682 wxString
*arg2
= 0 ;
13683 bool temp2
= false ;
13684 PyObject
* obj0
= 0 ;
13685 PyObject
* obj1
= 0 ;
13686 char *kwnames
[] = {
13687 (char *) "self",(char *) "message", NULL
13690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
13691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13692 if (SWIG_arg_fail(1)) SWIG_fail
;
13694 arg2
= wxString_in_helper(obj1
);
13695 if (arg2
== NULL
) SWIG_fail
;
13699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13700 (arg1
)->SetMessage((wxString
const &)*arg2
);
13702 wxPyEndAllowThreads(__tstate
);
13703 if (PyErr_Occurred()) SWIG_fail
;
13705 Py_INCREF(Py_None
); resultobj
= Py_None
;
13720 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13721 PyObject
*resultobj
;
13722 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13723 wxString
*arg2
= 0 ;
13724 bool temp2
= false ;
13725 PyObject
* obj0
= 0 ;
13726 PyObject
* obj1
= 0 ;
13727 char *kwnames
[] = {
13728 (char *) "self",(char *) "path", NULL
13731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
13732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13733 if (SWIG_arg_fail(1)) SWIG_fail
;
13735 arg2
= wxString_in_helper(obj1
);
13736 if (arg2
== NULL
) SWIG_fail
;
13740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13741 (arg1
)->SetPath((wxString
const &)*arg2
);
13743 wxPyEndAllowThreads(__tstate
);
13744 if (PyErr_Occurred()) SWIG_fail
;
13746 Py_INCREF(Py_None
); resultobj
= Py_None
;
13761 static PyObject
* DirDialog_swigregister(PyObject
*, PyObject
*args
) {
13763 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13764 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
13766 return Py_BuildValue((char *)"");
13768 static PyObject
*_wrap_new_FileDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13769 PyObject
*resultobj
;
13770 wxWindow
*arg1
= (wxWindow
*) 0 ;
13771 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
13772 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13773 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13774 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13775 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13776 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13777 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
13778 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
13779 long arg6
= (long) 0 ;
13780 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
13781 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
13782 wxFileDialog
*result
;
13783 bool temp2
= false ;
13784 bool temp3
= false ;
13785 bool temp4
= false ;
13786 bool temp5
= false ;
13788 PyObject
* obj0
= 0 ;
13789 PyObject
* obj1
= 0 ;
13790 PyObject
* obj2
= 0 ;
13791 PyObject
* obj3
= 0 ;
13792 PyObject
* obj4
= 0 ;
13793 PyObject
* obj5
= 0 ;
13794 PyObject
* obj6
= 0 ;
13795 char *kwnames
[] = {
13796 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
13799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13801 if (SWIG_arg_fail(1)) SWIG_fail
;
13804 arg2
= wxString_in_helper(obj1
);
13805 if (arg2
== NULL
) SWIG_fail
;
13811 arg3
= wxString_in_helper(obj2
);
13812 if (arg3
== NULL
) SWIG_fail
;
13818 arg4
= wxString_in_helper(obj3
);
13819 if (arg4
== NULL
) SWIG_fail
;
13825 arg5
= wxString_in_helper(obj4
);
13826 if (arg5
== NULL
) SWIG_fail
;
13832 arg6
= (long)(SWIG_As_long(obj5
));
13833 if (SWIG_arg_fail(6)) SWIG_fail
;
13839 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
13843 if (!wxPyCheckForApp()) SWIG_fail
;
13844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13845 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
13847 wxPyEndAllowThreads(__tstate
);
13848 if (PyErr_Occurred()) SWIG_fail
;
13850 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
13889 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13890 PyObject
*resultobj
;
13891 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
13892 wxString
*arg2
= 0 ;
13893 bool temp2
= false ;
13894 PyObject
* obj0
= 0 ;
13895 PyObject
* obj1
= 0 ;
13896 char *kwnames
[] = {
13897 (char *) "self",(char *) "message", NULL
13900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
13901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
13902 if (SWIG_arg_fail(1)) SWIG_fail
;
13904 arg2
= wxString_in_helper(obj1
);
13905 if (arg2
== NULL
) SWIG_fail
;
13909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13910 (arg1
)->SetMessage((wxString
const &)*arg2
);
13912 wxPyEndAllowThreads(__tstate
);
13913 if (PyErr_Occurred()) SWIG_fail
;
13915 Py_INCREF(Py_None
); resultobj
= Py_None
;
13930 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13931 PyObject
*resultobj
;
13932 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
13933 wxString
*arg2
= 0 ;
13934 bool temp2
= false ;
13935 PyObject
* obj0
= 0 ;
13936 PyObject
* obj1
= 0 ;
13937 char *kwnames
[] = {
13938 (char *) "self",(char *) "path", NULL
13941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
13942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
13943 if (SWIG_arg_fail(1)) SWIG_fail
;
13945 arg2
= wxString_in_helper(obj1
);
13946 if (arg2
== NULL
) SWIG_fail
;
13950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13951 (arg1
)->SetPath((wxString
const &)*arg2
);
13953 wxPyEndAllowThreads(__tstate
);
13954 if (PyErr_Occurred()) SWIG_fail
;
13956 Py_INCREF(Py_None
); resultobj
= Py_None
;
13971 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13972 PyObject
*resultobj
;
13973 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
13974 wxString
*arg2
= 0 ;
13975 bool temp2
= false ;
13976 PyObject
* obj0
= 0 ;
13977 PyObject
* obj1
= 0 ;
13978 char *kwnames
[] = {
13979 (char *) "self",(char *) "dir", NULL
13982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
13983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
13984 if (SWIG_arg_fail(1)) SWIG_fail
;
13986 arg2
= wxString_in_helper(obj1
);
13987 if (arg2
== NULL
) SWIG_fail
;
13991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13992 (arg1
)->SetDirectory((wxString
const &)*arg2
);
13994 wxPyEndAllowThreads(__tstate
);
13995 if (PyErr_Occurred()) SWIG_fail
;
13997 Py_INCREF(Py_None
); resultobj
= Py_None
;
14012 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14013 PyObject
*resultobj
;
14014 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14015 wxString
*arg2
= 0 ;
14016 bool temp2
= false ;
14017 PyObject
* obj0
= 0 ;
14018 PyObject
* obj1
= 0 ;
14019 char *kwnames
[] = {
14020 (char *) "self",(char *) "name", NULL
14023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
14024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14025 if (SWIG_arg_fail(1)) SWIG_fail
;
14027 arg2
= wxString_in_helper(obj1
);
14028 if (arg2
== NULL
) SWIG_fail
;
14032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14033 (arg1
)->SetFilename((wxString
const &)*arg2
);
14035 wxPyEndAllowThreads(__tstate
);
14036 if (PyErr_Occurred()) SWIG_fail
;
14038 Py_INCREF(Py_None
); resultobj
= Py_None
;
14053 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14054 PyObject
*resultobj
;
14055 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14056 wxString
*arg2
= 0 ;
14057 bool temp2
= false ;
14058 PyObject
* obj0
= 0 ;
14059 PyObject
* obj1
= 0 ;
14060 char *kwnames
[] = {
14061 (char *) "self",(char *) "wildCard", NULL
14064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
14065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14066 if (SWIG_arg_fail(1)) SWIG_fail
;
14068 arg2
= wxString_in_helper(obj1
);
14069 if (arg2
== NULL
) SWIG_fail
;
14073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14074 (arg1
)->SetWildcard((wxString
const &)*arg2
);
14076 wxPyEndAllowThreads(__tstate
);
14077 if (PyErr_Occurred()) SWIG_fail
;
14079 Py_INCREF(Py_None
); resultobj
= Py_None
;
14094 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14095 PyObject
*resultobj
;
14096 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14098 PyObject
* obj0
= 0 ;
14099 PyObject
* obj1
= 0 ;
14100 char *kwnames
[] = {
14101 (char *) "self",(char *) "style", NULL
14104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
14105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14106 if (SWIG_arg_fail(1)) SWIG_fail
;
14108 arg2
= (long)(SWIG_As_long(obj1
));
14109 if (SWIG_arg_fail(2)) SWIG_fail
;
14112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14113 (arg1
)->SetStyle(arg2
);
14115 wxPyEndAllowThreads(__tstate
);
14116 if (PyErr_Occurred()) SWIG_fail
;
14118 Py_INCREF(Py_None
); resultobj
= Py_None
;
14125 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14126 PyObject
*resultobj
;
14127 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14129 PyObject
* obj0
= 0 ;
14130 PyObject
* obj1
= 0 ;
14131 char *kwnames
[] = {
14132 (char *) "self",(char *) "filterIndex", NULL
14135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
14136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14137 if (SWIG_arg_fail(1)) SWIG_fail
;
14139 arg2
= (int)(SWIG_As_int(obj1
));
14140 if (SWIG_arg_fail(2)) SWIG_fail
;
14143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14144 (arg1
)->SetFilterIndex(arg2
);
14146 wxPyEndAllowThreads(__tstate
);
14147 if (PyErr_Occurred()) SWIG_fail
;
14149 Py_INCREF(Py_None
); resultobj
= Py_None
;
14156 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14157 PyObject
*resultobj
;
14158 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14160 PyObject
* obj0
= 0 ;
14161 char *kwnames
[] = {
14162 (char *) "self", NULL
14165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
14166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14167 if (SWIG_arg_fail(1)) SWIG_fail
;
14169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14170 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
14172 wxPyEndAllowThreads(__tstate
);
14173 if (PyErr_Occurred()) SWIG_fail
;
14177 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14179 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14188 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14189 PyObject
*resultobj
;
14190 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14192 PyObject
* obj0
= 0 ;
14193 char *kwnames
[] = {
14194 (char *) "self", NULL
14197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
14198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14199 if (SWIG_arg_fail(1)) SWIG_fail
;
14201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14202 result
= ((wxFileDialog
const *)arg1
)->GetPath();
14204 wxPyEndAllowThreads(__tstate
);
14205 if (PyErr_Occurred()) SWIG_fail
;
14209 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14211 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14220 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14221 PyObject
*resultobj
;
14222 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14224 PyObject
* obj0
= 0 ;
14225 char *kwnames
[] = {
14226 (char *) "self", NULL
14229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
14230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14231 if (SWIG_arg_fail(1)) SWIG_fail
;
14233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14234 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
14236 wxPyEndAllowThreads(__tstate
);
14237 if (PyErr_Occurred()) SWIG_fail
;
14241 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14243 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14252 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14253 PyObject
*resultobj
;
14254 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14256 PyObject
* obj0
= 0 ;
14257 char *kwnames
[] = {
14258 (char *) "self", NULL
14261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
14262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14263 if (SWIG_arg_fail(1)) SWIG_fail
;
14265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14266 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
14268 wxPyEndAllowThreads(__tstate
);
14269 if (PyErr_Occurred()) SWIG_fail
;
14273 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14275 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14284 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14285 PyObject
*resultobj
;
14286 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14288 PyObject
* obj0
= 0 ;
14289 char *kwnames
[] = {
14290 (char *) "self", NULL
14293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
14294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14295 if (SWIG_arg_fail(1)) SWIG_fail
;
14297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14298 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
14300 wxPyEndAllowThreads(__tstate
);
14301 if (PyErr_Occurred()) SWIG_fail
;
14305 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14307 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14316 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14317 PyObject
*resultobj
;
14318 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14320 PyObject
* obj0
= 0 ;
14321 char *kwnames
[] = {
14322 (char *) "self", NULL
14325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
14326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14327 if (SWIG_arg_fail(1)) SWIG_fail
;
14329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14330 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
14332 wxPyEndAllowThreads(__tstate
);
14333 if (PyErr_Occurred()) SWIG_fail
;
14336 resultobj
= SWIG_From_long((long)(result
));
14344 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14345 PyObject
*resultobj
;
14346 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14348 PyObject
* obj0
= 0 ;
14349 char *kwnames
[] = {
14350 (char *) "self", NULL
14353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
14354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14355 if (SWIG_arg_fail(1)) SWIG_fail
;
14357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14358 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
14360 wxPyEndAllowThreads(__tstate
);
14361 if (PyErr_Occurred()) SWIG_fail
;
14364 resultobj
= SWIG_From_int((int)(result
));
14372 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14373 PyObject
*resultobj
;
14374 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14376 PyObject
* obj0
= 0 ;
14377 char *kwnames
[] = {
14378 (char *) "self", NULL
14381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
14382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14383 if (SWIG_arg_fail(1)) SWIG_fail
;
14385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14386 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
14388 wxPyEndAllowThreads(__tstate
);
14389 if (PyErr_Occurred()) SWIG_fail
;
14391 resultobj
= result
;
14398 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14399 PyObject
*resultobj
;
14400 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14402 PyObject
* obj0
= 0 ;
14403 char *kwnames
[] = {
14404 (char *) "self", NULL
14407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
14408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14409 if (SWIG_arg_fail(1)) SWIG_fail
;
14411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14412 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
14414 wxPyEndAllowThreads(__tstate
);
14415 if (PyErr_Occurred()) SWIG_fail
;
14417 resultobj
= result
;
14424 static PyObject
* FileDialog_swigregister(PyObject
*, PyObject
*args
) {
14426 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14427 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
14429 return Py_BuildValue((char *)"");
14431 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14432 PyObject
*resultobj
;
14433 wxWindow
*arg1
= (wxWindow
*) 0 ;
14434 wxString
*arg2
= 0 ;
14435 wxString
*arg3
= 0 ;
14436 int arg4
= (int) 0 ;
14437 wxString
*arg5
= (wxString
*) NULL
;
14438 long arg6
= (long) wxCHOICEDLG_STYLE
;
14439 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14440 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14441 wxMultiChoiceDialog
*result
;
14442 bool temp2
= false ;
14443 bool temp3
= false ;
14445 PyObject
* obj0
= 0 ;
14446 PyObject
* obj1
= 0 ;
14447 PyObject
* obj2
= 0 ;
14448 PyObject
* obj3
= 0 ;
14449 PyObject
* obj4
= 0 ;
14450 PyObject
* obj5
= 0 ;
14451 char *kwnames
[] = {
14452 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14457 if (SWIG_arg_fail(1)) SWIG_fail
;
14459 arg2
= wxString_in_helper(obj1
);
14460 if (arg2
== NULL
) SWIG_fail
;
14464 arg3
= wxString_in_helper(obj2
);
14465 if (arg3
== NULL
) SWIG_fail
;
14470 arg4
= PyList_Size(obj3
);
14471 arg5
= wxString_LIST_helper(obj3
);
14472 if (arg5
== NULL
) SWIG_fail
;
14477 arg6
= (long)(SWIG_As_long(obj4
));
14478 if (SWIG_arg_fail(6)) SWIG_fail
;
14484 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
14488 if (!wxPyCheckForApp()) SWIG_fail
;
14489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14490 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
14492 wxPyEndAllowThreads(__tstate
);
14493 if (PyErr_Occurred()) SWIG_fail
;
14495 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
14505 if (arg5
) delete [] arg5
;
14518 if (arg5
) delete [] arg5
;
14524 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14525 PyObject
*resultobj
;
14526 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
14527 wxArrayInt
*arg2
= 0 ;
14528 bool temp2
= false ;
14529 PyObject
* obj0
= 0 ;
14530 PyObject
* obj1
= 0 ;
14531 char *kwnames
[] = {
14532 (char *) "self",(char *) "selections", NULL
14535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
14536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14537 if (SWIG_arg_fail(1)) SWIG_fail
;
14539 if (! PySequence_Check(obj1
)) {
14540 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
14543 arg2
= new wxArrayInt
;
14545 int i
, len
=PySequence_Length(obj1
);
14546 for (i
=0; i
<len
; i
++) {
14547 PyObject
* item
= PySequence_GetItem(obj1
, i
);
14548 PyObject
* number
= PyNumber_Int(item
);
14549 arg2
->Add(PyInt_AS_LONG(number
));
14555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14556 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
14558 wxPyEndAllowThreads(__tstate
);
14559 if (PyErr_Occurred()) SWIG_fail
;
14561 Py_INCREF(Py_None
); resultobj
= Py_None
;
14563 if (temp2
) delete arg2
;
14568 if (temp2
) delete arg2
;
14574 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14575 PyObject
*resultobj
;
14576 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
14578 PyObject
* obj0
= 0 ;
14579 char *kwnames
[] = {
14580 (char *) "self", NULL
14583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
14584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14585 if (SWIG_arg_fail(1)) SWIG_fail
;
14587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14588 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
14590 wxPyEndAllowThreads(__tstate
);
14591 if (PyErr_Occurred()) SWIG_fail
;
14593 resultobj
= result
;
14600 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
14602 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14603 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
14605 return Py_BuildValue((char *)"");
14607 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14608 PyObject
*resultobj
;
14609 wxWindow
*arg1
= (wxWindow
*) 0 ;
14610 wxString
*arg2
= 0 ;
14611 wxString
*arg3
= 0 ;
14613 wxString
*arg5
= (wxString
*) 0 ;
14614 long arg6
= (long) wxCHOICEDLG_STYLE
;
14615 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14616 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14617 wxSingleChoiceDialog
*result
;
14618 bool temp2
= false ;
14619 bool temp3
= false ;
14621 PyObject
* obj0
= 0 ;
14622 PyObject
* obj1
= 0 ;
14623 PyObject
* obj2
= 0 ;
14624 PyObject
* obj3
= 0 ;
14625 PyObject
* obj4
= 0 ;
14626 PyObject
* obj5
= 0 ;
14627 char *kwnames
[] = {
14628 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14633 if (SWIG_arg_fail(1)) SWIG_fail
;
14635 arg2
= wxString_in_helper(obj1
);
14636 if (arg2
== NULL
) SWIG_fail
;
14640 arg3
= wxString_in_helper(obj2
);
14641 if (arg3
== NULL
) SWIG_fail
;
14645 arg4
= PyList_Size(obj3
);
14646 arg5
= wxString_LIST_helper(obj3
);
14647 if (arg5
== NULL
) SWIG_fail
;
14651 arg6
= (long)(SWIG_As_long(obj4
));
14652 if (SWIG_arg_fail(6)) SWIG_fail
;
14658 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
14662 if (!wxPyCheckForApp()) SWIG_fail
;
14663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14664 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
14666 wxPyEndAllowThreads(__tstate
);
14667 if (PyErr_Occurred()) SWIG_fail
;
14669 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
14679 if (arg5
) delete [] arg5
;
14692 if (arg5
) delete [] arg5
;
14698 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14699 PyObject
*resultobj
;
14700 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
14702 PyObject
* obj0
= 0 ;
14703 char *kwnames
[] = {
14704 (char *) "self", NULL
14707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
14708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14709 if (SWIG_arg_fail(1)) SWIG_fail
;
14711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14712 result
= (int)(arg1
)->GetSelection();
14714 wxPyEndAllowThreads(__tstate
);
14715 if (PyErr_Occurred()) SWIG_fail
;
14718 resultobj
= SWIG_From_int((int)(result
));
14726 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14727 PyObject
*resultobj
;
14728 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
14730 PyObject
* obj0
= 0 ;
14731 char *kwnames
[] = {
14732 (char *) "self", NULL
14735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
14736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14737 if (SWIG_arg_fail(1)) SWIG_fail
;
14739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14740 result
= (arg1
)->GetStringSelection();
14742 wxPyEndAllowThreads(__tstate
);
14743 if (PyErr_Occurred()) SWIG_fail
;
14747 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14749 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14758 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14759 PyObject
*resultobj
;
14760 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
14762 PyObject
* obj0
= 0 ;
14763 PyObject
* obj1
= 0 ;
14764 char *kwnames
[] = {
14765 (char *) "self",(char *) "sel", NULL
14768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14770 if (SWIG_arg_fail(1)) SWIG_fail
;
14772 arg2
= (int)(SWIG_As_int(obj1
));
14773 if (SWIG_arg_fail(2)) SWIG_fail
;
14776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14777 (arg1
)->SetSelection(arg2
);
14779 wxPyEndAllowThreads(__tstate
);
14780 if (PyErr_Occurred()) SWIG_fail
;
14782 Py_INCREF(Py_None
); resultobj
= Py_None
;
14789 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
14791 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14792 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
14794 return Py_BuildValue((char *)"");
14796 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14797 PyObject
*resultobj
;
14798 wxWindow
*arg1
= (wxWindow
*) 0 ;
14799 wxString
*arg2
= 0 ;
14800 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
14801 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14802 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14803 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14804 long arg5
= (long) wxTextEntryDialogStyle
;
14805 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
14806 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
14807 wxTextEntryDialog
*result
;
14808 bool temp2
= false ;
14809 bool temp3
= false ;
14810 bool temp4
= false ;
14812 PyObject
* obj0
= 0 ;
14813 PyObject
* obj1
= 0 ;
14814 PyObject
* obj2
= 0 ;
14815 PyObject
* obj3
= 0 ;
14816 PyObject
* obj4
= 0 ;
14817 PyObject
* obj5
= 0 ;
14818 char *kwnames
[] = {
14819 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
14822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14824 if (SWIG_arg_fail(1)) SWIG_fail
;
14826 arg2
= wxString_in_helper(obj1
);
14827 if (arg2
== NULL
) SWIG_fail
;
14832 arg3
= wxString_in_helper(obj2
);
14833 if (arg3
== NULL
) SWIG_fail
;
14839 arg4
= wxString_in_helper(obj3
);
14840 if (arg4
== NULL
) SWIG_fail
;
14846 arg5
= (long)(SWIG_As_long(obj4
));
14847 if (SWIG_arg_fail(5)) SWIG_fail
;
14853 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
14857 if (!wxPyCheckForApp()) SWIG_fail
;
14858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14859 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
14861 wxPyEndAllowThreads(__tstate
);
14862 if (PyErr_Occurred()) SWIG_fail
;
14864 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
14895 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14896 PyObject
*resultobj
;
14897 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
14899 PyObject
* obj0
= 0 ;
14900 char *kwnames
[] = {
14901 (char *) "self", NULL
14904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
14905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_EXCEPTION
| 0);
14906 if (SWIG_arg_fail(1)) SWIG_fail
;
14908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14909 result
= (arg1
)->GetValue();
14911 wxPyEndAllowThreads(__tstate
);
14912 if (PyErr_Occurred()) SWIG_fail
;
14916 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14918 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14927 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14928 PyObject
*resultobj
;
14929 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
14930 wxString
*arg2
= 0 ;
14931 bool temp2
= false ;
14932 PyObject
* obj0
= 0 ;
14933 PyObject
* obj1
= 0 ;
14934 char *kwnames
[] = {
14935 (char *) "self",(char *) "value", NULL
14938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
14939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_EXCEPTION
| 0);
14940 if (SWIG_arg_fail(1)) SWIG_fail
;
14942 arg2
= wxString_in_helper(obj1
);
14943 if (arg2
== NULL
) SWIG_fail
;
14947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14948 (arg1
)->SetValue((wxString
const &)*arg2
);
14950 wxPyEndAllowThreads(__tstate
);
14951 if (PyErr_Occurred()) SWIG_fail
;
14953 Py_INCREF(Py_None
); resultobj
= Py_None
;
14968 static PyObject
* TextEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
14970 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14971 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
14973 return Py_BuildValue((char *)"");
14975 static int _wrap_GetPasswordFromUserPromptStr_set(PyObject
*) {
14976 PyErr_SetString(PyExc_TypeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
14981 static PyObject
*_wrap_GetPasswordFromUserPromptStr_get(void) {
14986 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
14988 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
14995 static PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14996 PyObject
*resultobj
;
14997 wxWindow
*arg1
= (wxWindow
*) 0 ;
14998 wxString
*arg2
= 0 ;
14999 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
15000 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15001 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15002 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15003 long arg5
= (long) wxTextEntryDialogStyle
;
15004 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
15005 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
15006 wxPasswordEntryDialog
*result
;
15007 bool temp2
= false ;
15008 bool temp3
= false ;
15009 bool temp4
= false ;
15011 PyObject
* obj0
= 0 ;
15012 PyObject
* obj1
= 0 ;
15013 PyObject
* obj2
= 0 ;
15014 PyObject
* obj3
= 0 ;
15015 PyObject
* obj4
= 0 ;
15016 PyObject
* obj5
= 0 ;
15017 char *kwnames
[] = {
15018 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
15021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15023 if (SWIG_arg_fail(1)) SWIG_fail
;
15025 arg2
= wxString_in_helper(obj1
);
15026 if (arg2
== NULL
) SWIG_fail
;
15031 arg3
= wxString_in_helper(obj2
);
15032 if (arg3
== NULL
) SWIG_fail
;
15038 arg4
= wxString_in_helper(obj3
);
15039 if (arg4
== NULL
) SWIG_fail
;
15045 arg5
= (long)(SWIG_As_long(obj4
));
15046 if (SWIG_arg_fail(5)) SWIG_fail
;
15052 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
15056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15057 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
15059 wxPyEndAllowThreads(__tstate
);
15060 if (PyErr_Occurred()) SWIG_fail
;
15062 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPasswordEntryDialog
, 1);
15093 static PyObject
* PasswordEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
15095 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15096 SWIG_TypeClientData(SWIGTYPE_p_wxPasswordEntryDialog
, obj
);
15098 return Py_BuildValue((char *)"");
15100 static PyObject
*_wrap_new_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15101 PyObject
*resultobj
;
15102 wxFontData
*result
;
15103 char *kwnames
[] = {
15107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
15109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15110 result
= (wxFontData
*)new wxFontData();
15112 wxPyEndAllowThreads(__tstate
);
15113 if (PyErr_Occurred()) SWIG_fail
;
15115 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
15122 static PyObject
*_wrap_delete_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15123 PyObject
*resultobj
;
15124 wxFontData
*arg1
= (wxFontData
*) 0 ;
15125 PyObject
* obj0
= 0 ;
15126 char *kwnames
[] = {
15127 (char *) "self", NULL
15130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
15131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15132 if (SWIG_arg_fail(1)) SWIG_fail
;
15134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15137 wxPyEndAllowThreads(__tstate
);
15138 if (PyErr_Occurred()) SWIG_fail
;
15140 Py_INCREF(Py_None
); resultobj
= Py_None
;
15147 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15148 PyObject
*resultobj
;
15149 wxFontData
*arg1
= (wxFontData
*) 0 ;
15151 PyObject
* obj0
= 0 ;
15152 PyObject
* obj1
= 0 ;
15153 char *kwnames
[] = {
15154 (char *) "self",(char *) "enable", NULL
15157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
15158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15159 if (SWIG_arg_fail(1)) SWIG_fail
;
15161 arg2
= (bool)(SWIG_As_bool(obj1
));
15162 if (SWIG_arg_fail(2)) SWIG_fail
;
15165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15166 (arg1
)->EnableEffects(arg2
);
15168 wxPyEndAllowThreads(__tstate
);
15169 if (PyErr_Occurred()) SWIG_fail
;
15171 Py_INCREF(Py_None
); resultobj
= Py_None
;
15178 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15179 PyObject
*resultobj
;
15180 wxFontData
*arg1
= (wxFontData
*) 0 ;
15182 PyObject
* obj0
= 0 ;
15183 char *kwnames
[] = {
15184 (char *) "self", NULL
15187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
15188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15189 if (SWIG_arg_fail(1)) SWIG_fail
;
15191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15192 result
= (bool)(arg1
)->GetAllowSymbols();
15194 wxPyEndAllowThreads(__tstate
);
15195 if (PyErr_Occurred()) SWIG_fail
;
15198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15206 static PyObject
*_wrap_FontData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15207 PyObject
*resultobj
;
15208 wxFontData
*arg1
= (wxFontData
*) 0 ;
15210 PyObject
* obj0
= 0 ;
15211 char *kwnames
[] = {
15212 (char *) "self", NULL
15215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
15216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15217 if (SWIG_arg_fail(1)) SWIG_fail
;
15219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15220 result
= (arg1
)->GetColour();
15222 wxPyEndAllowThreads(__tstate
);
15223 if (PyErr_Occurred()) SWIG_fail
;
15226 wxColour
* resultptr
;
15227 resultptr
= new wxColour((wxColour
&)(result
));
15228 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
15236 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15237 PyObject
*resultobj
;
15238 wxFontData
*arg1
= (wxFontData
*) 0 ;
15240 PyObject
* obj0
= 0 ;
15241 char *kwnames
[] = {
15242 (char *) "self", NULL
15245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
15246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15247 if (SWIG_arg_fail(1)) SWIG_fail
;
15249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15250 result
= (arg1
)->GetChosenFont();
15252 wxPyEndAllowThreads(__tstate
);
15253 if (PyErr_Occurred()) SWIG_fail
;
15256 wxFont
* resultptr
;
15257 resultptr
= new wxFont((wxFont
&)(result
));
15258 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
15266 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15267 PyObject
*resultobj
;
15268 wxFontData
*arg1
= (wxFontData
*) 0 ;
15270 PyObject
* obj0
= 0 ;
15271 char *kwnames
[] = {
15272 (char *) "self", NULL
15275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
15276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15277 if (SWIG_arg_fail(1)) SWIG_fail
;
15279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15280 result
= (bool)(arg1
)->GetEnableEffects();
15282 wxPyEndAllowThreads(__tstate
);
15283 if (PyErr_Occurred()) SWIG_fail
;
15286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15294 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15295 PyObject
*resultobj
;
15296 wxFontData
*arg1
= (wxFontData
*) 0 ;
15298 PyObject
* obj0
= 0 ;
15299 char *kwnames
[] = {
15300 (char *) "self", NULL
15303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
15304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15305 if (SWIG_arg_fail(1)) SWIG_fail
;
15307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15308 result
= (arg1
)->GetInitialFont();
15310 wxPyEndAllowThreads(__tstate
);
15311 if (PyErr_Occurred()) SWIG_fail
;
15314 wxFont
* resultptr
;
15315 resultptr
= new wxFont((wxFont
&)(result
));
15316 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
15324 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15325 PyObject
*resultobj
;
15326 wxFontData
*arg1
= (wxFontData
*) 0 ;
15328 PyObject
* obj0
= 0 ;
15329 char *kwnames
[] = {
15330 (char *) "self", NULL
15333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
15334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15335 if (SWIG_arg_fail(1)) SWIG_fail
;
15337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15338 result
= (bool)(arg1
)->GetShowHelp();
15340 wxPyEndAllowThreads(__tstate
);
15341 if (PyErr_Occurred()) SWIG_fail
;
15344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15352 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15353 PyObject
*resultobj
;
15354 wxFontData
*arg1
= (wxFontData
*) 0 ;
15356 PyObject
* obj0
= 0 ;
15357 PyObject
* obj1
= 0 ;
15358 char *kwnames
[] = {
15359 (char *) "self",(char *) "allowSymbols", NULL
15362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
15363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15364 if (SWIG_arg_fail(1)) SWIG_fail
;
15366 arg2
= (bool)(SWIG_As_bool(obj1
));
15367 if (SWIG_arg_fail(2)) SWIG_fail
;
15370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15371 (arg1
)->SetAllowSymbols(arg2
);
15373 wxPyEndAllowThreads(__tstate
);
15374 if (PyErr_Occurred()) SWIG_fail
;
15376 Py_INCREF(Py_None
); resultobj
= Py_None
;
15383 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15384 PyObject
*resultobj
;
15385 wxFontData
*arg1
= (wxFontData
*) 0 ;
15387 PyObject
* obj0
= 0 ;
15388 PyObject
* obj1
= 0 ;
15389 char *kwnames
[] = {
15390 (char *) "self",(char *) "font", NULL
15393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15395 if (SWIG_arg_fail(1)) SWIG_fail
;
15397 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15398 if (SWIG_arg_fail(2)) SWIG_fail
;
15399 if (arg2
== NULL
) {
15400 SWIG_null_ref("wxFont");
15402 if (SWIG_arg_fail(2)) SWIG_fail
;
15405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15406 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
15408 wxPyEndAllowThreads(__tstate
);
15409 if (PyErr_Occurred()) SWIG_fail
;
15411 Py_INCREF(Py_None
); resultobj
= Py_None
;
15418 static PyObject
*_wrap_FontData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15419 PyObject
*resultobj
;
15420 wxFontData
*arg1
= (wxFontData
*) 0 ;
15421 wxColour
*arg2
= 0 ;
15423 PyObject
* obj0
= 0 ;
15424 PyObject
* obj1
= 0 ;
15425 char *kwnames
[] = {
15426 (char *) "self",(char *) "colour", NULL
15429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15431 if (SWIG_arg_fail(1)) SWIG_fail
;
15434 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15438 (arg1
)->SetColour((wxColour
const &)*arg2
);
15440 wxPyEndAllowThreads(__tstate
);
15441 if (PyErr_Occurred()) SWIG_fail
;
15443 Py_INCREF(Py_None
); resultobj
= Py_None
;
15450 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15451 PyObject
*resultobj
;
15452 wxFontData
*arg1
= (wxFontData
*) 0 ;
15454 PyObject
* obj0
= 0 ;
15455 PyObject
* obj1
= 0 ;
15456 char *kwnames
[] = {
15457 (char *) "self",(char *) "font", NULL
15460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15462 if (SWIG_arg_fail(1)) SWIG_fail
;
15464 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15465 if (SWIG_arg_fail(2)) SWIG_fail
;
15466 if (arg2
== NULL
) {
15467 SWIG_null_ref("wxFont");
15469 if (SWIG_arg_fail(2)) SWIG_fail
;
15472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15473 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
15475 wxPyEndAllowThreads(__tstate
);
15476 if (PyErr_Occurred()) SWIG_fail
;
15478 Py_INCREF(Py_None
); resultobj
= Py_None
;
15485 static PyObject
*_wrap_FontData_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15486 PyObject
*resultobj
;
15487 wxFontData
*arg1
= (wxFontData
*) 0 ;
15490 PyObject
* obj0
= 0 ;
15491 PyObject
* obj1
= 0 ;
15492 PyObject
* obj2
= 0 ;
15493 char *kwnames
[] = {
15494 (char *) "self",(char *) "min",(char *) "max", NULL
15497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15499 if (SWIG_arg_fail(1)) SWIG_fail
;
15501 arg2
= (int)(SWIG_As_int(obj1
));
15502 if (SWIG_arg_fail(2)) SWIG_fail
;
15505 arg3
= (int)(SWIG_As_int(obj2
));
15506 if (SWIG_arg_fail(3)) SWIG_fail
;
15509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15510 (arg1
)->SetRange(arg2
,arg3
);
15512 wxPyEndAllowThreads(__tstate
);
15513 if (PyErr_Occurred()) SWIG_fail
;
15515 Py_INCREF(Py_None
); resultobj
= Py_None
;
15522 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15523 PyObject
*resultobj
;
15524 wxFontData
*arg1
= (wxFontData
*) 0 ;
15526 PyObject
* obj0
= 0 ;
15527 PyObject
* obj1
= 0 ;
15528 char *kwnames
[] = {
15529 (char *) "self",(char *) "showHelp", NULL
15532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15534 if (SWIG_arg_fail(1)) SWIG_fail
;
15536 arg2
= (bool)(SWIG_As_bool(obj1
));
15537 if (SWIG_arg_fail(2)) SWIG_fail
;
15540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15541 (arg1
)->SetShowHelp(arg2
);
15543 wxPyEndAllowThreads(__tstate
);
15544 if (PyErr_Occurred()) SWIG_fail
;
15546 Py_INCREF(Py_None
); resultobj
= Py_None
;
15553 static PyObject
* FontData_swigregister(PyObject
*, PyObject
*args
) {
15555 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15556 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
15558 return Py_BuildValue((char *)"");
15560 static PyObject
*_wrap_new_FontDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15561 PyObject
*resultobj
;
15562 wxWindow
*arg1
= (wxWindow
*) 0 ;
15563 wxFontData
*arg2
= 0 ;
15564 wxFontDialog
*result
;
15565 PyObject
* obj0
= 0 ;
15566 PyObject
* obj1
= 0 ;
15567 char *kwnames
[] = {
15568 (char *) "parent",(char *) "data", NULL
15571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
15572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15573 if (SWIG_arg_fail(1)) SWIG_fail
;
15575 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15576 if (SWIG_arg_fail(2)) SWIG_fail
;
15577 if (arg2
== NULL
) {
15578 SWIG_null_ref("wxFontData");
15580 if (SWIG_arg_fail(2)) SWIG_fail
;
15583 if (!wxPyCheckForApp()) SWIG_fail
;
15584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15585 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
15587 wxPyEndAllowThreads(__tstate
);
15588 if (PyErr_Occurred()) SWIG_fail
;
15590 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
15597 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15598 PyObject
*resultobj
;
15599 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
15600 wxFontData
*result
;
15601 PyObject
* obj0
= 0 ;
15602 char *kwnames
[] = {
15603 (char *) "self", NULL
15606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
15607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_EXCEPTION
| 0);
15608 if (SWIG_arg_fail(1)) SWIG_fail
;
15610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15612 wxFontData
&_result_ref
= (arg1
)->GetFontData();
15613 result
= (wxFontData
*) &_result_ref
;
15616 wxPyEndAllowThreads(__tstate
);
15617 if (PyErr_Occurred()) SWIG_fail
;
15619 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
15626 static PyObject
* FontDialog_swigregister(PyObject
*, PyObject
*args
) {
15628 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15629 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
15631 return Py_BuildValue((char *)"");
15633 static PyObject
*_wrap_new_MessageDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15634 PyObject
*resultobj
;
15635 wxWindow
*arg1
= (wxWindow
*) 0 ;
15636 wxString
*arg2
= 0 ;
15637 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
15638 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15639 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
15640 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15641 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15642 wxMessageDialog
*result
;
15643 bool temp2
= false ;
15644 bool temp3
= false ;
15646 PyObject
* obj0
= 0 ;
15647 PyObject
* obj1
= 0 ;
15648 PyObject
* obj2
= 0 ;
15649 PyObject
* obj3
= 0 ;
15650 PyObject
* obj4
= 0 ;
15651 char *kwnames
[] = {
15652 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
15655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15657 if (SWIG_arg_fail(1)) SWIG_fail
;
15659 arg2
= wxString_in_helper(obj1
);
15660 if (arg2
== NULL
) SWIG_fail
;
15665 arg3
= wxString_in_helper(obj2
);
15666 if (arg3
== NULL
) SWIG_fail
;
15672 arg4
= (long)(SWIG_As_long(obj3
));
15673 if (SWIG_arg_fail(4)) SWIG_fail
;
15679 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15683 if (!wxPyCheckForApp()) SWIG_fail
;
15684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15685 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
15687 wxPyEndAllowThreads(__tstate
);
15688 if (PyErr_Occurred()) SWIG_fail
;
15690 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
15713 static PyObject
* MessageDialog_swigregister(PyObject
*, PyObject
*args
) {
15715 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15716 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
15718 return Py_BuildValue((char *)"");
15720 static PyObject
*_wrap_new_ProgressDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15721 PyObject
*resultobj
;
15722 wxString
*arg1
= 0 ;
15723 wxString
*arg2
= 0 ;
15724 int arg3
= (int) 100 ;
15725 wxWindow
*arg4
= (wxWindow
*) NULL
;
15726 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
15727 wxProgressDialog
*result
;
15728 bool temp1
= false ;
15729 bool temp2
= false ;
15730 PyObject
* obj0
= 0 ;
15731 PyObject
* obj1
= 0 ;
15732 PyObject
* obj2
= 0 ;
15733 PyObject
* obj3
= 0 ;
15734 PyObject
* obj4
= 0 ;
15735 char *kwnames
[] = {
15736 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
15739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15741 arg1
= wxString_in_helper(obj0
);
15742 if (arg1
== NULL
) SWIG_fail
;
15746 arg2
= wxString_in_helper(obj1
);
15747 if (arg2
== NULL
) SWIG_fail
;
15752 arg3
= (int)(SWIG_As_int(obj2
));
15753 if (SWIG_arg_fail(3)) SWIG_fail
;
15757 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15758 if (SWIG_arg_fail(4)) SWIG_fail
;
15762 arg5
= (int)(SWIG_As_int(obj4
));
15763 if (SWIG_arg_fail(5)) SWIG_fail
;
15767 if (!wxPyCheckForApp()) SWIG_fail
;
15768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15769 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
15771 wxPyEndAllowThreads(__tstate
);
15772 if (PyErr_Occurred()) SWIG_fail
;
15774 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
15797 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15798 PyObject
*resultobj
;
15799 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
15801 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15802 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15804 bool temp3
= false ;
15805 PyObject
* obj0
= 0 ;
15806 PyObject
* obj1
= 0 ;
15807 PyObject
* obj2
= 0 ;
15808 char *kwnames
[] = {
15809 (char *) "self",(char *) "value",(char *) "newmsg", NULL
15812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_EXCEPTION
| 0);
15814 if (SWIG_arg_fail(1)) SWIG_fail
;
15816 arg2
= (int)(SWIG_As_int(obj1
));
15817 if (SWIG_arg_fail(2)) SWIG_fail
;
15821 arg3
= wxString_in_helper(obj2
);
15822 if (arg3
== NULL
) SWIG_fail
;
15827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15828 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
15830 wxPyEndAllowThreads(__tstate
);
15831 if (PyErr_Occurred()) SWIG_fail
;
15834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15850 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15851 PyObject
*resultobj
;
15852 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
15853 PyObject
* obj0
= 0 ;
15854 char *kwnames
[] = {
15855 (char *) "self", NULL
15858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
15859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_EXCEPTION
| 0);
15860 if (SWIG_arg_fail(1)) SWIG_fail
;
15862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15865 wxPyEndAllowThreads(__tstate
);
15866 if (PyErr_Occurred()) SWIG_fail
;
15868 Py_INCREF(Py_None
); resultobj
= Py_None
;
15875 static PyObject
* ProgressDialog_swigregister(PyObject
*, PyObject
*args
) {
15877 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15878 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
15880 return Py_BuildValue((char *)"");
15882 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15883 PyObject
*resultobj
;
15884 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15885 int arg2
= (int) 0 ;
15886 wxFindDialogEvent
*result
;
15887 PyObject
* obj0
= 0 ;
15888 PyObject
* obj1
= 0 ;
15889 char *kwnames
[] = {
15890 (char *) "commandType",(char *) "id", NULL
15893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15896 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15897 if (SWIG_arg_fail(1)) SWIG_fail
;
15902 arg2
= (int)(SWIG_As_int(obj1
));
15903 if (SWIG_arg_fail(2)) SWIG_fail
;
15907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15908 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
15910 wxPyEndAllowThreads(__tstate
);
15911 if (PyErr_Occurred()) SWIG_fail
;
15913 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
15920 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15921 PyObject
*resultobj
;
15922 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
15924 PyObject
* obj0
= 0 ;
15925 char *kwnames
[] = {
15926 (char *) "self", NULL
15929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
15930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
15931 if (SWIG_arg_fail(1)) SWIG_fail
;
15933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15934 result
= (int)(arg1
)->GetFlags();
15936 wxPyEndAllowThreads(__tstate
);
15937 if (PyErr_Occurred()) SWIG_fail
;
15940 resultobj
= SWIG_From_int((int)(result
));
15948 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15949 PyObject
*resultobj
;
15950 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
15952 PyObject
* obj0
= 0 ;
15953 char *kwnames
[] = {
15954 (char *) "self", NULL
15957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
15958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
15959 if (SWIG_arg_fail(1)) SWIG_fail
;
15961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15963 wxString
const &_result_ref
= (arg1
)->GetFindString();
15964 result
= (wxString
*) &_result_ref
;
15967 wxPyEndAllowThreads(__tstate
);
15968 if (PyErr_Occurred()) SWIG_fail
;
15972 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15974 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15983 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15984 PyObject
*resultobj
;
15985 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
15987 PyObject
* obj0
= 0 ;
15988 char *kwnames
[] = {
15989 (char *) "self", NULL
15992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
15993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
15994 if (SWIG_arg_fail(1)) SWIG_fail
;
15996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15998 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
15999 result
= (wxString
*) &_result_ref
;
16002 wxPyEndAllowThreads(__tstate
);
16003 if (PyErr_Occurred()) SWIG_fail
;
16007 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16009 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16018 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16019 PyObject
*resultobj
;
16020 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16021 wxFindReplaceDialog
*result
;
16022 PyObject
* obj0
= 0 ;
16023 char *kwnames
[] = {
16024 (char *) "self", NULL
16027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
16028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16029 if (SWIG_arg_fail(1)) SWIG_fail
;
16031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16032 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
16034 wxPyEndAllowThreads(__tstate
);
16035 if (PyErr_Occurred()) SWIG_fail
;
16037 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
16044 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16045 PyObject
*resultobj
;
16046 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16048 PyObject
* obj0
= 0 ;
16049 PyObject
* obj1
= 0 ;
16050 char *kwnames
[] = {
16051 (char *) "self",(char *) "flags", NULL
16054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
16055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16056 if (SWIG_arg_fail(1)) SWIG_fail
;
16058 arg2
= (int)(SWIG_As_int(obj1
));
16059 if (SWIG_arg_fail(2)) SWIG_fail
;
16062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16063 (arg1
)->SetFlags(arg2
);
16065 wxPyEndAllowThreads(__tstate
);
16066 if (PyErr_Occurred()) SWIG_fail
;
16068 Py_INCREF(Py_None
); resultobj
= Py_None
;
16075 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16076 PyObject
*resultobj
;
16077 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16078 wxString
*arg2
= 0 ;
16079 bool temp2
= false ;
16080 PyObject
* obj0
= 0 ;
16081 PyObject
* obj1
= 0 ;
16082 char *kwnames
[] = {
16083 (char *) "self",(char *) "str", NULL
16086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
16087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16088 if (SWIG_arg_fail(1)) SWIG_fail
;
16090 arg2
= wxString_in_helper(obj1
);
16091 if (arg2
== NULL
) SWIG_fail
;
16095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16096 (arg1
)->SetFindString((wxString
const &)*arg2
);
16098 wxPyEndAllowThreads(__tstate
);
16099 if (PyErr_Occurred()) SWIG_fail
;
16101 Py_INCREF(Py_None
); resultobj
= Py_None
;
16116 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16117 PyObject
*resultobj
;
16118 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16119 wxString
*arg2
= 0 ;
16120 bool temp2
= false ;
16121 PyObject
* obj0
= 0 ;
16122 PyObject
* obj1
= 0 ;
16123 char *kwnames
[] = {
16124 (char *) "self",(char *) "str", NULL
16127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
16128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16129 if (SWIG_arg_fail(1)) SWIG_fail
;
16131 arg2
= wxString_in_helper(obj1
);
16132 if (arg2
== NULL
) SWIG_fail
;
16136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16137 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
16139 wxPyEndAllowThreads(__tstate
);
16140 if (PyErr_Occurred()) SWIG_fail
;
16142 Py_INCREF(Py_None
); resultobj
= Py_None
;
16157 static PyObject
* FindDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
16159 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16160 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
16162 return Py_BuildValue((char *)"");
16164 static PyObject
*_wrap_new_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16165 PyObject
*resultobj
;
16166 int arg1
= (int) 0 ;
16167 wxFindReplaceData
*result
;
16168 PyObject
* obj0
= 0 ;
16169 char *kwnames
[] = {
16170 (char *) "flags", NULL
16173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
16176 arg1
= (int)(SWIG_As_int(obj0
));
16177 if (SWIG_arg_fail(1)) SWIG_fail
;
16181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16182 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
16184 wxPyEndAllowThreads(__tstate
);
16185 if (PyErr_Occurred()) SWIG_fail
;
16187 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
16194 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16195 PyObject
*resultobj
;
16196 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16197 PyObject
* obj0
= 0 ;
16198 char *kwnames
[] = {
16199 (char *) "self", NULL
16202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
16203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16204 if (SWIG_arg_fail(1)) SWIG_fail
;
16206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16209 wxPyEndAllowThreads(__tstate
);
16210 if (PyErr_Occurred()) SWIG_fail
;
16212 Py_INCREF(Py_None
); resultobj
= Py_None
;
16219 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16220 PyObject
*resultobj
;
16221 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16223 PyObject
* obj0
= 0 ;
16224 char *kwnames
[] = {
16225 (char *) "self", NULL
16228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
16229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16230 if (SWIG_arg_fail(1)) SWIG_fail
;
16232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16234 wxString
const &_result_ref
= (arg1
)->GetFindString();
16235 result
= (wxString
*) &_result_ref
;
16238 wxPyEndAllowThreads(__tstate
);
16239 if (PyErr_Occurred()) SWIG_fail
;
16243 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16245 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16254 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16255 PyObject
*resultobj
;
16256 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16258 PyObject
* obj0
= 0 ;
16259 char *kwnames
[] = {
16260 (char *) "self", NULL
16263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
16264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16265 if (SWIG_arg_fail(1)) SWIG_fail
;
16267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16269 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
16270 result
= (wxString
*) &_result_ref
;
16273 wxPyEndAllowThreads(__tstate
);
16274 if (PyErr_Occurred()) SWIG_fail
;
16278 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16280 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16289 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16290 PyObject
*resultobj
;
16291 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16293 PyObject
* obj0
= 0 ;
16294 char *kwnames
[] = {
16295 (char *) "self", NULL
16298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
16299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16300 if (SWIG_arg_fail(1)) SWIG_fail
;
16302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16303 result
= (int)(arg1
)->GetFlags();
16305 wxPyEndAllowThreads(__tstate
);
16306 if (PyErr_Occurred()) SWIG_fail
;
16309 resultobj
= SWIG_From_int((int)(result
));
16317 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16318 PyObject
*resultobj
;
16319 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16321 PyObject
* obj0
= 0 ;
16322 PyObject
* obj1
= 0 ;
16323 char *kwnames
[] = {
16324 (char *) "self",(char *) "flags", NULL
16327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
16328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16329 if (SWIG_arg_fail(1)) SWIG_fail
;
16331 arg2
= (int)(SWIG_As_int(obj1
));
16332 if (SWIG_arg_fail(2)) SWIG_fail
;
16335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16336 (arg1
)->SetFlags(arg2
);
16338 wxPyEndAllowThreads(__tstate
);
16339 if (PyErr_Occurred()) SWIG_fail
;
16341 Py_INCREF(Py_None
); resultobj
= Py_None
;
16348 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16349 PyObject
*resultobj
;
16350 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16351 wxString
*arg2
= 0 ;
16352 bool temp2
= false ;
16353 PyObject
* obj0
= 0 ;
16354 PyObject
* obj1
= 0 ;
16355 char *kwnames
[] = {
16356 (char *) "self",(char *) "str", NULL
16359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
16360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16361 if (SWIG_arg_fail(1)) SWIG_fail
;
16363 arg2
= wxString_in_helper(obj1
);
16364 if (arg2
== NULL
) SWIG_fail
;
16368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16369 (arg1
)->SetFindString((wxString
const &)*arg2
);
16371 wxPyEndAllowThreads(__tstate
);
16372 if (PyErr_Occurred()) SWIG_fail
;
16374 Py_INCREF(Py_None
); resultobj
= Py_None
;
16389 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16390 PyObject
*resultobj
;
16391 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16392 wxString
*arg2
= 0 ;
16393 bool temp2
= false ;
16394 PyObject
* obj0
= 0 ;
16395 PyObject
* obj1
= 0 ;
16396 char *kwnames
[] = {
16397 (char *) "self",(char *) "str", NULL
16400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
16401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16402 if (SWIG_arg_fail(1)) SWIG_fail
;
16404 arg2
= wxString_in_helper(obj1
);
16405 if (arg2
== NULL
) SWIG_fail
;
16409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16410 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
16412 wxPyEndAllowThreads(__tstate
);
16413 if (PyErr_Occurred()) SWIG_fail
;
16415 Py_INCREF(Py_None
); resultobj
= Py_None
;
16430 static PyObject
* FindReplaceData_swigregister(PyObject
*, PyObject
*args
) {
16432 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16433 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
16435 return Py_BuildValue((char *)"");
16437 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16438 PyObject
*resultobj
;
16439 wxWindow
*arg1
= (wxWindow
*) 0 ;
16440 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
16441 wxString
*arg3
= 0 ;
16442 int arg4
= (int) 0 ;
16443 wxFindReplaceDialog
*result
;
16444 bool temp3
= false ;
16445 PyObject
* obj0
= 0 ;
16446 PyObject
* obj1
= 0 ;
16447 PyObject
* obj2
= 0 ;
16448 PyObject
* obj3
= 0 ;
16449 char *kwnames
[] = {
16450 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16455 if (SWIG_arg_fail(1)) SWIG_fail
;
16456 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16457 if (SWIG_arg_fail(2)) SWIG_fail
;
16459 arg3
= wxString_in_helper(obj2
);
16460 if (arg3
== NULL
) SWIG_fail
;
16465 arg4
= (int)(SWIG_As_int(obj3
));
16466 if (SWIG_arg_fail(4)) SWIG_fail
;
16470 if (!wxPyCheckForApp()) SWIG_fail
;
16471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16472 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
16474 wxPyEndAllowThreads(__tstate
);
16475 if (PyErr_Occurred()) SWIG_fail
;
16477 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
16492 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16493 PyObject
*resultobj
;
16494 wxFindReplaceDialog
*result
;
16495 char *kwnames
[] = {
16499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
16501 if (!wxPyCheckForApp()) SWIG_fail
;
16502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16503 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
16505 wxPyEndAllowThreads(__tstate
);
16506 if (PyErr_Occurred()) SWIG_fail
;
16508 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
16515 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16516 PyObject
*resultobj
;
16517 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
16518 wxWindow
*arg2
= (wxWindow
*) 0 ;
16519 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
16520 wxString
*arg4
= 0 ;
16521 int arg5
= (int) 0 ;
16523 bool temp4
= false ;
16524 PyObject
* obj0
= 0 ;
16525 PyObject
* obj1
= 0 ;
16526 PyObject
* obj2
= 0 ;
16527 PyObject
* obj3
= 0 ;
16528 PyObject
* obj4
= 0 ;
16529 char *kwnames
[] = {
16530 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
16535 if (SWIG_arg_fail(1)) SWIG_fail
;
16536 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16537 if (SWIG_arg_fail(2)) SWIG_fail
;
16538 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16539 if (SWIG_arg_fail(3)) SWIG_fail
;
16541 arg4
= wxString_in_helper(obj3
);
16542 if (arg4
== NULL
) SWIG_fail
;
16547 arg5
= (int)(SWIG_As_int(obj4
));
16548 if (SWIG_arg_fail(5)) SWIG_fail
;
16552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16553 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
16555 wxPyEndAllowThreads(__tstate
);
16556 if (PyErr_Occurred()) SWIG_fail
;
16559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16575 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16576 PyObject
*resultobj
;
16577 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
16578 wxFindReplaceData
*result
;
16579 PyObject
* obj0
= 0 ;
16580 char *kwnames
[] = {
16581 (char *) "self", NULL
16584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
16585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
16586 if (SWIG_arg_fail(1)) SWIG_fail
;
16588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16589 result
= (wxFindReplaceData
*)(arg1
)->GetData();
16591 wxPyEndAllowThreads(__tstate
);
16592 if (PyErr_Occurred()) SWIG_fail
;
16594 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
16601 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16602 PyObject
*resultobj
;
16603 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
16604 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
16605 PyObject
* obj0
= 0 ;
16606 PyObject
* obj1
= 0 ;
16607 char *kwnames
[] = {
16608 (char *) "self",(char *) "data", NULL
16611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
16612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
16613 if (SWIG_arg_fail(1)) SWIG_fail
;
16614 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16615 if (SWIG_arg_fail(2)) SWIG_fail
;
16617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16618 (arg1
)->SetData(arg2
);
16620 wxPyEndAllowThreads(__tstate
);
16621 if (PyErr_Occurred()) SWIG_fail
;
16623 Py_INCREF(Py_None
); resultobj
= Py_None
;
16630 static PyObject
* FindReplaceDialog_swigregister(PyObject
*, PyObject
*args
) {
16632 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16633 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
16635 return Py_BuildValue((char *)"");
16637 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16638 PyObject
*resultobj
;
16639 wxWindow
*arg1
= (wxWindow
*) 0 ;
16640 int arg2
= (int) (int)-1 ;
16641 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16642 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16643 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16644 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16645 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16646 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16647 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
16648 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
16649 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16650 wxMDIParentFrame
*result
;
16651 bool temp3
= false ;
16654 bool temp7
= false ;
16655 PyObject
* obj0
= 0 ;
16656 PyObject
* obj1
= 0 ;
16657 PyObject
* obj2
= 0 ;
16658 PyObject
* obj3
= 0 ;
16659 PyObject
* obj4
= 0 ;
16660 PyObject
* obj5
= 0 ;
16661 PyObject
* obj6
= 0 ;
16662 char *kwnames
[] = {
16663 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16668 if (SWIG_arg_fail(1)) SWIG_fail
;
16671 arg2
= (int const)(SWIG_As_int(obj1
));
16672 if (SWIG_arg_fail(2)) SWIG_fail
;
16677 arg3
= wxString_in_helper(obj2
);
16678 if (arg3
== NULL
) SWIG_fail
;
16685 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16691 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16696 arg6
= (long)(SWIG_As_long(obj5
));
16697 if (SWIG_arg_fail(6)) SWIG_fail
;
16702 arg7
= wxString_in_helper(obj6
);
16703 if (arg7
== NULL
) SWIG_fail
;
16708 if (!wxPyCheckForApp()) SWIG_fail
;
16709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16710 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
16712 wxPyEndAllowThreads(__tstate
);
16713 if (PyErr_Occurred()) SWIG_fail
;
16715 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
16738 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16739 PyObject
*resultobj
;
16740 wxMDIParentFrame
*result
;
16741 char *kwnames
[] = {
16745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
16747 if (!wxPyCheckForApp()) SWIG_fail
;
16748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16749 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
16751 wxPyEndAllowThreads(__tstate
);
16752 if (PyErr_Occurred()) SWIG_fail
;
16754 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
16761 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16762 PyObject
*resultobj
;
16763 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
16764 wxWindow
*arg2
= (wxWindow
*) 0 ;
16765 int arg3
= (int) (int)-1 ;
16766 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16767 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16768 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16769 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16770 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16771 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16772 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
16773 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
16774 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16776 bool temp4
= false ;
16779 bool temp8
= false ;
16780 PyObject
* obj0
= 0 ;
16781 PyObject
* obj1
= 0 ;
16782 PyObject
* obj2
= 0 ;
16783 PyObject
* obj3
= 0 ;
16784 PyObject
* obj4
= 0 ;
16785 PyObject
* obj5
= 0 ;
16786 PyObject
* obj6
= 0 ;
16787 PyObject
* obj7
= 0 ;
16788 char *kwnames
[] = {
16789 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
16793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
16794 if (SWIG_arg_fail(1)) SWIG_fail
;
16795 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16796 if (SWIG_arg_fail(2)) SWIG_fail
;
16799 arg3
= (int const)(SWIG_As_int(obj2
));
16800 if (SWIG_arg_fail(3)) SWIG_fail
;
16805 arg4
= wxString_in_helper(obj3
);
16806 if (arg4
== NULL
) SWIG_fail
;
16813 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16819 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16824 arg7
= (long)(SWIG_As_long(obj6
));
16825 if (SWIG_arg_fail(7)) SWIG_fail
;
16830 arg8
= wxString_in_helper(obj7
);
16831 if (arg8
== NULL
) SWIG_fail
;
16836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16837 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
16839 wxPyEndAllowThreads(__tstate
);
16840 if (PyErr_Occurred()) SWIG_fail
;
16843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16867 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16868 PyObject
*resultobj
;
16869 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
16870 PyObject
* obj0
= 0 ;
16871 char *kwnames
[] = {
16872 (char *) "self", NULL
16875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
16876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
16877 if (SWIG_arg_fail(1)) SWIG_fail
;
16879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16880 (arg1
)->ActivateNext();
16882 wxPyEndAllowThreads(__tstate
);
16883 if (PyErr_Occurred()) SWIG_fail
;
16885 Py_INCREF(Py_None
); resultobj
= Py_None
;
16892 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16893 PyObject
*resultobj
;
16894 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
16895 PyObject
* obj0
= 0 ;
16896 char *kwnames
[] = {
16897 (char *) "self", NULL
16900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
16901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
16902 if (SWIG_arg_fail(1)) SWIG_fail
;
16904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16905 (arg1
)->ActivatePrevious();
16907 wxPyEndAllowThreads(__tstate
);
16908 if (PyErr_Occurred()) SWIG_fail
;
16910 Py_INCREF(Py_None
); resultobj
= Py_None
;
16917 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16918 PyObject
*resultobj
;
16919 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
16920 PyObject
* obj0
= 0 ;
16921 char *kwnames
[] = {
16922 (char *) "self", NULL
16925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
16926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
16927 if (SWIG_arg_fail(1)) SWIG_fail
;
16929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16930 (arg1
)->ArrangeIcons();
16932 wxPyEndAllowThreads(__tstate
);
16933 if (PyErr_Occurred()) SWIG_fail
;
16935 Py_INCREF(Py_None
); resultobj
= Py_None
;
16942 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16943 PyObject
*resultobj
;
16944 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
16945 PyObject
* obj0
= 0 ;
16946 char *kwnames
[] = {
16947 (char *) "self", NULL
16950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
16951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
16952 if (SWIG_arg_fail(1)) SWIG_fail
;
16954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16957 wxPyEndAllowThreads(__tstate
);
16958 if (PyErr_Occurred()) SWIG_fail
;
16960 Py_INCREF(Py_None
); resultobj
= Py_None
;
16967 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16968 PyObject
*resultobj
;
16969 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
16970 wxMDIChildFrame
*result
;
16971 PyObject
* obj0
= 0 ;
16972 char *kwnames
[] = {
16973 (char *) "self", NULL
16976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
16977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
16978 if (SWIG_arg_fail(1)) SWIG_fail
;
16980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16981 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
16983 wxPyEndAllowThreads(__tstate
);
16984 if (PyErr_Occurred()) SWIG_fail
;
16987 resultobj
= wxPyMake_wxObject(result
, 0);
16995 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16996 PyObject
*resultobj
;
16997 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
16998 wxMDIClientWindow
*result
;
16999 PyObject
* obj0
= 0 ;
17000 char *kwnames
[] = {
17001 (char *) "self", NULL
17004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
17005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17006 if (SWIG_arg_fail(1)) SWIG_fail
;
17008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17009 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
17011 wxPyEndAllowThreads(__tstate
);
17012 if (PyErr_Occurred()) SWIG_fail
;
17015 resultobj
= wxPyMake_wxObject(result
, 0);
17023 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17024 PyObject
*resultobj
;
17025 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17027 PyObject
* obj0
= 0 ;
17028 char *kwnames
[] = {
17029 (char *) "self", NULL
17032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
17033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17034 if (SWIG_arg_fail(1)) SWIG_fail
;
17036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17037 result
= (wxWindow
*)(arg1
)->GetToolBar();
17039 wxPyEndAllowThreads(__tstate
);
17040 if (PyErr_Occurred()) SWIG_fail
;
17043 resultobj
= wxPyMake_wxObject(result
, 0);
17051 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17052 PyObject
*resultobj
;
17053 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17054 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
17055 PyObject
* obj0
= 0 ;
17056 PyObject
* obj1
= 0 ;
17057 char *kwnames
[] = {
17058 (char *) "self",(char *) "orient", NULL
17061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) goto fail
;
17062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17063 if (SWIG_arg_fail(1)) SWIG_fail
;
17066 arg2
= (wxOrientation
)(SWIG_As_int(obj1
));
17067 if (SWIG_arg_fail(2)) SWIG_fail
;
17071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17072 (arg1
)->Tile((wxOrientation
)arg2
);
17074 wxPyEndAllowThreads(__tstate
);
17075 if (PyErr_Occurred()) SWIG_fail
;
17077 Py_INCREF(Py_None
); resultobj
= Py_None
;
17084 static PyObject
* MDIParentFrame_swigregister(PyObject
*, PyObject
*args
) {
17086 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17087 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
17089 return Py_BuildValue((char *)"");
17091 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17092 PyObject
*resultobj
;
17093 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17094 int arg2
= (int) (int)-1 ;
17095 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17096 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17097 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17098 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17099 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17100 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17101 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
17102 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
17103 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17104 wxMDIChildFrame
*result
;
17105 bool temp3
= false ;
17108 bool temp7
= false ;
17109 PyObject
* obj0
= 0 ;
17110 PyObject
* obj1
= 0 ;
17111 PyObject
* obj2
= 0 ;
17112 PyObject
* obj3
= 0 ;
17113 PyObject
* obj4
= 0 ;
17114 PyObject
* obj5
= 0 ;
17115 PyObject
* obj6
= 0 ;
17116 char *kwnames
[] = {
17117 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17122 if (SWIG_arg_fail(1)) SWIG_fail
;
17125 arg2
= (int const)(SWIG_As_int(obj1
));
17126 if (SWIG_arg_fail(2)) SWIG_fail
;
17131 arg3
= wxString_in_helper(obj2
);
17132 if (arg3
== NULL
) SWIG_fail
;
17139 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17145 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17150 arg6
= (long)(SWIG_As_long(obj5
));
17151 if (SWIG_arg_fail(6)) SWIG_fail
;
17156 arg7
= wxString_in_helper(obj6
);
17157 if (arg7
== NULL
) SWIG_fail
;
17162 if (!wxPyCheckForApp()) SWIG_fail
;
17163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17164 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17166 wxPyEndAllowThreads(__tstate
);
17167 if (PyErr_Occurred()) SWIG_fail
;
17169 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
17192 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17193 PyObject
*resultobj
;
17194 wxMDIChildFrame
*result
;
17195 char *kwnames
[] = {
17199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
17201 if (!wxPyCheckForApp()) SWIG_fail
;
17202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17203 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
17205 wxPyEndAllowThreads(__tstate
);
17206 if (PyErr_Occurred()) SWIG_fail
;
17208 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
17215 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17216 PyObject
*resultobj
;
17217 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17218 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
17219 int arg3
= (int) (int)-1 ;
17220 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17221 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17222 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17223 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17224 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17225 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17226 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
17227 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
17228 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17230 bool temp4
= false ;
17233 bool temp8
= false ;
17234 PyObject
* obj0
= 0 ;
17235 PyObject
* obj1
= 0 ;
17236 PyObject
* obj2
= 0 ;
17237 PyObject
* obj3
= 0 ;
17238 PyObject
* obj4
= 0 ;
17239 PyObject
* obj5
= 0 ;
17240 PyObject
* obj6
= 0 ;
17241 PyObject
* obj7
= 0 ;
17242 char *kwnames
[] = {
17243 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17248 if (SWIG_arg_fail(1)) SWIG_fail
;
17249 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17250 if (SWIG_arg_fail(2)) SWIG_fail
;
17253 arg3
= (int const)(SWIG_As_int(obj2
));
17254 if (SWIG_arg_fail(3)) SWIG_fail
;
17259 arg4
= wxString_in_helper(obj3
);
17260 if (arg4
== NULL
) SWIG_fail
;
17267 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17273 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17278 arg7
= (long)(SWIG_As_long(obj6
));
17279 if (SWIG_arg_fail(7)) SWIG_fail
;
17284 arg8
= wxString_in_helper(obj7
);
17285 if (arg8
== NULL
) SWIG_fail
;
17290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17291 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
17293 wxPyEndAllowThreads(__tstate
);
17294 if (PyErr_Occurred()) SWIG_fail
;
17297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17321 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17322 PyObject
*resultobj
;
17323 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17324 PyObject
* obj0
= 0 ;
17325 char *kwnames
[] = {
17326 (char *) "self", NULL
17329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
17330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17331 if (SWIG_arg_fail(1)) SWIG_fail
;
17333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17334 (arg1
)->Activate();
17336 wxPyEndAllowThreads(__tstate
);
17337 if (PyErr_Occurred()) SWIG_fail
;
17339 Py_INCREF(Py_None
); resultobj
= Py_None
;
17346 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17347 PyObject
*resultobj
;
17348 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17349 bool arg2
= (bool) true ;
17350 PyObject
* obj0
= 0 ;
17351 PyObject
* obj1
= 0 ;
17352 char *kwnames
[] = {
17353 (char *) "self",(char *) "maximize", NULL
17356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
17357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17358 if (SWIG_arg_fail(1)) SWIG_fail
;
17361 arg2
= (bool)(SWIG_As_bool(obj1
));
17362 if (SWIG_arg_fail(2)) SWIG_fail
;
17366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17367 (arg1
)->Maximize(arg2
);
17369 wxPyEndAllowThreads(__tstate
);
17370 if (PyErr_Occurred()) SWIG_fail
;
17372 Py_INCREF(Py_None
); resultobj
= Py_None
;
17379 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17380 PyObject
*resultobj
;
17381 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17382 PyObject
* obj0
= 0 ;
17383 char *kwnames
[] = {
17384 (char *) "self", NULL
17387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
17388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17389 if (SWIG_arg_fail(1)) SWIG_fail
;
17391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17394 wxPyEndAllowThreads(__tstate
);
17395 if (PyErr_Occurred()) SWIG_fail
;
17397 Py_INCREF(Py_None
); resultobj
= Py_None
;
17404 static PyObject
* MDIChildFrame_swigregister(PyObject
*, PyObject
*args
) {
17406 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17407 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
17409 return Py_BuildValue((char *)"");
17411 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17412 PyObject
*resultobj
;
17413 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17414 long arg2
= (long) 0 ;
17415 wxMDIClientWindow
*result
;
17416 PyObject
* obj0
= 0 ;
17417 PyObject
* obj1
= 0 ;
17418 char *kwnames
[] = {
17419 (char *) "parent",(char *) "style", NULL
17422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
17423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17424 if (SWIG_arg_fail(1)) SWIG_fail
;
17427 arg2
= (long)(SWIG_As_long(obj1
));
17428 if (SWIG_arg_fail(2)) SWIG_fail
;
17432 if (!wxPyCheckForApp()) SWIG_fail
;
17433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17434 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
17436 wxPyEndAllowThreads(__tstate
);
17437 if (PyErr_Occurred()) SWIG_fail
;
17439 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
17446 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17447 PyObject
*resultobj
;
17448 wxMDIClientWindow
*result
;
17449 char *kwnames
[] = {
17453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
17455 if (!wxPyCheckForApp()) SWIG_fail
;
17456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17457 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
17459 wxPyEndAllowThreads(__tstate
);
17460 if (PyErr_Occurred()) SWIG_fail
;
17462 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
17469 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17470 PyObject
*resultobj
;
17471 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
17472 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
17473 long arg3
= (long) 0 ;
17475 PyObject
* obj0
= 0 ;
17476 PyObject
* obj1
= 0 ;
17477 PyObject
* obj2
= 0 ;
17478 char *kwnames
[] = {
17479 (char *) "self",(char *) "parent",(char *) "style", NULL
17482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_EXCEPTION
| 0);
17484 if (SWIG_arg_fail(1)) SWIG_fail
;
17485 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17486 if (SWIG_arg_fail(2)) SWIG_fail
;
17489 arg3
= (long)(SWIG_As_long(obj2
));
17490 if (SWIG_arg_fail(3)) SWIG_fail
;
17494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17495 result
= (bool)(arg1
)->Create(arg2
,arg3
);
17497 wxPyEndAllowThreads(__tstate
);
17498 if (PyErr_Occurred()) SWIG_fail
;
17501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17509 static PyObject
* MDIClientWindow_swigregister(PyObject
*, PyObject
*args
) {
17511 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17512 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
17514 return Py_BuildValue((char *)"");
17516 static PyObject
*_wrap_new_PyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17517 PyObject
*resultobj
;
17518 wxWindow
*arg1
= (wxWindow
*) 0 ;
17519 int arg2
= (int) (int)-1 ;
17520 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17521 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17522 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17523 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17524 long arg5
= (long) 0 ;
17525 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
17526 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17527 wxPyWindow
*result
;
17530 bool temp6
= false ;
17531 PyObject
* obj0
= 0 ;
17532 PyObject
* obj1
= 0 ;
17533 PyObject
* obj2
= 0 ;
17534 PyObject
* obj3
= 0 ;
17535 PyObject
* obj4
= 0 ;
17536 PyObject
* obj5
= 0 ;
17537 char *kwnames
[] = {
17538 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17543 if (SWIG_arg_fail(1)) SWIG_fail
;
17546 arg2
= (int const)(SWIG_As_int(obj1
));
17547 if (SWIG_arg_fail(2)) SWIG_fail
;
17553 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17559 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17564 arg5
= (long)(SWIG_As_long(obj4
));
17565 if (SWIG_arg_fail(5)) SWIG_fail
;
17570 arg6
= wxString_in_helper(obj5
);
17571 if (arg6
== NULL
) SWIG_fail
;
17576 if (!wxPyCheckForApp()) SWIG_fail
;
17577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17578 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17580 wxPyEndAllowThreads(__tstate
);
17581 if (PyErr_Occurred()) SWIG_fail
;
17583 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
17598 static PyObject
*_wrap_new_PrePyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17599 PyObject
*resultobj
;
17600 wxPyWindow
*result
;
17601 char *kwnames
[] = {
17605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
17607 if (!wxPyCheckForApp()) SWIG_fail
;
17608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17609 result
= (wxPyWindow
*)new wxPyWindow();
17611 wxPyEndAllowThreads(__tstate
);
17612 if (PyErr_Occurred()) SWIG_fail
;
17614 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
17621 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17622 PyObject
*resultobj
;
17623 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17624 PyObject
*arg2
= (PyObject
*) 0 ;
17625 PyObject
*arg3
= (PyObject
*) 0 ;
17626 PyObject
* obj0
= 0 ;
17627 PyObject
* obj1
= 0 ;
17628 PyObject
* obj2
= 0 ;
17629 char *kwnames
[] = {
17630 (char *) "self",(char *) "self",(char *) "_class", NULL
17633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17635 if (SWIG_arg_fail(1)) SWIG_fail
;
17639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17640 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17642 wxPyEndAllowThreads(__tstate
);
17643 if (PyErr_Occurred()) SWIG_fail
;
17645 Py_INCREF(Py_None
); resultobj
= Py_None
;
17652 static PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17653 PyObject
*resultobj
;
17654 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17657 PyObject
* obj0
= 0 ;
17658 PyObject
* obj1
= 0 ;
17659 char *kwnames
[] = {
17660 (char *) "self",(char *) "size", NULL
17663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17665 if (SWIG_arg_fail(1)) SWIG_fail
;
17668 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17672 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
17674 wxPyEndAllowThreads(__tstate
);
17675 if (PyErr_Occurred()) SWIG_fail
;
17677 Py_INCREF(Py_None
); resultobj
= Py_None
;
17684 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17685 PyObject
*resultobj
;
17686 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17691 PyObject
* obj0
= 0 ;
17692 PyObject
* obj1
= 0 ;
17693 PyObject
* obj2
= 0 ;
17694 PyObject
* obj3
= 0 ;
17695 PyObject
* obj4
= 0 ;
17696 char *kwnames
[] = {
17697 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17702 if (SWIG_arg_fail(1)) SWIG_fail
;
17704 arg2
= (int)(SWIG_As_int(obj1
));
17705 if (SWIG_arg_fail(2)) SWIG_fail
;
17708 arg3
= (int)(SWIG_As_int(obj2
));
17709 if (SWIG_arg_fail(3)) SWIG_fail
;
17712 arg4
= (int)(SWIG_As_int(obj3
));
17713 if (SWIG_arg_fail(4)) SWIG_fail
;
17716 arg5
= (int)(SWIG_As_int(obj4
));
17717 if (SWIG_arg_fail(5)) SWIG_fail
;
17720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17721 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
17723 wxPyEndAllowThreads(__tstate
);
17724 if (PyErr_Occurred()) SWIG_fail
;
17726 Py_INCREF(Py_None
); resultobj
= Py_None
;
17733 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17734 PyObject
*resultobj
;
17735 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17740 int arg6
= (int) wxSIZE_AUTO
;
17741 PyObject
* obj0
= 0 ;
17742 PyObject
* obj1
= 0 ;
17743 PyObject
* obj2
= 0 ;
17744 PyObject
* obj3
= 0 ;
17745 PyObject
* obj4
= 0 ;
17746 PyObject
* obj5
= 0 ;
17747 char *kwnames
[] = {
17748 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17753 if (SWIG_arg_fail(1)) SWIG_fail
;
17755 arg2
= (int)(SWIG_As_int(obj1
));
17756 if (SWIG_arg_fail(2)) SWIG_fail
;
17759 arg3
= (int)(SWIG_As_int(obj2
));
17760 if (SWIG_arg_fail(3)) SWIG_fail
;
17763 arg4
= (int)(SWIG_As_int(obj3
));
17764 if (SWIG_arg_fail(4)) SWIG_fail
;
17767 arg5
= (int)(SWIG_As_int(obj4
));
17768 if (SWIG_arg_fail(5)) SWIG_fail
;
17772 arg6
= (int)(SWIG_As_int(obj5
));
17773 if (SWIG_arg_fail(6)) SWIG_fail
;
17777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17778 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
17780 wxPyEndAllowThreads(__tstate
);
17781 if (PyErr_Occurred()) SWIG_fail
;
17783 Py_INCREF(Py_None
); resultobj
= Py_None
;
17790 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17791 PyObject
*resultobj
;
17792 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17795 PyObject
* obj0
= 0 ;
17796 PyObject
* obj1
= 0 ;
17797 PyObject
* obj2
= 0 ;
17798 char *kwnames
[] = {
17799 (char *) "self",(char *) "width",(char *) "height", NULL
17802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17804 if (SWIG_arg_fail(1)) SWIG_fail
;
17806 arg2
= (int)(SWIG_As_int(obj1
));
17807 if (SWIG_arg_fail(2)) SWIG_fail
;
17810 arg3
= (int)(SWIG_As_int(obj2
));
17811 if (SWIG_arg_fail(3)) SWIG_fail
;
17814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17815 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
17817 wxPyEndAllowThreads(__tstate
);
17818 if (PyErr_Occurred()) SWIG_fail
;
17820 Py_INCREF(Py_None
); resultobj
= Py_None
;
17827 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17828 PyObject
*resultobj
;
17829 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17832 PyObject
* obj0
= 0 ;
17833 PyObject
* obj1
= 0 ;
17834 PyObject
* obj2
= 0 ;
17835 char *kwnames
[] = {
17836 (char *) "self",(char *) "x",(char *) "y", NULL
17839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17841 if (SWIG_arg_fail(1)) SWIG_fail
;
17843 arg2
= (int)(SWIG_As_int(obj1
));
17844 if (SWIG_arg_fail(2)) SWIG_fail
;
17847 arg3
= (int)(SWIG_As_int(obj2
));
17848 if (SWIG_arg_fail(3)) SWIG_fail
;
17851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17852 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
17854 wxPyEndAllowThreads(__tstate
);
17855 if (PyErr_Occurred()) SWIG_fail
;
17857 Py_INCREF(Py_None
); resultobj
= Py_None
;
17864 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17865 PyObject
*resultobj
;
17866 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17867 int *arg2
= (int *) 0 ;
17868 int *arg3
= (int *) 0 ;
17873 PyObject
* obj0
= 0 ;
17874 char *kwnames
[] = {
17875 (char *) "self", NULL
17878 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17879 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
17881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17882 if (SWIG_arg_fail(1)) SWIG_fail
;
17884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17885 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
17887 wxPyEndAllowThreads(__tstate
);
17888 if (PyErr_Occurred()) SWIG_fail
;
17890 Py_INCREF(Py_None
); resultobj
= Py_None
;
17891 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17892 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17893 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17894 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17901 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17902 PyObject
*resultobj
;
17903 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17904 int *arg2
= (int *) 0 ;
17905 int *arg3
= (int *) 0 ;
17910 PyObject
* obj0
= 0 ;
17911 char *kwnames
[] = {
17912 (char *) "self", NULL
17915 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17916 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
17918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17919 if (SWIG_arg_fail(1)) SWIG_fail
;
17921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17922 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
17924 wxPyEndAllowThreads(__tstate
);
17925 if (PyErr_Occurred()) SWIG_fail
;
17927 Py_INCREF(Py_None
); resultobj
= Py_None
;
17928 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17929 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17930 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17931 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17938 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17939 PyObject
*resultobj
;
17940 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17941 int *arg2
= (int *) 0 ;
17942 int *arg3
= (int *) 0 ;
17947 PyObject
* obj0
= 0 ;
17948 char *kwnames
[] = {
17949 (char *) "self", NULL
17952 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17953 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
17955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17956 if (SWIG_arg_fail(1)) SWIG_fail
;
17958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17959 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
17961 wxPyEndAllowThreads(__tstate
);
17962 if (PyErr_Occurred()) SWIG_fail
;
17964 Py_INCREF(Py_None
); resultobj
= Py_None
;
17965 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17966 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17967 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17968 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17975 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17976 PyObject
*resultobj
;
17977 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17979 PyObject
* obj0
= 0 ;
17980 char *kwnames
[] = {
17981 (char *) "self", NULL
17984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
17985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17986 if (SWIG_arg_fail(1)) SWIG_fail
;
17988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17989 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
17991 wxPyEndAllowThreads(__tstate
);
17992 if (PyErr_Occurred()) SWIG_fail
;
17995 wxSize
* resultptr
;
17996 resultptr
= new wxSize((wxSize
&)(result
));
17997 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18005 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18006 PyObject
*resultobj
;
18007 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18009 PyObject
* obj0
= 0 ;
18010 char *kwnames
[] = {
18011 (char *) "self", NULL
18014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
18015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18016 if (SWIG_arg_fail(1)) SWIG_fail
;
18018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18019 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
18021 wxPyEndAllowThreads(__tstate
);
18022 if (PyErr_Occurred()) SWIG_fail
;
18025 wxSize
* resultptr
;
18026 resultptr
= new wxSize((wxSize
&)(result
));
18027 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18035 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18036 PyObject
*resultobj
;
18037 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18038 PyObject
* obj0
= 0 ;
18039 char *kwnames
[] = {
18040 (char *) "self", NULL
18043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
18044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18045 if (SWIG_arg_fail(1)) SWIG_fail
;
18047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18048 (arg1
)->base_InitDialog();
18050 wxPyEndAllowThreads(__tstate
);
18051 if (PyErr_Occurred()) SWIG_fail
;
18053 Py_INCREF(Py_None
); resultobj
= Py_None
;
18060 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18061 PyObject
*resultobj
;
18062 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18064 PyObject
* obj0
= 0 ;
18065 char *kwnames
[] = {
18066 (char *) "self", NULL
18069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
18070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18071 if (SWIG_arg_fail(1)) SWIG_fail
;
18073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18074 result
= (bool)(arg1
)->base_TransferDataToWindow();
18076 wxPyEndAllowThreads(__tstate
);
18077 if (PyErr_Occurred()) SWIG_fail
;
18080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18088 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18089 PyObject
*resultobj
;
18090 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18092 PyObject
* obj0
= 0 ;
18093 char *kwnames
[] = {
18094 (char *) "self", NULL
18097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
18098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18099 if (SWIG_arg_fail(1)) SWIG_fail
;
18101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18102 result
= (bool)(arg1
)->base_TransferDataFromWindow();
18104 wxPyEndAllowThreads(__tstate
);
18105 if (PyErr_Occurred()) SWIG_fail
;
18108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18116 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18117 PyObject
*resultobj
;
18118 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18120 PyObject
* obj0
= 0 ;
18121 char *kwnames
[] = {
18122 (char *) "self", NULL
18125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
18126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18127 if (SWIG_arg_fail(1)) SWIG_fail
;
18129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18130 result
= (bool)(arg1
)->base_Validate();
18132 wxPyEndAllowThreads(__tstate
);
18133 if (PyErr_Occurred()) SWIG_fail
;
18136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18144 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18145 PyObject
*resultobj
;
18146 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18148 PyObject
* obj0
= 0 ;
18149 char *kwnames
[] = {
18150 (char *) "self", NULL
18153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
18154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18155 if (SWIG_arg_fail(1)) SWIG_fail
;
18157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18158 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
18160 wxPyEndAllowThreads(__tstate
);
18161 if (PyErr_Occurred()) SWIG_fail
;
18164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18172 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18173 PyObject
*resultobj
;
18174 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18176 PyObject
* obj0
= 0 ;
18177 char *kwnames
[] = {
18178 (char *) "self", NULL
18181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
18182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18183 if (SWIG_arg_fail(1)) SWIG_fail
;
18185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18186 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
18188 wxPyEndAllowThreads(__tstate
);
18189 if (PyErr_Occurred()) SWIG_fail
;
18192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18200 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18201 PyObject
*resultobj
;
18202 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18204 PyObject
* obj0
= 0 ;
18205 char *kwnames
[] = {
18206 (char *) "self", NULL
18209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
18210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18211 if (SWIG_arg_fail(1)) SWIG_fail
;
18213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18214 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
18216 wxPyEndAllowThreads(__tstate
);
18217 if (PyErr_Occurred()) SWIG_fail
;
18220 wxSize
* resultptr
;
18221 resultptr
= new wxSize((wxSize
&)(result
));
18222 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18230 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18231 PyObject
*resultobj
;
18232 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18233 wxWindow
*arg2
= (wxWindow
*) 0 ;
18234 PyObject
* obj0
= 0 ;
18235 PyObject
* obj1
= 0 ;
18236 char *kwnames
[] = {
18237 (char *) "self",(char *) "child", NULL
18240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18242 if (SWIG_arg_fail(1)) SWIG_fail
;
18243 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18244 if (SWIG_arg_fail(2)) SWIG_fail
;
18246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18247 (arg1
)->base_AddChild(arg2
);
18249 wxPyEndAllowThreads(__tstate
);
18250 if (PyErr_Occurred()) SWIG_fail
;
18252 Py_INCREF(Py_None
); resultobj
= Py_None
;
18259 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18260 PyObject
*resultobj
;
18261 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18262 wxWindow
*arg2
= (wxWindow
*) 0 ;
18263 PyObject
* obj0
= 0 ;
18264 PyObject
* obj1
= 0 ;
18265 char *kwnames
[] = {
18266 (char *) "self",(char *) "child", NULL
18269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18271 if (SWIG_arg_fail(1)) SWIG_fail
;
18272 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18273 if (SWIG_arg_fail(2)) SWIG_fail
;
18275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18276 (arg1
)->base_RemoveChild(arg2
);
18278 wxPyEndAllowThreads(__tstate
);
18279 if (PyErr_Occurred()) SWIG_fail
;
18281 Py_INCREF(Py_None
); resultobj
= Py_None
;
18288 static PyObject
*_wrap_PyWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18289 PyObject
*resultobj
;
18290 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18292 PyObject
* obj0
= 0 ;
18293 char *kwnames
[] = {
18294 (char *) "self", NULL
18297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
18298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18299 if (SWIG_arg_fail(1)) SWIG_fail
;
18301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18302 result
= (bool)((wxPyWindow
const *)arg1
)->base_ShouldInheritColours();
18304 wxPyEndAllowThreads(__tstate
);
18305 if (PyErr_Occurred()) SWIG_fail
;
18308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18316 static PyObject
*_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18317 PyObject
*resultobj
;
18318 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18319 wxColour
*arg2
= 0 ;
18321 PyObject
* obj0
= 0 ;
18322 PyObject
* obj1
= 0 ;
18323 char *kwnames
[] = {
18324 (char *) "self",(char *) "c", NULL
18327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
18328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18329 if (SWIG_arg_fail(1)) SWIG_fail
;
18332 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18336 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
18338 wxPyEndAllowThreads(__tstate
);
18339 if (PyErr_Occurred()) SWIG_fail
;
18341 Py_INCREF(Py_None
); resultobj
= Py_None
;
18348 static PyObject
*_wrap_PyWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18349 PyObject
*resultobj
;
18350 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18351 wxVisualAttributes result
;
18352 PyObject
* obj0
= 0 ;
18353 char *kwnames
[] = {
18354 (char *) "self", NULL
18357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
18358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18359 if (SWIG_arg_fail(1)) SWIG_fail
;
18361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18362 result
= (arg1
)->base_GetDefaultAttributes();
18364 wxPyEndAllowThreads(__tstate
);
18365 if (PyErr_Occurred()) SWIG_fail
;
18368 wxVisualAttributes
* resultptr
;
18369 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
18370 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
18378 static PyObject
* PyWindow_swigregister(PyObject
*, PyObject
*args
) {
18380 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18381 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
18383 return Py_BuildValue((char *)"");
18385 static PyObject
*_wrap_new_PyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18386 PyObject
*resultobj
;
18387 wxWindow
*arg1
= (wxWindow
*) 0 ;
18388 int arg2
= (int) (int)-1 ;
18389 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18390 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18391 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18392 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18393 long arg5
= (long) 0 ;
18394 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
18395 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18399 bool temp6
= false ;
18400 PyObject
* obj0
= 0 ;
18401 PyObject
* obj1
= 0 ;
18402 PyObject
* obj2
= 0 ;
18403 PyObject
* obj3
= 0 ;
18404 PyObject
* obj4
= 0 ;
18405 PyObject
* obj5
= 0 ;
18406 char *kwnames
[] = {
18407 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18412 if (SWIG_arg_fail(1)) SWIG_fail
;
18415 arg2
= (int const)(SWIG_As_int(obj1
));
18416 if (SWIG_arg_fail(2)) SWIG_fail
;
18422 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18428 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18433 arg5
= (long)(SWIG_As_long(obj4
));
18434 if (SWIG_arg_fail(5)) SWIG_fail
;
18439 arg6
= wxString_in_helper(obj5
);
18440 if (arg6
== NULL
) SWIG_fail
;
18445 if (!wxPyCheckForApp()) SWIG_fail
;
18446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18447 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18449 wxPyEndAllowThreads(__tstate
);
18450 if (PyErr_Occurred()) SWIG_fail
;
18452 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
18467 static PyObject
*_wrap_new_PrePyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18468 PyObject
*resultobj
;
18470 char *kwnames
[] = {
18474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
18476 if (!wxPyCheckForApp()) SWIG_fail
;
18477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18478 result
= (wxPyPanel
*)new wxPyPanel();
18480 wxPyEndAllowThreads(__tstate
);
18481 if (PyErr_Occurred()) SWIG_fail
;
18483 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
18490 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18491 PyObject
*resultobj
;
18492 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18493 PyObject
*arg2
= (PyObject
*) 0 ;
18494 PyObject
*arg3
= (PyObject
*) 0 ;
18495 PyObject
* obj0
= 0 ;
18496 PyObject
* obj1
= 0 ;
18497 PyObject
* obj2
= 0 ;
18498 char *kwnames
[] = {
18499 (char *) "self",(char *) "self",(char *) "_class", NULL
18502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18504 if (SWIG_arg_fail(1)) SWIG_fail
;
18508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18509 (arg1
)->_setCallbackInfo(arg2
,arg3
);
18511 wxPyEndAllowThreads(__tstate
);
18512 if (PyErr_Occurred()) SWIG_fail
;
18514 Py_INCREF(Py_None
); resultobj
= Py_None
;
18521 static PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18522 PyObject
*resultobj
;
18523 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18526 PyObject
* obj0
= 0 ;
18527 PyObject
* obj1
= 0 ;
18528 char *kwnames
[] = {
18529 (char *) "self",(char *) "size", NULL
18532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18534 if (SWIG_arg_fail(1)) SWIG_fail
;
18537 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18541 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
18543 wxPyEndAllowThreads(__tstate
);
18544 if (PyErr_Occurred()) SWIG_fail
;
18546 Py_INCREF(Py_None
); resultobj
= Py_None
;
18553 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18554 PyObject
*resultobj
;
18555 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18560 PyObject
* obj0
= 0 ;
18561 PyObject
* obj1
= 0 ;
18562 PyObject
* obj2
= 0 ;
18563 PyObject
* obj3
= 0 ;
18564 PyObject
* obj4
= 0 ;
18565 char *kwnames
[] = {
18566 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18571 if (SWIG_arg_fail(1)) SWIG_fail
;
18573 arg2
= (int)(SWIG_As_int(obj1
));
18574 if (SWIG_arg_fail(2)) SWIG_fail
;
18577 arg3
= (int)(SWIG_As_int(obj2
));
18578 if (SWIG_arg_fail(3)) SWIG_fail
;
18581 arg4
= (int)(SWIG_As_int(obj3
));
18582 if (SWIG_arg_fail(4)) SWIG_fail
;
18585 arg5
= (int)(SWIG_As_int(obj4
));
18586 if (SWIG_arg_fail(5)) SWIG_fail
;
18589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18590 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
18592 wxPyEndAllowThreads(__tstate
);
18593 if (PyErr_Occurred()) SWIG_fail
;
18595 Py_INCREF(Py_None
); resultobj
= Py_None
;
18602 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18603 PyObject
*resultobj
;
18604 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18609 int arg6
= (int) wxSIZE_AUTO
;
18610 PyObject
* obj0
= 0 ;
18611 PyObject
* obj1
= 0 ;
18612 PyObject
* obj2
= 0 ;
18613 PyObject
* obj3
= 0 ;
18614 PyObject
* obj4
= 0 ;
18615 PyObject
* obj5
= 0 ;
18616 char *kwnames
[] = {
18617 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
18620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18622 if (SWIG_arg_fail(1)) SWIG_fail
;
18624 arg2
= (int)(SWIG_As_int(obj1
));
18625 if (SWIG_arg_fail(2)) SWIG_fail
;
18628 arg3
= (int)(SWIG_As_int(obj2
));
18629 if (SWIG_arg_fail(3)) SWIG_fail
;
18632 arg4
= (int)(SWIG_As_int(obj3
));
18633 if (SWIG_arg_fail(4)) SWIG_fail
;
18636 arg5
= (int)(SWIG_As_int(obj4
));
18637 if (SWIG_arg_fail(5)) SWIG_fail
;
18641 arg6
= (int)(SWIG_As_int(obj5
));
18642 if (SWIG_arg_fail(6)) SWIG_fail
;
18646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18647 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
18649 wxPyEndAllowThreads(__tstate
);
18650 if (PyErr_Occurred()) SWIG_fail
;
18652 Py_INCREF(Py_None
); resultobj
= Py_None
;
18659 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18660 PyObject
*resultobj
;
18661 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18664 PyObject
* obj0
= 0 ;
18665 PyObject
* obj1
= 0 ;
18666 PyObject
* obj2
= 0 ;
18667 char *kwnames
[] = {
18668 (char *) "self",(char *) "width",(char *) "height", NULL
18671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18673 if (SWIG_arg_fail(1)) SWIG_fail
;
18675 arg2
= (int)(SWIG_As_int(obj1
));
18676 if (SWIG_arg_fail(2)) SWIG_fail
;
18679 arg3
= (int)(SWIG_As_int(obj2
));
18680 if (SWIG_arg_fail(3)) SWIG_fail
;
18683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18684 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
18686 wxPyEndAllowThreads(__tstate
);
18687 if (PyErr_Occurred()) SWIG_fail
;
18689 Py_INCREF(Py_None
); resultobj
= Py_None
;
18696 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18697 PyObject
*resultobj
;
18698 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18701 PyObject
* obj0
= 0 ;
18702 PyObject
* obj1
= 0 ;
18703 PyObject
* obj2
= 0 ;
18704 char *kwnames
[] = {
18705 (char *) "self",(char *) "x",(char *) "y", NULL
18708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18710 if (SWIG_arg_fail(1)) SWIG_fail
;
18712 arg2
= (int)(SWIG_As_int(obj1
));
18713 if (SWIG_arg_fail(2)) SWIG_fail
;
18716 arg3
= (int)(SWIG_As_int(obj2
));
18717 if (SWIG_arg_fail(3)) SWIG_fail
;
18720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18721 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
18723 wxPyEndAllowThreads(__tstate
);
18724 if (PyErr_Occurred()) SWIG_fail
;
18726 Py_INCREF(Py_None
); resultobj
= Py_None
;
18733 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18734 PyObject
*resultobj
;
18735 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18736 int *arg2
= (int *) 0 ;
18737 int *arg3
= (int *) 0 ;
18742 PyObject
* obj0
= 0 ;
18743 char *kwnames
[] = {
18744 (char *) "self", NULL
18747 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18748 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
18750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18751 if (SWIG_arg_fail(1)) SWIG_fail
;
18753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18754 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
18756 wxPyEndAllowThreads(__tstate
);
18757 if (PyErr_Occurred()) SWIG_fail
;
18759 Py_INCREF(Py_None
); resultobj
= Py_None
;
18760 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18761 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18762 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18763 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18770 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18771 PyObject
*resultobj
;
18772 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18773 int *arg2
= (int *) 0 ;
18774 int *arg3
= (int *) 0 ;
18779 PyObject
* obj0
= 0 ;
18780 char *kwnames
[] = {
18781 (char *) "self", NULL
18784 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18785 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
18787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18788 if (SWIG_arg_fail(1)) SWIG_fail
;
18790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18791 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
18793 wxPyEndAllowThreads(__tstate
);
18794 if (PyErr_Occurred()) SWIG_fail
;
18796 Py_INCREF(Py_None
); resultobj
= Py_None
;
18797 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18798 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18799 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18800 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18807 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18808 PyObject
*resultobj
;
18809 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18810 int *arg2
= (int *) 0 ;
18811 int *arg3
= (int *) 0 ;
18816 PyObject
* obj0
= 0 ;
18817 char *kwnames
[] = {
18818 (char *) "self", NULL
18821 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18822 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
18824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18825 if (SWIG_arg_fail(1)) SWIG_fail
;
18827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18828 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
18830 wxPyEndAllowThreads(__tstate
);
18831 if (PyErr_Occurred()) SWIG_fail
;
18833 Py_INCREF(Py_None
); resultobj
= Py_None
;
18834 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18835 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18836 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18837 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18844 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18845 PyObject
*resultobj
;
18846 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18848 PyObject
* obj0
= 0 ;
18849 char *kwnames
[] = {
18850 (char *) "self", NULL
18853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
18854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18855 if (SWIG_arg_fail(1)) SWIG_fail
;
18857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18858 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
18860 wxPyEndAllowThreads(__tstate
);
18861 if (PyErr_Occurred()) SWIG_fail
;
18864 wxSize
* resultptr
;
18865 resultptr
= new wxSize((wxSize
&)(result
));
18866 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18874 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18875 PyObject
*resultobj
;
18876 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18878 PyObject
* obj0
= 0 ;
18879 char *kwnames
[] = {
18880 (char *) "self", NULL
18883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
18884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18885 if (SWIG_arg_fail(1)) SWIG_fail
;
18887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18888 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
18890 wxPyEndAllowThreads(__tstate
);
18891 if (PyErr_Occurred()) SWIG_fail
;
18894 wxSize
* resultptr
;
18895 resultptr
= new wxSize((wxSize
&)(result
));
18896 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18904 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18905 PyObject
*resultobj
;
18906 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18907 PyObject
* obj0
= 0 ;
18908 char *kwnames
[] = {
18909 (char *) "self", NULL
18912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
18913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18914 if (SWIG_arg_fail(1)) SWIG_fail
;
18916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18917 (arg1
)->base_InitDialog();
18919 wxPyEndAllowThreads(__tstate
);
18920 if (PyErr_Occurred()) SWIG_fail
;
18922 Py_INCREF(Py_None
); resultobj
= Py_None
;
18929 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18930 PyObject
*resultobj
;
18931 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18933 PyObject
* obj0
= 0 ;
18934 char *kwnames
[] = {
18935 (char *) "self", NULL
18938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
18939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18940 if (SWIG_arg_fail(1)) SWIG_fail
;
18942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18943 result
= (bool)(arg1
)->base_TransferDataToWindow();
18945 wxPyEndAllowThreads(__tstate
);
18946 if (PyErr_Occurred()) SWIG_fail
;
18949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18957 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18958 PyObject
*resultobj
;
18959 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18961 PyObject
* obj0
= 0 ;
18962 char *kwnames
[] = {
18963 (char *) "self", NULL
18966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
18967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18968 if (SWIG_arg_fail(1)) SWIG_fail
;
18970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18971 result
= (bool)(arg1
)->base_TransferDataFromWindow();
18973 wxPyEndAllowThreads(__tstate
);
18974 if (PyErr_Occurred()) SWIG_fail
;
18977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18985 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18986 PyObject
*resultobj
;
18987 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18989 PyObject
* obj0
= 0 ;
18990 char *kwnames
[] = {
18991 (char *) "self", NULL
18994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
18995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18996 if (SWIG_arg_fail(1)) SWIG_fail
;
18998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18999 result
= (bool)(arg1
)->base_Validate();
19001 wxPyEndAllowThreads(__tstate
);
19002 if (PyErr_Occurred()) SWIG_fail
;
19005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19013 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19014 PyObject
*resultobj
;
19015 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19017 PyObject
* obj0
= 0 ;
19018 char *kwnames
[] = {
19019 (char *) "self", NULL
19022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
19023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19024 if (SWIG_arg_fail(1)) SWIG_fail
;
19026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19027 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
19029 wxPyEndAllowThreads(__tstate
);
19030 if (PyErr_Occurred()) SWIG_fail
;
19033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19041 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19042 PyObject
*resultobj
;
19043 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19045 PyObject
* obj0
= 0 ;
19046 char *kwnames
[] = {
19047 (char *) "self", NULL
19050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
19051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19052 if (SWIG_arg_fail(1)) SWIG_fail
;
19054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19055 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
19057 wxPyEndAllowThreads(__tstate
);
19058 if (PyErr_Occurred()) SWIG_fail
;
19061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19069 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19070 PyObject
*resultobj
;
19071 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19073 PyObject
* obj0
= 0 ;
19074 char *kwnames
[] = {
19075 (char *) "self", NULL
19078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
19079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19080 if (SWIG_arg_fail(1)) SWIG_fail
;
19082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19083 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
19085 wxPyEndAllowThreads(__tstate
);
19086 if (PyErr_Occurred()) SWIG_fail
;
19089 wxSize
* resultptr
;
19090 resultptr
= new wxSize((wxSize
&)(result
));
19091 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19099 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19100 PyObject
*resultobj
;
19101 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19102 wxWindow
*arg2
= (wxWindow
*) 0 ;
19103 PyObject
* obj0
= 0 ;
19104 PyObject
* obj1
= 0 ;
19105 char *kwnames
[] = {
19106 (char *) "self",(char *) "child", NULL
19109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
19110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19111 if (SWIG_arg_fail(1)) SWIG_fail
;
19112 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19113 if (SWIG_arg_fail(2)) SWIG_fail
;
19115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19116 (arg1
)->base_AddChild(arg2
);
19118 wxPyEndAllowThreads(__tstate
);
19119 if (PyErr_Occurred()) SWIG_fail
;
19121 Py_INCREF(Py_None
); resultobj
= Py_None
;
19128 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19129 PyObject
*resultobj
;
19130 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19131 wxWindow
*arg2
= (wxWindow
*) 0 ;
19132 PyObject
* obj0
= 0 ;
19133 PyObject
* obj1
= 0 ;
19134 char *kwnames
[] = {
19135 (char *) "self",(char *) "child", NULL
19138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
19139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19140 if (SWIG_arg_fail(1)) SWIG_fail
;
19141 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19142 if (SWIG_arg_fail(2)) SWIG_fail
;
19144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19145 (arg1
)->base_RemoveChild(arg2
);
19147 wxPyEndAllowThreads(__tstate
);
19148 if (PyErr_Occurred()) SWIG_fail
;
19150 Py_INCREF(Py_None
); resultobj
= Py_None
;
19157 static PyObject
*_wrap_PyPanel_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19158 PyObject
*resultobj
;
19159 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19161 PyObject
* obj0
= 0 ;
19162 char *kwnames
[] = {
19163 (char *) "self", NULL
19166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
19167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19168 if (SWIG_arg_fail(1)) SWIG_fail
;
19170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19171 result
= (bool)((wxPyPanel
const *)arg1
)->base_ShouldInheritColours();
19173 wxPyEndAllowThreads(__tstate
);
19174 if (PyErr_Occurred()) SWIG_fail
;
19177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19185 static PyObject
*_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19186 PyObject
*resultobj
;
19187 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19188 wxColour
*arg2
= 0 ;
19190 PyObject
* obj0
= 0 ;
19191 PyObject
* obj1
= 0 ;
19192 char *kwnames
[] = {
19193 (char *) "self",(char *) "c", NULL
19196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
19197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19198 if (SWIG_arg_fail(1)) SWIG_fail
;
19201 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19205 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
19207 wxPyEndAllowThreads(__tstate
);
19208 if (PyErr_Occurred()) SWIG_fail
;
19210 Py_INCREF(Py_None
); resultobj
= Py_None
;
19217 static PyObject
*_wrap_PyPanel_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19218 PyObject
*resultobj
;
19219 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19220 wxVisualAttributes result
;
19221 PyObject
* obj0
= 0 ;
19222 char *kwnames
[] = {
19223 (char *) "self", NULL
19226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
19227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19228 if (SWIG_arg_fail(1)) SWIG_fail
;
19230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19231 result
= (arg1
)->base_GetDefaultAttributes();
19233 wxPyEndAllowThreads(__tstate
);
19234 if (PyErr_Occurred()) SWIG_fail
;
19237 wxVisualAttributes
* resultptr
;
19238 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
19239 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
19247 static PyObject
* PyPanel_swigregister(PyObject
*, PyObject
*args
) {
19249 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19250 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
19252 return Py_BuildValue((char *)"");
19254 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19255 PyObject
*resultobj
;
19256 wxWindow
*arg1
= (wxWindow
*) 0 ;
19257 int arg2
= (int) (int)-1 ;
19258 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19259 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19260 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19261 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19262 long arg5
= (long) 0 ;
19263 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
19264 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
19265 wxPyScrolledWindow
*result
;
19268 bool temp6
= false ;
19269 PyObject
* obj0
= 0 ;
19270 PyObject
* obj1
= 0 ;
19271 PyObject
* obj2
= 0 ;
19272 PyObject
* obj3
= 0 ;
19273 PyObject
* obj4
= 0 ;
19274 PyObject
* obj5
= 0 ;
19275 char *kwnames
[] = {
19276 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19281 if (SWIG_arg_fail(1)) SWIG_fail
;
19284 arg2
= (int const)(SWIG_As_int(obj1
));
19285 if (SWIG_arg_fail(2)) SWIG_fail
;
19291 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19297 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19302 arg5
= (long)(SWIG_As_long(obj4
));
19303 if (SWIG_arg_fail(5)) SWIG_fail
;
19308 arg6
= wxString_in_helper(obj5
);
19309 if (arg6
== NULL
) SWIG_fail
;
19314 if (!wxPyCheckForApp()) SWIG_fail
;
19315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19316 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
19318 wxPyEndAllowThreads(__tstate
);
19319 if (PyErr_Occurred()) SWIG_fail
;
19321 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
19336 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19337 PyObject
*resultobj
;
19338 wxPyScrolledWindow
*result
;
19339 char *kwnames
[] = {
19343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
19345 if (!wxPyCheckForApp()) SWIG_fail
;
19346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19347 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
19349 wxPyEndAllowThreads(__tstate
);
19350 if (PyErr_Occurred()) SWIG_fail
;
19352 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
19359 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19360 PyObject
*resultobj
;
19361 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19362 PyObject
*arg2
= (PyObject
*) 0 ;
19363 PyObject
*arg3
= (PyObject
*) 0 ;
19364 PyObject
* obj0
= 0 ;
19365 PyObject
* obj1
= 0 ;
19366 PyObject
* obj2
= 0 ;
19367 char *kwnames
[] = {
19368 (char *) "self",(char *) "self",(char *) "_class", NULL
19371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19373 if (SWIG_arg_fail(1)) SWIG_fail
;
19377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19378 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19380 wxPyEndAllowThreads(__tstate
);
19381 if (PyErr_Occurred()) SWIG_fail
;
19383 Py_INCREF(Py_None
); resultobj
= Py_None
;
19390 static PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19391 PyObject
*resultobj
;
19392 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19395 PyObject
* obj0
= 0 ;
19396 PyObject
* obj1
= 0 ;
19397 char *kwnames
[] = {
19398 (char *) "self",(char *) "size", NULL
19401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19403 if (SWIG_arg_fail(1)) SWIG_fail
;
19406 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19410 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
19412 wxPyEndAllowThreads(__tstate
);
19413 if (PyErr_Occurred()) SWIG_fail
;
19415 Py_INCREF(Py_None
); resultobj
= Py_None
;
19422 static PyObject
*_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19423 PyObject
*resultobj
;
19424 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19429 PyObject
* obj0
= 0 ;
19430 PyObject
* obj1
= 0 ;
19431 PyObject
* obj2
= 0 ;
19432 PyObject
* obj3
= 0 ;
19433 PyObject
* obj4
= 0 ;
19434 char *kwnames
[] = {
19435 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19440 if (SWIG_arg_fail(1)) SWIG_fail
;
19442 arg2
= (int)(SWIG_As_int(obj1
));
19443 if (SWIG_arg_fail(2)) SWIG_fail
;
19446 arg3
= (int)(SWIG_As_int(obj2
));
19447 if (SWIG_arg_fail(3)) SWIG_fail
;
19450 arg4
= (int)(SWIG_As_int(obj3
));
19451 if (SWIG_arg_fail(4)) SWIG_fail
;
19454 arg5
= (int)(SWIG_As_int(obj4
));
19455 if (SWIG_arg_fail(5)) SWIG_fail
;
19458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19459 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
19461 wxPyEndAllowThreads(__tstate
);
19462 if (PyErr_Occurred()) SWIG_fail
;
19464 Py_INCREF(Py_None
); resultobj
= Py_None
;
19471 static PyObject
*_wrap_PyScrolledWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19472 PyObject
*resultobj
;
19473 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19478 int arg6
= (int) wxSIZE_AUTO
;
19479 PyObject
* obj0
= 0 ;
19480 PyObject
* obj1
= 0 ;
19481 PyObject
* obj2
= 0 ;
19482 PyObject
* obj3
= 0 ;
19483 PyObject
* obj4
= 0 ;
19484 PyObject
* obj5
= 0 ;
19485 char *kwnames
[] = {
19486 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19491 if (SWIG_arg_fail(1)) SWIG_fail
;
19493 arg2
= (int)(SWIG_As_int(obj1
));
19494 if (SWIG_arg_fail(2)) SWIG_fail
;
19497 arg3
= (int)(SWIG_As_int(obj2
));
19498 if (SWIG_arg_fail(3)) SWIG_fail
;
19501 arg4
= (int)(SWIG_As_int(obj3
));
19502 if (SWIG_arg_fail(4)) SWIG_fail
;
19505 arg5
= (int)(SWIG_As_int(obj4
));
19506 if (SWIG_arg_fail(5)) SWIG_fail
;
19510 arg6
= (int)(SWIG_As_int(obj5
));
19511 if (SWIG_arg_fail(6)) SWIG_fail
;
19515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19516 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
19518 wxPyEndAllowThreads(__tstate
);
19519 if (PyErr_Occurred()) SWIG_fail
;
19521 Py_INCREF(Py_None
); resultobj
= Py_None
;
19528 static PyObject
*_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19529 PyObject
*resultobj
;
19530 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19533 PyObject
* obj0
= 0 ;
19534 PyObject
* obj1
= 0 ;
19535 PyObject
* obj2
= 0 ;
19536 char *kwnames
[] = {
19537 (char *) "self",(char *) "width",(char *) "height", NULL
19540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19542 if (SWIG_arg_fail(1)) SWIG_fail
;
19544 arg2
= (int)(SWIG_As_int(obj1
));
19545 if (SWIG_arg_fail(2)) SWIG_fail
;
19548 arg3
= (int)(SWIG_As_int(obj2
));
19549 if (SWIG_arg_fail(3)) SWIG_fail
;
19552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19553 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
19555 wxPyEndAllowThreads(__tstate
);
19556 if (PyErr_Occurred()) SWIG_fail
;
19558 Py_INCREF(Py_None
); resultobj
= Py_None
;
19565 static PyObject
*_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19566 PyObject
*resultobj
;
19567 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19570 PyObject
* obj0
= 0 ;
19571 PyObject
* obj1
= 0 ;
19572 PyObject
* obj2
= 0 ;
19573 char *kwnames
[] = {
19574 (char *) "self",(char *) "x",(char *) "y", NULL
19577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19579 if (SWIG_arg_fail(1)) SWIG_fail
;
19581 arg2
= (int)(SWIG_As_int(obj1
));
19582 if (SWIG_arg_fail(2)) SWIG_fail
;
19585 arg3
= (int)(SWIG_As_int(obj2
));
19586 if (SWIG_arg_fail(3)) SWIG_fail
;
19589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19590 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
19592 wxPyEndAllowThreads(__tstate
);
19593 if (PyErr_Occurred()) SWIG_fail
;
19595 Py_INCREF(Py_None
); resultobj
= Py_None
;
19602 static PyObject
*_wrap_PyScrolledWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19603 PyObject
*resultobj
;
19604 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19605 int *arg2
= (int *) 0 ;
19606 int *arg3
= (int *) 0 ;
19611 PyObject
* obj0
= 0 ;
19612 char *kwnames
[] = {
19613 (char *) "self", NULL
19616 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19617 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
19619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19620 if (SWIG_arg_fail(1)) SWIG_fail
;
19622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19623 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
19625 wxPyEndAllowThreads(__tstate
);
19626 if (PyErr_Occurred()) SWIG_fail
;
19628 Py_INCREF(Py_None
); resultobj
= Py_None
;
19629 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19630 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19631 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19632 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19639 static PyObject
*_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19640 PyObject
*resultobj
;
19641 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19642 int *arg2
= (int *) 0 ;
19643 int *arg3
= (int *) 0 ;
19648 PyObject
* obj0
= 0 ;
19649 char *kwnames
[] = {
19650 (char *) "self", NULL
19653 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19654 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
19656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19657 if (SWIG_arg_fail(1)) SWIG_fail
;
19659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19660 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
19662 wxPyEndAllowThreads(__tstate
);
19663 if (PyErr_Occurred()) SWIG_fail
;
19665 Py_INCREF(Py_None
); resultobj
= Py_None
;
19666 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19667 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19668 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19669 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19676 static PyObject
*_wrap_PyScrolledWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19677 PyObject
*resultobj
;
19678 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19679 int *arg2
= (int *) 0 ;
19680 int *arg3
= (int *) 0 ;
19685 PyObject
* obj0
= 0 ;
19686 char *kwnames
[] = {
19687 (char *) "self", NULL
19690 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19691 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
19693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19694 if (SWIG_arg_fail(1)) SWIG_fail
;
19696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19697 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
19699 wxPyEndAllowThreads(__tstate
);
19700 if (PyErr_Occurred()) SWIG_fail
;
19702 Py_INCREF(Py_None
); resultobj
= Py_None
;
19703 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19704 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19705 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19706 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19713 static PyObject
*_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19714 PyObject
*resultobj
;
19715 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19717 PyObject
* obj0
= 0 ;
19718 char *kwnames
[] = {
19719 (char *) "self", NULL
19722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
19723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19724 if (SWIG_arg_fail(1)) SWIG_fail
;
19726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19727 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetVirtualSize();
19729 wxPyEndAllowThreads(__tstate
);
19730 if (PyErr_Occurred()) SWIG_fail
;
19733 wxSize
* resultptr
;
19734 resultptr
= new wxSize((wxSize
&)(result
));
19735 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19743 static PyObject
*_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19744 PyObject
*resultobj
;
19745 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19747 PyObject
* obj0
= 0 ;
19748 char *kwnames
[] = {
19749 (char *) "self", NULL
19752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
19753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19754 if (SWIG_arg_fail(1)) SWIG_fail
;
19756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19757 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetBestSize();
19759 wxPyEndAllowThreads(__tstate
);
19760 if (PyErr_Occurred()) SWIG_fail
;
19763 wxSize
* resultptr
;
19764 resultptr
= new wxSize((wxSize
&)(result
));
19765 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19773 static PyObject
*_wrap_PyScrolledWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19774 PyObject
*resultobj
;
19775 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19776 PyObject
* obj0
= 0 ;
19777 char *kwnames
[] = {
19778 (char *) "self", NULL
19781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
19782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19783 if (SWIG_arg_fail(1)) SWIG_fail
;
19785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19786 (arg1
)->base_InitDialog();
19788 wxPyEndAllowThreads(__tstate
);
19789 if (PyErr_Occurred()) SWIG_fail
;
19791 Py_INCREF(Py_None
); resultobj
= Py_None
;
19798 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19799 PyObject
*resultobj
;
19800 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19802 PyObject
* obj0
= 0 ;
19803 char *kwnames
[] = {
19804 (char *) "self", NULL
19807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
19808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19809 if (SWIG_arg_fail(1)) SWIG_fail
;
19811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19812 result
= (bool)(arg1
)->base_TransferDataToWindow();
19814 wxPyEndAllowThreads(__tstate
);
19815 if (PyErr_Occurred()) SWIG_fail
;
19818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19826 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19827 PyObject
*resultobj
;
19828 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19830 PyObject
* obj0
= 0 ;
19831 char *kwnames
[] = {
19832 (char *) "self", NULL
19835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
19836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19837 if (SWIG_arg_fail(1)) SWIG_fail
;
19839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19840 result
= (bool)(arg1
)->base_TransferDataFromWindow();
19842 wxPyEndAllowThreads(__tstate
);
19843 if (PyErr_Occurred()) SWIG_fail
;
19846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19854 static PyObject
*_wrap_PyScrolledWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19855 PyObject
*resultobj
;
19856 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19858 PyObject
* obj0
= 0 ;
19859 char *kwnames
[] = {
19860 (char *) "self", NULL
19863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
19864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19865 if (SWIG_arg_fail(1)) SWIG_fail
;
19867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19868 result
= (bool)(arg1
)->base_Validate();
19870 wxPyEndAllowThreads(__tstate
);
19871 if (PyErr_Occurred()) SWIG_fail
;
19874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19882 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19883 PyObject
*resultobj
;
19884 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19886 PyObject
* obj0
= 0 ;
19887 char *kwnames
[] = {
19888 (char *) "self", NULL
19891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
19892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19893 if (SWIG_arg_fail(1)) SWIG_fail
;
19895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19896 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocus();
19898 wxPyEndAllowThreads(__tstate
);
19899 if (PyErr_Occurred()) SWIG_fail
;
19902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19910 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19911 PyObject
*resultobj
;
19912 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19914 PyObject
* obj0
= 0 ;
19915 char *kwnames
[] = {
19916 (char *) "self", NULL
19919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
19920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19921 if (SWIG_arg_fail(1)) SWIG_fail
;
19923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19924 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
19926 wxPyEndAllowThreads(__tstate
);
19927 if (PyErr_Occurred()) SWIG_fail
;
19930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19938 static PyObject
*_wrap_PyScrolledWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19939 PyObject
*resultobj
;
19940 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19942 PyObject
* obj0
= 0 ;
19943 char *kwnames
[] = {
19944 (char *) "self", NULL
19947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
19948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19949 if (SWIG_arg_fail(1)) SWIG_fail
;
19951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19952 result
= ((wxPyScrolledWindow
const *)arg1
)->base_GetMaxSize();
19954 wxPyEndAllowThreads(__tstate
);
19955 if (PyErr_Occurred()) SWIG_fail
;
19958 wxSize
* resultptr
;
19959 resultptr
= new wxSize((wxSize
&)(result
));
19960 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19968 static PyObject
*_wrap_PyScrolledWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19969 PyObject
*resultobj
;
19970 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19971 wxWindow
*arg2
= (wxWindow
*) 0 ;
19972 PyObject
* obj0
= 0 ;
19973 PyObject
* obj1
= 0 ;
19974 char *kwnames
[] = {
19975 (char *) "self",(char *) "child", NULL
19978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
19979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19980 if (SWIG_arg_fail(1)) SWIG_fail
;
19981 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19982 if (SWIG_arg_fail(2)) SWIG_fail
;
19984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19985 (arg1
)->base_AddChild(arg2
);
19987 wxPyEndAllowThreads(__tstate
);
19988 if (PyErr_Occurred()) SWIG_fail
;
19990 Py_INCREF(Py_None
); resultobj
= Py_None
;
19997 static PyObject
*_wrap_PyScrolledWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19998 PyObject
*resultobj
;
19999 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20000 wxWindow
*arg2
= (wxWindow
*) 0 ;
20001 PyObject
* obj0
= 0 ;
20002 PyObject
* obj1
= 0 ;
20003 char *kwnames
[] = {
20004 (char *) "self",(char *) "child", NULL
20007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
20008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20009 if (SWIG_arg_fail(1)) SWIG_fail
;
20010 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20011 if (SWIG_arg_fail(2)) SWIG_fail
;
20013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20014 (arg1
)->base_RemoveChild(arg2
);
20016 wxPyEndAllowThreads(__tstate
);
20017 if (PyErr_Occurred()) SWIG_fail
;
20019 Py_INCREF(Py_None
); resultobj
= Py_None
;
20026 static PyObject
*_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20027 PyObject
*resultobj
;
20028 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20030 PyObject
* obj0
= 0 ;
20031 char *kwnames
[] = {
20032 (char *) "self", NULL
20035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
20036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20037 if (SWIG_arg_fail(1)) SWIG_fail
;
20039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20040 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_ShouldInheritColours();
20042 wxPyEndAllowThreads(__tstate
);
20043 if (PyErr_Occurred()) SWIG_fail
;
20046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20054 static PyObject
*_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20055 PyObject
*resultobj
;
20056 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20057 wxColour
*arg2
= 0 ;
20059 PyObject
* obj0
= 0 ;
20060 PyObject
* obj1
= 0 ;
20061 char *kwnames
[] = {
20062 (char *) "self",(char *) "c", NULL
20065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
20066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20067 if (SWIG_arg_fail(1)) SWIG_fail
;
20070 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20074 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
20076 wxPyEndAllowThreads(__tstate
);
20077 if (PyErr_Occurred()) SWIG_fail
;
20079 Py_INCREF(Py_None
); resultobj
= Py_None
;
20086 static PyObject
*_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20087 PyObject
*resultobj
;
20088 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20089 wxVisualAttributes result
;
20090 PyObject
* obj0
= 0 ;
20091 char *kwnames
[] = {
20092 (char *) "self", NULL
20095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
20096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20097 if (SWIG_arg_fail(1)) SWIG_fail
;
20099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20100 result
= (arg1
)->base_GetDefaultAttributes();
20102 wxPyEndAllowThreads(__tstate
);
20103 if (PyErr_Occurred()) SWIG_fail
;
20106 wxVisualAttributes
* resultptr
;
20107 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
20108 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
20116 static PyObject
* PyScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
20118 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20119 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
20121 return Py_BuildValue((char *)"");
20123 static int _wrap_PrintoutTitleStr_set(PyObject
*) {
20124 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
20129 static PyObject
*_wrap_PrintoutTitleStr_get(void) {
20134 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
20136 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
20143 static int _wrap_PreviewCanvasNameStr_set(PyObject
*) {
20144 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
20149 static PyObject
*_wrap_PreviewCanvasNameStr_get(void) {
20154 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
20156 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
20163 static PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*, PyObject
*args
) {
20164 PyObject
*resultobj
;
20165 wxPrintData
*result
;
20167 if(!PyArg_ParseTuple(args
,(char *)":new_PrintData")) goto fail
;
20169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20170 result
= (wxPrintData
*)new wxPrintData();
20172 wxPyEndAllowThreads(__tstate
);
20173 if (PyErr_Occurred()) SWIG_fail
;
20175 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
20182 static PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*, PyObject
*args
) {
20183 PyObject
*resultobj
;
20184 wxPrintData
*arg1
= 0 ;
20185 wxPrintData
*result
;
20186 PyObject
* obj0
= 0 ;
20188 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintData",&obj0
)) goto fail
;
20190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20191 if (SWIG_arg_fail(1)) SWIG_fail
;
20192 if (arg1
== NULL
) {
20193 SWIG_null_ref("wxPrintData");
20195 if (SWIG_arg_fail(1)) SWIG_fail
;
20198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20199 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
20201 wxPyEndAllowThreads(__tstate
);
20202 if (PyErr_Occurred()) SWIG_fail
;
20204 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
20211 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
20216 argc
= PyObject_Length(args
);
20217 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
20218 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20221 return _wrap_new_PrintData__SWIG_0(self
,args
);
20227 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
20235 return _wrap_new_PrintData__SWIG_1(self
,args
);
20239 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
20244 static PyObject
*_wrap_delete_PrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20245 PyObject
*resultobj
;
20246 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20247 PyObject
* obj0
= 0 ;
20248 char *kwnames
[] = {
20249 (char *) "self", NULL
20252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
20253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20254 if (SWIG_arg_fail(1)) SWIG_fail
;
20256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20259 wxPyEndAllowThreads(__tstate
);
20260 if (PyErr_Occurred()) SWIG_fail
;
20262 Py_INCREF(Py_None
); resultobj
= Py_None
;
20269 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20270 PyObject
*resultobj
;
20271 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20273 PyObject
* obj0
= 0 ;
20274 char *kwnames
[] = {
20275 (char *) "self", NULL
20278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
20279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20280 if (SWIG_arg_fail(1)) SWIG_fail
;
20282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20283 result
= (int)(arg1
)->GetNoCopies();
20285 wxPyEndAllowThreads(__tstate
);
20286 if (PyErr_Occurred()) SWIG_fail
;
20289 resultobj
= SWIG_From_int((int)(result
));
20297 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20298 PyObject
*resultobj
;
20299 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20301 PyObject
* obj0
= 0 ;
20302 char *kwnames
[] = {
20303 (char *) "self", NULL
20306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
20307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20308 if (SWIG_arg_fail(1)) SWIG_fail
;
20310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20311 result
= (bool)(arg1
)->GetCollate();
20313 wxPyEndAllowThreads(__tstate
);
20314 if (PyErr_Occurred()) SWIG_fail
;
20317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20325 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20326 PyObject
*resultobj
;
20327 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20329 PyObject
* obj0
= 0 ;
20330 char *kwnames
[] = {
20331 (char *) "self", NULL
20334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
20335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20336 if (SWIG_arg_fail(1)) SWIG_fail
;
20338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20339 result
= (int)(arg1
)->GetOrientation();
20341 wxPyEndAllowThreads(__tstate
);
20342 if (PyErr_Occurred()) SWIG_fail
;
20345 resultobj
= SWIG_From_int((int)(result
));
20353 static PyObject
*_wrap_PrintData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20354 PyObject
*resultobj
;
20355 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20357 PyObject
* obj0
= 0 ;
20358 char *kwnames
[] = {
20359 (char *) "self", NULL
20362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
20363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20364 if (SWIG_arg_fail(1)) SWIG_fail
;
20366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20367 result
= (bool)(arg1
)->Ok();
20369 wxPyEndAllowThreads(__tstate
);
20370 if (PyErr_Occurred()) SWIG_fail
;
20373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20381 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20382 PyObject
*resultobj
;
20383 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20385 PyObject
* obj0
= 0 ;
20386 char *kwnames
[] = {
20387 (char *) "self", NULL
20390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
20391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20392 if (SWIG_arg_fail(1)) SWIG_fail
;
20394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20396 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
20397 result
= (wxString
*) &_result_ref
;
20400 wxPyEndAllowThreads(__tstate
);
20401 if (PyErr_Occurred()) SWIG_fail
;
20405 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20407 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20416 static PyObject
*_wrap_PrintData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20417 PyObject
*resultobj
;
20418 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20420 PyObject
* obj0
= 0 ;
20421 char *kwnames
[] = {
20422 (char *) "self", NULL
20425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
20426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20427 if (SWIG_arg_fail(1)) SWIG_fail
;
20429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20430 result
= (bool)(arg1
)->GetColour();
20432 wxPyEndAllowThreads(__tstate
);
20433 if (PyErr_Occurred()) SWIG_fail
;
20436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20444 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20445 PyObject
*resultobj
;
20446 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20447 wxDuplexMode result
;
20448 PyObject
* obj0
= 0 ;
20449 char *kwnames
[] = {
20450 (char *) "self", NULL
20453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
20454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20455 if (SWIG_arg_fail(1)) SWIG_fail
;
20457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20458 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
20460 wxPyEndAllowThreads(__tstate
);
20461 if (PyErr_Occurred()) SWIG_fail
;
20463 resultobj
= SWIG_From_int((result
));
20470 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20471 PyObject
*resultobj
;
20472 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20473 wxPaperSize result
;
20474 PyObject
* obj0
= 0 ;
20475 char *kwnames
[] = {
20476 (char *) "self", NULL
20479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
20480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20481 if (SWIG_arg_fail(1)) SWIG_fail
;
20483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20484 result
= (wxPaperSize
)(arg1
)->GetPaperId();
20486 wxPyEndAllowThreads(__tstate
);
20487 if (PyErr_Occurred()) SWIG_fail
;
20489 resultobj
= SWIG_From_int((result
));
20496 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20497 PyObject
*resultobj
;
20498 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20500 PyObject
* obj0
= 0 ;
20501 char *kwnames
[] = {
20502 (char *) "self", NULL
20505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
20506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20507 if (SWIG_arg_fail(1)) SWIG_fail
;
20509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20511 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
20512 result
= (wxSize
*) &_result_ref
;
20515 wxPyEndAllowThreads(__tstate
);
20516 if (PyErr_Occurred()) SWIG_fail
;
20518 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
20525 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20526 PyObject
*resultobj
;
20527 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20529 PyObject
* obj0
= 0 ;
20530 char *kwnames
[] = {
20531 (char *) "self", NULL
20534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
20535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20536 if (SWIG_arg_fail(1)) SWIG_fail
;
20538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20539 result
= (int)(arg1
)->GetQuality();
20541 wxPyEndAllowThreads(__tstate
);
20542 if (PyErr_Occurred()) SWIG_fail
;
20545 resultobj
= SWIG_From_int((int)(result
));
20553 static PyObject
*_wrap_PrintData_GetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20554 PyObject
*resultobj
;
20555 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20557 PyObject
* obj0
= 0 ;
20558 char *kwnames
[] = {
20559 (char *) "self", NULL
20562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetBin",kwnames
,&obj0
)) goto fail
;
20563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20564 if (SWIG_arg_fail(1)) SWIG_fail
;
20566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20567 result
= (wxPrintBin
)(arg1
)->GetBin();
20569 wxPyEndAllowThreads(__tstate
);
20570 if (PyErr_Occurred()) SWIG_fail
;
20572 resultobj
= SWIG_From_int((result
));
20579 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20580 PyObject
*resultobj
;
20581 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20582 wxPrintMode result
;
20583 PyObject
* obj0
= 0 ;
20584 char *kwnames
[] = {
20585 (char *) "self", NULL
20588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
20589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20590 if (SWIG_arg_fail(1)) SWIG_fail
;
20592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20593 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
20595 wxPyEndAllowThreads(__tstate
);
20596 if (PyErr_Occurred()) SWIG_fail
;
20598 resultobj
= SWIG_From_int((result
));
20605 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20606 PyObject
*resultobj
;
20607 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20609 PyObject
* obj0
= 0 ;
20610 PyObject
* obj1
= 0 ;
20611 char *kwnames
[] = {
20612 (char *) "self",(char *) "v", NULL
20615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
20616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20617 if (SWIG_arg_fail(1)) SWIG_fail
;
20619 arg2
= (int)(SWIG_As_int(obj1
));
20620 if (SWIG_arg_fail(2)) SWIG_fail
;
20623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20624 (arg1
)->SetNoCopies(arg2
);
20626 wxPyEndAllowThreads(__tstate
);
20627 if (PyErr_Occurred()) SWIG_fail
;
20629 Py_INCREF(Py_None
); resultobj
= Py_None
;
20636 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20637 PyObject
*resultobj
;
20638 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20640 PyObject
* obj0
= 0 ;
20641 PyObject
* obj1
= 0 ;
20642 char *kwnames
[] = {
20643 (char *) "self",(char *) "flag", NULL
20646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
20647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20648 if (SWIG_arg_fail(1)) SWIG_fail
;
20650 arg2
= (bool)(SWIG_As_bool(obj1
));
20651 if (SWIG_arg_fail(2)) SWIG_fail
;
20654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20655 (arg1
)->SetCollate(arg2
);
20657 wxPyEndAllowThreads(__tstate
);
20658 if (PyErr_Occurred()) SWIG_fail
;
20660 Py_INCREF(Py_None
); resultobj
= Py_None
;
20667 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20668 PyObject
*resultobj
;
20669 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20671 PyObject
* obj0
= 0 ;
20672 PyObject
* obj1
= 0 ;
20673 char *kwnames
[] = {
20674 (char *) "self",(char *) "orient", NULL
20677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
20678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20679 if (SWIG_arg_fail(1)) SWIG_fail
;
20681 arg2
= (int)(SWIG_As_int(obj1
));
20682 if (SWIG_arg_fail(2)) SWIG_fail
;
20685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20686 (arg1
)->SetOrientation(arg2
);
20688 wxPyEndAllowThreads(__tstate
);
20689 if (PyErr_Occurred()) SWIG_fail
;
20691 Py_INCREF(Py_None
); resultobj
= Py_None
;
20698 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20699 PyObject
*resultobj
;
20700 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20701 wxString
*arg2
= 0 ;
20702 bool temp2
= false ;
20703 PyObject
* obj0
= 0 ;
20704 PyObject
* obj1
= 0 ;
20705 char *kwnames
[] = {
20706 (char *) "self",(char *) "name", NULL
20709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
20710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20711 if (SWIG_arg_fail(1)) SWIG_fail
;
20713 arg2
= wxString_in_helper(obj1
);
20714 if (arg2
== NULL
) SWIG_fail
;
20718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20719 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
20721 wxPyEndAllowThreads(__tstate
);
20722 if (PyErr_Occurred()) SWIG_fail
;
20724 Py_INCREF(Py_None
); resultobj
= Py_None
;
20739 static PyObject
*_wrap_PrintData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20740 PyObject
*resultobj
;
20741 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20743 PyObject
* obj0
= 0 ;
20744 PyObject
* obj1
= 0 ;
20745 char *kwnames
[] = {
20746 (char *) "self",(char *) "colour", NULL
20749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20751 if (SWIG_arg_fail(1)) SWIG_fail
;
20753 arg2
= (bool)(SWIG_As_bool(obj1
));
20754 if (SWIG_arg_fail(2)) SWIG_fail
;
20757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20758 (arg1
)->SetColour(arg2
);
20760 wxPyEndAllowThreads(__tstate
);
20761 if (PyErr_Occurred()) SWIG_fail
;
20763 Py_INCREF(Py_None
); resultobj
= Py_None
;
20770 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20771 PyObject
*resultobj
;
20772 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20773 wxDuplexMode arg2
;
20774 PyObject
* obj0
= 0 ;
20775 PyObject
* obj1
= 0 ;
20776 char *kwnames
[] = {
20777 (char *) "self",(char *) "duplex", NULL
20780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
20781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20782 if (SWIG_arg_fail(1)) SWIG_fail
;
20784 arg2
= (wxDuplexMode
)(SWIG_As_int(obj1
));
20785 if (SWIG_arg_fail(2)) SWIG_fail
;
20788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20789 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
20791 wxPyEndAllowThreads(__tstate
);
20792 if (PyErr_Occurred()) SWIG_fail
;
20794 Py_INCREF(Py_None
); resultobj
= Py_None
;
20801 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20802 PyObject
*resultobj
;
20803 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20805 PyObject
* obj0
= 0 ;
20806 PyObject
* obj1
= 0 ;
20807 char *kwnames
[] = {
20808 (char *) "self",(char *) "sizeId", NULL
20811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
20812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20813 if (SWIG_arg_fail(1)) SWIG_fail
;
20815 arg2
= (wxPaperSize
)(SWIG_As_int(obj1
));
20816 if (SWIG_arg_fail(2)) SWIG_fail
;
20819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20820 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
20822 wxPyEndAllowThreads(__tstate
);
20823 if (PyErr_Occurred()) SWIG_fail
;
20825 Py_INCREF(Py_None
); resultobj
= Py_None
;
20832 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20833 PyObject
*resultobj
;
20834 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20837 PyObject
* obj0
= 0 ;
20838 PyObject
* obj1
= 0 ;
20839 char *kwnames
[] = {
20840 (char *) "self",(char *) "sz", NULL
20843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20845 if (SWIG_arg_fail(1)) SWIG_fail
;
20848 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20852 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
20854 wxPyEndAllowThreads(__tstate
);
20855 if (PyErr_Occurred()) SWIG_fail
;
20857 Py_INCREF(Py_None
); resultobj
= Py_None
;
20864 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20865 PyObject
*resultobj
;
20866 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20868 PyObject
* obj0
= 0 ;
20869 PyObject
* obj1
= 0 ;
20870 char *kwnames
[] = {
20871 (char *) "self",(char *) "quality", NULL
20874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
20875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20876 if (SWIG_arg_fail(1)) SWIG_fail
;
20878 arg2
= (int)(SWIG_As_int(obj1
));
20879 if (SWIG_arg_fail(2)) SWIG_fail
;
20882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20883 (arg1
)->SetQuality(arg2
);
20885 wxPyEndAllowThreads(__tstate
);
20886 if (PyErr_Occurred()) SWIG_fail
;
20888 Py_INCREF(Py_None
); resultobj
= Py_None
;
20895 static PyObject
*_wrap_PrintData_SetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20896 PyObject
*resultobj
;
20897 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20899 PyObject
* obj0
= 0 ;
20900 PyObject
* obj1
= 0 ;
20901 char *kwnames
[] = {
20902 (char *) "self",(char *) "bin", NULL
20905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) goto fail
;
20906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20907 if (SWIG_arg_fail(1)) SWIG_fail
;
20909 arg2
= (wxPrintBin
)(SWIG_As_int(obj1
));
20910 if (SWIG_arg_fail(2)) SWIG_fail
;
20913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20914 (arg1
)->SetBin((wxPrintBin
)arg2
);
20916 wxPyEndAllowThreads(__tstate
);
20917 if (PyErr_Occurred()) SWIG_fail
;
20919 Py_INCREF(Py_None
); resultobj
= Py_None
;
20926 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20927 PyObject
*resultobj
;
20928 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20930 PyObject
* obj0
= 0 ;
20931 PyObject
* obj1
= 0 ;
20932 char *kwnames
[] = {
20933 (char *) "self",(char *) "printMode", NULL
20936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20938 if (SWIG_arg_fail(1)) SWIG_fail
;
20940 arg2
= (wxPrintMode
)(SWIG_As_int(obj1
));
20941 if (SWIG_arg_fail(2)) SWIG_fail
;
20944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20945 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
20947 wxPyEndAllowThreads(__tstate
);
20948 if (PyErr_Occurred()) SWIG_fail
;
20950 Py_INCREF(Py_None
); resultobj
= Py_None
;
20957 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20958 PyObject
*resultobj
;
20959 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20961 PyObject
* obj0
= 0 ;
20962 char *kwnames
[] = {
20963 (char *) "self", NULL
20966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
20967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20968 if (SWIG_arg_fail(1)) SWIG_fail
;
20970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20971 result
= ((wxPrintData
const *)arg1
)->GetFilename();
20973 wxPyEndAllowThreads(__tstate
);
20974 if (PyErr_Occurred()) SWIG_fail
;
20978 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20980 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20989 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20990 PyObject
*resultobj
;
20991 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20992 wxString
*arg2
= 0 ;
20993 bool temp2
= false ;
20994 PyObject
* obj0
= 0 ;
20995 PyObject
* obj1
= 0 ;
20996 char *kwnames
[] = {
20997 (char *) "self",(char *) "filename", NULL
21000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
21001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21002 if (SWIG_arg_fail(1)) SWIG_fail
;
21004 arg2
= wxString_in_helper(obj1
);
21005 if (arg2
== NULL
) SWIG_fail
;
21009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21010 (arg1
)->SetFilename((wxString
const &)*arg2
);
21012 wxPyEndAllowThreads(__tstate
);
21013 if (PyErr_Occurred()) SWIG_fail
;
21015 Py_INCREF(Py_None
); resultobj
= Py_None
;
21030 static PyObject
*_wrap_PrintData_GetPrivData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21031 PyObject
*resultobj
;
21032 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21034 PyObject
* obj0
= 0 ;
21035 char *kwnames
[] = {
21036 (char *) "self", NULL
21039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrivData",kwnames
,&obj0
)) goto fail
;
21040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21041 if (SWIG_arg_fail(1)) SWIG_fail
;
21043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21044 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
21046 wxPyEndAllowThreads(__tstate
);
21047 if (PyErr_Occurred()) SWIG_fail
;
21049 resultobj
= result
;
21056 static PyObject
*_wrap_PrintData_SetPrivData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21057 PyObject
*resultobj
;
21058 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21059 PyObject
*arg2
= (PyObject
*) 0 ;
21060 PyObject
* obj0
= 0 ;
21061 PyObject
* obj1
= 0 ;
21062 char *kwnames
[] = {
21063 (char *) "self",(char *) "data", NULL
21066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) goto fail
;
21067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21068 if (SWIG_arg_fail(1)) SWIG_fail
;
21071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21072 wxPrintData_SetPrivData(arg1
,arg2
);
21074 wxPyEndAllowThreads(__tstate
);
21075 if (PyErr_Occurred()) SWIG_fail
;
21077 Py_INCREF(Py_None
); resultobj
= Py_None
;
21084 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21085 PyObject
*resultobj
;
21086 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21088 PyObject
* obj0
= 0 ;
21089 char *kwnames
[] = {
21090 (char *) "self", NULL
21093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
21094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21095 if (SWIG_arg_fail(1)) SWIG_fail
;
21097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21099 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
21100 result
= (wxString
*) &_result_ref
;
21103 wxPyEndAllowThreads(__tstate
);
21104 if (PyErr_Occurred()) SWIG_fail
;
21108 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21110 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21119 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21120 PyObject
*resultobj
;
21121 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21123 PyObject
* obj0
= 0 ;
21124 char *kwnames
[] = {
21125 (char *) "self", NULL
21128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
21129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21130 if (SWIG_arg_fail(1)) SWIG_fail
;
21132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21134 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
21135 result
= (wxString
*) &_result_ref
;
21138 wxPyEndAllowThreads(__tstate
);
21139 if (PyErr_Occurred()) SWIG_fail
;
21143 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21145 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21154 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21155 PyObject
*resultobj
;
21156 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21158 PyObject
* obj0
= 0 ;
21159 char *kwnames
[] = {
21160 (char *) "self", NULL
21163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
21164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21165 if (SWIG_arg_fail(1)) SWIG_fail
;
21167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21169 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
21170 result
= (wxString
*) &_result_ref
;
21173 wxPyEndAllowThreads(__tstate
);
21174 if (PyErr_Occurred()) SWIG_fail
;
21178 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21180 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21189 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21190 PyObject
*resultobj
;
21191 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21193 PyObject
* obj0
= 0 ;
21194 char *kwnames
[] = {
21195 (char *) "self", NULL
21198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
21199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21200 if (SWIG_arg_fail(1)) SWIG_fail
;
21202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21204 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
21205 result
= (wxString
*) &_result_ref
;
21208 wxPyEndAllowThreads(__tstate
);
21209 if (PyErr_Occurred()) SWIG_fail
;
21213 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21215 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21224 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21225 PyObject
*resultobj
;
21226 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21228 PyObject
* obj0
= 0 ;
21229 char *kwnames
[] = {
21230 (char *) "self", NULL
21233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
21234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21235 if (SWIG_arg_fail(1)) SWIG_fail
;
21237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21238 result
= (double)(arg1
)->GetPrinterScaleX();
21240 wxPyEndAllowThreads(__tstate
);
21241 if (PyErr_Occurred()) SWIG_fail
;
21244 resultobj
= SWIG_From_double((double)(result
));
21252 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21253 PyObject
*resultobj
;
21254 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21256 PyObject
* obj0
= 0 ;
21257 char *kwnames
[] = {
21258 (char *) "self", NULL
21261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
21262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21263 if (SWIG_arg_fail(1)) SWIG_fail
;
21265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21266 result
= (double)(arg1
)->GetPrinterScaleY();
21268 wxPyEndAllowThreads(__tstate
);
21269 if (PyErr_Occurred()) SWIG_fail
;
21272 resultobj
= SWIG_From_double((double)(result
));
21280 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21281 PyObject
*resultobj
;
21282 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21284 PyObject
* obj0
= 0 ;
21285 char *kwnames
[] = {
21286 (char *) "self", NULL
21289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
21290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21291 if (SWIG_arg_fail(1)) SWIG_fail
;
21293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21294 result
= (long)(arg1
)->GetPrinterTranslateX();
21296 wxPyEndAllowThreads(__tstate
);
21297 if (PyErr_Occurred()) SWIG_fail
;
21300 resultobj
= SWIG_From_long((long)(result
));
21308 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21309 PyObject
*resultobj
;
21310 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21312 PyObject
* obj0
= 0 ;
21313 char *kwnames
[] = {
21314 (char *) "self", NULL
21317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
21318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21319 if (SWIG_arg_fail(1)) SWIG_fail
;
21321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21322 result
= (long)(arg1
)->GetPrinterTranslateY();
21324 wxPyEndAllowThreads(__tstate
);
21325 if (PyErr_Occurred()) SWIG_fail
;
21328 resultobj
= SWIG_From_long((long)(result
));
21336 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21337 PyObject
*resultobj
;
21338 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21339 wxString
*arg2
= 0 ;
21340 bool temp2
= false ;
21341 PyObject
* obj0
= 0 ;
21342 PyObject
* obj1
= 0 ;
21343 char *kwnames
[] = {
21344 (char *) "self",(char *) "command", NULL
21347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
21348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21349 if (SWIG_arg_fail(1)) SWIG_fail
;
21351 arg2
= wxString_in_helper(obj1
);
21352 if (arg2
== NULL
) SWIG_fail
;
21356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21357 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
21359 wxPyEndAllowThreads(__tstate
);
21360 if (PyErr_Occurred()) SWIG_fail
;
21362 Py_INCREF(Py_None
); resultobj
= Py_None
;
21377 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21378 PyObject
*resultobj
;
21379 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21380 wxString
*arg2
= 0 ;
21381 bool temp2
= false ;
21382 PyObject
* obj0
= 0 ;
21383 PyObject
* obj1
= 0 ;
21384 char *kwnames
[] = {
21385 (char *) "self",(char *) "options", NULL
21388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
21389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21390 if (SWIG_arg_fail(1)) SWIG_fail
;
21392 arg2
= wxString_in_helper(obj1
);
21393 if (arg2
== NULL
) SWIG_fail
;
21397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21398 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
21400 wxPyEndAllowThreads(__tstate
);
21401 if (PyErr_Occurred()) SWIG_fail
;
21403 Py_INCREF(Py_None
); resultobj
= Py_None
;
21418 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21419 PyObject
*resultobj
;
21420 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21421 wxString
*arg2
= 0 ;
21422 bool temp2
= false ;
21423 PyObject
* obj0
= 0 ;
21424 PyObject
* obj1
= 0 ;
21425 char *kwnames
[] = {
21426 (char *) "self",(char *) "command", NULL
21429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
21430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21431 if (SWIG_arg_fail(1)) SWIG_fail
;
21433 arg2
= wxString_in_helper(obj1
);
21434 if (arg2
== NULL
) SWIG_fail
;
21438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21439 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
21441 wxPyEndAllowThreads(__tstate
);
21442 if (PyErr_Occurred()) SWIG_fail
;
21444 Py_INCREF(Py_None
); resultobj
= Py_None
;
21459 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21460 PyObject
*resultobj
;
21461 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21462 wxString
*arg2
= 0 ;
21463 bool temp2
= false ;
21464 PyObject
* obj0
= 0 ;
21465 PyObject
* obj1
= 0 ;
21466 char *kwnames
[] = {
21467 (char *) "self",(char *) "path", NULL
21470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
21471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21472 if (SWIG_arg_fail(1)) SWIG_fail
;
21474 arg2
= wxString_in_helper(obj1
);
21475 if (arg2
== NULL
) SWIG_fail
;
21479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21480 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
21482 wxPyEndAllowThreads(__tstate
);
21483 if (PyErr_Occurred()) SWIG_fail
;
21485 Py_INCREF(Py_None
); resultobj
= Py_None
;
21500 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21501 PyObject
*resultobj
;
21502 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21504 PyObject
* obj0
= 0 ;
21505 PyObject
* obj1
= 0 ;
21506 char *kwnames
[] = {
21507 (char *) "self",(char *) "x", NULL
21510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
21511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21512 if (SWIG_arg_fail(1)) SWIG_fail
;
21514 arg2
= (double)(SWIG_As_double(obj1
));
21515 if (SWIG_arg_fail(2)) SWIG_fail
;
21518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21519 (arg1
)->SetPrinterScaleX(arg2
);
21521 wxPyEndAllowThreads(__tstate
);
21522 if (PyErr_Occurred()) SWIG_fail
;
21524 Py_INCREF(Py_None
); resultobj
= Py_None
;
21531 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21532 PyObject
*resultobj
;
21533 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21535 PyObject
* obj0
= 0 ;
21536 PyObject
* obj1
= 0 ;
21537 char *kwnames
[] = {
21538 (char *) "self",(char *) "y", NULL
21541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
21542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21543 if (SWIG_arg_fail(1)) SWIG_fail
;
21545 arg2
= (double)(SWIG_As_double(obj1
));
21546 if (SWIG_arg_fail(2)) SWIG_fail
;
21549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21550 (arg1
)->SetPrinterScaleY(arg2
);
21552 wxPyEndAllowThreads(__tstate
);
21553 if (PyErr_Occurred()) SWIG_fail
;
21555 Py_INCREF(Py_None
); resultobj
= Py_None
;
21562 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21563 PyObject
*resultobj
;
21564 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21567 PyObject
* obj0
= 0 ;
21568 PyObject
* obj1
= 0 ;
21569 PyObject
* obj2
= 0 ;
21570 char *kwnames
[] = {
21571 (char *) "self",(char *) "x",(char *) "y", NULL
21574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21576 if (SWIG_arg_fail(1)) SWIG_fail
;
21578 arg2
= (double)(SWIG_As_double(obj1
));
21579 if (SWIG_arg_fail(2)) SWIG_fail
;
21582 arg3
= (double)(SWIG_As_double(obj2
));
21583 if (SWIG_arg_fail(3)) SWIG_fail
;
21586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21587 (arg1
)->SetPrinterScaling(arg2
,arg3
);
21589 wxPyEndAllowThreads(__tstate
);
21590 if (PyErr_Occurred()) SWIG_fail
;
21592 Py_INCREF(Py_None
); resultobj
= Py_None
;
21599 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21600 PyObject
*resultobj
;
21601 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21603 PyObject
* obj0
= 0 ;
21604 PyObject
* obj1
= 0 ;
21605 char *kwnames
[] = {
21606 (char *) "self",(char *) "x", NULL
21609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
21610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21611 if (SWIG_arg_fail(1)) SWIG_fail
;
21613 arg2
= (long)(SWIG_As_long(obj1
));
21614 if (SWIG_arg_fail(2)) SWIG_fail
;
21617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21618 (arg1
)->SetPrinterTranslateX(arg2
);
21620 wxPyEndAllowThreads(__tstate
);
21621 if (PyErr_Occurred()) SWIG_fail
;
21623 Py_INCREF(Py_None
); resultobj
= Py_None
;
21630 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21631 PyObject
*resultobj
;
21632 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21634 PyObject
* obj0
= 0 ;
21635 PyObject
* obj1
= 0 ;
21636 char *kwnames
[] = {
21637 (char *) "self",(char *) "y", NULL
21640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
21641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21642 if (SWIG_arg_fail(1)) SWIG_fail
;
21644 arg2
= (long)(SWIG_As_long(obj1
));
21645 if (SWIG_arg_fail(2)) SWIG_fail
;
21648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21649 (arg1
)->SetPrinterTranslateY(arg2
);
21651 wxPyEndAllowThreads(__tstate
);
21652 if (PyErr_Occurred()) SWIG_fail
;
21654 Py_INCREF(Py_None
); resultobj
= Py_None
;
21661 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21662 PyObject
*resultobj
;
21663 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21666 PyObject
* obj0
= 0 ;
21667 PyObject
* obj1
= 0 ;
21668 PyObject
* obj2
= 0 ;
21669 char *kwnames
[] = {
21670 (char *) "self",(char *) "x",(char *) "y", NULL
21673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21675 if (SWIG_arg_fail(1)) SWIG_fail
;
21677 arg2
= (long)(SWIG_As_long(obj1
));
21678 if (SWIG_arg_fail(2)) SWIG_fail
;
21681 arg3
= (long)(SWIG_As_long(obj2
));
21682 if (SWIG_arg_fail(3)) SWIG_fail
;
21685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21686 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
21688 wxPyEndAllowThreads(__tstate
);
21689 if (PyErr_Occurred()) SWIG_fail
;
21691 Py_INCREF(Py_None
); resultobj
= Py_None
;
21698 static PyObject
* PrintData_swigregister(PyObject
*, PyObject
*args
) {
21700 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21701 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
21703 return Py_BuildValue((char *)"");
21705 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
21706 PyObject
*resultobj
;
21707 wxPageSetupDialogData
*result
;
21709 if(!PyArg_ParseTuple(args
,(char *)":new_PageSetupDialogData")) goto fail
;
21711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21712 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
21714 wxPyEndAllowThreads(__tstate
);
21715 if (PyErr_Occurred()) SWIG_fail
;
21717 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
21724 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
21725 PyObject
*resultobj
;
21726 wxPageSetupDialogData
*arg1
= 0 ;
21727 wxPageSetupDialogData
*result
;
21728 PyObject
* obj0
= 0 ;
21730 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
21732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21733 if (SWIG_arg_fail(1)) SWIG_fail
;
21734 if (arg1
== NULL
) {
21735 SWIG_null_ref("wxPageSetupDialogData");
21737 if (SWIG_arg_fail(1)) SWIG_fail
;
21740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21741 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
21743 wxPyEndAllowThreads(__tstate
);
21744 if (PyErr_Occurred()) SWIG_fail
;
21746 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
21753 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*, PyObject
*args
) {
21754 PyObject
*resultobj
;
21755 wxPrintData
*arg1
= 0 ;
21756 wxPageSetupDialogData
*result
;
21757 PyObject
* obj0
= 0 ;
21759 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
21761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21762 if (SWIG_arg_fail(1)) SWIG_fail
;
21763 if (arg1
== NULL
) {
21764 SWIG_null_ref("wxPrintData");
21766 if (SWIG_arg_fail(1)) SWIG_fail
;
21769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21770 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
21772 wxPyEndAllowThreads(__tstate
);
21773 if (PyErr_Occurred()) SWIG_fail
;
21775 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
21782 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
21787 argc
= PyObject_Length(args
);
21788 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
21789 argv
[ii
] = PyTuple_GetItem(args
,ii
);
21792 return _wrap_new_PageSetupDialogData__SWIG_0(self
,args
);
21798 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPageSetupDialogData
, 0) == -1) {
21806 return _wrap_new_PageSetupDialogData__SWIG_1(self
,args
);
21813 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
21821 return _wrap_new_PageSetupDialogData__SWIG_2(self
,args
);
21825 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
21830 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21831 PyObject
*resultobj
;
21832 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21833 PyObject
* obj0
= 0 ;
21834 char *kwnames
[] = {
21835 (char *) "self", NULL
21838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
21839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21840 if (SWIG_arg_fail(1)) SWIG_fail
;
21842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21845 wxPyEndAllowThreads(__tstate
);
21846 if (PyErr_Occurred()) SWIG_fail
;
21848 Py_INCREF(Py_None
); resultobj
= Py_None
;
21855 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21856 PyObject
*resultobj
;
21857 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21859 PyObject
* obj0
= 0 ;
21860 PyObject
* obj1
= 0 ;
21861 char *kwnames
[] = {
21862 (char *) "self",(char *) "flag", NULL
21865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
21866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21867 if (SWIG_arg_fail(1)) SWIG_fail
;
21869 arg2
= (bool)(SWIG_As_bool(obj1
));
21870 if (SWIG_arg_fail(2)) SWIG_fail
;
21873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21874 (arg1
)->EnableHelp(arg2
);
21876 wxPyEndAllowThreads(__tstate
);
21877 if (PyErr_Occurred()) SWIG_fail
;
21879 Py_INCREF(Py_None
); resultobj
= Py_None
;
21886 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21887 PyObject
*resultobj
;
21888 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21890 PyObject
* obj0
= 0 ;
21891 PyObject
* obj1
= 0 ;
21892 char *kwnames
[] = {
21893 (char *) "self",(char *) "flag", NULL
21896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
21897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21898 if (SWIG_arg_fail(1)) SWIG_fail
;
21900 arg2
= (bool)(SWIG_As_bool(obj1
));
21901 if (SWIG_arg_fail(2)) SWIG_fail
;
21904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21905 (arg1
)->EnableMargins(arg2
);
21907 wxPyEndAllowThreads(__tstate
);
21908 if (PyErr_Occurred()) SWIG_fail
;
21910 Py_INCREF(Py_None
); resultobj
= Py_None
;
21917 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21918 PyObject
*resultobj
;
21919 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21921 PyObject
* obj0
= 0 ;
21922 PyObject
* obj1
= 0 ;
21923 char *kwnames
[] = {
21924 (char *) "self",(char *) "flag", NULL
21927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
21928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21929 if (SWIG_arg_fail(1)) SWIG_fail
;
21931 arg2
= (bool)(SWIG_As_bool(obj1
));
21932 if (SWIG_arg_fail(2)) SWIG_fail
;
21935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21936 (arg1
)->EnableOrientation(arg2
);
21938 wxPyEndAllowThreads(__tstate
);
21939 if (PyErr_Occurred()) SWIG_fail
;
21941 Py_INCREF(Py_None
); resultobj
= Py_None
;
21948 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21949 PyObject
*resultobj
;
21950 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21952 PyObject
* obj0
= 0 ;
21953 PyObject
* obj1
= 0 ;
21954 char *kwnames
[] = {
21955 (char *) "self",(char *) "flag", NULL
21958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
21959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21960 if (SWIG_arg_fail(1)) SWIG_fail
;
21962 arg2
= (bool)(SWIG_As_bool(obj1
));
21963 if (SWIG_arg_fail(2)) SWIG_fail
;
21966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21967 (arg1
)->EnablePaper(arg2
);
21969 wxPyEndAllowThreads(__tstate
);
21970 if (PyErr_Occurred()) SWIG_fail
;
21972 Py_INCREF(Py_None
); resultobj
= Py_None
;
21979 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21980 PyObject
*resultobj
;
21981 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21983 PyObject
* obj0
= 0 ;
21984 PyObject
* obj1
= 0 ;
21985 char *kwnames
[] = {
21986 (char *) "self",(char *) "flag", NULL
21989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
21990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21991 if (SWIG_arg_fail(1)) SWIG_fail
;
21993 arg2
= (bool)(SWIG_As_bool(obj1
));
21994 if (SWIG_arg_fail(2)) SWIG_fail
;
21997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21998 (arg1
)->EnablePrinter(arg2
);
22000 wxPyEndAllowThreads(__tstate
);
22001 if (PyErr_Occurred()) SWIG_fail
;
22003 Py_INCREF(Py_None
); resultobj
= Py_None
;
22010 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22011 PyObject
*resultobj
;
22012 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22014 PyObject
* obj0
= 0 ;
22015 char *kwnames
[] = {
22016 (char *) "self", NULL
22019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
22020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22021 if (SWIG_arg_fail(1)) SWIG_fail
;
22023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22024 result
= (bool)(arg1
)->GetDefaultMinMargins();
22026 wxPyEndAllowThreads(__tstate
);
22027 if (PyErr_Occurred()) SWIG_fail
;
22030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22038 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22039 PyObject
*resultobj
;
22040 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22042 PyObject
* obj0
= 0 ;
22043 char *kwnames
[] = {
22044 (char *) "self", NULL
22047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
22048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22049 if (SWIG_arg_fail(1)) SWIG_fail
;
22051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22052 result
= (bool)(arg1
)->GetEnableMargins();
22054 wxPyEndAllowThreads(__tstate
);
22055 if (PyErr_Occurred()) SWIG_fail
;
22058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22066 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22067 PyObject
*resultobj
;
22068 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22070 PyObject
* obj0
= 0 ;
22071 char *kwnames
[] = {
22072 (char *) "self", NULL
22075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
22076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22077 if (SWIG_arg_fail(1)) SWIG_fail
;
22079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22080 result
= (bool)(arg1
)->GetEnableOrientation();
22082 wxPyEndAllowThreads(__tstate
);
22083 if (PyErr_Occurred()) SWIG_fail
;
22086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22094 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22095 PyObject
*resultobj
;
22096 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22098 PyObject
* obj0
= 0 ;
22099 char *kwnames
[] = {
22100 (char *) "self", NULL
22103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
22104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22105 if (SWIG_arg_fail(1)) SWIG_fail
;
22107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22108 result
= (bool)(arg1
)->GetEnablePaper();
22110 wxPyEndAllowThreads(__tstate
);
22111 if (PyErr_Occurred()) SWIG_fail
;
22114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22122 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22123 PyObject
*resultobj
;
22124 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22126 PyObject
* obj0
= 0 ;
22127 char *kwnames
[] = {
22128 (char *) "self", NULL
22131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
22132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22133 if (SWIG_arg_fail(1)) SWIG_fail
;
22135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22136 result
= (bool)(arg1
)->GetEnablePrinter();
22138 wxPyEndAllowThreads(__tstate
);
22139 if (PyErr_Occurred()) SWIG_fail
;
22142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22150 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22151 PyObject
*resultobj
;
22152 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22154 PyObject
* obj0
= 0 ;
22155 char *kwnames
[] = {
22156 (char *) "self", NULL
22159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
22160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22161 if (SWIG_arg_fail(1)) SWIG_fail
;
22163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22164 result
= (bool)(arg1
)->GetEnableHelp();
22166 wxPyEndAllowThreads(__tstate
);
22167 if (PyErr_Occurred()) SWIG_fail
;
22170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22178 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22179 PyObject
*resultobj
;
22180 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22182 PyObject
* obj0
= 0 ;
22183 char *kwnames
[] = {
22184 (char *) "self", NULL
22187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
22188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22189 if (SWIG_arg_fail(1)) SWIG_fail
;
22191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22192 result
= (bool)(arg1
)->GetDefaultInfo();
22194 wxPyEndAllowThreads(__tstate
);
22195 if (PyErr_Occurred()) SWIG_fail
;
22198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22206 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22207 PyObject
*resultobj
;
22208 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22210 PyObject
* obj0
= 0 ;
22211 char *kwnames
[] = {
22212 (char *) "self", NULL
22215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
22216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22217 if (SWIG_arg_fail(1)) SWIG_fail
;
22219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22220 result
= (arg1
)->GetMarginTopLeft();
22222 wxPyEndAllowThreads(__tstate
);
22223 if (PyErr_Occurred()) SWIG_fail
;
22226 wxPoint
* resultptr
;
22227 resultptr
= new wxPoint((wxPoint
&)(result
));
22228 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22236 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22237 PyObject
*resultobj
;
22238 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22240 PyObject
* obj0
= 0 ;
22241 char *kwnames
[] = {
22242 (char *) "self", NULL
22245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
22246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22247 if (SWIG_arg_fail(1)) SWIG_fail
;
22249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22250 result
= (arg1
)->GetMarginBottomRight();
22252 wxPyEndAllowThreads(__tstate
);
22253 if (PyErr_Occurred()) SWIG_fail
;
22256 wxPoint
* resultptr
;
22257 resultptr
= new wxPoint((wxPoint
&)(result
));
22258 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22266 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22267 PyObject
*resultobj
;
22268 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22270 PyObject
* obj0
= 0 ;
22271 char *kwnames
[] = {
22272 (char *) "self", NULL
22275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
22276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22277 if (SWIG_arg_fail(1)) SWIG_fail
;
22279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22280 result
= (arg1
)->GetMinMarginTopLeft();
22282 wxPyEndAllowThreads(__tstate
);
22283 if (PyErr_Occurred()) SWIG_fail
;
22286 wxPoint
* resultptr
;
22287 resultptr
= new wxPoint((wxPoint
&)(result
));
22288 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22296 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22297 PyObject
*resultobj
;
22298 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22300 PyObject
* obj0
= 0 ;
22301 char *kwnames
[] = {
22302 (char *) "self", NULL
22305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
22306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22307 if (SWIG_arg_fail(1)) SWIG_fail
;
22309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22310 result
= (arg1
)->GetMinMarginBottomRight();
22312 wxPyEndAllowThreads(__tstate
);
22313 if (PyErr_Occurred()) SWIG_fail
;
22316 wxPoint
* resultptr
;
22317 resultptr
= new wxPoint((wxPoint
&)(result
));
22318 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22326 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22327 PyObject
*resultobj
;
22328 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22329 wxPaperSize result
;
22330 PyObject
* obj0
= 0 ;
22331 char *kwnames
[] = {
22332 (char *) "self", NULL
22335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
22336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22337 if (SWIG_arg_fail(1)) SWIG_fail
;
22339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22340 result
= (wxPaperSize
)(arg1
)->GetPaperId();
22342 wxPyEndAllowThreads(__tstate
);
22343 if (PyErr_Occurred()) SWIG_fail
;
22345 resultobj
= SWIG_From_int((result
));
22352 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22353 PyObject
*resultobj
;
22354 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22356 PyObject
* obj0
= 0 ;
22357 char *kwnames
[] = {
22358 (char *) "self", NULL
22361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
22362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22363 if (SWIG_arg_fail(1)) SWIG_fail
;
22365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22366 result
= (arg1
)->GetPaperSize();
22368 wxPyEndAllowThreads(__tstate
);
22369 if (PyErr_Occurred()) SWIG_fail
;
22372 wxSize
* resultptr
;
22373 resultptr
= new wxSize((wxSize
&)(result
));
22374 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22382 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22383 PyObject
*resultobj
;
22384 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22385 wxPrintData
*result
;
22386 PyObject
* obj0
= 0 ;
22387 char *kwnames
[] = {
22388 (char *) "self", NULL
22391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
22392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22393 if (SWIG_arg_fail(1)) SWIG_fail
;
22395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22397 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
22398 result
= (wxPrintData
*) &_result_ref
;
22401 wxPyEndAllowThreads(__tstate
);
22402 if (PyErr_Occurred()) SWIG_fail
;
22404 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
22411 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22412 PyObject
*resultobj
;
22413 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22415 PyObject
* obj0
= 0 ;
22416 char *kwnames
[] = {
22417 (char *) "self", NULL
22420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
22421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22422 if (SWIG_arg_fail(1)) SWIG_fail
;
22424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22425 result
= (bool)(arg1
)->Ok();
22427 wxPyEndAllowThreads(__tstate
);
22428 if (PyErr_Occurred()) SWIG_fail
;
22431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22439 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22440 PyObject
*resultobj
;
22441 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22443 PyObject
* obj0
= 0 ;
22444 PyObject
* obj1
= 0 ;
22445 char *kwnames
[] = {
22446 (char *) "self",(char *) "flag", NULL
22449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
22450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22451 if (SWIG_arg_fail(1)) SWIG_fail
;
22453 arg2
= (bool)(SWIG_As_bool(obj1
));
22454 if (SWIG_arg_fail(2)) SWIG_fail
;
22457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22458 (arg1
)->SetDefaultInfo(arg2
);
22460 wxPyEndAllowThreads(__tstate
);
22461 if (PyErr_Occurred()) SWIG_fail
;
22463 Py_INCREF(Py_None
); resultobj
= Py_None
;
22470 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22471 PyObject
*resultobj
;
22472 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22474 PyObject
* obj0
= 0 ;
22475 PyObject
* obj1
= 0 ;
22476 char *kwnames
[] = {
22477 (char *) "self",(char *) "flag", NULL
22480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
22481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22482 if (SWIG_arg_fail(1)) SWIG_fail
;
22484 arg2
= (bool)(SWIG_As_bool(obj1
));
22485 if (SWIG_arg_fail(2)) SWIG_fail
;
22488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22489 (arg1
)->SetDefaultMinMargins(arg2
);
22491 wxPyEndAllowThreads(__tstate
);
22492 if (PyErr_Occurred()) SWIG_fail
;
22494 Py_INCREF(Py_None
); resultobj
= Py_None
;
22501 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22502 PyObject
*resultobj
;
22503 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22504 wxPoint
*arg2
= 0 ;
22506 PyObject
* obj0
= 0 ;
22507 PyObject
* obj1
= 0 ;
22508 char *kwnames
[] = {
22509 (char *) "self",(char *) "pt", NULL
22512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
22513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22514 if (SWIG_arg_fail(1)) SWIG_fail
;
22517 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22521 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
22523 wxPyEndAllowThreads(__tstate
);
22524 if (PyErr_Occurred()) SWIG_fail
;
22526 Py_INCREF(Py_None
); resultobj
= Py_None
;
22533 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22534 PyObject
*resultobj
;
22535 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22536 wxPoint
*arg2
= 0 ;
22538 PyObject
* obj0
= 0 ;
22539 PyObject
* obj1
= 0 ;
22540 char *kwnames
[] = {
22541 (char *) "self",(char *) "pt", NULL
22544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
22545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22546 if (SWIG_arg_fail(1)) SWIG_fail
;
22549 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22553 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
22555 wxPyEndAllowThreads(__tstate
);
22556 if (PyErr_Occurred()) SWIG_fail
;
22558 Py_INCREF(Py_None
); resultobj
= Py_None
;
22565 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22566 PyObject
*resultobj
;
22567 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22568 wxPoint
*arg2
= 0 ;
22570 PyObject
* obj0
= 0 ;
22571 PyObject
* obj1
= 0 ;
22572 char *kwnames
[] = {
22573 (char *) "self",(char *) "pt", NULL
22576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
22577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22578 if (SWIG_arg_fail(1)) SWIG_fail
;
22581 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22585 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
22587 wxPyEndAllowThreads(__tstate
);
22588 if (PyErr_Occurred()) SWIG_fail
;
22590 Py_INCREF(Py_None
); resultobj
= Py_None
;
22597 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22598 PyObject
*resultobj
;
22599 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22600 wxPoint
*arg2
= 0 ;
22602 PyObject
* obj0
= 0 ;
22603 PyObject
* obj1
= 0 ;
22604 char *kwnames
[] = {
22605 (char *) "self",(char *) "pt", NULL
22608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
22609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22610 if (SWIG_arg_fail(1)) SWIG_fail
;
22613 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22617 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
22619 wxPyEndAllowThreads(__tstate
);
22620 if (PyErr_Occurred()) SWIG_fail
;
22622 Py_INCREF(Py_None
); resultobj
= Py_None
;
22629 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22630 PyObject
*resultobj
;
22631 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22633 PyObject
* obj0
= 0 ;
22634 PyObject
* obj1
= 0 ;
22635 char *kwnames
[] = {
22636 (char *) "self",(char *) "id", NULL
22639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
22640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22641 if (SWIG_arg_fail(1)) SWIG_fail
;
22643 arg2
= (wxPaperSize
)(SWIG_As_int(obj1
));
22644 if (SWIG_arg_fail(2)) SWIG_fail
;
22647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22648 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
22650 wxPyEndAllowThreads(__tstate
);
22651 if (PyErr_Occurred()) SWIG_fail
;
22653 Py_INCREF(Py_None
); resultobj
= Py_None
;
22660 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22661 PyObject
*resultobj
;
22662 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22665 PyObject
* obj0
= 0 ;
22666 PyObject
* obj1
= 0 ;
22667 char *kwnames
[] = {
22668 (char *) "self",(char *) "size", NULL
22671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22673 if (SWIG_arg_fail(1)) SWIG_fail
;
22676 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22680 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
22682 wxPyEndAllowThreads(__tstate
);
22683 if (PyErr_Occurred()) SWIG_fail
;
22685 Py_INCREF(Py_None
); resultobj
= Py_None
;
22692 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22693 PyObject
*resultobj
;
22694 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22695 wxPrintData
*arg2
= 0 ;
22696 PyObject
* obj0
= 0 ;
22697 PyObject
* obj1
= 0 ;
22698 char *kwnames
[] = {
22699 (char *) "self",(char *) "printData", NULL
22702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
22703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22704 if (SWIG_arg_fail(1)) SWIG_fail
;
22706 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
22707 if (SWIG_arg_fail(2)) SWIG_fail
;
22708 if (arg2
== NULL
) {
22709 SWIG_null_ref("wxPrintData");
22711 if (SWIG_arg_fail(2)) SWIG_fail
;
22714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22715 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
22717 wxPyEndAllowThreads(__tstate
);
22718 if (PyErr_Occurred()) SWIG_fail
;
22720 Py_INCREF(Py_None
); resultobj
= Py_None
;
22727 static PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22728 PyObject
*resultobj
;
22729 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22730 PyObject
* obj0
= 0 ;
22731 char *kwnames
[] = {
22732 (char *) "self", NULL
22735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_CalculateIdFromPaperSize",kwnames
,&obj0
)) goto fail
;
22736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22737 if (SWIG_arg_fail(1)) SWIG_fail
;
22739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22740 (arg1
)->CalculateIdFromPaperSize();
22742 wxPyEndAllowThreads(__tstate
);
22743 if (PyErr_Occurred()) SWIG_fail
;
22745 Py_INCREF(Py_None
); resultobj
= Py_None
;
22752 static PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22753 PyObject
*resultobj
;
22754 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22755 PyObject
* obj0
= 0 ;
22756 char *kwnames
[] = {
22757 (char *) "self", NULL
22760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_CalculatePaperSizeFromId",kwnames
,&obj0
)) goto fail
;
22761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22762 if (SWIG_arg_fail(1)) SWIG_fail
;
22764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22765 (arg1
)->CalculatePaperSizeFromId();
22767 wxPyEndAllowThreads(__tstate
);
22768 if (PyErr_Occurred()) SWIG_fail
;
22770 Py_INCREF(Py_None
); resultobj
= Py_None
;
22777 static PyObject
* PageSetupDialogData_swigregister(PyObject
*, PyObject
*args
) {
22779 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22780 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
22782 return Py_BuildValue((char *)"");
22784 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22785 PyObject
*resultobj
;
22786 wxWindow
*arg1
= (wxWindow
*) 0 ;
22787 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
22788 wxPageSetupDialog
*result
;
22789 PyObject
* obj0
= 0 ;
22790 PyObject
* obj1
= 0 ;
22791 char *kwnames
[] = {
22792 (char *) "parent",(char *) "data", NULL
22795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
22796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22797 if (SWIG_arg_fail(1)) SWIG_fail
;
22799 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22800 if (SWIG_arg_fail(2)) SWIG_fail
;
22803 if (!wxPyCheckForApp()) SWIG_fail
;
22804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22805 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
22807 wxPyEndAllowThreads(__tstate
);
22808 if (PyErr_Occurred()) SWIG_fail
;
22810 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
22817 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22818 PyObject
*resultobj
;
22819 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
22820 wxPageSetupDialogData
*result
;
22821 PyObject
* obj0
= 0 ;
22822 char *kwnames
[] = {
22823 (char *) "self", NULL
22826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
22827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
22828 if (SWIG_arg_fail(1)) SWIG_fail
;
22830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22832 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
22833 result
= (wxPageSetupDialogData
*) &_result_ref
;
22836 wxPyEndAllowThreads(__tstate
);
22837 if (PyErr_Occurred()) SWIG_fail
;
22839 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
22846 static PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22847 PyObject
*resultobj
;
22848 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
22849 wxPageSetupDialogData
*result
;
22850 PyObject
* obj0
= 0 ;
22851 char *kwnames
[] = {
22852 (char *) "self", NULL
22855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupDialogData",kwnames
,&obj0
)) goto fail
;
22856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
22857 if (SWIG_arg_fail(1)) SWIG_fail
;
22859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22861 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
22862 result
= (wxPageSetupDialogData
*) &_result_ref
;
22865 wxPyEndAllowThreads(__tstate
);
22866 if (PyErr_Occurred()) SWIG_fail
;
22868 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
22875 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22876 PyObject
*resultobj
;
22877 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
22879 PyObject
* obj0
= 0 ;
22880 char *kwnames
[] = {
22881 (char *) "self", NULL
22884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
22885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
22886 if (SWIG_arg_fail(1)) SWIG_fail
;
22888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22889 result
= (int)(arg1
)->ShowModal();
22891 wxPyEndAllowThreads(__tstate
);
22892 if (PyErr_Occurred()) SWIG_fail
;
22895 resultobj
= SWIG_From_int((int)(result
));
22903 static PyObject
* PageSetupDialog_swigregister(PyObject
*, PyObject
*args
) {
22905 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22906 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
22908 return Py_BuildValue((char *)"");
22910 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
22911 PyObject
*resultobj
;
22912 wxPrintDialogData
*result
;
22914 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
22916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22917 result
= (wxPrintDialogData
*)new wxPrintDialogData();
22919 wxPyEndAllowThreads(__tstate
);
22920 if (PyErr_Occurred()) SWIG_fail
;
22922 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
22929 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
22930 PyObject
*resultobj
;
22931 wxPrintData
*arg1
= 0 ;
22932 wxPrintDialogData
*result
;
22933 PyObject
* obj0
= 0 ;
22935 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
22937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
22938 if (SWIG_arg_fail(1)) SWIG_fail
;
22939 if (arg1
== NULL
) {
22940 SWIG_null_ref("wxPrintData");
22942 if (SWIG_arg_fail(1)) SWIG_fail
;
22945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22946 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
22948 wxPyEndAllowThreads(__tstate
);
22949 if (PyErr_Occurred()) SWIG_fail
;
22951 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
22958 static PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*, PyObject
*args
) {
22959 PyObject
*resultobj
;
22960 wxPrintDialogData
*arg1
= 0 ;
22961 wxPrintDialogData
*result
;
22962 PyObject
* obj0
= 0 ;
22964 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
22966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22967 if (SWIG_arg_fail(1)) SWIG_fail
;
22968 if (arg1
== NULL
) {
22969 SWIG_null_ref("wxPrintDialogData");
22971 if (SWIG_arg_fail(1)) SWIG_fail
;
22974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22975 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
22977 wxPyEndAllowThreads(__tstate
);
22978 if (PyErr_Occurred()) SWIG_fail
;
22980 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
22987 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
22992 argc
= PyObject_Length(args
);
22993 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
22994 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22997 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
23003 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
23011 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
23018 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
23026 return _wrap_new_PrintDialogData__SWIG_2(self
,args
);
23030 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
23035 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23036 PyObject
*resultobj
;
23037 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23038 PyObject
* obj0
= 0 ;
23039 char *kwnames
[] = {
23040 (char *) "self", NULL
23043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
23044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23045 if (SWIG_arg_fail(1)) SWIG_fail
;
23047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23050 wxPyEndAllowThreads(__tstate
);
23051 if (PyErr_Occurred()) SWIG_fail
;
23053 Py_INCREF(Py_None
); resultobj
= Py_None
;
23060 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23061 PyObject
*resultobj
;
23062 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23064 PyObject
* obj0
= 0 ;
23065 char *kwnames
[] = {
23066 (char *) "self", NULL
23069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
23070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23071 if (SWIG_arg_fail(1)) SWIG_fail
;
23073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23074 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
23076 wxPyEndAllowThreads(__tstate
);
23077 if (PyErr_Occurred()) SWIG_fail
;
23080 resultobj
= SWIG_From_int((int)(result
));
23088 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23089 PyObject
*resultobj
;
23090 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23092 PyObject
* obj0
= 0 ;
23093 char *kwnames
[] = {
23094 (char *) "self", NULL
23097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
23098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23099 if (SWIG_arg_fail(1)) SWIG_fail
;
23101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23102 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
23104 wxPyEndAllowThreads(__tstate
);
23105 if (PyErr_Occurred()) SWIG_fail
;
23108 resultobj
= SWIG_From_int((int)(result
));
23116 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23117 PyObject
*resultobj
;
23118 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23120 PyObject
* obj0
= 0 ;
23121 char *kwnames
[] = {
23122 (char *) "self", NULL
23125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
23126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23127 if (SWIG_arg_fail(1)) SWIG_fail
;
23129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23130 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
23132 wxPyEndAllowThreads(__tstate
);
23133 if (PyErr_Occurred()) SWIG_fail
;
23136 resultobj
= SWIG_From_int((int)(result
));
23144 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23145 PyObject
*resultobj
;
23146 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23148 PyObject
* obj0
= 0 ;
23149 char *kwnames
[] = {
23150 (char *) "self", NULL
23153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
23154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23155 if (SWIG_arg_fail(1)) SWIG_fail
;
23157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23158 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
23160 wxPyEndAllowThreads(__tstate
);
23161 if (PyErr_Occurred()) SWIG_fail
;
23164 resultobj
= SWIG_From_int((int)(result
));
23172 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23173 PyObject
*resultobj
;
23174 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23176 PyObject
* obj0
= 0 ;
23177 char *kwnames
[] = {
23178 (char *) "self", NULL
23181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
23182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23183 if (SWIG_arg_fail(1)) SWIG_fail
;
23185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23186 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
23188 wxPyEndAllowThreads(__tstate
);
23189 if (PyErr_Occurred()) SWIG_fail
;
23192 resultobj
= SWIG_From_int((int)(result
));
23200 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23201 PyObject
*resultobj
;
23202 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23204 PyObject
* obj0
= 0 ;
23205 char *kwnames
[] = {
23206 (char *) "self", NULL
23209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
23210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23211 if (SWIG_arg_fail(1)) SWIG_fail
;
23213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23214 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
23216 wxPyEndAllowThreads(__tstate
);
23217 if (PyErr_Occurred()) SWIG_fail
;
23220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23228 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23229 PyObject
*resultobj
;
23230 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23232 PyObject
* obj0
= 0 ;
23233 char *kwnames
[] = {
23234 (char *) "self", NULL
23237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
23238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23239 if (SWIG_arg_fail(1)) SWIG_fail
;
23241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23242 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
23244 wxPyEndAllowThreads(__tstate
);
23245 if (PyErr_Occurred()) SWIG_fail
;
23248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23256 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23257 PyObject
*resultobj
;
23258 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23260 PyObject
* obj0
= 0 ;
23261 char *kwnames
[] = {
23262 (char *) "self", NULL
23265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
23266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23267 if (SWIG_arg_fail(1)) SWIG_fail
;
23269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23270 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
23272 wxPyEndAllowThreads(__tstate
);
23273 if (PyErr_Occurred()) SWIG_fail
;
23276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23284 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23285 PyObject
*resultobj
;
23286 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23288 PyObject
* obj0
= 0 ;
23289 char *kwnames
[] = {
23290 (char *) "self", NULL
23293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
23294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23295 if (SWIG_arg_fail(1)) SWIG_fail
;
23297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23298 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
23300 wxPyEndAllowThreads(__tstate
);
23301 if (PyErr_Occurred()) SWIG_fail
;
23304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23312 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23313 PyObject
*resultobj
;
23314 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23316 PyObject
* obj0
= 0 ;
23317 char *kwnames
[] = {
23318 (char *) "self", NULL
23321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
23322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23323 if (SWIG_arg_fail(1)) SWIG_fail
;
23325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23326 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
23328 wxPyEndAllowThreads(__tstate
);
23329 if (PyErr_Occurred()) SWIG_fail
;
23332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23340 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23341 PyObject
*resultobj
;
23342 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23344 PyObject
* obj0
= 0 ;
23345 PyObject
* obj1
= 0 ;
23346 char *kwnames
[] = {
23347 (char *) "self",(char *) "flag", NULL
23350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
23351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23352 if (SWIG_arg_fail(1)) SWIG_fail
;
23354 arg2
= (bool)(SWIG_As_bool(obj1
));
23355 if (SWIG_arg_fail(2)) SWIG_fail
;
23358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23359 (arg1
)->SetSetupDialog(arg2
);
23361 wxPyEndAllowThreads(__tstate
);
23362 if (PyErr_Occurred()) SWIG_fail
;
23364 Py_INCREF(Py_None
); resultobj
= Py_None
;
23371 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23372 PyObject
*resultobj
;
23373 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23375 PyObject
* obj0
= 0 ;
23376 PyObject
* obj1
= 0 ;
23377 char *kwnames
[] = {
23378 (char *) "self",(char *) "v", NULL
23381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23383 if (SWIG_arg_fail(1)) SWIG_fail
;
23385 arg2
= (int)(SWIG_As_int(obj1
));
23386 if (SWIG_arg_fail(2)) SWIG_fail
;
23389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23390 (arg1
)->SetFromPage(arg2
);
23392 wxPyEndAllowThreads(__tstate
);
23393 if (PyErr_Occurred()) SWIG_fail
;
23395 Py_INCREF(Py_None
); resultobj
= Py_None
;
23402 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23403 PyObject
*resultobj
;
23404 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23406 PyObject
* obj0
= 0 ;
23407 PyObject
* obj1
= 0 ;
23408 char *kwnames
[] = {
23409 (char *) "self",(char *) "v", NULL
23412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23414 if (SWIG_arg_fail(1)) SWIG_fail
;
23416 arg2
= (int)(SWIG_As_int(obj1
));
23417 if (SWIG_arg_fail(2)) SWIG_fail
;
23420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23421 (arg1
)->SetToPage(arg2
);
23423 wxPyEndAllowThreads(__tstate
);
23424 if (PyErr_Occurred()) SWIG_fail
;
23426 Py_INCREF(Py_None
); resultobj
= Py_None
;
23433 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23434 PyObject
*resultobj
;
23435 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23437 PyObject
* obj0
= 0 ;
23438 PyObject
* obj1
= 0 ;
23439 char *kwnames
[] = {
23440 (char *) "self",(char *) "v", NULL
23443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23445 if (SWIG_arg_fail(1)) SWIG_fail
;
23447 arg2
= (int)(SWIG_As_int(obj1
));
23448 if (SWIG_arg_fail(2)) SWIG_fail
;
23451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23452 (arg1
)->SetMinPage(arg2
);
23454 wxPyEndAllowThreads(__tstate
);
23455 if (PyErr_Occurred()) SWIG_fail
;
23457 Py_INCREF(Py_None
); resultobj
= Py_None
;
23464 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23465 PyObject
*resultobj
;
23466 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23468 PyObject
* obj0
= 0 ;
23469 PyObject
* obj1
= 0 ;
23470 char *kwnames
[] = {
23471 (char *) "self",(char *) "v", NULL
23474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23476 if (SWIG_arg_fail(1)) SWIG_fail
;
23478 arg2
= (int)(SWIG_As_int(obj1
));
23479 if (SWIG_arg_fail(2)) SWIG_fail
;
23482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23483 (arg1
)->SetMaxPage(arg2
);
23485 wxPyEndAllowThreads(__tstate
);
23486 if (PyErr_Occurred()) SWIG_fail
;
23488 Py_INCREF(Py_None
); resultobj
= Py_None
;
23495 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23496 PyObject
*resultobj
;
23497 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23499 PyObject
* obj0
= 0 ;
23500 PyObject
* obj1
= 0 ;
23501 char *kwnames
[] = {
23502 (char *) "self",(char *) "v", NULL
23505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
23506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23507 if (SWIG_arg_fail(1)) SWIG_fail
;
23509 arg2
= (int)(SWIG_As_int(obj1
));
23510 if (SWIG_arg_fail(2)) SWIG_fail
;
23513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23514 (arg1
)->SetNoCopies(arg2
);
23516 wxPyEndAllowThreads(__tstate
);
23517 if (PyErr_Occurred()) SWIG_fail
;
23519 Py_INCREF(Py_None
); resultobj
= Py_None
;
23526 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23527 PyObject
*resultobj
;
23528 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23530 PyObject
* obj0
= 0 ;
23531 PyObject
* obj1
= 0 ;
23532 char *kwnames
[] = {
23533 (char *) "self",(char *) "flag", NULL
23536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
23537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23538 if (SWIG_arg_fail(1)) SWIG_fail
;
23540 arg2
= (bool)(SWIG_As_bool(obj1
));
23541 if (SWIG_arg_fail(2)) SWIG_fail
;
23544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23545 (arg1
)->SetAllPages(arg2
);
23547 wxPyEndAllowThreads(__tstate
);
23548 if (PyErr_Occurred()) SWIG_fail
;
23550 Py_INCREF(Py_None
); resultobj
= Py_None
;
23557 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23558 PyObject
*resultobj
;
23559 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23561 PyObject
* obj0
= 0 ;
23562 PyObject
* obj1
= 0 ;
23563 char *kwnames
[] = {
23564 (char *) "self",(char *) "flag", NULL
23567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
23568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23569 if (SWIG_arg_fail(1)) SWIG_fail
;
23571 arg2
= (bool)(SWIG_As_bool(obj1
));
23572 if (SWIG_arg_fail(2)) SWIG_fail
;
23575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23576 (arg1
)->SetSelection(arg2
);
23578 wxPyEndAllowThreads(__tstate
);
23579 if (PyErr_Occurred()) SWIG_fail
;
23581 Py_INCREF(Py_None
); resultobj
= Py_None
;
23588 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23589 PyObject
*resultobj
;
23590 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23592 PyObject
* obj0
= 0 ;
23593 PyObject
* obj1
= 0 ;
23594 char *kwnames
[] = {
23595 (char *) "self",(char *) "flag", NULL
23598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
23599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23600 if (SWIG_arg_fail(1)) SWIG_fail
;
23602 arg2
= (bool)(SWIG_As_bool(obj1
));
23603 if (SWIG_arg_fail(2)) SWIG_fail
;
23606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23607 (arg1
)->SetCollate(arg2
);
23609 wxPyEndAllowThreads(__tstate
);
23610 if (PyErr_Occurred()) SWIG_fail
;
23612 Py_INCREF(Py_None
); resultobj
= Py_None
;
23619 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23620 PyObject
*resultobj
;
23621 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23623 PyObject
* obj0
= 0 ;
23624 PyObject
* obj1
= 0 ;
23625 char *kwnames
[] = {
23626 (char *) "self",(char *) "flag", NULL
23629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
23630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23631 if (SWIG_arg_fail(1)) SWIG_fail
;
23633 arg2
= (bool)(SWIG_As_bool(obj1
));
23634 if (SWIG_arg_fail(2)) SWIG_fail
;
23637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23638 (arg1
)->SetPrintToFile(arg2
);
23640 wxPyEndAllowThreads(__tstate
);
23641 if (PyErr_Occurred()) SWIG_fail
;
23643 Py_INCREF(Py_None
); resultobj
= Py_None
;
23650 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23651 PyObject
*resultobj
;
23652 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23654 PyObject
* obj0
= 0 ;
23655 PyObject
* obj1
= 0 ;
23656 char *kwnames
[] = {
23657 (char *) "self",(char *) "flag", NULL
23660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
23661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23662 if (SWIG_arg_fail(1)) SWIG_fail
;
23664 arg2
= (bool)(SWIG_As_bool(obj1
));
23665 if (SWIG_arg_fail(2)) SWIG_fail
;
23668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23669 (arg1
)->EnablePrintToFile(arg2
);
23671 wxPyEndAllowThreads(__tstate
);
23672 if (PyErr_Occurred()) SWIG_fail
;
23674 Py_INCREF(Py_None
); resultobj
= Py_None
;
23681 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23682 PyObject
*resultobj
;
23683 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23685 PyObject
* obj0
= 0 ;
23686 PyObject
* obj1
= 0 ;
23687 char *kwnames
[] = {
23688 (char *) "self",(char *) "flag", NULL
23691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
23692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23693 if (SWIG_arg_fail(1)) SWIG_fail
;
23695 arg2
= (bool)(SWIG_As_bool(obj1
));
23696 if (SWIG_arg_fail(2)) SWIG_fail
;
23699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23700 (arg1
)->EnableSelection(arg2
);
23702 wxPyEndAllowThreads(__tstate
);
23703 if (PyErr_Occurred()) SWIG_fail
;
23705 Py_INCREF(Py_None
); resultobj
= Py_None
;
23712 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23713 PyObject
*resultobj
;
23714 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23716 PyObject
* obj0
= 0 ;
23717 PyObject
* obj1
= 0 ;
23718 char *kwnames
[] = {
23719 (char *) "self",(char *) "flag", NULL
23722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
23723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23724 if (SWIG_arg_fail(1)) SWIG_fail
;
23726 arg2
= (bool)(SWIG_As_bool(obj1
));
23727 if (SWIG_arg_fail(2)) SWIG_fail
;
23730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23731 (arg1
)->EnablePageNumbers(arg2
);
23733 wxPyEndAllowThreads(__tstate
);
23734 if (PyErr_Occurred()) SWIG_fail
;
23736 Py_INCREF(Py_None
); resultobj
= Py_None
;
23743 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23744 PyObject
*resultobj
;
23745 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23747 PyObject
* obj0
= 0 ;
23748 PyObject
* obj1
= 0 ;
23749 char *kwnames
[] = {
23750 (char *) "self",(char *) "flag", NULL
23753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
23754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23755 if (SWIG_arg_fail(1)) SWIG_fail
;
23757 arg2
= (bool)(SWIG_As_bool(obj1
));
23758 if (SWIG_arg_fail(2)) SWIG_fail
;
23761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23762 (arg1
)->EnableHelp(arg2
);
23764 wxPyEndAllowThreads(__tstate
);
23765 if (PyErr_Occurred()) SWIG_fail
;
23767 Py_INCREF(Py_None
); resultobj
= Py_None
;
23774 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23775 PyObject
*resultobj
;
23776 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23778 PyObject
* obj0
= 0 ;
23779 char *kwnames
[] = {
23780 (char *) "self", NULL
23783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
23784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23785 if (SWIG_arg_fail(1)) SWIG_fail
;
23787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23788 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
23790 wxPyEndAllowThreads(__tstate
);
23791 if (PyErr_Occurred()) SWIG_fail
;
23794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23802 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23803 PyObject
*resultobj
;
23804 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23806 PyObject
* obj0
= 0 ;
23807 char *kwnames
[] = {
23808 (char *) "self", NULL
23811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
23812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23813 if (SWIG_arg_fail(1)) SWIG_fail
;
23815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23816 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
23818 wxPyEndAllowThreads(__tstate
);
23819 if (PyErr_Occurred()) SWIG_fail
;
23822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23830 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23831 PyObject
*resultobj
;
23832 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23834 PyObject
* obj0
= 0 ;
23835 char *kwnames
[] = {
23836 (char *) "self", NULL
23839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
23840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23841 if (SWIG_arg_fail(1)) SWIG_fail
;
23843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23844 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
23846 wxPyEndAllowThreads(__tstate
);
23847 if (PyErr_Occurred()) SWIG_fail
;
23850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23858 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23859 PyObject
*resultobj
;
23860 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23862 PyObject
* obj0
= 0 ;
23863 char *kwnames
[] = {
23864 (char *) "self", NULL
23867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
23868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23869 if (SWIG_arg_fail(1)) SWIG_fail
;
23871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23872 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
23874 wxPyEndAllowThreads(__tstate
);
23875 if (PyErr_Occurred()) SWIG_fail
;
23878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23886 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23887 PyObject
*resultobj
;
23888 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23890 PyObject
* obj0
= 0 ;
23891 char *kwnames
[] = {
23892 (char *) "self", NULL
23895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
23896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23897 if (SWIG_arg_fail(1)) SWIG_fail
;
23899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23900 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
23902 wxPyEndAllowThreads(__tstate
);
23903 if (PyErr_Occurred()) SWIG_fail
;
23906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23914 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23915 PyObject
*resultobj
;
23916 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23917 wxPrintData
*result
;
23918 PyObject
* obj0
= 0 ;
23919 char *kwnames
[] = {
23920 (char *) "self", NULL
23923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
23924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23925 if (SWIG_arg_fail(1)) SWIG_fail
;
23927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23929 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
23930 result
= (wxPrintData
*) &_result_ref
;
23933 wxPyEndAllowThreads(__tstate
);
23934 if (PyErr_Occurred()) SWIG_fail
;
23936 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
23943 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23944 PyObject
*resultobj
;
23945 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23946 wxPrintData
*arg2
= 0 ;
23947 PyObject
* obj0
= 0 ;
23948 PyObject
* obj1
= 0 ;
23949 char *kwnames
[] = {
23950 (char *) "self",(char *) "printData", NULL
23953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
23954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23955 if (SWIG_arg_fail(1)) SWIG_fail
;
23957 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
23958 if (SWIG_arg_fail(2)) SWIG_fail
;
23959 if (arg2
== NULL
) {
23960 SWIG_null_ref("wxPrintData");
23962 if (SWIG_arg_fail(2)) SWIG_fail
;
23965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23966 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
23968 wxPyEndAllowThreads(__tstate
);
23969 if (PyErr_Occurred()) SWIG_fail
;
23971 Py_INCREF(Py_None
); resultobj
= Py_None
;
23978 static PyObject
* PrintDialogData_swigregister(PyObject
*, PyObject
*args
) {
23980 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23981 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
23983 return Py_BuildValue((char *)"");
23985 static PyObject
*_wrap_new_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23986 PyObject
*resultobj
;
23987 wxWindow
*arg1
= (wxWindow
*) 0 ;
23988 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
23989 wxPrintDialog
*result
;
23990 PyObject
* obj0
= 0 ;
23991 PyObject
* obj1
= 0 ;
23992 char *kwnames
[] = {
23993 (char *) "parent",(char *) "data", NULL
23996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
23997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23998 if (SWIG_arg_fail(1)) SWIG_fail
;
24000 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24001 if (SWIG_arg_fail(2)) SWIG_fail
;
24004 if (!wxPyCheckForApp()) SWIG_fail
;
24005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24006 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
24008 wxPyEndAllowThreads(__tstate
);
24009 if (PyErr_Occurred()) SWIG_fail
;
24011 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
24018 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24019 PyObject
*resultobj
;
24020 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24022 PyObject
* obj0
= 0 ;
24023 char *kwnames
[] = {
24024 (char *) "self", NULL
24027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
24028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24029 if (SWIG_arg_fail(1)) SWIG_fail
;
24031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24032 result
= (int)(arg1
)->ShowModal();
24034 wxPyEndAllowThreads(__tstate
);
24035 if (PyErr_Occurred()) SWIG_fail
;
24038 resultobj
= SWIG_From_int((int)(result
));
24046 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24047 PyObject
*resultobj
;
24048 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24049 wxPrintDialogData
*result
;
24050 PyObject
* obj0
= 0 ;
24051 char *kwnames
[] = {
24052 (char *) "self", NULL
24055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
24056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24057 if (SWIG_arg_fail(1)) SWIG_fail
;
24059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24061 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
24062 result
= (wxPrintDialogData
*) &_result_ref
;
24065 wxPyEndAllowThreads(__tstate
);
24066 if (PyErr_Occurred()) SWIG_fail
;
24068 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
24075 static PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24076 PyObject
*resultobj
;
24077 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24078 wxPrintData
*result
;
24079 PyObject
* obj0
= 0 ;
24080 char *kwnames
[] = {
24081 (char *) "self", NULL
24084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintData",kwnames
,&obj0
)) goto fail
;
24085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24086 if (SWIG_arg_fail(1)) SWIG_fail
;
24088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24090 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24091 result
= (wxPrintData
*) &_result_ref
;
24094 wxPyEndAllowThreads(__tstate
);
24095 if (PyErr_Occurred()) SWIG_fail
;
24097 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
24104 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24105 PyObject
*resultobj
;
24106 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24108 PyObject
* obj0
= 0 ;
24109 char *kwnames
[] = {
24110 (char *) "self", NULL
24113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
24114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24115 if (SWIG_arg_fail(1)) SWIG_fail
;
24117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24118 result
= (wxDC
*)(arg1
)->GetPrintDC();
24120 wxPyEndAllowThreads(__tstate
);
24121 if (PyErr_Occurred()) SWIG_fail
;
24124 resultobj
= wxPyMake_wxObject(result
, 1);
24132 static PyObject
* PrintDialog_swigregister(PyObject
*, PyObject
*args
) {
24134 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24135 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
24137 return Py_BuildValue((char *)"");
24139 static PyObject
*_wrap_new_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24140 PyObject
*resultobj
;
24141 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
24143 PyObject
* obj0
= 0 ;
24144 char *kwnames
[] = {
24145 (char *) "data", NULL
24148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
24150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24151 if (SWIG_arg_fail(1)) SWIG_fail
;
24154 if (!wxPyCheckForApp()) SWIG_fail
;
24155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24156 result
= (wxPrinter
*)new wxPrinter(arg1
);
24158 wxPyEndAllowThreads(__tstate
);
24159 if (PyErr_Occurred()) SWIG_fail
;
24161 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
24168 static PyObject
*_wrap_delete_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24169 PyObject
*resultobj
;
24170 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24171 PyObject
* obj0
= 0 ;
24172 char *kwnames
[] = {
24173 (char *) "self", NULL
24176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
24177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24178 if (SWIG_arg_fail(1)) SWIG_fail
;
24180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24183 wxPyEndAllowThreads(__tstate
);
24184 if (PyErr_Occurred()) SWIG_fail
;
24186 Py_INCREF(Py_None
); resultobj
= Py_None
;
24193 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24194 PyObject
*resultobj
;
24195 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24196 wxWindow
*arg2
= (wxWindow
*) 0 ;
24197 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24199 PyObject
* obj0
= 0 ;
24200 PyObject
* obj1
= 0 ;
24201 PyObject
* obj2
= 0 ;
24202 char *kwnames
[] = {
24203 (char *) "self",(char *) "parent",(char *) "printout", NULL
24206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24208 if (SWIG_arg_fail(1)) SWIG_fail
;
24209 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24210 if (SWIG_arg_fail(2)) SWIG_fail
;
24211 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24212 if (SWIG_arg_fail(3)) SWIG_fail
;
24214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24215 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
24217 wxPyEndAllowThreads(__tstate
);
24218 if (PyErr_Occurred()) SWIG_fail
;
24221 resultobj
= wxPyMake_wxObject(result
, 0);
24229 static PyObject
*_wrap_Printer_ReportError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24230 PyObject
*resultobj
;
24231 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24232 wxWindow
*arg2
= (wxWindow
*) 0 ;
24233 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24234 wxString
*arg4
= 0 ;
24235 bool temp4
= false ;
24236 PyObject
* obj0
= 0 ;
24237 PyObject
* obj1
= 0 ;
24238 PyObject
* obj2
= 0 ;
24239 PyObject
* obj3
= 0 ;
24240 char *kwnames
[] = {
24241 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
24244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24246 if (SWIG_arg_fail(1)) SWIG_fail
;
24247 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24248 if (SWIG_arg_fail(2)) SWIG_fail
;
24249 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24250 if (SWIG_arg_fail(3)) SWIG_fail
;
24252 arg4
= wxString_in_helper(obj3
);
24253 if (arg4
== NULL
) SWIG_fail
;
24257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24258 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
24260 wxPyEndAllowThreads(__tstate
);
24261 if (PyErr_Occurred()) SWIG_fail
;
24263 Py_INCREF(Py_None
); resultobj
= Py_None
;
24278 static PyObject
*_wrap_Printer_Setup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24279 PyObject
*resultobj
;
24280 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24281 wxWindow
*arg2
= (wxWindow
*) 0 ;
24283 PyObject
* obj0
= 0 ;
24284 PyObject
* obj1
= 0 ;
24285 char *kwnames
[] = {
24286 (char *) "self",(char *) "parent", NULL
24289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
24290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24291 if (SWIG_arg_fail(1)) SWIG_fail
;
24292 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24293 if (SWIG_arg_fail(2)) SWIG_fail
;
24295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24296 result
= (bool)(arg1
)->Setup(arg2
);
24298 wxPyEndAllowThreads(__tstate
);
24299 if (PyErr_Occurred()) SWIG_fail
;
24302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24310 static PyObject
*_wrap_Printer_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24311 PyObject
*resultobj
;
24312 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24313 wxWindow
*arg2
= (wxWindow
*) 0 ;
24314 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24315 bool arg4
= (bool) true ;
24317 PyObject
* obj0
= 0 ;
24318 PyObject
* obj1
= 0 ;
24319 PyObject
* obj2
= 0 ;
24320 PyObject
* obj3
= 0 ;
24321 char *kwnames
[] = {
24322 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
24325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24327 if (SWIG_arg_fail(1)) SWIG_fail
;
24328 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24329 if (SWIG_arg_fail(2)) SWIG_fail
;
24330 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24331 if (SWIG_arg_fail(3)) SWIG_fail
;
24334 arg4
= (bool)(SWIG_As_bool(obj3
));
24335 if (SWIG_arg_fail(4)) SWIG_fail
;
24339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24340 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
24342 wxPyEndAllowThreads(__tstate
);
24343 if (PyErr_Occurred()) SWIG_fail
;
24346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24354 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24355 PyObject
*resultobj
;
24356 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24357 wxWindow
*arg2
= (wxWindow
*) 0 ;
24359 PyObject
* obj0
= 0 ;
24360 PyObject
* obj1
= 0 ;
24361 char *kwnames
[] = {
24362 (char *) "self",(char *) "parent", NULL
24365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
24366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24367 if (SWIG_arg_fail(1)) SWIG_fail
;
24368 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24369 if (SWIG_arg_fail(2)) SWIG_fail
;
24371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24372 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
24374 wxPyEndAllowThreads(__tstate
);
24375 if (PyErr_Occurred()) SWIG_fail
;
24378 resultobj
= wxPyMake_wxObject(result
, 0);
24386 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24387 PyObject
*resultobj
;
24388 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24389 wxPrintDialogData
*result
;
24390 PyObject
* obj0
= 0 ;
24391 char *kwnames
[] = {
24392 (char *) "self", NULL
24395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
24396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24397 if (SWIG_arg_fail(1)) SWIG_fail
;
24399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24401 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
24402 result
= (wxPrintDialogData
*) &_result_ref
;
24405 wxPyEndAllowThreads(__tstate
);
24406 if (PyErr_Occurred()) SWIG_fail
;
24408 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
24415 static PyObject
*_wrap_Printer_GetAbort(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24416 PyObject
*resultobj
;
24417 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24419 PyObject
* obj0
= 0 ;
24420 char *kwnames
[] = {
24421 (char *) "self", NULL
24424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
24425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24426 if (SWIG_arg_fail(1)) SWIG_fail
;
24428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24429 result
= (bool)(arg1
)->GetAbort();
24431 wxPyEndAllowThreads(__tstate
);
24432 if (PyErr_Occurred()) SWIG_fail
;
24435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24443 static PyObject
*_wrap_Printer_GetLastError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24444 PyObject
*resultobj
;
24445 wxPrinterError result
;
24446 char *kwnames
[] = {
24450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
24452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24453 result
= (wxPrinterError
)wxPrinter::GetLastError();
24455 wxPyEndAllowThreads(__tstate
);
24456 if (PyErr_Occurred()) SWIG_fail
;
24458 resultobj
= SWIG_From_int((result
));
24465 static PyObject
* Printer_swigregister(PyObject
*, PyObject
*args
) {
24467 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24468 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
24470 return Py_BuildValue((char *)"");
24472 static PyObject
*_wrap_new_Printout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24473 PyObject
*resultobj
;
24474 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
24475 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24476 wxPyPrintout
*result
;
24477 bool temp1
= false ;
24478 PyObject
* obj0
= 0 ;
24479 char *kwnames
[] = {
24480 (char *) "title", NULL
24483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
24486 arg1
= wxString_in_helper(obj0
);
24487 if (arg1
== NULL
) SWIG_fail
;
24492 if (!wxPyCheckForApp()) SWIG_fail
;
24493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24494 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
24496 wxPyEndAllowThreads(__tstate
);
24497 if (PyErr_Occurred()) SWIG_fail
;
24500 resultobj
= wxPyMake_wxObject(result
, 1);
24516 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24517 PyObject
*resultobj
;
24518 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24519 PyObject
*arg2
= (PyObject
*) 0 ;
24520 PyObject
*arg3
= (PyObject
*) 0 ;
24521 PyObject
* obj0
= 0 ;
24522 PyObject
* obj1
= 0 ;
24523 PyObject
* obj2
= 0 ;
24524 char *kwnames
[] = {
24525 (char *) "self",(char *) "self",(char *) "_class", NULL
24528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24530 if (SWIG_arg_fail(1)) SWIG_fail
;
24534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24535 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24537 wxPyEndAllowThreads(__tstate
);
24538 if (PyErr_Occurred()) SWIG_fail
;
24540 Py_INCREF(Py_None
); resultobj
= Py_None
;
24547 static PyObject
*_wrap_Printout_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24548 PyObject
*resultobj
;
24549 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24551 PyObject
* obj0
= 0 ;
24552 char *kwnames
[] = {
24553 (char *) "self", NULL
24556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
24557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24558 if (SWIG_arg_fail(1)) SWIG_fail
;
24560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24561 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
24563 wxPyEndAllowThreads(__tstate
);
24564 if (PyErr_Occurred()) SWIG_fail
;
24568 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24570 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24579 static PyObject
*_wrap_Printout_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24580 PyObject
*resultobj
;
24581 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24583 PyObject
* obj0
= 0 ;
24584 char *kwnames
[] = {
24585 (char *) "self", NULL
24588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
24589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24590 if (SWIG_arg_fail(1)) SWIG_fail
;
24592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24593 result
= (wxDC
*)(arg1
)->GetDC();
24595 wxPyEndAllowThreads(__tstate
);
24596 if (PyErr_Occurred()) SWIG_fail
;
24599 resultobj
= wxPyMake_wxObject(result
, 0);
24607 static PyObject
*_wrap_Printout_SetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24608 PyObject
*resultobj
;
24609 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24610 wxDC
*arg2
= (wxDC
*) 0 ;
24611 PyObject
* obj0
= 0 ;
24612 PyObject
* obj1
= 0 ;
24613 char *kwnames
[] = {
24614 (char *) "self",(char *) "dc", NULL
24617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
24618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24619 if (SWIG_arg_fail(1)) SWIG_fail
;
24620 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
24621 if (SWIG_arg_fail(2)) SWIG_fail
;
24623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24624 (arg1
)->SetDC(arg2
);
24626 wxPyEndAllowThreads(__tstate
);
24627 if (PyErr_Occurred()) SWIG_fail
;
24629 Py_INCREF(Py_None
); resultobj
= Py_None
;
24636 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24637 PyObject
*resultobj
;
24638 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24641 PyObject
* obj0
= 0 ;
24642 PyObject
* obj1
= 0 ;
24643 PyObject
* obj2
= 0 ;
24644 char *kwnames
[] = {
24645 (char *) "self",(char *) "w",(char *) "h", NULL
24648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24650 if (SWIG_arg_fail(1)) SWIG_fail
;
24652 arg2
= (int)(SWIG_As_int(obj1
));
24653 if (SWIG_arg_fail(2)) SWIG_fail
;
24656 arg3
= (int)(SWIG_As_int(obj2
));
24657 if (SWIG_arg_fail(3)) SWIG_fail
;
24660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24661 (arg1
)->SetPageSizePixels(arg2
,arg3
);
24663 wxPyEndAllowThreads(__tstate
);
24664 if (PyErr_Occurred()) SWIG_fail
;
24666 Py_INCREF(Py_None
); resultobj
= Py_None
;
24673 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24674 PyObject
*resultobj
;
24675 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24676 int *arg2
= (int *) 0 ;
24677 int *arg3
= (int *) 0 ;
24682 PyObject
* obj0
= 0 ;
24683 char *kwnames
[] = {
24684 (char *) "self", NULL
24687 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24688 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
24690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24691 if (SWIG_arg_fail(1)) SWIG_fail
;
24693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24694 (arg1
)->GetPageSizePixels(arg2
,arg3
);
24696 wxPyEndAllowThreads(__tstate
);
24697 if (PyErr_Occurred()) SWIG_fail
;
24699 Py_INCREF(Py_None
); resultobj
= Py_None
;
24700 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24701 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24702 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24703 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24710 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24711 PyObject
*resultobj
;
24712 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24715 PyObject
* obj0
= 0 ;
24716 PyObject
* obj1
= 0 ;
24717 PyObject
* obj2
= 0 ;
24718 char *kwnames
[] = {
24719 (char *) "self",(char *) "w",(char *) "h", NULL
24722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24724 if (SWIG_arg_fail(1)) SWIG_fail
;
24726 arg2
= (int)(SWIG_As_int(obj1
));
24727 if (SWIG_arg_fail(2)) SWIG_fail
;
24730 arg3
= (int)(SWIG_As_int(obj2
));
24731 if (SWIG_arg_fail(3)) SWIG_fail
;
24734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24735 (arg1
)->SetPageSizeMM(arg2
,arg3
);
24737 wxPyEndAllowThreads(__tstate
);
24738 if (PyErr_Occurred()) SWIG_fail
;
24740 Py_INCREF(Py_None
); resultobj
= Py_None
;
24747 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24748 PyObject
*resultobj
;
24749 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24750 int *arg2
= (int *) 0 ;
24751 int *arg3
= (int *) 0 ;
24756 PyObject
* obj0
= 0 ;
24757 char *kwnames
[] = {
24758 (char *) "self", NULL
24761 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24762 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
24764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24765 if (SWIG_arg_fail(1)) SWIG_fail
;
24767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24768 (arg1
)->GetPageSizeMM(arg2
,arg3
);
24770 wxPyEndAllowThreads(__tstate
);
24771 if (PyErr_Occurred()) SWIG_fail
;
24773 Py_INCREF(Py_None
); resultobj
= Py_None
;
24774 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24775 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24776 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24777 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24784 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24785 PyObject
*resultobj
;
24786 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24789 PyObject
* obj0
= 0 ;
24790 PyObject
* obj1
= 0 ;
24791 PyObject
* obj2
= 0 ;
24792 char *kwnames
[] = {
24793 (char *) "self",(char *) "x",(char *) "y", NULL
24796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24798 if (SWIG_arg_fail(1)) SWIG_fail
;
24800 arg2
= (int)(SWIG_As_int(obj1
));
24801 if (SWIG_arg_fail(2)) SWIG_fail
;
24804 arg3
= (int)(SWIG_As_int(obj2
));
24805 if (SWIG_arg_fail(3)) SWIG_fail
;
24808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24809 (arg1
)->SetPPIScreen(arg2
,arg3
);
24811 wxPyEndAllowThreads(__tstate
);
24812 if (PyErr_Occurred()) SWIG_fail
;
24814 Py_INCREF(Py_None
); resultobj
= Py_None
;
24821 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24822 PyObject
*resultobj
;
24823 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24824 int *arg2
= (int *) 0 ;
24825 int *arg3
= (int *) 0 ;
24830 PyObject
* obj0
= 0 ;
24831 char *kwnames
[] = {
24832 (char *) "self", NULL
24835 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24836 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
24838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24839 if (SWIG_arg_fail(1)) SWIG_fail
;
24841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24842 (arg1
)->GetPPIScreen(arg2
,arg3
);
24844 wxPyEndAllowThreads(__tstate
);
24845 if (PyErr_Occurred()) SWIG_fail
;
24847 Py_INCREF(Py_None
); resultobj
= Py_None
;
24848 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24849 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24850 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24851 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24858 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24859 PyObject
*resultobj
;
24860 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24863 PyObject
* obj0
= 0 ;
24864 PyObject
* obj1
= 0 ;
24865 PyObject
* obj2
= 0 ;
24866 char *kwnames
[] = {
24867 (char *) "self",(char *) "x",(char *) "y", NULL
24870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24872 if (SWIG_arg_fail(1)) SWIG_fail
;
24874 arg2
= (int)(SWIG_As_int(obj1
));
24875 if (SWIG_arg_fail(2)) SWIG_fail
;
24878 arg3
= (int)(SWIG_As_int(obj2
));
24879 if (SWIG_arg_fail(3)) SWIG_fail
;
24882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24883 (arg1
)->SetPPIPrinter(arg2
,arg3
);
24885 wxPyEndAllowThreads(__tstate
);
24886 if (PyErr_Occurred()) SWIG_fail
;
24888 Py_INCREF(Py_None
); resultobj
= Py_None
;
24895 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24896 PyObject
*resultobj
;
24897 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24898 int *arg2
= (int *) 0 ;
24899 int *arg3
= (int *) 0 ;
24904 PyObject
* obj0
= 0 ;
24905 char *kwnames
[] = {
24906 (char *) "self", NULL
24909 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24910 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
24912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24913 if (SWIG_arg_fail(1)) SWIG_fail
;
24915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24916 (arg1
)->GetPPIPrinter(arg2
,arg3
);
24918 wxPyEndAllowThreads(__tstate
);
24919 if (PyErr_Occurred()) SWIG_fail
;
24921 Py_INCREF(Py_None
); resultobj
= Py_None
;
24922 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24923 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24924 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24925 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24932 static PyObject
*_wrap_Printout_IsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24933 PyObject
*resultobj
;
24934 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24936 PyObject
* obj0
= 0 ;
24937 char *kwnames
[] = {
24938 (char *) "self", NULL
24941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
24942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24943 if (SWIG_arg_fail(1)) SWIG_fail
;
24945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24946 result
= (bool)(arg1
)->IsPreview();
24948 wxPyEndAllowThreads(__tstate
);
24949 if (PyErr_Occurred()) SWIG_fail
;
24952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24960 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24961 PyObject
*resultobj
;
24962 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24964 PyObject
* obj0
= 0 ;
24965 PyObject
* obj1
= 0 ;
24966 char *kwnames
[] = {
24967 (char *) "self",(char *) "p", NULL
24970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
24971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24972 if (SWIG_arg_fail(1)) SWIG_fail
;
24974 arg2
= (bool)(SWIG_As_bool(obj1
));
24975 if (SWIG_arg_fail(2)) SWIG_fail
;
24978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24979 (arg1
)->SetIsPreview(arg2
);
24981 wxPyEndAllowThreads(__tstate
);
24982 if (PyErr_Occurred()) SWIG_fail
;
24984 Py_INCREF(Py_None
); resultobj
= Py_None
;
24991 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24992 PyObject
*resultobj
;
24993 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24997 PyObject
* obj0
= 0 ;
24998 PyObject
* obj1
= 0 ;
24999 PyObject
* obj2
= 0 ;
25000 char *kwnames
[] = {
25001 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
25004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25006 if (SWIG_arg_fail(1)) SWIG_fail
;
25008 arg2
= (int)(SWIG_As_int(obj1
));
25009 if (SWIG_arg_fail(2)) SWIG_fail
;
25012 arg3
= (int)(SWIG_As_int(obj2
));
25013 if (SWIG_arg_fail(3)) SWIG_fail
;
25016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25017 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
25019 wxPyEndAllowThreads(__tstate
);
25020 if (PyErr_Occurred()) SWIG_fail
;
25023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25031 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25032 PyObject
*resultobj
;
25033 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25034 PyObject
* obj0
= 0 ;
25035 char *kwnames
[] = {
25036 (char *) "self", NULL
25039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
25040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25041 if (SWIG_arg_fail(1)) SWIG_fail
;
25043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25044 (arg1
)->base_OnEndDocument();
25046 wxPyEndAllowThreads(__tstate
);
25047 if (PyErr_Occurred()) SWIG_fail
;
25049 Py_INCREF(Py_None
); resultobj
= Py_None
;
25056 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25057 PyObject
*resultobj
;
25058 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25059 PyObject
* obj0
= 0 ;
25060 char *kwnames
[] = {
25061 (char *) "self", NULL
25064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
25065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25066 if (SWIG_arg_fail(1)) SWIG_fail
;
25068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25069 (arg1
)->base_OnBeginPrinting();
25071 wxPyEndAllowThreads(__tstate
);
25072 if (PyErr_Occurred()) SWIG_fail
;
25074 Py_INCREF(Py_None
); resultobj
= Py_None
;
25081 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25082 PyObject
*resultobj
;
25083 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25084 PyObject
* obj0
= 0 ;
25085 char *kwnames
[] = {
25086 (char *) "self", NULL
25089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
25090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25091 if (SWIG_arg_fail(1)) SWIG_fail
;
25093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25094 (arg1
)->base_OnEndPrinting();
25096 wxPyEndAllowThreads(__tstate
);
25097 if (PyErr_Occurred()) SWIG_fail
;
25099 Py_INCREF(Py_None
); resultobj
= Py_None
;
25106 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25107 PyObject
*resultobj
;
25108 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25109 PyObject
* obj0
= 0 ;
25110 char *kwnames
[] = {
25111 (char *) "self", NULL
25114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
25115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25116 if (SWIG_arg_fail(1)) SWIG_fail
;
25118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25119 (arg1
)->base_OnPreparePrinting();
25121 wxPyEndAllowThreads(__tstate
);
25122 if (PyErr_Occurred()) SWIG_fail
;
25124 Py_INCREF(Py_None
); resultobj
= Py_None
;
25131 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25132 PyObject
*resultobj
;
25133 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25136 PyObject
* obj0
= 0 ;
25137 PyObject
* obj1
= 0 ;
25138 char *kwnames
[] = {
25139 (char *) "self",(char *) "page", NULL
25142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
25143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25144 if (SWIG_arg_fail(1)) SWIG_fail
;
25146 arg2
= (int)(SWIG_As_int(obj1
));
25147 if (SWIG_arg_fail(2)) SWIG_fail
;
25150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25151 result
= (bool)(arg1
)->base_HasPage(arg2
);
25153 wxPyEndAllowThreads(__tstate
);
25154 if (PyErr_Occurred()) SWIG_fail
;
25157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25165 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25166 PyObject
*resultobj
;
25167 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25168 int *arg2
= (int *) 0 ;
25169 int *arg3
= (int *) 0 ;
25170 int *arg4
= (int *) 0 ;
25171 int *arg5
= (int *) 0 ;
25180 PyObject
* obj0
= 0 ;
25181 char *kwnames
[] = {
25182 (char *) "self", NULL
25185 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25186 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25187 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
25188 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
25189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
25190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25191 if (SWIG_arg_fail(1)) SWIG_fail
;
25193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25194 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
25196 wxPyEndAllowThreads(__tstate
);
25197 if (PyErr_Occurred()) SWIG_fail
;
25199 Py_INCREF(Py_None
); resultobj
= Py_None
;
25200 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25201 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25202 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25203 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25204 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
25205 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
25206 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
25207 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
25214 static PyObject
* Printout_swigregister(PyObject
*, PyObject
*args
) {
25216 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25217 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
25219 return Py_BuildValue((char *)"");
25221 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25222 PyObject
*resultobj
;
25223 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25224 wxWindow
*arg2
= (wxWindow
*) 0 ;
25225 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25226 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25227 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25228 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25229 long arg5
= (long) 0 ;
25230 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
25231 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25232 wxPreviewCanvas
*result
;
25235 bool temp6
= false ;
25236 PyObject
* obj0
= 0 ;
25237 PyObject
* obj1
= 0 ;
25238 PyObject
* obj2
= 0 ;
25239 PyObject
* obj3
= 0 ;
25240 PyObject
* obj4
= 0 ;
25241 PyObject
* obj5
= 0 ;
25242 char *kwnames
[] = {
25243 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25248 if (SWIG_arg_fail(1)) SWIG_fail
;
25249 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25250 if (SWIG_arg_fail(2)) SWIG_fail
;
25254 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25260 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25265 arg5
= (long)(SWIG_As_long(obj4
));
25266 if (SWIG_arg_fail(5)) SWIG_fail
;
25271 arg6
= wxString_in_helper(obj5
);
25272 if (arg6
== NULL
) SWIG_fail
;
25277 if (!wxPyCheckForApp()) SWIG_fail
;
25278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25279 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25281 wxPyEndAllowThreads(__tstate
);
25282 if (PyErr_Occurred()) SWIG_fail
;
25284 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
25299 static PyObject
* PreviewCanvas_swigregister(PyObject
*, PyObject
*args
) {
25301 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25302 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
25304 return Py_BuildValue((char *)"");
25306 static PyObject
*_wrap_new_PreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25307 PyObject
*resultobj
;
25308 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25309 wxFrame
*arg2
= (wxFrame
*) 0 ;
25310 wxString
*arg3
= 0 ;
25311 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25312 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25313 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25314 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25315 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
25316 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
25317 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25318 wxPreviewFrame
*result
;
25319 bool temp3
= false ;
25322 bool temp7
= false ;
25323 PyObject
* obj0
= 0 ;
25324 PyObject
* obj1
= 0 ;
25325 PyObject
* obj2
= 0 ;
25326 PyObject
* obj3
= 0 ;
25327 PyObject
* obj4
= 0 ;
25328 PyObject
* obj5
= 0 ;
25329 PyObject
* obj6
= 0 ;
25330 char *kwnames
[] = {
25331 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25336 if (SWIG_arg_fail(1)) SWIG_fail
;
25337 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
25338 if (SWIG_arg_fail(2)) SWIG_fail
;
25340 arg3
= wxString_in_helper(obj2
);
25341 if (arg3
== NULL
) SWIG_fail
;
25347 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25353 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25358 arg6
= (long)(SWIG_As_long(obj5
));
25359 if (SWIG_arg_fail(6)) SWIG_fail
;
25364 arg7
= wxString_in_helper(obj6
);
25365 if (arg7
== NULL
) SWIG_fail
;
25370 if (!wxPyCheckForApp()) SWIG_fail
;
25371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25372 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25374 wxPyEndAllowThreads(__tstate
);
25375 if (PyErr_Occurred()) SWIG_fail
;
25377 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
25400 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25401 PyObject
*resultobj
;
25402 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25403 PyObject
* obj0
= 0 ;
25404 char *kwnames
[] = {
25405 (char *) "self", NULL
25408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
25409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25410 if (SWIG_arg_fail(1)) SWIG_fail
;
25412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25413 (arg1
)->Initialize();
25415 wxPyEndAllowThreads(__tstate
);
25416 if (PyErr_Occurred()) SWIG_fail
;
25418 Py_INCREF(Py_None
); resultobj
= Py_None
;
25425 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25426 PyObject
*resultobj
;
25427 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25428 PyObject
* obj0
= 0 ;
25429 char *kwnames
[] = {
25430 (char *) "self", NULL
25433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
25434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25435 if (SWIG_arg_fail(1)) SWIG_fail
;
25437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25438 (arg1
)->CreateControlBar();
25440 wxPyEndAllowThreads(__tstate
);
25441 if (PyErr_Occurred()) SWIG_fail
;
25443 Py_INCREF(Py_None
); resultobj
= Py_None
;
25450 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25451 PyObject
*resultobj
;
25452 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25453 PyObject
* obj0
= 0 ;
25454 char *kwnames
[] = {
25455 (char *) "self", NULL
25458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
25459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25460 if (SWIG_arg_fail(1)) SWIG_fail
;
25462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25463 (arg1
)->CreateCanvas();
25465 wxPyEndAllowThreads(__tstate
);
25466 if (PyErr_Occurred()) SWIG_fail
;
25468 Py_INCREF(Py_None
); resultobj
= Py_None
;
25475 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25476 PyObject
*resultobj
;
25477 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25478 wxPreviewControlBar
*result
;
25479 PyObject
* obj0
= 0 ;
25480 char *kwnames
[] = {
25481 (char *) "self", NULL
25484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
25485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25486 if (SWIG_arg_fail(1)) SWIG_fail
;
25488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25489 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
25491 wxPyEndAllowThreads(__tstate
);
25492 if (PyErr_Occurred()) SWIG_fail
;
25494 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
25501 static PyObject
* PreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
25503 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25504 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
25506 return Py_BuildValue((char *)"");
25508 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25509 PyObject
*resultobj
;
25510 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25512 wxWindow
*arg3
= (wxWindow
*) 0 ;
25513 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25514 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25515 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25516 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25517 long arg6
= (long) wxTAB_TRAVERSAL
;
25518 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
25519 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25520 wxPreviewControlBar
*result
;
25523 bool temp7
= false ;
25524 PyObject
* obj0
= 0 ;
25525 PyObject
* obj1
= 0 ;
25526 PyObject
* obj2
= 0 ;
25527 PyObject
* obj3
= 0 ;
25528 PyObject
* obj4
= 0 ;
25529 PyObject
* obj5
= 0 ;
25530 PyObject
* obj6
= 0 ;
25531 char *kwnames
[] = {
25532 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25537 if (SWIG_arg_fail(1)) SWIG_fail
;
25539 arg2
= (long)(SWIG_As_long(obj1
));
25540 if (SWIG_arg_fail(2)) SWIG_fail
;
25542 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25543 if (SWIG_arg_fail(3)) SWIG_fail
;
25547 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25553 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25558 arg6
= (long)(SWIG_As_long(obj5
));
25559 if (SWIG_arg_fail(6)) SWIG_fail
;
25564 arg7
= wxString_in_helper(obj6
);
25565 if (arg7
== NULL
) SWIG_fail
;
25570 if (!wxPyCheckForApp()) SWIG_fail
;
25571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25572 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25574 wxPyEndAllowThreads(__tstate
);
25575 if (PyErr_Occurred()) SWIG_fail
;
25577 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
25592 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25593 PyObject
*resultobj
;
25594 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25596 PyObject
* obj0
= 0 ;
25597 char *kwnames
[] = {
25598 (char *) "self", NULL
25601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
25602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25603 if (SWIG_arg_fail(1)) SWIG_fail
;
25605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25606 result
= (int)(arg1
)->GetZoomControl();
25608 wxPyEndAllowThreads(__tstate
);
25609 if (PyErr_Occurred()) SWIG_fail
;
25612 resultobj
= SWIG_From_int((int)(result
));
25620 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25621 PyObject
*resultobj
;
25622 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25624 PyObject
* obj0
= 0 ;
25625 PyObject
* obj1
= 0 ;
25626 char *kwnames
[] = {
25627 (char *) "self",(char *) "zoom", NULL
25630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
25631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25632 if (SWIG_arg_fail(1)) SWIG_fail
;
25634 arg2
= (int)(SWIG_As_int(obj1
));
25635 if (SWIG_arg_fail(2)) SWIG_fail
;
25638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25639 (arg1
)->SetZoomControl(arg2
);
25641 wxPyEndAllowThreads(__tstate
);
25642 if (PyErr_Occurred()) SWIG_fail
;
25644 Py_INCREF(Py_None
); resultobj
= Py_None
;
25651 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25652 PyObject
*resultobj
;
25653 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25654 wxPrintPreview
*result
;
25655 PyObject
* obj0
= 0 ;
25656 char *kwnames
[] = {
25657 (char *) "self", NULL
25660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
25661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25662 if (SWIG_arg_fail(1)) SWIG_fail
;
25664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25665 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
25667 wxPyEndAllowThreads(__tstate
);
25668 if (PyErr_Occurred()) SWIG_fail
;
25670 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
25677 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25678 PyObject
*resultobj
;
25679 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25680 PyObject
* obj0
= 0 ;
25681 char *kwnames
[] = {
25682 (char *) "self", NULL
25685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
25686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25687 if (SWIG_arg_fail(1)) SWIG_fail
;
25689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25692 wxPyEndAllowThreads(__tstate
);
25693 if (PyErr_Occurred()) SWIG_fail
;
25695 Py_INCREF(Py_None
); resultobj
= Py_None
;
25702 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25703 PyObject
*resultobj
;
25704 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25705 PyObject
* obj0
= 0 ;
25706 char *kwnames
[] = {
25707 (char *) "self", NULL
25710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
25711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25712 if (SWIG_arg_fail(1)) SWIG_fail
;
25714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25715 (arg1
)->OnPrevious();
25717 wxPyEndAllowThreads(__tstate
);
25718 if (PyErr_Occurred()) SWIG_fail
;
25720 Py_INCREF(Py_None
); resultobj
= Py_None
;
25727 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25728 PyObject
*resultobj
;
25729 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25730 PyObject
* obj0
= 0 ;
25731 char *kwnames
[] = {
25732 (char *) "self", NULL
25735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
25736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25737 if (SWIG_arg_fail(1)) SWIG_fail
;
25739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25742 wxPyEndAllowThreads(__tstate
);
25743 if (PyErr_Occurred()) SWIG_fail
;
25745 Py_INCREF(Py_None
); resultobj
= Py_None
;
25752 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25753 PyObject
*resultobj
;
25754 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25755 PyObject
* obj0
= 0 ;
25756 char *kwnames
[] = {
25757 (char *) "self", NULL
25760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
25761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25762 if (SWIG_arg_fail(1)) SWIG_fail
;
25764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25767 wxPyEndAllowThreads(__tstate
);
25768 if (PyErr_Occurred()) SWIG_fail
;
25770 Py_INCREF(Py_None
); resultobj
= Py_None
;
25777 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25778 PyObject
*resultobj
;
25779 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25780 PyObject
* obj0
= 0 ;
25781 char *kwnames
[] = {
25782 (char *) "self", NULL
25785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
25786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25787 if (SWIG_arg_fail(1)) SWIG_fail
;
25789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25792 wxPyEndAllowThreads(__tstate
);
25793 if (PyErr_Occurred()) SWIG_fail
;
25795 Py_INCREF(Py_None
); resultobj
= Py_None
;
25802 static PyObject
* PreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
25804 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25805 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
25807 return Py_BuildValue((char *)"");
25809 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
25810 PyObject
*resultobj
;
25811 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25812 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
25813 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
25814 wxPrintPreview
*result
;
25815 PyObject
* obj0
= 0 ;
25816 PyObject
* obj1
= 0 ;
25817 PyObject
* obj2
= 0 ;
25819 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
25820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25821 if (SWIG_arg_fail(1)) SWIG_fail
;
25822 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25823 if (SWIG_arg_fail(2)) SWIG_fail
;
25825 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
25826 if (SWIG_arg_fail(3)) SWIG_fail
;
25829 if (!wxPyCheckForApp()) SWIG_fail
;
25830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25831 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
25833 wxPyEndAllowThreads(__tstate
);
25834 if (PyErr_Occurred()) SWIG_fail
;
25836 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
25843 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
25844 PyObject
*resultobj
;
25845 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25846 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
25847 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
25848 wxPrintPreview
*result
;
25849 PyObject
* obj0
= 0 ;
25850 PyObject
* obj1
= 0 ;
25851 PyObject
* obj2
= 0 ;
25853 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
25854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25855 if (SWIG_arg_fail(1)) SWIG_fail
;
25856 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25857 if (SWIG_arg_fail(2)) SWIG_fail
;
25858 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
25859 if (SWIG_arg_fail(3)) SWIG_fail
;
25861 if (!wxPyCheckForApp()) SWIG_fail
;
25862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25863 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
25865 wxPyEndAllowThreads(__tstate
);
25866 if (PyErr_Occurred()) SWIG_fail
;
25868 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
25875 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
25880 argc
= PyObject_Length(args
);
25881 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
25882 argv
[ii
] = PyTuple_GetItem(args
,ii
);
25884 if ((argc
>= 2) && (argc
<= 3)) {
25888 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25898 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25907 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
25911 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
25919 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
25928 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25938 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25948 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
25956 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
25962 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
25967 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25968 PyObject
*resultobj
;
25969 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25972 PyObject
* obj0
= 0 ;
25973 PyObject
* obj1
= 0 ;
25974 char *kwnames
[] = {
25975 (char *) "self",(char *) "pageNum", NULL
25978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
25979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25980 if (SWIG_arg_fail(1)) SWIG_fail
;
25982 arg2
= (int)(SWIG_As_int(obj1
));
25983 if (SWIG_arg_fail(2)) SWIG_fail
;
25986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25987 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
25989 wxPyEndAllowThreads(__tstate
);
25990 if (PyErr_Occurred()) SWIG_fail
;
25993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26001 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26002 PyObject
*resultobj
;
26003 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26005 PyObject
* obj0
= 0 ;
26006 char *kwnames
[] = {
26007 (char *) "self", NULL
26010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
26011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26012 if (SWIG_arg_fail(1)) SWIG_fail
;
26014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26015 result
= (int)(arg1
)->GetCurrentPage();
26017 wxPyEndAllowThreads(__tstate
);
26018 if (PyErr_Occurred()) SWIG_fail
;
26021 resultobj
= SWIG_From_int((int)(result
));
26029 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26030 PyObject
*resultobj
;
26031 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26032 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26033 PyObject
* obj0
= 0 ;
26034 PyObject
* obj1
= 0 ;
26035 char *kwnames
[] = {
26036 (char *) "self",(char *) "printout", NULL
26039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
26040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26041 if (SWIG_arg_fail(1)) SWIG_fail
;
26042 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26043 if (SWIG_arg_fail(2)) SWIG_fail
;
26045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26046 (arg1
)->SetPrintout(arg2
);
26048 wxPyEndAllowThreads(__tstate
);
26049 if (PyErr_Occurred()) SWIG_fail
;
26051 Py_INCREF(Py_None
); resultobj
= Py_None
;
26058 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26059 PyObject
*resultobj
;
26060 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26061 wxPyPrintout
*result
;
26062 PyObject
* obj0
= 0 ;
26063 char *kwnames
[] = {
26064 (char *) "self", NULL
26067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
26068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26069 if (SWIG_arg_fail(1)) SWIG_fail
;
26071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26072 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
26074 wxPyEndAllowThreads(__tstate
);
26075 if (PyErr_Occurred()) SWIG_fail
;
26078 resultobj
= wxPyMake_wxObject(result
, 0);
26086 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26087 PyObject
*resultobj
;
26088 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26089 wxPyPrintout
*result
;
26090 PyObject
* obj0
= 0 ;
26091 char *kwnames
[] = {
26092 (char *) "self", NULL
26095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
26096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26097 if (SWIG_arg_fail(1)) SWIG_fail
;
26099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26100 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
26102 wxPyEndAllowThreads(__tstate
);
26103 if (PyErr_Occurred()) SWIG_fail
;
26106 resultobj
= wxPyMake_wxObject(result
, 0);
26114 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26115 PyObject
*resultobj
;
26116 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26117 wxFrame
*arg2
= (wxFrame
*) 0 ;
26118 PyObject
* obj0
= 0 ;
26119 PyObject
* obj1
= 0 ;
26120 char *kwnames
[] = {
26121 (char *) "self",(char *) "frame", NULL
26124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
26125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26126 if (SWIG_arg_fail(1)) SWIG_fail
;
26127 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
26128 if (SWIG_arg_fail(2)) SWIG_fail
;
26130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26131 (arg1
)->SetFrame(arg2
);
26133 wxPyEndAllowThreads(__tstate
);
26134 if (PyErr_Occurred()) SWIG_fail
;
26136 Py_INCREF(Py_None
); resultobj
= Py_None
;
26143 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26144 PyObject
*resultobj
;
26145 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26146 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26147 PyObject
* obj0
= 0 ;
26148 PyObject
* obj1
= 0 ;
26149 char *kwnames
[] = {
26150 (char *) "self",(char *) "canvas", NULL
26153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
26154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26155 if (SWIG_arg_fail(1)) SWIG_fail
;
26156 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26157 if (SWIG_arg_fail(2)) SWIG_fail
;
26159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26160 (arg1
)->SetCanvas(arg2
);
26162 wxPyEndAllowThreads(__tstate
);
26163 if (PyErr_Occurred()) SWIG_fail
;
26165 Py_INCREF(Py_None
); resultobj
= Py_None
;
26172 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26173 PyObject
*resultobj
;
26174 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26176 PyObject
* obj0
= 0 ;
26177 char *kwnames
[] = {
26178 (char *) "self", NULL
26181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
26182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26183 if (SWIG_arg_fail(1)) SWIG_fail
;
26185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26186 result
= (wxFrame
*)(arg1
)->GetFrame();
26188 wxPyEndAllowThreads(__tstate
);
26189 if (PyErr_Occurred()) SWIG_fail
;
26192 resultobj
= wxPyMake_wxObject(result
, 0);
26200 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26201 PyObject
*resultobj
;
26202 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26203 wxPreviewCanvas
*result
;
26204 PyObject
* obj0
= 0 ;
26205 char *kwnames
[] = {
26206 (char *) "self", NULL
26209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
26210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26211 if (SWIG_arg_fail(1)) SWIG_fail
;
26213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26214 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
26216 wxPyEndAllowThreads(__tstate
);
26217 if (PyErr_Occurred()) SWIG_fail
;
26219 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
26226 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26227 PyObject
*resultobj
;
26228 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26229 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26232 PyObject
* obj0
= 0 ;
26233 PyObject
* obj1
= 0 ;
26234 PyObject
* obj2
= 0 ;
26235 char *kwnames
[] = {
26236 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26241 if (SWIG_arg_fail(1)) SWIG_fail
;
26242 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26243 if (SWIG_arg_fail(2)) SWIG_fail
;
26245 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26246 if (SWIG_arg_fail(3)) SWIG_fail
;
26247 if (arg3
== NULL
) {
26248 SWIG_null_ref("wxDC");
26250 if (SWIG_arg_fail(3)) SWIG_fail
;
26253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26254 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
26256 wxPyEndAllowThreads(__tstate
);
26257 if (PyErr_Occurred()) SWIG_fail
;
26260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26268 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26269 PyObject
*resultobj
;
26270 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26271 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26274 PyObject
* obj0
= 0 ;
26275 PyObject
* obj1
= 0 ;
26276 PyObject
* obj2
= 0 ;
26277 char *kwnames
[] = {
26278 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26283 if (SWIG_arg_fail(1)) SWIG_fail
;
26284 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26285 if (SWIG_arg_fail(2)) SWIG_fail
;
26287 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26288 if (SWIG_arg_fail(3)) SWIG_fail
;
26289 if (arg3
== NULL
) {
26290 SWIG_null_ref("wxDC");
26292 if (SWIG_arg_fail(3)) SWIG_fail
;
26295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26296 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
26298 wxPyEndAllowThreads(__tstate
);
26299 if (PyErr_Occurred()) SWIG_fail
;
26302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26310 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26311 PyObject
*resultobj
;
26312 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26315 PyObject
* obj0
= 0 ;
26316 PyObject
* obj1
= 0 ;
26317 char *kwnames
[] = {
26318 (char *) "self",(char *) "pageNum", NULL
26321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26323 if (SWIG_arg_fail(1)) SWIG_fail
;
26325 arg2
= (int)(SWIG_As_int(obj1
));
26326 if (SWIG_arg_fail(2)) SWIG_fail
;
26329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26330 result
= (bool)(arg1
)->RenderPage(arg2
);
26332 wxPyEndAllowThreads(__tstate
);
26333 if (PyErr_Occurred()) SWIG_fail
;
26336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26344 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26345 PyObject
*resultobj
;
26346 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26347 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26348 PyObject
* obj0
= 0 ;
26349 PyObject
* obj1
= 0 ;
26350 char *kwnames
[] = {
26351 (char *) "self",(char *) "canvas", NULL
26354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
26355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26356 if (SWIG_arg_fail(1)) SWIG_fail
;
26357 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26358 if (SWIG_arg_fail(2)) SWIG_fail
;
26360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26361 (arg1
)->AdjustScrollbars(arg2
);
26363 wxPyEndAllowThreads(__tstate
);
26364 if (PyErr_Occurred()) SWIG_fail
;
26366 Py_INCREF(Py_None
); resultobj
= Py_None
;
26373 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26374 PyObject
*resultobj
;
26375 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26376 wxPrintDialogData
*result
;
26377 PyObject
* obj0
= 0 ;
26378 char *kwnames
[] = {
26379 (char *) "self", NULL
26382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
26383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26384 if (SWIG_arg_fail(1)) SWIG_fail
;
26386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26388 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
26389 result
= (wxPrintDialogData
*) &_result_ref
;
26392 wxPyEndAllowThreads(__tstate
);
26393 if (PyErr_Occurred()) SWIG_fail
;
26395 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
26402 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26403 PyObject
*resultobj
;
26404 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26406 PyObject
* obj0
= 0 ;
26407 PyObject
* obj1
= 0 ;
26408 char *kwnames
[] = {
26409 (char *) "self",(char *) "percent", NULL
26412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
26413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26414 if (SWIG_arg_fail(1)) SWIG_fail
;
26416 arg2
= (int)(SWIG_As_int(obj1
));
26417 if (SWIG_arg_fail(2)) SWIG_fail
;
26420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26421 (arg1
)->SetZoom(arg2
);
26423 wxPyEndAllowThreads(__tstate
);
26424 if (PyErr_Occurred()) SWIG_fail
;
26426 Py_INCREF(Py_None
); resultobj
= Py_None
;
26433 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26434 PyObject
*resultobj
;
26435 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26437 PyObject
* obj0
= 0 ;
26438 char *kwnames
[] = {
26439 (char *) "self", NULL
26442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
26443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26444 if (SWIG_arg_fail(1)) SWIG_fail
;
26446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26447 result
= (int)(arg1
)->GetZoom();
26449 wxPyEndAllowThreads(__tstate
);
26450 if (PyErr_Occurred()) SWIG_fail
;
26453 resultobj
= SWIG_From_int((int)(result
));
26461 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26462 PyObject
*resultobj
;
26463 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26465 PyObject
* obj0
= 0 ;
26466 char *kwnames
[] = {
26467 (char *) "self", NULL
26470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
26471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26472 if (SWIG_arg_fail(1)) SWIG_fail
;
26474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26475 result
= (int)(arg1
)->GetMaxPage();
26477 wxPyEndAllowThreads(__tstate
);
26478 if (PyErr_Occurred()) SWIG_fail
;
26481 resultobj
= SWIG_From_int((int)(result
));
26489 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26490 PyObject
*resultobj
;
26491 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26493 PyObject
* obj0
= 0 ;
26494 char *kwnames
[] = {
26495 (char *) "self", NULL
26498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
26499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26500 if (SWIG_arg_fail(1)) SWIG_fail
;
26502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26503 result
= (int)(arg1
)->GetMinPage();
26505 wxPyEndAllowThreads(__tstate
);
26506 if (PyErr_Occurred()) SWIG_fail
;
26509 resultobj
= SWIG_From_int((int)(result
));
26517 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26518 PyObject
*resultobj
;
26519 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26521 PyObject
* obj0
= 0 ;
26522 char *kwnames
[] = {
26523 (char *) "self", NULL
26526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
26527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26528 if (SWIG_arg_fail(1)) SWIG_fail
;
26530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26531 result
= (bool)(arg1
)->Ok();
26533 wxPyEndAllowThreads(__tstate
);
26534 if (PyErr_Occurred()) SWIG_fail
;
26537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26545 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26546 PyObject
*resultobj
;
26547 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26549 PyObject
* obj0
= 0 ;
26550 PyObject
* obj1
= 0 ;
26551 char *kwnames
[] = {
26552 (char *) "self",(char *) "ok", NULL
26555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
26556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26557 if (SWIG_arg_fail(1)) SWIG_fail
;
26559 arg2
= (bool)(SWIG_As_bool(obj1
));
26560 if (SWIG_arg_fail(2)) SWIG_fail
;
26563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26564 (arg1
)->SetOk(arg2
);
26566 wxPyEndAllowThreads(__tstate
);
26567 if (PyErr_Occurred()) SWIG_fail
;
26569 Py_INCREF(Py_None
); resultobj
= Py_None
;
26576 static PyObject
*_wrap_PrintPreview_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26577 PyObject
*resultobj
;
26578 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26581 PyObject
* obj0
= 0 ;
26582 PyObject
* obj1
= 0 ;
26583 char *kwnames
[] = {
26584 (char *) "self",(char *) "interactive", NULL
26587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
26588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26589 if (SWIG_arg_fail(1)) SWIG_fail
;
26591 arg2
= (bool)(SWIG_As_bool(obj1
));
26592 if (SWIG_arg_fail(2)) SWIG_fail
;
26595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26596 result
= (bool)(arg1
)->Print(arg2
);
26598 wxPyEndAllowThreads(__tstate
);
26599 if (PyErr_Occurred()) SWIG_fail
;
26602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26610 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26611 PyObject
*resultobj
;
26612 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26613 PyObject
* obj0
= 0 ;
26614 char *kwnames
[] = {
26615 (char *) "self", NULL
26618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
26619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26620 if (SWIG_arg_fail(1)) SWIG_fail
;
26622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26623 (arg1
)->DetermineScaling();
26625 wxPyEndAllowThreads(__tstate
);
26626 if (PyErr_Occurred()) SWIG_fail
;
26628 Py_INCREF(Py_None
); resultobj
= Py_None
;
26635 static PyObject
* PrintPreview_swigregister(PyObject
*, PyObject
*args
) {
26637 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26638 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
26640 return Py_BuildValue((char *)"");
26642 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
26643 PyObject
*resultobj
;
26644 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
26645 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26646 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
26647 wxPyPrintPreview
*result
;
26648 PyObject
* obj0
= 0 ;
26649 PyObject
* obj1
= 0 ;
26650 PyObject
* obj2
= 0 ;
26652 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
26653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26654 if (SWIG_arg_fail(1)) SWIG_fail
;
26655 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26656 if (SWIG_arg_fail(2)) SWIG_fail
;
26658 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
26659 if (SWIG_arg_fail(3)) SWIG_fail
;
26662 if (!wxPyCheckForApp()) SWIG_fail
;
26663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26664 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
26666 wxPyEndAllowThreads(__tstate
);
26667 if (PyErr_Occurred()) SWIG_fail
;
26669 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
26676 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
26677 PyObject
*resultobj
;
26678 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
26679 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26680 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
26681 wxPyPrintPreview
*result
;
26682 PyObject
* obj0
= 0 ;
26683 PyObject
* obj1
= 0 ;
26684 PyObject
* obj2
= 0 ;
26686 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
26687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26688 if (SWIG_arg_fail(1)) SWIG_fail
;
26689 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26690 if (SWIG_arg_fail(2)) SWIG_fail
;
26691 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
26692 if (SWIG_arg_fail(3)) SWIG_fail
;
26694 if (!wxPyCheckForApp()) SWIG_fail
;
26695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26696 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
26698 wxPyEndAllowThreads(__tstate
);
26699 if (PyErr_Occurred()) SWIG_fail
;
26701 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
26708 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
26713 argc
= PyObject_Length(args
);
26714 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
26715 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26717 if ((argc
>= 2) && (argc
<= 3)) {
26721 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26731 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26740 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
26744 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
26752 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
26761 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26771 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26781 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
26789 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
26795 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
26800 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26801 PyObject
*resultobj
;
26802 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26803 PyObject
*arg2
= (PyObject
*) 0 ;
26804 PyObject
*arg3
= (PyObject
*) 0 ;
26805 PyObject
* obj0
= 0 ;
26806 PyObject
* obj1
= 0 ;
26807 PyObject
* obj2
= 0 ;
26808 char *kwnames
[] = {
26809 (char *) "self",(char *) "self",(char *) "_class", NULL
26812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26814 if (SWIG_arg_fail(1)) SWIG_fail
;
26818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26819 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26821 wxPyEndAllowThreads(__tstate
);
26822 if (PyErr_Occurred()) SWIG_fail
;
26824 Py_INCREF(Py_None
); resultobj
= Py_None
;
26831 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26832 PyObject
*resultobj
;
26833 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26836 PyObject
* obj0
= 0 ;
26837 PyObject
* obj1
= 0 ;
26838 char *kwnames
[] = {
26839 (char *) "self",(char *) "pageNum", NULL
26842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26844 if (SWIG_arg_fail(1)) SWIG_fail
;
26846 arg2
= (int)(SWIG_As_int(obj1
));
26847 if (SWIG_arg_fail(2)) SWIG_fail
;
26850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26851 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
26853 wxPyEndAllowThreads(__tstate
);
26854 if (PyErr_Occurred()) SWIG_fail
;
26857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26865 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26866 PyObject
*resultobj
;
26867 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26868 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26871 PyObject
* obj0
= 0 ;
26872 PyObject
* obj1
= 0 ;
26873 PyObject
* obj2
= 0 ;
26874 char *kwnames
[] = {
26875 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26880 if (SWIG_arg_fail(1)) SWIG_fail
;
26881 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26882 if (SWIG_arg_fail(2)) SWIG_fail
;
26884 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26885 if (SWIG_arg_fail(3)) SWIG_fail
;
26886 if (arg3
== NULL
) {
26887 SWIG_null_ref("wxDC");
26889 if (SWIG_arg_fail(3)) SWIG_fail
;
26892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26893 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
26895 wxPyEndAllowThreads(__tstate
);
26896 if (PyErr_Occurred()) SWIG_fail
;
26899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26907 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26908 PyObject
*resultobj
;
26909 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26910 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26913 PyObject
* obj0
= 0 ;
26914 PyObject
* obj1
= 0 ;
26915 PyObject
* obj2
= 0 ;
26916 char *kwnames
[] = {
26917 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26922 if (SWIG_arg_fail(1)) SWIG_fail
;
26923 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26924 if (SWIG_arg_fail(2)) SWIG_fail
;
26926 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26927 if (SWIG_arg_fail(3)) SWIG_fail
;
26928 if (arg3
== NULL
) {
26929 SWIG_null_ref("wxDC");
26931 if (SWIG_arg_fail(3)) SWIG_fail
;
26934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26935 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
26937 wxPyEndAllowThreads(__tstate
);
26938 if (PyErr_Occurred()) SWIG_fail
;
26941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26949 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26950 PyObject
*resultobj
;
26951 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26954 PyObject
* obj0
= 0 ;
26955 PyObject
* obj1
= 0 ;
26956 char *kwnames
[] = {
26957 (char *) "self",(char *) "pageNum", NULL
26960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26962 if (SWIG_arg_fail(1)) SWIG_fail
;
26964 arg2
= (int)(SWIG_As_int(obj1
));
26965 if (SWIG_arg_fail(2)) SWIG_fail
;
26968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26969 result
= (bool)(arg1
)->base_RenderPage(arg2
);
26971 wxPyEndAllowThreads(__tstate
);
26972 if (PyErr_Occurred()) SWIG_fail
;
26975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26983 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26984 PyObject
*resultobj
;
26985 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26987 PyObject
* obj0
= 0 ;
26988 PyObject
* obj1
= 0 ;
26989 char *kwnames
[] = {
26990 (char *) "self",(char *) "percent", NULL
26993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
26994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26995 if (SWIG_arg_fail(1)) SWIG_fail
;
26997 arg2
= (int)(SWIG_As_int(obj1
));
26998 if (SWIG_arg_fail(2)) SWIG_fail
;
27001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27002 (arg1
)->base_SetZoom(arg2
);
27004 wxPyEndAllowThreads(__tstate
);
27005 if (PyErr_Occurred()) SWIG_fail
;
27007 Py_INCREF(Py_None
); resultobj
= Py_None
;
27014 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27015 PyObject
*resultobj
;
27016 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27019 PyObject
* obj0
= 0 ;
27020 PyObject
* obj1
= 0 ;
27021 char *kwnames
[] = {
27022 (char *) "self",(char *) "interactive", NULL
27025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
27026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27027 if (SWIG_arg_fail(1)) SWIG_fail
;
27029 arg2
= (bool)(SWIG_As_bool(obj1
));
27030 if (SWIG_arg_fail(2)) SWIG_fail
;
27033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27034 result
= (bool)(arg1
)->base_Print(arg2
);
27036 wxPyEndAllowThreads(__tstate
);
27037 if (PyErr_Occurred()) SWIG_fail
;
27040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27048 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27049 PyObject
*resultobj
;
27050 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27051 PyObject
* obj0
= 0 ;
27052 char *kwnames
[] = {
27053 (char *) "self", NULL
27056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
27057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27058 if (SWIG_arg_fail(1)) SWIG_fail
;
27060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27061 (arg1
)->base_DetermineScaling();
27063 wxPyEndAllowThreads(__tstate
);
27064 if (PyErr_Occurred()) SWIG_fail
;
27066 Py_INCREF(Py_None
); resultobj
= Py_None
;
27073 static PyObject
* PyPrintPreview_swigregister(PyObject
*, PyObject
*args
) {
27075 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27076 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
27078 return Py_BuildValue((char *)"");
27080 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27081 PyObject
*resultobj
;
27082 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
27083 wxFrame
*arg2
= (wxFrame
*) 0 ;
27084 wxString
*arg3
= 0 ;
27085 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27086 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27087 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27088 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27089 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
27090 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
27091 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27092 wxPyPreviewFrame
*result
;
27093 bool temp3
= false ;
27096 bool temp7
= false ;
27097 PyObject
* obj0
= 0 ;
27098 PyObject
* obj1
= 0 ;
27099 PyObject
* obj2
= 0 ;
27100 PyObject
* obj3
= 0 ;
27101 PyObject
* obj4
= 0 ;
27102 PyObject
* obj5
= 0 ;
27103 PyObject
* obj6
= 0 ;
27104 char *kwnames
[] = {
27105 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27110 if (SWIG_arg_fail(1)) SWIG_fail
;
27111 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
27112 if (SWIG_arg_fail(2)) SWIG_fail
;
27114 arg3
= wxString_in_helper(obj2
);
27115 if (arg3
== NULL
) SWIG_fail
;
27121 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27127 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27132 arg6
= (long)(SWIG_As_long(obj5
));
27133 if (SWIG_arg_fail(6)) SWIG_fail
;
27138 arg7
= wxString_in_helper(obj6
);
27139 if (arg7
== NULL
) SWIG_fail
;
27144 if (!wxPyCheckForApp()) SWIG_fail
;
27145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27146 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
27148 wxPyEndAllowThreads(__tstate
);
27149 if (PyErr_Occurred()) SWIG_fail
;
27151 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
27174 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27175 PyObject
*resultobj
;
27176 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27177 PyObject
*arg2
= (PyObject
*) 0 ;
27178 PyObject
*arg3
= (PyObject
*) 0 ;
27179 PyObject
* obj0
= 0 ;
27180 PyObject
* obj1
= 0 ;
27181 PyObject
* obj2
= 0 ;
27182 char *kwnames
[] = {
27183 (char *) "self",(char *) "self",(char *) "_class", NULL
27186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27188 if (SWIG_arg_fail(1)) SWIG_fail
;
27192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27193 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27195 wxPyEndAllowThreads(__tstate
);
27196 if (PyErr_Occurred()) SWIG_fail
;
27198 Py_INCREF(Py_None
); resultobj
= Py_None
;
27205 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27206 PyObject
*resultobj
;
27207 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27208 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
27209 PyObject
* obj0
= 0 ;
27210 PyObject
* obj1
= 0 ;
27211 char *kwnames
[] = {
27212 (char *) "self",(char *) "canvas", NULL
27215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
27216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27217 if (SWIG_arg_fail(1)) SWIG_fail
;
27218 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
27219 if (SWIG_arg_fail(2)) SWIG_fail
;
27221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27222 (arg1
)->SetPreviewCanvas(arg2
);
27224 wxPyEndAllowThreads(__tstate
);
27225 if (PyErr_Occurred()) SWIG_fail
;
27227 Py_INCREF(Py_None
); resultobj
= Py_None
;
27234 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27235 PyObject
*resultobj
;
27236 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27237 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
27238 PyObject
* obj0
= 0 ;
27239 PyObject
* obj1
= 0 ;
27240 char *kwnames
[] = {
27241 (char *) "self",(char *) "bar", NULL
27244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
27245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27246 if (SWIG_arg_fail(1)) SWIG_fail
;
27247 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27248 if (SWIG_arg_fail(2)) SWIG_fail
;
27250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27251 (arg1
)->SetControlBar(arg2
);
27253 wxPyEndAllowThreads(__tstate
);
27254 if (PyErr_Occurred()) SWIG_fail
;
27256 Py_INCREF(Py_None
); resultobj
= Py_None
;
27263 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27264 PyObject
*resultobj
;
27265 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27266 PyObject
* obj0
= 0 ;
27267 char *kwnames
[] = {
27268 (char *) "self", NULL
27271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
27272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27273 if (SWIG_arg_fail(1)) SWIG_fail
;
27275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27276 (arg1
)->base_Initialize();
27278 wxPyEndAllowThreads(__tstate
);
27279 if (PyErr_Occurred()) SWIG_fail
;
27281 Py_INCREF(Py_None
); resultobj
= Py_None
;
27288 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27289 PyObject
*resultobj
;
27290 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27291 PyObject
* obj0
= 0 ;
27292 char *kwnames
[] = {
27293 (char *) "self", NULL
27296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
27297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27298 if (SWIG_arg_fail(1)) SWIG_fail
;
27300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27301 (arg1
)->base_CreateCanvas();
27303 wxPyEndAllowThreads(__tstate
);
27304 if (PyErr_Occurred()) SWIG_fail
;
27306 Py_INCREF(Py_None
); resultobj
= Py_None
;
27313 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27314 PyObject
*resultobj
;
27315 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27316 PyObject
* obj0
= 0 ;
27317 char *kwnames
[] = {
27318 (char *) "self", NULL
27321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
27322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27323 if (SWIG_arg_fail(1)) SWIG_fail
;
27325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27326 (arg1
)->base_CreateControlBar();
27328 wxPyEndAllowThreads(__tstate
);
27329 if (PyErr_Occurred()) SWIG_fail
;
27331 Py_INCREF(Py_None
); resultobj
= Py_None
;
27338 static PyObject
* PyPreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
27340 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27341 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
27343 return Py_BuildValue((char *)"");
27345 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27346 PyObject
*resultobj
;
27347 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
27349 wxWindow
*arg3
= (wxWindow
*) 0 ;
27350 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27351 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27352 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27353 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27354 long arg6
= (long) 0 ;
27355 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
27356 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27357 wxPyPreviewControlBar
*result
;
27360 bool temp7
= false ;
27361 PyObject
* obj0
= 0 ;
27362 PyObject
* obj1
= 0 ;
27363 PyObject
* obj2
= 0 ;
27364 PyObject
* obj3
= 0 ;
27365 PyObject
* obj4
= 0 ;
27366 PyObject
* obj5
= 0 ;
27367 PyObject
* obj6
= 0 ;
27368 char *kwnames
[] = {
27369 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27374 if (SWIG_arg_fail(1)) SWIG_fail
;
27376 arg2
= (long)(SWIG_As_long(obj1
));
27377 if (SWIG_arg_fail(2)) SWIG_fail
;
27379 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27380 if (SWIG_arg_fail(3)) SWIG_fail
;
27384 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27390 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27395 arg6
= (long)(SWIG_As_long(obj5
));
27396 if (SWIG_arg_fail(6)) SWIG_fail
;
27401 arg7
= wxString_in_helper(obj6
);
27402 if (arg7
== NULL
) SWIG_fail
;
27407 if (!wxPyCheckForApp()) SWIG_fail
;
27408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27409 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
27411 wxPyEndAllowThreads(__tstate
);
27412 if (PyErr_Occurred()) SWIG_fail
;
27414 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
27429 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27430 PyObject
*resultobj
;
27431 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27432 PyObject
*arg2
= (PyObject
*) 0 ;
27433 PyObject
*arg3
= (PyObject
*) 0 ;
27434 PyObject
* obj0
= 0 ;
27435 PyObject
* obj1
= 0 ;
27436 PyObject
* obj2
= 0 ;
27437 char *kwnames
[] = {
27438 (char *) "self",(char *) "self",(char *) "_class", NULL
27441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27443 if (SWIG_arg_fail(1)) SWIG_fail
;
27447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27448 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27450 wxPyEndAllowThreads(__tstate
);
27451 if (PyErr_Occurred()) SWIG_fail
;
27453 Py_INCREF(Py_None
); resultobj
= Py_None
;
27460 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27461 PyObject
*resultobj
;
27462 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27463 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
27464 PyObject
* obj0
= 0 ;
27465 PyObject
* obj1
= 0 ;
27466 char *kwnames
[] = {
27467 (char *) "self",(char *) "preview", NULL
27470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
27471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27472 if (SWIG_arg_fail(1)) SWIG_fail
;
27473 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27474 if (SWIG_arg_fail(2)) SWIG_fail
;
27476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27477 (arg1
)->SetPrintPreview(arg2
);
27479 wxPyEndAllowThreads(__tstate
);
27480 if (PyErr_Occurred()) SWIG_fail
;
27482 Py_INCREF(Py_None
); resultobj
= Py_None
;
27489 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27490 PyObject
*resultobj
;
27491 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27492 PyObject
* obj0
= 0 ;
27493 char *kwnames
[] = {
27494 (char *) "self", NULL
27497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
27498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27499 if (SWIG_arg_fail(1)) SWIG_fail
;
27501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27502 (arg1
)->base_CreateButtons();
27504 wxPyEndAllowThreads(__tstate
);
27505 if (PyErr_Occurred()) SWIG_fail
;
27507 Py_INCREF(Py_None
); resultobj
= Py_None
;
27514 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27515 PyObject
*resultobj
;
27516 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27518 PyObject
* obj0
= 0 ;
27519 PyObject
* obj1
= 0 ;
27520 char *kwnames
[] = {
27521 (char *) "self",(char *) "zoom", NULL
27524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
27525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27526 if (SWIG_arg_fail(1)) SWIG_fail
;
27528 arg2
= (int)(SWIG_As_int(obj1
));
27529 if (SWIG_arg_fail(2)) SWIG_fail
;
27532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27533 (arg1
)->base_SetZoomControl(arg2
);
27535 wxPyEndAllowThreads(__tstate
);
27536 if (PyErr_Occurred()) SWIG_fail
;
27538 Py_INCREF(Py_None
); resultobj
= Py_None
;
27545 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
27547 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27548 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
27550 return Py_BuildValue((char *)"");
27552 static PyMethodDef SwigMethods
[] = {
27553 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27554 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27555 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27556 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27557 { (char *)"Panel_SetFocus", (PyCFunction
) _wrap_Panel_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27558 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
) _wrap_Panel_SetFocusIgnoringChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27559 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27560 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
27561 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27562 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27563 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27564 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27565 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27566 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27567 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27568 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27569 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27570 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27571 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27572 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27573 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27574 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27575 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
27576 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
27577 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27578 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27579 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27580 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27581 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27582 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_GetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27583 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27584 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27585 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
27586 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27587 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27588 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27589 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27590 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27591 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27592 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27593 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27594 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27595 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27596 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27597 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27598 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27599 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27600 { (char *)"TopLevelWindow_IsActive", (PyCFunction
) _wrap_TopLevelWindow_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27601 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27602 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacGetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27603 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
27604 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27605 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27606 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27607 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27608 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27609 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27610 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27611 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27612 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27613 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27614 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27615 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27616 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27617 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27618 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27619 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27620 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27621 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27622 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27623 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27624 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27625 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27626 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27627 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
27628 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27629 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27630 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27631 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27632 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27633 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27634 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27635 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27636 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27637 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27638 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27639 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27640 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
27641 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27642 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27643 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27644 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
27645 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27646 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27647 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27648 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
27649 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27650 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27651 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27652 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27653 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
27654 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27655 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27656 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27657 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27658 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27659 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27660 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27661 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27662 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27663 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27664 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27665 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27666 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27667 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27668 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27669 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27670 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
27671 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27672 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27673 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27674 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27675 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27676 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27677 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27678 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27679 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27680 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27681 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27682 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27683 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27684 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27685 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27686 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27687 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27688 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27689 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27690 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27691 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27692 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
) _wrap_SplitterWindow_GetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27693 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27694 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27695 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27696 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27697 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27698 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27699 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27700 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
27701 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27702 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27703 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27704 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27705 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27706 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27707 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
27708 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27709 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27710 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27711 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27712 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27713 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27714 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27715 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27716 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27717 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27718 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27719 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27720 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27721 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27722 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27723 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27724 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27725 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27726 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27727 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27728 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27729 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27730 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
27731 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27732 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27733 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27734 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27735 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27736 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27737 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27738 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
27739 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27740 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27741 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27742 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27743 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27744 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27745 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27746 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27747 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27748 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27749 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27750 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
27751 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27752 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27753 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27754 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27755 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27756 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
27757 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27758 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27759 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27760 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27761 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27762 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27763 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27764 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27765 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
27766 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27767 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27768 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27769 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27770 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27771 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
27772 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27773 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27774 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
27775 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27776 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27777 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
27778 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27779 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27780 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27781 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
27782 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27783 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27784 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27785 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27786 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27787 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27788 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27789 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27790 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27791 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27792 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27793 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27794 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27795 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27796 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27797 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27798 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27799 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
27800 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27801 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27802 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27803 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27804 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27805 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27806 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27807 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27808 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27809 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27810 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27811 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27812 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27813 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27814 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27815 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27816 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27817 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27818 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27819 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27820 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27821 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27822 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27823 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27824 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27825 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
27826 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27827 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27828 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27829 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27830 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27831 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27832 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
) _wrap_HtmlListBox_GetFileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27833 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
27834 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27835 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27836 { (char *)"TaskBarIcon_Destroy", (PyCFunction
) _wrap_TaskBarIcon_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27837 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27838 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27839 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27840 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27841 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27842 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
27843 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27844 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
27845 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27846 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27847 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27848 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27849 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27850 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27851 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27852 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27853 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
27854 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27855 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27856 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
27857 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27858 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27859 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27860 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27861 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27862 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27863 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
27864 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27865 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27866 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27867 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27868 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27869 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27870 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27871 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27872 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27873 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27874 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27875 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27876 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27877 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27878 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27879 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27880 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27881 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
27882 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27883 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27884 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27885 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
27886 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27887 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27888 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27889 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27890 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
27891 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27892 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27893 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27894 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
27895 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27896 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
27897 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27898 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27899 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27900 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27901 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27902 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27903 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27904 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27905 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27906 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27907 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27908 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27909 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27910 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27911 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27912 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
27913 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27914 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27915 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
27916 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27917 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
27918 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27919 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27920 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27921 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
27922 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27923 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27924 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27925 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27926 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27927 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27928 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27929 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27930 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
27931 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27932 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27933 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27934 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27935 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27936 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27937 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27938 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27939 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
27940 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27941 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27942 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27943 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27944 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27945 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
27946 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27947 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27948 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27949 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27950 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27951 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27952 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27953 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27954 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27955 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27956 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27957 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
27958 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27959 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27960 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27961 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27962 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27963 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27964 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
27965 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27966 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27967 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27968 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
27969 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27970 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27971 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27972 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27973 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27974 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27975 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27976 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27977 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27978 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27979 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27980 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27981 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27982 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27983 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27984 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27985 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27986 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27987 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27988 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27989 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27990 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27991 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27992 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27993 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27994 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
27995 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27996 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27997 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27998 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27999 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28000 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28001 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28002 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28003 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28004 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28005 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28006 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28007 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28008 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28009 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28010 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28011 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28012 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28013 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28014 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28015 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28016 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28017 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28018 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyPanel_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28019 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyPanel_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28020 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
28021 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28022 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28023 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28024 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28025 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28026 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28027 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28028 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28029 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28030 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28031 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28032 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28033 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28034 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28035 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28036 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28037 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction
) _wrap_PyScrolledWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28038 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28039 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28040 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28041 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28042 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28043 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28044 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28045 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyScrolledWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28046 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
28047 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
28048 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28049 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28050 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28051 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28052 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28053 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28054 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28055 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28056 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28057 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28058 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28059 { (char *)"PrintData_GetBin", (PyCFunction
) _wrap_PrintData_GetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28060 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28061 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28062 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28063 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28064 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28065 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28066 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28067 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28068 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28069 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28070 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28071 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28072 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28073 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28074 { (char *)"PrintData_GetPrivData", (PyCFunction
) _wrap_PrintData_GetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28075 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28076 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28077 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28078 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28079 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28080 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28081 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28082 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28083 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28084 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28085 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28086 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28087 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28088 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28089 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28090 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28091 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28092 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28093 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28094 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
28095 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
28096 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28097 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28098 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28099 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28100 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28101 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28102 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28103 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28104 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28105 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28106 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28107 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28108 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28109 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28110 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28111 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28112 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28113 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28114 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28115 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28116 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28117 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28118 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28119 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28120 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28121 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28122 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28123 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28124 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28125 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28126 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28127 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
) _wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28128 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
28129 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28130 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28131 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28132 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28133 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
28134 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
28135 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28136 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28137 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28138 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28139 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28140 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28141 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28142 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28143 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28144 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28145 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28146 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28147 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28148 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28149 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28150 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28151 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28152 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28153 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28154 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28155 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28156 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28157 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28158 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28159 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28160 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28161 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28162 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28163 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28164 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28165 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28166 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28167 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
28168 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28169 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28170 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28171 { (char *)"PrintDialog_GetPrintData", (PyCFunction
) _wrap_PrintDialog_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28172 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28173 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
28174 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28175 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28176 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28177 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28178 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28179 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28180 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28181 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28182 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28183 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28184 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
28185 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28186 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28187 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28188 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28189 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28190 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28191 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28192 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28193 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28194 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28195 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28196 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28197 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28198 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28199 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28200 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28201 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28202 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28203 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28204 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28205 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28206 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28207 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
28208 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28209 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
28210 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28211 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28212 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28213 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28214 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28215 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
28216 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28217 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28218 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28219 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28220 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28221 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28222 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28223 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28224 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28225 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
28226 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
28227 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28228 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28229 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28230 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28231 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28232 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28233 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28234 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28235 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28236 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28237 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28238 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28239 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28240 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28241 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28242 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28243 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28244 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28245 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28246 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28247 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28248 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28249 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
28250 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
28251 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28252 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28253 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28254 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28255 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28256 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28257 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28258 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28259 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
28260 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28261 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28262 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28263 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28264 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28265 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28266 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28267 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
28268 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28269 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28270 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28271 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28272 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28273 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
28274 { NULL
, NULL
, 0, NULL
}
28278 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28280 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
28281 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28283 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
28284 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28286 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
28287 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
28289 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
28290 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
28292 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
28293 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
28295 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
28296 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
28298 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
28299 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
28301 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
28302 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28304 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
28305 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
28307 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
28308 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
28310 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
28311 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
28313 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
28314 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
28316 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
28317 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28319 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
28320 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
28322 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
28323 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
28325 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
28326 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28328 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
28329 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28331 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
28332 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
28334 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
28335 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
28337 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
28338 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
28340 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
28341 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
28343 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
28344 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
28346 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
28347 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
28349 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
28350 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
28352 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
28353 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
28355 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
28356 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28358 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
28359 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28361 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
28362 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28364 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
28365 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28367 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
28368 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28370 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
28371 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
28373 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
28374 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
28376 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
28377 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28379 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
28380 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
28382 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
28383 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
28385 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
28386 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
28388 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
28389 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
28391 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
28392 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28394 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
28395 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28397 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
28398 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28400 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
28401 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
28403 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
28404 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
28406 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
28407 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
28409 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
28410 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28412 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
28413 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28415 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
28416 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
28418 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
28419 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
28421 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
28422 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
28424 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
28425 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
28427 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
28428 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
28430 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
28431 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
28433 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
28434 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
28436 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
28437 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28439 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
28440 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
28442 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
28443 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
28445 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
28446 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
28448 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
28449 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
28451 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
28452 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
28454 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
28455 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
28457 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
28458 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
28460 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
28461 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
28463 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
28464 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
28466 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
28467 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
28469 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
28470 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
28472 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
28473 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
28475 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
28476 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
28478 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
28479 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
28481 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
28482 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
28484 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
28485 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
28487 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
28488 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
28490 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
28491 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
28493 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
28494 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
28496 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
28497 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
28499 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
28500 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
28502 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
28503 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
28505 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
28506 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
28508 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
28509 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
28511 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
28512 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28514 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
28515 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
28517 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
28518 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
28520 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
28521 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
28523 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
28524 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
28526 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
28527 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
28529 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
28530 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28532 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
28533 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28535 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
28536 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
28538 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
28539 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
28541 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
28542 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
28544 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
28545 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
28547 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
28548 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
28550 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
28551 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
28553 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
28554 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
28556 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
28557 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
28559 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
28560 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
28562 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
28563 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28565 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
28566 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
28568 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
28569 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
28571 static void *_p_wxTipWindowTo_p_wxFrame(void *x
) {
28572 return (void *)((wxFrame
*) ((wxTipWindow
*) x
));
28574 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
28575 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
28577 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
28578 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28580 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
28581 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
28583 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
28584 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
28586 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
28587 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
28589 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
28590 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
28592 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
28593 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
28595 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
28596 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
28598 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
28599 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28601 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
28602 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
28604 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
28605 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
28607 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
28608 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
28610 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
28611 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
28613 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
28614 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
28616 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
28617 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
28619 static void *_p_wxSizerTo_p_wxObject(void *x
) {
28620 return (void *)((wxObject
*) ((wxSizer
*) x
));
28622 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
28623 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
28625 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
28626 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28628 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
28629 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
28631 static void *_p_wxEventTo_p_wxObject(void *x
) {
28632 return (void *)((wxObject
*) ((wxEvent
*) x
));
28634 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
28635 return (void *)((wxObject
*) ((wxFontData
*) x
));
28637 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
28638 return (void *)((wxObject
*) ((wxPrintData
*) x
));
28640 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
28641 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
28643 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
28644 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
28646 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
28647 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
28649 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
28650 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
28652 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
28653 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
28655 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
28656 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
28658 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
28659 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
28661 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
28662 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
28664 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
28665 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28667 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
28668 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28670 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
28671 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28673 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
28674 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28676 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
28677 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
28679 static void *_p_wxControlTo_p_wxObject(void *x
) {
28680 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
28682 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
28683 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
28685 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
28686 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28688 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
28689 return (void *)((wxObject
*) ((wxFSFile
*) x
));
28691 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
28692 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
28694 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
28695 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
28697 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
28698 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
28700 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
28701 return (void *)((wxObject
*) ((wxColourData
*) x
));
28703 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
28704 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
28706 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
28707 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28709 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
28710 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
28712 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
28713 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
28715 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
28716 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
28718 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
28719 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
28721 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
28722 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
28724 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
28725 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
28727 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
28728 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28730 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
28731 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
28733 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
28734 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
28736 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
28737 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
28739 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
28740 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
28742 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
28743 return (void *)((wxObject
*) ((wxPrinter
*) x
));
28745 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
28746 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
28748 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
28749 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
28751 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
28752 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
28754 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
28755 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28757 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
28758 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28760 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
28761 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
28763 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
28764 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
28766 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
28767 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
28769 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
28770 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
28772 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
28773 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
28775 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
28776 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
28778 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
28779 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
28781 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
28782 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
28784 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
28785 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
28787 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
28788 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
28790 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
28791 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
28793 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
28794 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
28796 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
28797 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
28799 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
28800 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
28802 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
28803 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
28805 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
28806 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
28808 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
28809 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
28811 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
28812 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
28814 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
28815 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
28817 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
28818 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28820 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
28821 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28823 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
28824 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
28826 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
28827 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
28829 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
28830 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
28832 static void *_p_wxImageTo_p_wxObject(void *x
) {
28833 return (void *)((wxObject
*) ((wxImage
*) x
));
28835 static void *_p_wxFrameTo_p_wxObject(void *x
) {
28836 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
28838 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
28839 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
28841 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
28842 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
28844 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
28845 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
28847 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
28848 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
28850 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
28851 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
28853 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
28854 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28856 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
28857 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28859 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
28860 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
28862 static void *_p_wxWindowTo_p_wxObject(void *x
) {
28863 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
28865 static void *_p_wxMenuTo_p_wxObject(void *x
) {
28866 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
28868 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
28869 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
28871 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
28872 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
28874 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
28875 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
28877 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
28878 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
28880 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
28881 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
28883 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
28884 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
28886 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
28887 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
28889 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
28890 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
28892 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
28893 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
28895 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
28896 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
28898 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
28899 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
28901 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
28902 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
28904 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
28905 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
28907 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
28908 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
28910 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
28911 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
28913 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
28914 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
28916 static void *_p_wxPanelTo_p_wxObject(void *x
) {
28917 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
28919 static void *_p_wxDialogTo_p_wxObject(void *x
) {
28920 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
28922 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
28923 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
28925 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
28926 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
28928 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
28929 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
28931 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
28932 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
28934 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
28935 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
28937 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
28938 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
28940 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
28941 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28943 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
28944 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
28946 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
28947 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
28949 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
28950 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
28952 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
28953 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
28955 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
28956 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
28958 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
28959 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28961 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
28962 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
28964 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
28965 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
28967 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
28968 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
28970 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
28971 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
28973 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
28974 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
28976 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
28977 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28979 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
28980 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
28982 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
28983 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
28985 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
28986 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
28988 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
28989 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
28991 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
28992 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
28994 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
28995 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28997 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
28998 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
29000 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
29001 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
29003 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
29004 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
29006 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
29007 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
29009 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
29010 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
29012 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
29013 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
29015 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
29016 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
29018 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
29019 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
29021 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
29022 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
29024 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
29025 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
29027 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x
) {
29028 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxTipWindow
*) x
));
29030 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
29031 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
29033 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
29034 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
29036 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
29037 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
29039 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
29040 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
29042 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
29043 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
29045 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
29046 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
29048 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
29049 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
29051 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
29052 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
29054 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
29055 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
29057 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
29058 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
29060 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
29061 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
29063 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
29064 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
29066 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
29067 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
29069 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
29070 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
29072 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
29073 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
29075 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
29076 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
29078 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
29079 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
29081 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
29082 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
29084 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
29085 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
29087 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
29088 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
29090 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
29091 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
29093 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
29094 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
29096 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
29097 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
29099 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
29100 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
29102 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
29103 return (void *)((wxWindow
*) ((wxPanel
*) x
));
29105 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
29106 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
29108 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
29109 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
29111 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
29112 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
29114 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
29115 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
29117 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
29118 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
29120 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
29121 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
29123 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
29124 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
29126 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
29127 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
29129 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
29130 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
29132 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
29133 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
29135 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
29136 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
29138 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
29139 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
29141 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
29142 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29144 static void *_p_wxControlTo_p_wxWindow(void *x
) {
29145 return (void *)((wxWindow
*) ((wxControl
*) x
));
29147 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
29148 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
29150 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
29151 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
29153 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
29154 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
29156 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
29157 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
29159 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
29160 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
29162 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
29163 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
29165 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
29166 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
29168 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
29169 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
29171 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
29172 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
29174 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
29175 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29177 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
29178 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
29180 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
29181 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
29183 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
29184 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
29186 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
29187 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
29189 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
29190 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
29192 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
29193 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
29195 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
29196 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29198 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
29199 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
29201 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
29202 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
29204 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
29205 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
29207 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
29208 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
29210 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
29211 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
29213 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
29214 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
29216 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
29217 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
29219 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
29220 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
29222 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
29223 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
29225 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
29226 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
29228 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
29229 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
29231 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
29232 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
29234 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
29235 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
29237 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
29238 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
29240 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
29241 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29243 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
29244 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
29246 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
29247 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
29249 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
29250 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
29252 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
29253 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
29255 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
29256 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
29258 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
29259 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29261 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
29262 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29264 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
29265 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
29267 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
29268 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29270 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
29271 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
29273 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
29274 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29276 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
29277 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
29279 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
29280 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29282 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
29283 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29285 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
29286 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
29288 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
29289 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29291 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
29292 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29294 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
29295 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
29297 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
29298 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29300 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}};
29301 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}};
29302 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}};
29303 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}};
29304 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}};
29305 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}};
29306 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}};
29307 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}};
29308 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}};
29309 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}};
29310 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}};
29311 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}};
29312 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}};
29313 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}};
29314 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}};
29315 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}};
29316 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}};
29317 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}};
29318 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}};
29319 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}};
29320 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}};
29321 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}};
29322 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}};
29323 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}};
29324 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}};
29325 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}};
29326 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}};
29327 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}};
29328 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}};
29329 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}};
29330 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}};
29331 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}};
29332 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}};
29333 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}};
29334 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}};
29335 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}};
29336 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}};
29337 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}};
29338 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}};
29339 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}};
29340 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}};
29341 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}};
29342 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}};
29343 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}};
29344 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}};
29345 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}};
29346 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}};
29347 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}};
29348 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}};
29349 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}};
29350 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}};
29351 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}};
29352 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}};
29353 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}};
29354 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}};
29355 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}};
29356 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}};
29357 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}};
29358 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}};
29359 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}};
29360 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}};
29361 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}};
29362 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}};
29363 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}};
29364 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}};
29365 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}};
29366 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}};
29367 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}};
29368 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}};
29369 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}};
29370 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}};
29371 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}};
29372 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}};
29373 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}};
29374 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}};
29375 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}};
29376 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}};
29377 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}};
29378 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}};
29379 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}};
29380 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}};
29381 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}};
29382 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}};
29383 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}};
29384 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}};
29385 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}};
29386 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}};
29387 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}};
29388 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}};
29389 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}};
29390 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}};
29391 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}};
29392 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}};
29393 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}};
29394 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}};
29395 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}};
29396 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}};
29398 static swig_type_info
*swig_types_initial
[] = {
29399 _swigt__p_wxQueryLayoutInfoEvent
,
29400 _swigt__p_wxPreviewFrame
,
29401 _swigt__p_wxPyPreviewFrame
,
29402 _swigt__p_wxPyPanel
,
29404 _swigt__p_wxFontData
,
29406 _swigt__p_wxPrintData
,
29407 _swigt__p_wxTaskBarIcon
,
29408 _swigt__p_wxPyTaskBarIcon
,
29409 _swigt__p_wxIconBundle
,
29410 _swigt__p_wxLayoutAlgorithm
,
29411 _swigt__p_wxFindDialogEvent
,
29412 _swigt__p_wxPreviewCanvas
,
29414 _swigt__p_wxSplitterEvent
,
29415 _swigt__p_wxRegion
,
29417 _swigt__std__ptrdiff_t
,
29418 _swigt__p_wxFindReplaceData
,
29423 _swigt__p_wxVisualAttributes
,
29424 _swigt__p_wxMDIChildFrame
,
29425 _swigt__p_wxColourData
,
29426 _swigt__p_wxNotifyEvent
,
29427 _swigt__p_wxPyWindow
,
29428 _swigt__p_form_ops_t
,
29429 _swigt__p_wxSplashScreen
,
29430 _swigt__p_wxPasswordEntryDialog
,
29431 _swigt__p_wxSingleChoiceDialog
,
29432 _swigt__p_wxMultiChoiceDialog
,
29433 _swigt__p_wxFileDialog
,
29434 _swigt__p_wxTextEntryDialog
,
29435 _swigt__p_wxMessageDialog
,
29436 _swigt__p_wxProgressDialog
,
29437 _swigt__p_wxFindReplaceDialog
,
29438 _swigt__p_wxPrinter
,
29439 _swigt__p_wxArrayInt
,
29440 _swigt__p_wxDuplexMode
,
29441 _swigt__p_wxEvtHandler
,
29442 _swigt__p_wxCalculateLayoutEvent
,
29443 _swigt__p_wxPyHtmlListBox
,
29444 _swigt__p_wxPyVListBox
,
29446 _swigt__p_wxStdDialogButtonSizer
,
29448 _swigt__p_wxMiniFrame
,
29450 _swigt__p_wxPyPrintout
,
29451 _swigt__p_wxTaskBarIconEvent
,
29452 _swigt__p_wxScrollWinEvent
,
29453 _swigt__p_wxPaperSize
,
29454 _swigt__p_wxStatusBar
,
29455 _swigt__p_wxMDIParentFrame
,
29457 _swigt__p_wxObject
,
29458 _swigt__p_unsigned_long
,
29459 _swigt__p_wxTipWindow
,
29460 _swigt__p_wxPyPopupTransientWindow
,
29461 _swigt__p_wxSashLayoutWindow
,
29462 _swigt__p_wxSplitterWindow
,
29463 _swigt__p_wxSplashScreenWindow
,
29464 _swigt__p_wxPyVScrolledWindow
,
29465 _swigt__p_wxPopupWindow
,
29466 _swigt__p_wxSashWindow
,
29467 _swigt__p_wxTopLevelWindow
,
29468 _swigt__p_wxWindow
,
29469 _swigt__p_wxScrolledWindow
,
29470 _swigt__p_wxMenuBar
,
29471 _swigt__p_wxMDIClientWindow
,
29472 _swigt__p_wxPyScrolledWindow
,
29473 _swigt__p_wxPrintPreview
,
29474 _swigt__p_wxSashEvent
,
29475 _swigt__p_wxString
,
29476 _swigt__p_wxPyPrintPreview
,
29477 _swigt__p_wxDirDialog
,
29478 _swigt__p_wxColourDialog
,
29479 _swigt__p_wxDialog
,
29481 _swigt__p_wxFontDialog
,
29482 _swigt__p_wxPageSetupDialog
,
29483 _swigt__p_wxPrintDialog
,
29484 _swigt__p_wxFileSystem
,
29485 _swigt__p_wxBitmap
,
29486 _swigt__unsigned_int
,
29487 _swigt__p_unsigned_int
,
29488 _swigt__p_unsigned_char
,
29489 _swigt__p_wxCommandEvent
,
29490 _swigt__p_wxPreviewControlBar
,
29491 _swigt__p_wxPyPreviewControlBar
,
29492 _swigt__p_wxColour
,
29493 _swigt__p_wxToolBar
,
29494 _swigt__p_wxPageSetupDialogData
,
29495 _swigt__p_wxPrintDialogData
,
29500 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29502 static swig_const_info swig_const_table
[] = {
29503 {0, 0, 0, 0.0, 0, 0}};
29514 /* Python-specific SWIG API */
29515 #define SWIG_newvarlink() SWIG_Python_newvarlink()
29516 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
29517 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
29519 /* -----------------------------------------------------------------------------
29520 * global variable support code.
29521 * ----------------------------------------------------------------------------- */
29523 typedef struct swig_globalvar
{
29524 char *name
; /* Name of global variable */
29525 PyObject
*(*get_attr
)(); /* Return the current value */
29526 int (*set_attr
)(PyObject
*); /* Set the value */
29527 struct swig_globalvar
*next
;
29530 typedef struct swig_varlinkobject
{
29532 swig_globalvar
*vars
;
29533 } swig_varlinkobject
;
29536 swig_varlink_repr(swig_varlinkobject
*v
) {
29538 return PyString_FromString("<Swig global variables>");
29542 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
29543 swig_globalvar
*var
;
29545 fprintf(fp
,"Swig global variables { ");
29546 for (var
= v
->vars
; var
; var
=var
->next
) {
29547 fprintf(fp
,"%s", var
->name
);
29548 if (var
->next
) fprintf(fp
,", ");
29550 fprintf(fp
," }\n");
29555 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
29556 swig_globalvar
*var
= v
->vars
;
29558 if (strcmp(var
->name
,n
) == 0) {
29559 return (*var
->get_attr
)();
29563 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
29568 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
29569 swig_globalvar
*var
= v
->vars
;
29571 if (strcmp(var
->name
,n
) == 0) {
29572 return (*var
->set_attr
)(p
);
29576 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
29580 static PyTypeObject varlinktype
= {
29581 PyObject_HEAD_INIT(0)
29582 0, /* Number of items in variable part (ob_size) */
29583 (char *)"swigvarlink", /* Type name (tp_name) */
29584 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
29585 0, /* Itemsize (tp_itemsize) */
29586 0, /* Deallocator (tp_dealloc) */
29587 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
29588 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
29589 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
29590 0, /* tp_compare */
29591 (reprfunc
) swig_varlink_repr
, /* tp_repr */
29592 0, /* tp_as_number */
29593 0, /* tp_as_sequence */
29594 0, /* tp_as_mapping */
29598 0, /* tp_getattro */
29599 0, /* tp_setattro */
29600 0, /* tp_as_buffer */
29603 #if PY_VERSION_HEX >= 0x02000000
29604 0, /* tp_traverse */
29607 #if PY_VERSION_HEX >= 0x02010000
29608 0, /* tp_richcompare */
29609 0, /* tp_weaklistoffset */
29611 #if PY_VERSION_HEX >= 0x02020000
29612 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
29614 #if PY_VERSION_HEX >= 0x02030000
29617 #ifdef COUNT_ALLOCS
29618 0,0,0,0 /* tp_alloc -> tp_next */
29622 /* Create a variable linking object for use later */
29624 SWIG_Python_newvarlink(void) {
29625 swig_varlinkobject
*result
= 0;
29626 result
= PyMem_NEW(swig_varlinkobject
,1);
29627 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
29628 result
->ob_type
= &varlinktype
;
29630 result
->ob_refcnt
= 0;
29631 Py_XINCREF((PyObject
*) result
);
29632 return ((PyObject
*) result
);
29636 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
29637 swig_varlinkobject
*v
;
29638 swig_globalvar
*gv
;
29639 v
= (swig_varlinkobject
*) p
;
29640 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
29641 gv
->name
= (char *) malloc(strlen(name
)+1);
29642 strcpy(gv
->name
,name
);
29643 gv
->get_attr
= get_attr
;
29644 gv
->set_attr
= set_attr
;
29645 gv
->next
= v
->vars
;
29649 /* -----------------------------------------------------------------------------
29650 * constants/methods manipulation
29651 * ----------------------------------------------------------------------------- */
29653 /* Install Constants */
29655 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
29658 for (i
= 0; constants
[i
].type
; i
++) {
29659 switch(constants
[i
].type
) {
29661 obj
= PyInt_FromLong(constants
[i
].lvalue
);
29663 case SWIG_PY_FLOAT
:
29664 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
29666 case SWIG_PY_STRING
:
29667 if (constants
[i
].pvalue
) {
29668 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
29670 Py_INCREF(Py_None
);
29674 case SWIG_PY_POINTER
:
29675 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
29677 case SWIG_PY_BINARY
:
29678 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
29685 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
29691 /* -----------------------------------------------------------------------------*/
29692 /* Fix SwigMethods to carry the callback ptrs when needed */
29693 /* -----------------------------------------------------------------------------*/
29696 SWIG_Python_FixMethods(PyMethodDef
*methods
,
29697 swig_const_info
*const_table
,
29698 swig_type_info
**types
,
29699 swig_type_info
**types_initial
) {
29701 for (i
= 0; methods
[i
].ml_name
; ++i
) {
29702 char *c
= methods
[i
].ml_doc
;
29703 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
29705 swig_const_info
*ci
= 0;
29706 char *name
= c
+ 10;
29707 for (j
= 0; const_table
[j
].type
; j
++) {
29708 if (strncmp(const_table
[j
].name
, name
,
29709 strlen(const_table
[j
].name
)) == 0) {
29710 ci
= &(const_table
[j
]);
29715 size_t shift
= (ci
->ptype
) - types
;
29716 swig_type_info
*ty
= types_initial
[shift
];
29717 size_t ldoc
= (c
- methods
[i
].ml_doc
);
29718 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
29719 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
29721 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
29722 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
29724 strncpy(buff
, "swig_ptr: ", 10);
29726 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
29727 methods
[i
].ml_doc
= ndoc
;
29733 /* -----------------------------------------------------------------------------*
29734 * Initialize type list
29735 * -----------------------------------------------------------------------------*/
29737 #if PY_MAJOR_VERSION < 2
29738 /* PyModule_AddObject function was introduced in Python 2.0. The following function
29739 is copied out of Python/modsupport.c in python version 2.3.4 */
29741 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
29744 if (!PyModule_Check(m
)) {
29745 PyErr_SetString(PyExc_TypeError
,
29746 "PyModule_AddObject() needs module as first arg");
29750 PyErr_SetString(PyExc_TypeError
,
29751 "PyModule_AddObject() needs non-NULL value");
29755 dict
= PyModule_GetDict(m
);
29756 if (dict
== NULL
) {
29757 /* Internal error -- modules must have a dict! */
29758 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
29759 PyModule_GetName(m
));
29762 if (PyDict_SetItemString(dict
, name
, o
))
29769 static swig_type_info
**
29770 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
29771 static PyMethodDef swig_empty_runtime_method_table
[] = {
29773 NULL
, NULL
, 0, NULL
29777 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
29778 swig_empty_runtime_method_table
);
29779 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
29780 if (pointer
&& module) {
29781 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
29783 return type_list_handle
;
29786 static swig_type_info
**
29787 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
29788 swig_type_info
**type_pointer
;
29790 /* first check if module already created */
29791 type_pointer
= SWIG_Python_GetTypeListHandle();
29792 if (type_pointer
) {
29793 return type_pointer
;
29795 /* create a new module and variable */
29796 return SWIG_Python_SetTypeListHandle(type_list_handle
);
29804 /* -----------------------------------------------------------------------------*
29805 * Partial Init method
29806 * -----------------------------------------------------------------------------*/
29808 #ifdef SWIG_LINK_RUNTIME
29812 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
29818 SWIGEXPORT(void) SWIG_init(void) {
29819 static PyObject
*SWIG_globals
= 0;
29820 static int typeinit
= 0;
29823 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
29825 /* Fix SwigMethods to carry the callback ptrs when needed */
29826 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
29828 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
29829 d
= PyModule_GetDict(m
);
29832 #ifdef SWIG_LINK_RUNTIME
29833 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
29835 # ifndef SWIG_STATIC_RUNTIME
29836 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
29839 for (i
= 0; swig_types_initial
[i
]; i
++) {
29840 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
29844 SWIG_InstallConstants(d
,swig_const_table
);
29846 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
29847 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
29848 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
29849 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
29850 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
29852 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_From_int((int)(wxSTAY_ON_TOP
)));
29855 PyDict_SetItemString(d
,"ICONIZE", SWIG_From_int((int)(wxICONIZE
)));
29858 PyDict_SetItemString(d
,"MINIMIZE", SWIG_From_int((int)(wxMINIMIZE
)));
29861 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_From_int((int)(wxMAXIMIZE
)));
29864 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_From_int((int)(wxCLOSE_BOX
)));
29867 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_From_int((int)(wxTHICK_FRAME
)));
29870 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_From_int((int)(wxSYSTEM_MENU
)));
29873 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_From_int((int)(wxMINIMIZE_BOX
)));
29876 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_From_int((int)(wxMAXIMIZE_BOX
)));
29879 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_From_int((int)(wxTINY_CAPTION_HORIZ
)));
29882 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_From_int((int)(wxTINY_CAPTION_VERT
)));
29885 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_From_int((int)(wxRESIZE_BOX
)));
29888 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_From_int((int)(wxRESIZE_BORDER
)));
29891 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_From_int((int)(wxDIALOG_NO_PARENT
)));
29894 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)(wxDEFAULT_FRAME_STYLE
)));
29897 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)(wxDEFAULT_DIALOG_STYLE
)));
29900 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_From_int((int)(wxFRAME_TOOL_WINDOW
)));
29903 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)(wxFRAME_FLOAT_ON_PARENT
)));
29906 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)(wxFRAME_NO_WINDOW_MENU
)));
29909 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_From_int((int)(wxFRAME_NO_TASKBAR
)));
29912 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_From_int((int)(wxFRAME_SHAPED
)));
29915 PyDict_SetItemString(d
,"FRAME_DRAWER", SWIG_From_int((int)(wxFRAME_DRAWER
)));
29918 PyDict_SetItemString(d
,"FRAME_EX_METAL", SWIG_From_int((int)(wxFRAME_EX_METAL
)));
29921 PyDict_SetItemString(d
,"DIALOG_EX_METAL", SWIG_From_int((int)(wxDIALOG_EX_METAL
)));
29924 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_From_int((int)(wxDIALOG_MODAL
)));
29927 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_From_int((int)(wxDIALOG_MODELESS
)));
29930 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_From_int((int)(wxUSER_COLOURS
)));
29933 PyDict_SetItemString(d
,"NO_3D", SWIG_From_int((int)(wxNO_3D
)));
29936 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)(wxFULLSCREEN_NOMENUBAR
)));
29939 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)(wxFULLSCREEN_NOTOOLBAR
)));
29942 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)(wxFULLSCREEN_NOSTATUSBAR
)));
29945 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_From_int((int)(wxFULLSCREEN_NOBORDER
)));
29948 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)(wxFULLSCREEN_NOCAPTION
)));
29951 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_From_int((int)(wxFULLSCREEN_ALL
)));
29954 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)(wxTOPLEVEL_EX_DIALOG
)));
29957 PyDict_SetItemString(d
,"USER_ATTENTION_INFO", SWIG_From_int((int)(wxUSER_ATTENTION_INFO
)));
29960 PyDict_SetItemString(d
,"USER_ATTENTION_ERROR", SWIG_From_int((int)(wxUSER_ATTENTION_ERROR
)));
29963 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_PARENT
)));
29966 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_SCREEN
)));
29969 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_From_int((int)(wxSPLASH_NO_CENTRE
)));
29972 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_From_int((int)(wxSPLASH_TIMEOUT
)));
29975 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)(wxSPLASH_NO_TIMEOUT
)));
29978 PyDict_SetItemString(d
,"SB_NORMAL", SWIG_From_int((int)(wxSB_NORMAL
)));
29981 PyDict_SetItemString(d
,"SB_FLAT", SWIG_From_int((int)(wxSB_FLAT
)));
29984 PyDict_SetItemString(d
,"SB_RAISED", SWIG_From_int((int)(wxSB_RAISED
)));
29986 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
29988 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_From_int((int)(wxSP_NOBORDER
)));
29991 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_From_int((int)(wxSP_NOSASH
)));
29994 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)(wxSP_PERMIT_UNSPLIT
)));
29997 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_From_int((int)(wxSP_LIVE_UPDATE
)));
30000 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_From_int((int)(wxSP_3DSASH
)));
30003 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_From_int((int)(wxSP_3DBORDER
)));
30006 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_From_int((int)(wxSP_NO_XP_THEME
)));
30009 PyDict_SetItemString(d
,"SP_BORDER", SWIG_From_int((int)(wxSP_BORDER
)));
30012 PyDict_SetItemString(d
,"SP_3D", SWIG_From_int((int)(wxSP_3D
)));
30015 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_From_int((int)(wxSPLIT_HORIZONTAL
)));
30018 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_From_int((int)(wxSPLIT_VERTICAL
)));
30021 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_From_int((int)(wxSPLIT_DRAG_NONE
)));
30024 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)(wxSPLIT_DRAG_DRAGGING
)));
30027 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSPLIT_DRAG_LEFT_DOWN
)));
30029 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
30030 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
30031 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
30032 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
30033 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
30034 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
30036 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_From_int((int)(wxSASH_DRAG_NONE
)));
30039 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_From_int((int)(wxSASH_DRAG_DRAGGING
)));
30042 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSASH_DRAG_LEFT_DOWN
)));
30045 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_From_int((int)(wxSW_NOBORDER
)));
30048 PyDict_SetItemString(d
,"SW_BORDER", SWIG_From_int((int)(wxSW_BORDER
)));
30051 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_From_int((int)(wxSW_3DSASH
)));
30054 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_From_int((int)(wxSW_3DBORDER
)));
30057 PyDict_SetItemString(d
,"SW_3D", SWIG_From_int((int)(wxSW_3D
)));
30060 PyDict_SetItemString(d
,"SASH_TOP", SWIG_From_int((int)(wxSASH_TOP
)));
30063 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_From_int((int)(wxSASH_RIGHT
)));
30066 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_From_int((int)(wxSASH_BOTTOM
)));
30069 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_From_int((int)(wxSASH_LEFT
)));
30072 PyDict_SetItemString(d
,"SASH_NONE", SWIG_From_int((int)(wxSASH_NONE
)));
30075 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_From_int((int)(wxSASH_STATUS_OK
)));
30078 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)(wxSASH_STATUS_OUT_OF_RANGE
)));
30080 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
30082 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_From_int((int)(wxLAYOUT_HORIZONTAL
)));
30085 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_From_int((int)(wxLAYOUT_VERTICAL
)));
30088 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_From_int((int)(wxLAYOUT_NONE
)));
30091 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_From_int((int)(wxLAYOUT_TOP
)));
30094 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_From_int((int)(wxLAYOUT_LEFT
)));
30097 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_From_int((int)(wxLAYOUT_RIGHT
)));
30100 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_From_int((int)(wxLAYOUT_BOTTOM
)));
30103 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_From_int((int)(wxLAYOUT_LENGTH_Y
)));
30106 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_From_int((int)(wxLAYOUT_LENGTH_X
)));
30109 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)(wxLAYOUT_MRU_LENGTH
)));
30112 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_From_int((int)(wxLAYOUT_QUERY
)));
30114 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
30115 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
30116 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
30118 // Map renamed classes back to their common name for OOR
30119 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
30120 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
30121 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
30123 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
30124 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
30125 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
30126 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
30127 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
30128 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
30129 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
30130 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
30131 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
30132 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
30133 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
30134 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
30135 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
30137 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_From_int((int)(wxCHOICEDLG_STYLE
)));
30140 PyDict_SetItemString(d
,"TextEntryDialogStyle", SWIG_From_int((int)(wxTextEntryDialogStyle
)));
30142 SWIG_addvarlink(SWIG_globals
,(char*)"GetPasswordFromUserPromptStr",_wrap_GetPasswordFromUserPromptStr_get
, _wrap_GetPasswordFromUserPromptStr_set
);
30144 PyDict_SetItemString(d
,"FR_DOWN", SWIG_From_int((int)(wxFR_DOWN
)));
30147 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_From_int((int)(wxFR_WHOLEWORD
)));
30150 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_From_int((int)(wxFR_MATCHCASE
)));
30153 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_From_int((int)(wxFR_REPLACEDIALOG
)));
30156 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_From_int((int)(wxFR_NOUPDOWN
)));
30159 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_From_int((int)(wxFR_NOMATCHCASE
)));
30162 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_From_int((int)(wxFR_NOWHOLEWORD
)));
30164 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
30165 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
30166 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
30167 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
30168 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
30170 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_From_int((int)(4001)));
30173 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_From_int((int)(4001)));
30176 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_From_int((int)(4002)));
30179 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_From_int((int)(4003)));
30182 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_From_int((int)(4004)));
30185 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_From_int((int)(4005)));
30188 PyDict_SetItemString(d
,"IDM_WINDOWPREV", SWIG_From_int((int)(4006)));
30191 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_From_int((int)(4100)));
30194 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_From_int((int)(4600)));
30196 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
30197 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
30199 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_From_int((int)(wxPRINT_MODE_NONE
)));
30202 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_From_int((int)(wxPRINT_MODE_PREVIEW
)));
30205 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_From_int((int)(wxPRINT_MODE_FILE
)));
30208 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_From_int((int)(wxPRINT_MODE_PRINTER
)));
30211 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_From_int((int)(wxPRINT_MODE_STREAM
)));
30214 PyDict_SetItemString(d
,"PRINTBIN_DEFAULT", SWIG_From_int((int)(wxPRINTBIN_DEFAULT
)));
30217 PyDict_SetItemString(d
,"PRINTBIN_ONLYONE", SWIG_From_int((int)(wxPRINTBIN_ONLYONE
)));
30220 PyDict_SetItemString(d
,"PRINTBIN_LOWER", SWIG_From_int((int)(wxPRINTBIN_LOWER
)));
30223 PyDict_SetItemString(d
,"PRINTBIN_MIDDLE", SWIG_From_int((int)(wxPRINTBIN_MIDDLE
)));
30226 PyDict_SetItemString(d
,"PRINTBIN_MANUAL", SWIG_From_int((int)(wxPRINTBIN_MANUAL
)));
30229 PyDict_SetItemString(d
,"PRINTBIN_ENVELOPE", SWIG_From_int((int)(wxPRINTBIN_ENVELOPE
)));
30232 PyDict_SetItemString(d
,"PRINTBIN_ENVMANUAL", SWIG_From_int((int)(wxPRINTBIN_ENVMANUAL
)));
30235 PyDict_SetItemString(d
,"PRINTBIN_AUTO", SWIG_From_int((int)(wxPRINTBIN_AUTO
)));
30238 PyDict_SetItemString(d
,"PRINTBIN_TRACTOR", SWIG_From_int((int)(wxPRINTBIN_TRACTOR
)));
30241 PyDict_SetItemString(d
,"PRINTBIN_SMALLFMT", SWIG_From_int((int)(wxPRINTBIN_SMALLFMT
)));
30244 PyDict_SetItemString(d
,"PRINTBIN_LARGEFMT", SWIG_From_int((int)(wxPRINTBIN_LARGEFMT
)));
30247 PyDict_SetItemString(d
,"PRINTBIN_LARGECAPACITY", SWIG_From_int((int)(wxPRINTBIN_LARGECAPACITY
)));
30250 PyDict_SetItemString(d
,"PRINTBIN_CASSETTE", SWIG_From_int((int)(wxPRINTBIN_CASSETTE
)));
30253 PyDict_SetItemString(d
,"PRINTBIN_FORMSOURCE", SWIG_From_int((int)(wxPRINTBIN_FORMSOURCE
)));
30256 PyDict_SetItemString(d
,"PRINTBIN_USER", SWIG_From_int((int)(wxPRINTBIN_USER
)));
30259 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_From_int((int)(wxPRINTER_NO_ERROR
)));
30262 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_From_int((int)(wxPRINTER_CANCELLED
)));
30265 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_From_int((int)(wxPRINTER_ERROR
)));
30268 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_From_int((int)(wxPREVIEW_PRINT
)));
30271 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_From_int((int)(wxPREVIEW_PREVIOUS
)));
30274 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_From_int((int)(wxPREVIEW_NEXT
)));
30277 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_From_int((int)(wxPREVIEW_ZOOM
)));
30280 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_From_int((int)(wxPREVIEW_FIRST
)));
30283 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_From_int((int)(wxPREVIEW_LAST
)));
30286 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_From_int((int)(wxPREVIEW_GOTO
)));
30289 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_From_int((int)(wxPREVIEW_DEFAULT
)));
30292 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_From_int((int)(wxID_PREVIEW_CLOSE
)));
30295 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_From_int((int)(wxID_PREVIEW_NEXT
)));
30298 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)(wxID_PREVIEW_PREVIOUS
)));
30301 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_From_int((int)(wxID_PREVIEW_PRINT
)));
30304 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_From_int((int)(wxID_PREVIEW_ZOOM
)));
30307 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_From_int((int)(wxID_PREVIEW_FIRST
)));
30310 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_From_int((int)(wxID_PREVIEW_LAST
)));
30313 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_From_int((int)(wxID_PREVIEW_GOTO
)));
30316 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");