1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_TypeNameComp(const char *f1
, const char *l1
,
113 const char *f2
, const char *l2
) {
114 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
115 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
116 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
117 if (*f1
!= *f2
) return *f1
- *f2
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_TypeRegisterTL(swig_type_info
**tl
, swig_type_info
*ti
) {
145 swig_type_info
*tc
, *head
, *ret
, *next
;
146 /* Check to see if this type has already been registered */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc
->str
&& ti
->str
&& !strstr(tc
->str
,"|")) {
155 typeequiv
= SWIG_TypeEquiv(ti
->str
,tc
->str
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
200 if (strcmp(s
->name
,c
) == 0) {
201 if (s
== ty
->next
) return s
;
202 /* Move s to the top of the linked list */
203 s
->prev
->next
= s
->next
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
232 swig_type_info
*lastty
= ty
;
233 if (!ty
|| !ty
->dcast
) return ty
;
234 while (ty
&& (ty
->dcast
)) {
235 ty
= (*ty
->dcast
)(ptr
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_TypePrettyName(const swig_type_info
*type
) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_TypeClientDataTL(swig_type_info
*tl
, swig_type_info
*ti
, void *clientdata
) {
289 swig_type_info
*tc
, *equiv
;
290 if (ti
->clientdata
) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti
->clientdata
= clientdata
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
312 static char hex
[17] = "0123456789abcdef";
313 unsigned char *u
= (unsigned char *) ptr
;
314 const unsigned char *eu
= u
+ sz
;
315 register unsigned char uu
;
316 for (; u
!= eu
; ++u
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
329 register unsigned char *u
= (unsigned char *) ptr
;
330 register const unsigned char *eu
= u
+ sz
;
331 for (; u
!= eu
; ++u
) {
332 register int d
= *(c
++);
333 register unsigned char uu
= 0;
334 if ((d
>= '0') && (d
<= '9'))
335 uu
= ((d
- '0') << 4);
336 else if ((d
>= 'a') && (d
<= 'f'))
337 uu
= ((d
- ('a'-10)) << 4);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
649 char result
[SWIG_BUFFER_SIZE
];
650 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
651 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
661 char result
[SWIG_BUFFER_SIZE
];
662 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
663 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
724 static PyNumberMethods PySwigObject_as_number
= {
725 (binaryfunc
)0, /*nb_add*/
726 (binaryfunc
)0, /*nb_subtract*/
727 (binaryfunc
)0, /*nb_multiply*/
728 (binaryfunc
)0, /*nb_divide*/
729 (binaryfunc
)0, /*nb_remainder*/
730 (binaryfunc
)0, /*nb_divmod*/
731 (ternaryfunc
)0,/*nb_power*/
732 (unaryfunc
)0, /*nb_negative*/
733 (unaryfunc
)0, /*nb_positive*/
734 (unaryfunc
)0, /*nb_absolute*/
735 (inquiry
)0, /*nb_nonzero*/
742 (coercion
)0, /*nb_coerce*/
743 (unaryfunc
)PySwigObject_long
, /*nb_int*/
744 (unaryfunc
)PySwigObject_long
, /*nb_long*/
745 (unaryfunc
)0, /*nb_float*/
746 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
747 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
764 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
765 (printfunc
)PySwigObject_print
, /*tp_print*/
766 (getattrfunc
)0, /*tp_getattr*/
767 (setattrfunc
)0, /*tp_setattr*/
768 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
769 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
770 &PySwigObject_as_number
, /*tp_as_number*/
771 0, /*tp_as_sequence*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
861 char result
[SWIG_BUFFER_SIZE
];
862 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
872 char result
[SWIG_BUFFER_SIZE
];
873 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
874 return PyString_FromFormat("%s%s", result
, v
->desc
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
916 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
917 (printfunc
)PySwigPacked_print
, /*tp_print*/
918 (getattrfunc
)0, /*tp_getattr*/
919 (setattrfunc
)0, /*tp_setattr*/
920 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
921 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1044 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1046 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1050 SWIGRUNTIMEINLINE
void
1051 SWIG_Python_NullRef(const char *type
)
1054 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1056 PyErr_Format(PyExc_TypeError
, "null reference was received");
1061 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1063 if (PyErr_Occurred()) {
1065 PyObject
*value
= 0;
1066 PyObject
*traceback
= 0;
1067 PyErr_Fetch(&type
, &value
, &traceback
);
1069 PyObject
*old_str
= PyObject_Str(value
);
1073 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1075 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1086 SWIG_Python_ArgFail(int argnum
)
1088 if (PyErr_Occurred()) {
1089 /* add information about failing argument */
1091 sprintf(mesg
, "argument number %d:", argnum
);
1092 return SWIG_Python_AddErrMesg(mesg
, 1);
1099 /* -----------------------------------------------------------------------------
1100 * pointers/data manipulation
1101 * ----------------------------------------------------------------------------- */
1103 /* Convert a pointer value */
1105 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1108 static PyObject
*SWIG_this
= 0;
1110 PyObject
*pyobj
= 0;
1114 if (obj
== Py_None
) {
1119 #ifdef SWIG_COBJECT_TYPES
1120 if (!(PySwigObject_Check(obj
))) {
1122 SWIG_this
= PyString_FromString("this");
1124 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1126 if (!obj
) goto type_error
;
1127 if (!PySwigObject_Check(obj
)) {
1132 vptr
= PySwigObject_AsVoidPtr(obj
);
1133 c
= (const char *) PySwigObject_GetDesc(obj
);
1134 if (newref
) { Py_DECREF(obj
); }
1137 if (!(PyString_Check(obj
))) {
1139 SWIG_this
= PyString_FromString("this");
1141 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1143 if (!obj
) goto type_error
;
1144 if (!PyString_Check(obj
)) {
1149 c
= PyString_AS_STRING(obj
);
1150 /* Pointer values must start with leading underscore */
1151 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1152 if (newref
) { Py_DECREF(obj
); }
1153 if (!c
) goto type_error
;
1159 tc
= SWIG_TypeCheck(c
,ty
);
1160 if (!tc
) goto type_error
;
1161 *ptr
= SWIG_TypeCast(tc
,vptr
);
1166 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1167 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1173 if (pyobj
&& !obj
) {
1175 if (PyCFunction_Check(obj
)) {
1176 /* here we get the method pointer for callbacks */
1177 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1178 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1180 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1181 if (!c
) goto type_error
;
1186 if (flags
& SWIG_POINTER_EXCEPTION
) {
1188 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1190 SWIG_Python_TypeError("C/C++ pointer", obj
);
1196 /* Convert a pointer value, signal an exception on a type mismatch */
1198 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1200 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1202 if (flags
& SWIG_POINTER_EXCEPTION
) {
1203 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1204 SWIG_Python_ArgFail(argnum
);
1210 /* Convert a packed value value */
1212 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1216 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1217 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1219 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1220 c
= PyString_AS_STRING(obj
);
1221 /* Pointer values must start with leading underscore */
1222 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1224 if (!c
) goto type_error
;
1226 tc
= SWIG_TypeCheck(c
,ty
);
1227 if (!tc
) goto type_error
;
1233 if (flags
& SWIG_POINTER_EXCEPTION
) {
1235 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1237 SWIG_Python_TypeError("C/C++ packed data", obj
);
1243 /* Create a new array object */
1244 SWIGRUNTIME PyObject
*
1245 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1251 #ifdef SWIG_COBJECT_TYPES
1252 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1255 char result
[SWIG_BUFFER_SIZE
];
1256 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1257 PyString_FromString(result
) : 0;
1260 if (!robj
|| (robj
== Py_None
)) return robj
;
1261 if (type
->clientdata
) {
1263 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1265 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1269 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1277 SWIGRUNTIME PyObject
*
1278 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1284 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1285 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1288 char result
[SWIG_BUFFER_SIZE
];
1289 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1290 PyString_FromString(result
) : 0;
1296 /* -----------------------------------------------------------------------------*
1298 * -----------------------------------------------------------------------------*/
1300 #ifdef SWIG_LINK_RUNTIME
1301 void *SWIG_ReturnGlobalTypeList(void *);
1304 SWIGRUNTIME swig_type_info
**
1305 SWIG_Python_GetTypeListHandle() {
1306 static void *type_pointer
= (void *)0;
1307 /* first check if module already created */
1308 if (!type_pointer
) {
1309 #ifdef SWIG_LINK_RUNTIME
1310 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1312 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1313 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1314 if (PyErr_Occurred()) {
1316 type_pointer
= (void *)0;
1320 return (swig_type_info
**) type_pointer
;
1324 Search for a swig_type_info structure
1326 SWIGRUNTIMEINLINE swig_type_info
*
1327 SWIG_Python_GetTypeList() {
1328 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1329 return tlh
? *tlh
: (swig_type_info
*)0;
1332 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1339 /* -------- TYPES TABLE (BEGIN) -------- */
1341 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
1342 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
1343 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
1344 #define SWIGTYPE_p_wxPyPanel swig_types[3]
1345 #define SWIGTYPE_p_wxMenu swig_types[4]
1346 #define SWIGTYPE_p_wxFontData swig_types[5]
1347 #define SWIGTYPE_p_wxEvent swig_types[6]
1348 #define SWIGTYPE_p_wxPrintData swig_types[7]
1349 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
1350 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[9]
1351 #define SWIGTYPE_p_wxIconBundle swig_types[10]
1352 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[11]
1353 #define SWIGTYPE_p_wxFindDialogEvent swig_types[12]
1354 #define SWIGTYPE_p_wxPreviewCanvas swig_types[13]
1355 #define SWIGTYPE_p_wxFont swig_types[14]
1356 #define SWIGTYPE_p_wxSplitterEvent swig_types[15]
1357 #define SWIGTYPE_p_wxRegion swig_types[16]
1358 #define SWIGTYPE_ptrdiff_t swig_types[17]
1359 #define SWIGTYPE_std__ptrdiff_t swig_types[18]
1360 #define SWIGTYPE_p_wxFindReplaceData swig_types[19]
1361 #define SWIGTYPE_p_int swig_types[20]
1362 #define SWIGTYPE_p_wxSize swig_types[21]
1363 #define SWIGTYPE_p_wxDC swig_types[22]
1364 #define SWIGTYPE_p_wxIcon swig_types[23]
1365 #define SWIGTYPE_p_wxVisualAttributes swig_types[24]
1366 #define SWIGTYPE_p_wxMDIChildFrame swig_types[25]
1367 #define SWIGTYPE_p_wxColourData swig_types[26]
1368 #define SWIGTYPE_p_wxNotifyEvent swig_types[27]
1369 #define SWIGTYPE_p_wxPyWindow swig_types[28]
1370 #define SWIGTYPE_p_form_ops_t swig_types[29]
1371 #define SWIGTYPE_p_wxSplashScreen swig_types[30]
1372 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[31]
1373 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[32]
1374 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[33]
1375 #define SWIGTYPE_p_wxFileDialog swig_types[34]
1376 #define SWIGTYPE_p_wxTextEntryDialog swig_types[35]
1377 #define SWIGTYPE_p_wxMessageDialog swig_types[36]
1378 #define SWIGTYPE_p_wxProgressDialog swig_types[37]
1379 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[38]
1380 #define SWIGTYPE_p_wxPrinter swig_types[39]
1381 #define SWIGTYPE_p_wxArrayInt swig_types[40]
1382 #define SWIGTYPE_p_wxDuplexMode swig_types[41]
1383 #define SWIGTYPE_p_wxEvtHandler swig_types[42]
1384 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[43]
1385 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[44]
1386 #define SWIGTYPE_p_wxPyVListBox swig_types[45]
1387 #define SWIGTYPE_p_wxRect swig_types[46]
1388 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[47]
1389 #define SWIGTYPE_p_char swig_types[48]
1390 #define SWIGTYPE_p_wxMiniFrame swig_types[49]
1391 #define SWIGTYPE_p_wxFrame swig_types[50]
1392 #define SWIGTYPE_p_wxPyPrintout swig_types[51]
1393 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[52]
1394 #define SWIGTYPE_p_wxScrollWinEvent swig_types[53]
1395 #define SWIGTYPE_p_wxPaperSize swig_types[54]
1396 #define SWIGTYPE_p_wxStatusBar swig_types[55]
1397 #define SWIGTYPE_p_wxMDIParentFrame swig_types[56]
1398 #define SWIGTYPE_p_wxPoint swig_types[57]
1399 #define SWIGTYPE_p_wxObject swig_types[58]
1400 #define SWIGTYPE_p_unsigned_long swig_types[59]
1401 #define SWIGTYPE_p_wxTipWindow swig_types[60]
1402 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[61]
1403 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[62]
1404 #define SWIGTYPE_p_wxSplitterWindow swig_types[63]
1405 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[64]
1406 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[65]
1407 #define SWIGTYPE_p_wxPopupWindow swig_types[66]
1408 #define SWIGTYPE_p_wxSashWindow swig_types[67]
1409 #define SWIGTYPE_p_wxTopLevelWindow swig_types[68]
1410 #define SWIGTYPE_p_wxWindow swig_types[69]
1411 #define SWIGTYPE_p_wxScrolledWindow swig_types[70]
1412 #define SWIGTYPE_p_wxMenuBar swig_types[71]
1413 #define SWIGTYPE_p_wxMDIClientWindow swig_types[72]
1414 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[73]
1415 #define SWIGTYPE_p_wxPrintPreview swig_types[74]
1416 #define SWIGTYPE_p_wxSashEvent swig_types[75]
1417 #define SWIGTYPE_p_wxString swig_types[76]
1418 #define SWIGTYPE_p_wxPyPrintPreview swig_types[77]
1419 #define SWIGTYPE_p_wxDirDialog swig_types[78]
1420 #define SWIGTYPE_p_wxColourDialog swig_types[79]
1421 #define SWIGTYPE_p_wxDialog swig_types[80]
1422 #define SWIGTYPE_p_wxPanel swig_types[81]
1423 #define SWIGTYPE_p_wxFontDialog swig_types[82]
1424 #define SWIGTYPE_p_wxPageSetupDialog swig_types[83]
1425 #define SWIGTYPE_p_wxPrintDialog swig_types[84]
1426 #define SWIGTYPE_p_wxFileSystem swig_types[85]
1427 #define SWIGTYPE_p_wxBitmap swig_types[86]
1428 #define SWIGTYPE_unsigned_int swig_types[87]
1429 #define SWIGTYPE_p_unsigned_int swig_types[88]
1430 #define SWIGTYPE_p_unsigned_char swig_types[89]
1431 #define SWIGTYPE_p_wxCommandEvent swig_types[90]
1432 #define SWIGTYPE_p_wxPreviewControlBar swig_types[91]
1433 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[92]
1434 #define SWIGTYPE_p_wxColour swig_types[93]
1435 #define SWIGTYPE_p_wxToolBar swig_types[94]
1436 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[95]
1437 #define SWIGTYPE_p_wxPrintDialogData swig_types[96]
1438 static swig_type_info
*swig_types
[98];
1440 /* -------- TYPES TABLE (END) -------- */
1443 /*-----------------------------------------------
1444 @(target):= _windows_.so
1445 ------------------------------------------------*/
1446 #define SWIG_init init_windows_
1448 #define SWIG_name "_windows_"
1450 #include "wx/wxPython/wxPython.h"
1451 #include "wx/wxPython/pyclasses.h"
1454 static const wxString
wxPyEmptyString(wxEmptyString
);
1455 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1463 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1466 if (value
< min_value
) {
1468 PyErr_Format(PyExc_OverflowError
,
1469 "value %ld is less than '%s' minimum %ld",
1470 value
, errmsg
, min_value
);
1473 } else if (value
> max_value
) {
1475 PyErr_Format(PyExc_OverflowError
,
1476 "value %ld is greater than '%s' maximum %ld",
1477 value
, errmsg
, max_value
);
1486 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1488 if (PyNumber_Check(obj
)) {
1489 if (val
) *val
= PyInt_AsLong(obj
);
1493 SWIG_type_error("number", obj
);
1499 #if INT_MAX != LONG_MAX
1501 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1503 const char* errmsg
= val
? "int" : (char*)0;
1505 if (SWIG_AsVal_long(obj
, &v
)) {
1506 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1507 if (val
) *val
= (int)(v
);
1516 SWIG_type_error(errmsg
, obj
);
1522 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1524 return SWIG_AsVal_long(obj
,(long*)val
);
1530 SWIG_As_int(PyObject
* obj
)
1533 if (!SWIG_AsVal_int(obj
, &v
)) {
1535 this is needed to make valgrind/purify happier.
1537 memset((void*)&v
, 0, sizeof(int));
1543 SWIGINTERNSHORT
long
1544 SWIG_As_long(PyObject
* obj
)
1547 if (!SWIG_AsVal_long(obj
, &v
)) {
1549 this is needed to make valgrind/purify happier.
1551 memset((void*)&v
, 0, sizeof(long));
1558 SWIG_Check_int(PyObject
* obj
)
1560 return SWIG_AsVal_int(obj
, (int*)0);
1565 SWIG_Check_long(PyObject
* obj
)
1567 return SWIG_AsVal_long(obj
, (long*)0);
1572 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1574 if (obj
== Py_True
) {
1575 if (val
) *val
= true;
1578 if (obj
== Py_False
) {
1579 if (val
) *val
= false;
1583 if (SWIG_AsVal_int(obj
, &res
)) {
1584 if (val
) *val
= res
? true : false;
1590 SWIG_type_error("bool", obj
);
1596 SWIGINTERNSHORT
bool
1597 SWIG_As_bool(PyObject
* obj
)
1600 if (!SWIG_AsVal_bool(obj
, &v
)) {
1602 this is needed to make valgrind/purify happier.
1604 memset((void*)&v
, 0, sizeof(bool));
1611 SWIG_Check_bool(PyObject
* obj
)
1613 return SWIG_AsVal_bool(obj
, (bool*)0);
1617 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1618 #define SWIG_From_int PyInt_FromLong
1622 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1628 } else if (target
== Py_None
) {
1632 if (!PyTuple_Check(target
)) {
1634 target
= PyTuple_New(1);
1635 PyTuple_SetItem(target
, 0, o2
);
1637 o3
= PyTuple_New(1);
1638 PyTuple_SetItem(o3
, 0, o
);
1641 target
= PySequence_Concat(o2
, o3
);
1651 SWIG_AsVal_double(PyObject
*obj
, double* val
)
1653 if (PyNumber_Check(obj
)) {
1654 if (val
) *val
= PyFloat_AsDouble(obj
);
1658 SWIG_type_error("number", obj
);
1664 SWIGINTERNSHORT
double
1665 SWIG_As_double(PyObject
* obj
)
1668 if (!SWIG_AsVal_double(obj
, &v
)) {
1670 this is needed to make valgrind/purify happier.
1672 memset((void*)&v
, 0, sizeof(double));
1679 SWIG_Check_double(PyObject
* obj
)
1681 return SWIG_AsVal_double(obj
, (double*)0);
1685 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1686 #define SWIG_From_double PyFloat_FromDouble
1689 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
1690 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
1691 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
1692 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
1694 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1695 #define SWIG_From_long PyInt_FromLong
1700 static wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
1702 self
->GetFieldRect(i
, r
);
1705 static const wxString
wxPySplitterNameStr(wxT("splitter"));
1706 static const wxString
wxPySashNameStr(wxT("sashWindow"));
1707 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
1709 #include <wx/popupwin.h>
1712 class wxPopupWindow
: public wxWindow
{
1714 wxPopupWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
1715 wxPopupWindow() { wxPyRaiseNotImplemented(); }
1718 class wxPyPopupTransientWindow
: public wxPopupWindow
1721 wxPyPopupTransientWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
1722 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
1726 #include <wx/tipwin.h>
1728 static wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
1729 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
1732 #include <wx/tipwin.h>
1735 #include <wx/vscroll.h>
1738 class wxPyVScrolledWindow
: public wxVScrolledWindow
1740 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
);
1742 wxPyVScrolledWindow() : wxVScrolledWindow() {}
1744 wxPyVScrolledWindow(wxWindow
*parent
,
1745 wxWindowID id
= wxID_ANY
,
1746 const wxPoint
& pos
= wxDefaultPosition
,
1747 const wxSize
& size
= wxDefaultSize
,
1749 const wxString
& name
= wxPyPanelNameStr
)
1750 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
1753 // Overridable virtuals
1755 // this function must be overridden in the derived class and it should
1756 // return the height of the given line in pixels
1757 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
1760 // this function doesn't have to be overridden but it may be useful to do
1761 // it if calculating the lines heights is a relatively expensive operation
1762 // as it gives the user code a possibility to calculate several of them at
1765 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
1766 // shouldn't rely on the latter being called for all lines in the interval
1767 // specified here. It is also possible that OnGetLineHeight() will be
1768 // called for the lines outside of this interval, so this is really just a
1769 // hint, not a promise.
1771 // finally note that lineMin is inclusive, while lineMax is exclusive, as
1773 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
1776 // when the number of lines changes, we try to estimate the total height
1777 // of all lines which is a rather expensive operation in terms of lines
1778 // access, so if the user code may estimate the average height
1779 // better/faster than we do, it should override this function to implement
1782 // this function should return the best guess for the total height it may
1784 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
1787 // Also expose some other interesting protected methods
1790 // find the index of the line we need to show at the top of the window such
1791 // that the last (fully or partially) visible line is the given one
1792 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
1793 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
1795 // get the total height of the lines between lineMin (inclusive) and
1796 // lineMax (exclusive)
1797 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
1798 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
1804 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
1806 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
1807 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
1808 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
1812 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1815 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1816 SWIG_type_error("unsigned number", obj
);
1819 *val
= (unsigned long)v
;
1824 SWIGINTERNSHORT
unsigned long
1825 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1828 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1830 this is needed to make valgrind/purify happier.
1832 memset((void*)&v
, 0, sizeof(unsigned long));
1839 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1841 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1845 SWIGINTERNSHORT PyObject
*
1846 SWIG_From_unsigned_SS_long(unsigned long value
)
1848 return (value
> LONG_MAX
) ?
1849 PyLong_FromUnsignedLong(value
)
1850 : PyInt_FromLong((long)(value
));
1854 #include <wx/vlbox.h>
1856 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
1858 class wxPyVListBox
: public wxVListBox
1860 DECLARE_ABSTRACT_CLASS(wxPyVListBox
);
1862 wxPyVListBox() : wxVListBox() {}
1864 wxPyVListBox(wxWindow
*parent
,
1865 wxWindowID id
= wxID_ANY
,
1866 const wxPoint
& pos
= wxDefaultPosition
,
1867 const wxSize
& size
= wxDefaultSize
,
1869 const wxString
& name
= wxPyVListBoxNameStr
)
1870 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
1873 // Overridable virtuals
1875 // the derived class must implement this function to actually draw the item
1876 // with the given index on the provided DC
1877 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
1878 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
1881 // the derived class must implement this method to return the height of the
1883 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
1884 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
1887 // this method may be used to draw separators between the lines; note that
1888 // the rectangle may be modified, typically to deflate it a bit before
1889 // passing to OnDrawItem()
1891 // the base class version doesn't do anything
1892 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
1893 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
1896 // this method is used to draw the items background and, maybe, a border
1899 // the base class version implements a reasonable default behaviour which
1900 // consists in drawing the selected item with the standard background
1901 // colour and drawing a border around the item if it is either selected or
1903 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
1904 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
1910 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
1912 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
1913 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
1914 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
1915 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
1918 static PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
1919 unsigned long cookie
= 0;
1920 int selected
= self
->GetFirstSelected(cookie
);
1921 bool blocked
= wxPyBeginBlockThreads();
1922 PyObject
* tup
= PyTuple_New(2);
1923 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
1924 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
1925 wxPyEndBlockThreads(blocked
);
1928 static PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
1929 int selected
= self
->GetNextSelected(cookie
);
1930 bool blocked
= wxPyBeginBlockThreads();
1931 PyObject
* tup
= PyTuple_New(2);
1932 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
1933 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
1934 wxPyEndBlockThreads(blocked
);
1938 #include <wx/htmllbox.h>
1941 class wxPyHtmlListBox
: public wxHtmlListBox
1943 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
);
1945 wxPyHtmlListBox() : wxHtmlListBox() {}
1947 wxPyHtmlListBox(wxWindow
*parent
,
1948 wxWindowID id
= wxID_ANY
,
1949 const wxPoint
& pos
= wxDefaultPosition
,
1950 const wxSize
& size
= wxDefaultSize
,
1952 const wxString
& name
= wxPyVListBoxNameStr
)
1953 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
1956 // Overridable virtuals
1958 // this method must be implemented in the derived class and should return
1959 // the body (i.e. without <html>) of the HTML for the given item
1960 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
1962 // this function may be overridden to decorate HTML returned by OnGetItem()
1963 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
1966 // // this method allows to customize the selection appearance: it may be used
1967 // // to specify the colour of the text which normally has the given colour
1968 // // colFg when it is inside the selection
1970 // // by default, the original colour is not used at all and all text has the
1971 // // same (default for this system) colour inside selection
1972 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
1974 // // this is the same as GetSelectedTextColour() but allows to customize the
1975 // // background colour -- this is even more rarely used as you can change it
1976 // // globally using SetSelectionBackground()
1977 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
1984 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
1986 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
1987 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
1993 #ifndef wxHAS_TASK_BAR_ICON
1994 // implement dummy classes for platforms that don't have it
1996 class wxTaskBarIcon
: public wxEvtHandler
1999 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
2003 class wxTaskBarIconEvent
: public wxEvent
2006 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
2007 { wxPyRaiseNotImplemented(); }
2008 virtual wxEvent
* Clone() const { return NULL
; }
2009 bool IsOk() const { return false; }
2010 bool IsIconInstalled() const { return false; }
2011 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
2012 bool RemoveIcon() { return false; }
2013 bool PopupMenu(wxMenu
*menu
) { return false; }
2017 wxEVT_TASKBAR_MOVE
= 0,
2018 wxEVT_TASKBAR_LEFT_DOWN
= 0,
2019 wxEVT_TASKBAR_LEFT_UP
= 0,
2020 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
2021 wxEVT_TASKBAR_RIGHT_UP
= 0,
2022 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
2023 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
2028 // Otherwise make a class that can virtualize CreatePopupMenu
2029 class wxPyTaskBarIcon
: public wxTaskBarIcon
2031 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
);
2033 wxPyTaskBarIcon() : wxTaskBarIcon()
2036 wxMenu
* CreatePopupMenu() {
2037 wxMenu
*rval
= NULL
;
2039 bool blocked
= wxPyBeginBlockThreads();
2040 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
2043 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2045 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
2050 wxPyEndBlockThreads(blocked
);
2052 rval
= wxTaskBarIcon::CreatePopupMenu();
2059 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
2063 static void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
2067 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
2068 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
2069 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
2070 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
2071 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
2072 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
2073 static PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
2075 self
->GetFilenames(arr
);
2076 return wxArrayString2PyList_helper(arr
);
2078 static PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
2080 self
->GetPaths(arr
);
2081 return wxArrayString2PyList_helper(arr
);
2083 static PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
2084 return wxArrayInt2PyList_helper(self
->GetSelections());
2086 static wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
const &message
,wxString
const &caption
,int choices
,wxString
*choices_array
,long style
=wxCHOICEDLG_STYLE
,wxPoint
const &pos
=wxDefaultPosition
){
2087 return new wxSingleChoiceDialog(parent
, message
, caption
,
2088 choices
, choices_array
, NULL
, style
, pos
);
2090 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
2094 // C++ version of Python aware wxWindow
2095 class wxPyWindow
: public wxWindow
2097 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
2099 wxPyWindow() : wxWindow() {}
2100 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
2101 const wxPoint
& pos
= wxDefaultPosition
,
2102 const wxSize
& size
= wxDefaultSize
,
2104 const wxString
& name
= wxPyPanelNameStr
)
2105 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
2107 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
2109 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2110 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2111 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2112 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2114 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2115 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2116 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2118 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2119 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2121 DEC_PYCALLBACK__(InitDialog
);
2122 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2123 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2124 DEC_PYCALLBACK_BOOL_(Validate
);
2126 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2127 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2128 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2130 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2131 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2133 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2134 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
2135 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2140 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
2142 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
2143 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
2144 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
2145 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
2147 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
2148 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
2149 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
2151 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
2152 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
2154 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
2155 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
2156 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
2157 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
2159 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
2160 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
2161 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
2163 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
2164 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
2166 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
2167 IMP_PYCALLBACK__COLOUR(wxPyWindow
, wxWindow
, ApplyParentThemeBackground
);
2168 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
2171 // C++ version of Python aware wxPanel
2172 class wxPyPanel
: public wxPanel
2174 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
2176 wxPyPanel() : wxPanel() {}
2177 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
2178 const wxPoint
& pos
= wxDefaultPosition
,
2179 const wxSize
& size
= wxDefaultSize
,
2181 const wxString
& name
= wxPyPanelNameStr
)
2182 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
2184 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
2187 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2188 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2189 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2190 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2192 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2193 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2194 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2196 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2197 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2199 DEC_PYCALLBACK__(InitDialog
);
2200 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2201 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2202 DEC_PYCALLBACK_BOOL_(Validate
);
2204 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2205 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2206 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2208 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2209 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2211 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2212 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
2213 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2218 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
2220 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
2221 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
2222 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
2223 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
2225 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
2226 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
2227 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
2229 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
2230 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
2232 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
2233 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
2234 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
2235 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
2237 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
2238 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
2239 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
2241 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
2242 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
2244 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
2245 IMP_PYCALLBACK__COLOUR(wxPyPanel
, wxPanel
, ApplyParentThemeBackground
);
2246 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
2249 // C++ version of Python aware wxScrolledWindow
2250 class wxPyScrolledWindow
: public wxScrolledWindow
2252 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
2254 wxPyScrolledWindow() : wxScrolledWindow() {}
2255 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
2256 const wxPoint
& pos
= wxDefaultPosition
,
2257 const wxSize
& size
= wxDefaultSize
,
2259 const wxString
& name
= wxPyPanelNameStr
)
2260 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
2262 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
2264 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2265 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2266 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2267 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2269 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2270 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2271 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2273 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2274 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2276 DEC_PYCALLBACK__(InitDialog
);
2277 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2278 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2279 DEC_PYCALLBACK_BOOL_(Validate
);
2281 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2282 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2283 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2285 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2286 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2288 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2289 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
2290 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2295 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
2297 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
2298 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
2299 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
2300 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
2302 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
2303 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
2304 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
2306 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
2307 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
2309 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
2310 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
2311 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
2312 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
2314 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
2315 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
2316 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
2318 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
2319 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
2321 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
2322 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow
, wxScrolledWindow
, ApplyParentThemeBackground
);
2323 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
2327 #include "wx/wxPython/printfw.h"
2330 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
2331 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
2334 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
2336 // Since this one would be tough and ugly to do with the Macros...
2337 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
2338 bool hadErr
= false;
2341 bool blocked
= wxPyBeginBlockThreads();
2342 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
2343 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2344 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
2347 val
= PyTuple_GetItem(result
, 0);
2348 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
2351 val
= PyTuple_GetItem(result
, 1);
2352 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
2355 val
= PyTuple_GetItem(result
, 2);
2356 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
2359 val
= PyTuple_GetItem(result
, 3);
2360 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
2367 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
2372 wxPyEndBlockThreads(blocked
);
2374 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
2377 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
2378 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
2382 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
2383 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
2384 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
2385 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
2386 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
2387 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
2388 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
2394 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
2395 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
2396 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
2399 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
2400 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2403 bool blocked = wxPyBeginBlockThreads(); \
2404 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2405 PyObject* win = wxPyMake_wxObject(a,false); \
2406 PyObject* dc = wxPyMake_wxObject(&b,false); \
2407 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
2411 wxPyEndBlockThreads(blocked); \
2413 rval = PCLASS::CBNAME(a, b); \
2416 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2417 return PCLASS::CBNAME(a, b); \
2423 class wxPyPrintPreview
: public wxPrintPreview
2425 DECLARE_CLASS(wxPyPrintPreview
)
2427 wxPyPrintPreview(wxPyPrintout
* printout
,
2428 wxPyPrintout
* printoutForPrinting
,
2429 wxPrintDialogData
* data
=NULL
)
2430 : wxPrintPreview(printout
, printoutForPrinting
, data
)
2432 wxPyPrintPreview(wxPyPrintout
* printout
,
2433 wxPyPrintout
* printoutForPrinting
,
2434 wxPrintData
* data
=NULL
)
2435 : wxPrintPreview(printout
, printoutForPrinting
, data
)
2438 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
2439 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
2440 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
2441 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
2442 DEC_PYCALLBACK_VOID_INT(SetZoom
);
2443 DEC_PYCALLBACK_BOOL_BOOL(Print
);
2444 DEC_PYCALLBACK_VOID_(DetermineScaling
);
2449 // Stupid renamed classes... Fix this in 2.5...
2450 #if defined(__WXMSW__)
2451 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
2452 #elif defined(__WXMAC__)
2453 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
2455 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
2458 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
2459 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
2460 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
2461 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
2462 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
2463 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
2464 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
2467 class wxPyPreviewFrame
: public wxPreviewFrame
2469 DECLARE_CLASS(wxPyPreviewFrame
);
2471 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
2472 const wxString
& title
,
2473 const wxPoint
& pos
= wxDefaultPosition
,
2474 const wxSize
& size
= wxDefaultSize
,
2475 long style
= wxDEFAULT_FRAME_STYLE
,
2476 const wxString
& name
= wxPyFrameNameStr
)
2477 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
2480 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
2481 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
2483 DEC_PYCALLBACK_VOID_(Initialize
);
2484 DEC_PYCALLBACK_VOID_(CreateCanvas
);
2485 DEC_PYCALLBACK_VOID_(CreateControlBar
);
2490 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
2492 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
2493 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
2494 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
2497 class wxPyPreviewControlBar
: public wxPreviewControlBar
2499 DECLARE_CLASS(wxPyPreviewControlBar
);
2501 wxPyPreviewControlBar(wxPrintPreview
*preview
,
2504 const wxPoint
& pos
= wxDefaultPosition
,
2505 const wxSize
& size
= wxDefaultSize
,
2507 const wxString
& name
= wxPyPanelNameStr
)
2508 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
2511 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
2513 DEC_PYCALLBACK_VOID_(CreateButtons
);
2514 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
2519 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
2520 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
2521 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
2526 static PyObject
*_wrap_new_Panel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2527 PyObject
*resultobj
;
2528 wxWindow
*arg1
= (wxWindow
*) 0 ;
2529 int arg2
= (int) (int)-1 ;
2530 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2531 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2532 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2533 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2534 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
2535 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
2536 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
2540 bool temp6
= false ;
2541 PyObject
* obj0
= 0 ;
2542 PyObject
* obj1
= 0 ;
2543 PyObject
* obj2
= 0 ;
2544 PyObject
* obj3
= 0 ;
2545 PyObject
* obj4
= 0 ;
2546 PyObject
* obj5
= 0 ;
2548 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
2552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2553 if (SWIG_arg_fail(1)) SWIG_fail
;
2556 arg2
= (int const)(SWIG_As_int(obj1
));
2557 if (SWIG_arg_fail(2)) SWIG_fail
;
2563 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2569 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2574 arg5
= (long)(SWIG_As_long(obj4
));
2575 if (SWIG_arg_fail(5)) SWIG_fail
;
2580 arg6
= wxString_in_helper(obj5
);
2581 if (arg6
== NULL
) SWIG_fail
;
2586 if (!wxPyCheckForApp()) SWIG_fail
;
2587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2588 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
2590 wxPyEndAllowThreads(__tstate
);
2591 if (PyErr_Occurred()) SWIG_fail
;
2593 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
2608 static PyObject
*_wrap_new_PrePanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2609 PyObject
*resultobj
;
2615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
2617 if (!wxPyCheckForApp()) SWIG_fail
;
2618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2619 result
= (wxPanel
*)new wxPanel();
2621 wxPyEndAllowThreads(__tstate
);
2622 if (PyErr_Occurred()) SWIG_fail
;
2624 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
2631 static PyObject
*_wrap_Panel_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2632 PyObject
*resultobj
;
2633 wxPanel
*arg1
= (wxPanel
*) 0 ;
2634 wxWindow
*arg2
= (wxWindow
*) 0 ;
2635 int arg3
= (int) (int)-1 ;
2636 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2637 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2638 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2639 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2640 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
2641 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
2642 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2646 bool temp7
= false ;
2647 PyObject
* obj0
= 0 ;
2648 PyObject
* obj1
= 0 ;
2649 PyObject
* obj2
= 0 ;
2650 PyObject
* obj3
= 0 ;
2651 PyObject
* obj4
= 0 ;
2652 PyObject
* obj5
= 0 ;
2653 PyObject
* obj6
= 0 ;
2655 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2660 if (SWIG_arg_fail(1)) SWIG_fail
;
2661 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2662 if (SWIG_arg_fail(2)) SWIG_fail
;
2665 arg3
= (int const)(SWIG_As_int(obj2
));
2666 if (SWIG_arg_fail(3)) SWIG_fail
;
2672 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2678 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2683 arg6
= (long)(SWIG_As_long(obj5
));
2684 if (SWIG_arg_fail(6)) SWIG_fail
;
2689 arg7
= wxString_in_helper(obj6
);
2690 if (arg7
== NULL
) SWIG_fail
;
2695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2696 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
2698 wxPyEndAllowThreads(__tstate
);
2699 if (PyErr_Occurred()) SWIG_fail
;
2702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2718 static PyObject
*_wrap_Panel_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2719 PyObject
*resultobj
;
2720 wxPanel
*arg1
= (wxPanel
*) 0 ;
2721 PyObject
* obj0
= 0 ;
2723 (char *) "self", NULL
2726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
2727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2728 if (SWIG_arg_fail(1)) SWIG_fail
;
2730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2731 (arg1
)->InitDialog();
2733 wxPyEndAllowThreads(__tstate
);
2734 if (PyErr_Occurred()) SWIG_fail
;
2736 Py_INCREF(Py_None
); resultobj
= Py_None
;
2743 static PyObject
*_wrap_Panel_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2744 PyObject
*resultobj
;
2745 wxPanel
*arg1
= (wxPanel
*) 0 ;
2746 PyObject
* obj0
= 0 ;
2748 (char *) "self", NULL
2751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_SetFocus",kwnames
,&obj0
)) goto fail
;
2752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2753 if (SWIG_arg_fail(1)) SWIG_fail
;
2755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2758 wxPyEndAllowThreads(__tstate
);
2759 if (PyErr_Occurred()) SWIG_fail
;
2761 Py_INCREF(Py_None
); resultobj
= Py_None
;
2768 static PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2769 PyObject
*resultobj
;
2770 wxPanel
*arg1
= (wxPanel
*) 0 ;
2771 PyObject
* obj0
= 0 ;
2773 (char *) "self", NULL
2776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_SetFocusIgnoringChildren",kwnames
,&obj0
)) goto fail
;
2777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2778 if (SWIG_arg_fail(1)) SWIG_fail
;
2780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2781 (arg1
)->SetFocusIgnoringChildren();
2783 wxPyEndAllowThreads(__tstate
);
2784 if (PyErr_Occurred()) SWIG_fail
;
2786 Py_INCREF(Py_None
); resultobj
= Py_None
;
2793 static PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2794 PyObject
*resultobj
;
2795 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
2796 wxVisualAttributes result
;
2797 PyObject
* obj0
= 0 ;
2799 (char *) "variant", NULL
2802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2805 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
2806 if (SWIG_arg_fail(1)) SWIG_fail
;
2810 if (!wxPyCheckForApp()) SWIG_fail
;
2811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2812 result
= wxPanel::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2814 wxPyEndAllowThreads(__tstate
);
2815 if (PyErr_Occurred()) SWIG_fail
;
2818 wxVisualAttributes
* resultptr
;
2819 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
2820 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2828 static PyObject
* Panel_swigregister(PyObject
*, PyObject
*args
) {
2830 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2831 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
2833 return Py_BuildValue((char *)"");
2835 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2836 PyObject
*resultobj
;
2837 wxWindow
*arg1
= (wxWindow
*) 0 ;
2838 int arg2
= (int) (int)-1 ;
2839 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2840 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2841 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2842 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2843 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
2844 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
2845 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
2846 wxScrolledWindow
*result
;
2849 bool temp6
= false ;
2850 PyObject
* obj0
= 0 ;
2851 PyObject
* obj1
= 0 ;
2852 PyObject
* obj2
= 0 ;
2853 PyObject
* obj3
= 0 ;
2854 PyObject
* obj4
= 0 ;
2855 PyObject
* obj5
= 0 ;
2857 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
2861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2862 if (SWIG_arg_fail(1)) SWIG_fail
;
2865 arg2
= (int const)(SWIG_As_int(obj1
));
2866 if (SWIG_arg_fail(2)) SWIG_fail
;
2872 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2878 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2883 arg5
= (long)(SWIG_As_long(obj4
));
2884 if (SWIG_arg_fail(5)) SWIG_fail
;
2889 arg6
= wxString_in_helper(obj5
);
2890 if (arg6
== NULL
) SWIG_fail
;
2895 if (!wxPyCheckForApp()) SWIG_fail
;
2896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2897 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
2899 wxPyEndAllowThreads(__tstate
);
2900 if (PyErr_Occurred()) SWIG_fail
;
2902 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
2917 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2918 PyObject
*resultobj
;
2919 wxScrolledWindow
*result
;
2924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
2926 if (!wxPyCheckForApp()) SWIG_fail
;
2927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2928 result
= (wxScrolledWindow
*)new wxScrolledWindow();
2930 wxPyEndAllowThreads(__tstate
);
2931 if (PyErr_Occurred()) SWIG_fail
;
2933 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
2940 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2941 PyObject
*resultobj
;
2942 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2943 wxWindow
*arg2
= (wxWindow
*) 0 ;
2944 int arg3
= (int) (int)-1 ;
2945 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2946 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2947 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2948 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2949 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
2950 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
2951 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2955 bool temp7
= false ;
2956 PyObject
* obj0
= 0 ;
2957 PyObject
* obj1
= 0 ;
2958 PyObject
* obj2
= 0 ;
2959 PyObject
* obj3
= 0 ;
2960 PyObject
* obj4
= 0 ;
2961 PyObject
* obj5
= 0 ;
2962 PyObject
* obj6
= 0 ;
2964 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
2969 if (SWIG_arg_fail(1)) SWIG_fail
;
2970 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2971 if (SWIG_arg_fail(2)) SWIG_fail
;
2974 arg3
= (int const)(SWIG_As_int(obj2
));
2975 if (SWIG_arg_fail(3)) SWIG_fail
;
2981 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2987 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2992 arg6
= (long)(SWIG_As_long(obj5
));
2993 if (SWIG_arg_fail(6)) SWIG_fail
;
2998 arg7
= wxString_in_helper(obj6
);
2999 if (arg7
== NULL
) SWIG_fail
;
3004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3005 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3007 wxPyEndAllowThreads(__tstate
);
3008 if (PyErr_Occurred()) SWIG_fail
;
3011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3027 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3028 PyObject
*resultobj
;
3029 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3034 int arg6
= (int) 0 ;
3035 int arg7
= (int) 0 ;
3036 bool arg8
= (bool) false ;
3037 PyObject
* obj0
= 0 ;
3038 PyObject
* obj1
= 0 ;
3039 PyObject
* obj2
= 0 ;
3040 PyObject
* obj3
= 0 ;
3041 PyObject
* obj4
= 0 ;
3042 PyObject
* obj5
= 0 ;
3043 PyObject
* obj6
= 0 ;
3044 PyObject
* obj7
= 0 ;
3046 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
3049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3051 if (SWIG_arg_fail(1)) SWIG_fail
;
3053 arg2
= (int)(SWIG_As_int(obj1
));
3054 if (SWIG_arg_fail(2)) SWIG_fail
;
3057 arg3
= (int)(SWIG_As_int(obj2
));
3058 if (SWIG_arg_fail(3)) SWIG_fail
;
3061 arg4
= (int)(SWIG_As_int(obj3
));
3062 if (SWIG_arg_fail(4)) SWIG_fail
;
3065 arg5
= (int)(SWIG_As_int(obj4
));
3066 if (SWIG_arg_fail(5)) SWIG_fail
;
3070 arg6
= (int)(SWIG_As_int(obj5
));
3071 if (SWIG_arg_fail(6)) SWIG_fail
;
3076 arg7
= (int)(SWIG_As_int(obj6
));
3077 if (SWIG_arg_fail(7)) SWIG_fail
;
3082 arg8
= (bool)(SWIG_As_bool(obj7
));
3083 if (SWIG_arg_fail(8)) SWIG_fail
;
3087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3088 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
3090 wxPyEndAllowThreads(__tstate
);
3091 if (PyErr_Occurred()) SWIG_fail
;
3093 Py_INCREF(Py_None
); resultobj
= Py_None
;
3100 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3101 PyObject
*resultobj
;
3102 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3105 PyObject
* obj0
= 0 ;
3106 PyObject
* obj1
= 0 ;
3107 PyObject
* obj2
= 0 ;
3109 (char *) "self",(char *) "x",(char *) "y", NULL
3112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3114 if (SWIG_arg_fail(1)) SWIG_fail
;
3116 arg2
= (int)(SWIG_As_int(obj1
));
3117 if (SWIG_arg_fail(2)) SWIG_fail
;
3120 arg3
= (int)(SWIG_As_int(obj2
));
3121 if (SWIG_arg_fail(3)) SWIG_fail
;
3124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3125 (arg1
)->Scroll(arg2
,arg3
);
3127 wxPyEndAllowThreads(__tstate
);
3128 if (PyErr_Occurred()) SWIG_fail
;
3130 Py_INCREF(Py_None
); resultobj
= Py_None
;
3137 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3138 PyObject
*resultobj
;
3139 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3142 PyObject
* obj0
= 0 ;
3143 PyObject
* obj1
= 0 ;
3145 (char *) "self",(char *) "orient", NULL
3148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3150 if (SWIG_arg_fail(1)) SWIG_fail
;
3152 arg2
= (int)(SWIG_As_int(obj1
));
3153 if (SWIG_arg_fail(2)) SWIG_fail
;
3156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3157 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
3159 wxPyEndAllowThreads(__tstate
);
3160 if (PyErr_Occurred()) SWIG_fail
;
3163 resultobj
= SWIG_From_int((int)(result
));
3171 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3172 PyObject
*resultobj
;
3173 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3176 PyObject
* obj0
= 0 ;
3177 PyObject
* obj1
= 0 ;
3178 PyObject
* obj2
= 0 ;
3180 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
3183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3185 if (SWIG_arg_fail(1)) SWIG_fail
;
3187 arg2
= (int)(SWIG_As_int(obj1
));
3188 if (SWIG_arg_fail(2)) SWIG_fail
;
3191 arg3
= (int)(SWIG_As_int(obj2
));
3192 if (SWIG_arg_fail(3)) SWIG_fail
;
3195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3196 (arg1
)->SetScrollPageSize(arg2
,arg3
);
3198 wxPyEndAllowThreads(__tstate
);
3199 if (PyErr_Occurred()) SWIG_fail
;
3201 Py_INCREF(Py_None
); resultobj
= Py_None
;
3208 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3209 PyObject
*resultobj
;
3210 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3213 PyObject
* obj0
= 0 ;
3214 PyObject
* obj1
= 0 ;
3215 PyObject
* obj2
= 0 ;
3217 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
3220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3222 if (SWIG_arg_fail(1)) SWIG_fail
;
3224 arg2
= (int)(SWIG_As_int(obj1
));
3225 if (SWIG_arg_fail(2)) SWIG_fail
;
3228 arg3
= (int)(SWIG_As_int(obj2
));
3229 if (SWIG_arg_fail(3)) SWIG_fail
;
3232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3233 (arg1
)->SetScrollRate(arg2
,arg3
);
3235 wxPyEndAllowThreads(__tstate
);
3236 if (PyErr_Occurred()) SWIG_fail
;
3238 Py_INCREF(Py_None
); resultobj
= Py_None
;
3245 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3246 PyObject
*resultobj
;
3247 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3248 int *arg2
= (int *) 0 ;
3249 int *arg3
= (int *) 0 ;
3254 PyObject
* obj0
= 0 ;
3256 (char *) "self", NULL
3259 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3260 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
3261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
3262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3263 if (SWIG_arg_fail(1)) SWIG_fail
;
3265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3266 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
3268 wxPyEndAllowThreads(__tstate
);
3269 if (PyErr_Occurred()) SWIG_fail
;
3271 Py_INCREF(Py_None
); resultobj
= Py_None
;
3272 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3273 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3274 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
3275 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
3282 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3283 PyObject
*resultobj
;
3284 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3287 PyObject
* obj0
= 0 ;
3288 PyObject
* obj1
= 0 ;
3289 PyObject
* obj2
= 0 ;
3291 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
3294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3296 if (SWIG_arg_fail(1)) SWIG_fail
;
3298 arg2
= (bool)(SWIG_As_bool(obj1
));
3299 if (SWIG_arg_fail(2)) SWIG_fail
;
3302 arg3
= (bool)(SWIG_As_bool(obj2
));
3303 if (SWIG_arg_fail(3)) SWIG_fail
;
3306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3307 (arg1
)->EnableScrolling(arg2
,arg3
);
3309 wxPyEndAllowThreads(__tstate
);
3310 if (PyErr_Occurred()) SWIG_fail
;
3312 Py_INCREF(Py_None
); resultobj
= Py_None
;
3319 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3320 PyObject
*resultobj
;
3321 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3322 int *arg2
= (int *) 0 ;
3323 int *arg3
= (int *) 0 ;
3328 PyObject
* obj0
= 0 ;
3330 (char *) "self", NULL
3333 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3334 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
3335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
3336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3337 if (SWIG_arg_fail(1)) SWIG_fail
;
3339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3340 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
3342 wxPyEndAllowThreads(__tstate
);
3343 if (PyErr_Occurred()) SWIG_fail
;
3345 Py_INCREF(Py_None
); resultobj
= Py_None
;
3346 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3347 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3348 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
3349 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
3356 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3357 PyObject
*resultobj
;
3358 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3361 PyObject
* obj0
= 0 ;
3362 PyObject
* obj1
= 0 ;
3363 PyObject
* obj2
= 0 ;
3365 (char *) "self",(char *) "xs",(char *) "ys", NULL
3368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3370 if (SWIG_arg_fail(1)) SWIG_fail
;
3372 arg2
= (double)(SWIG_As_double(obj1
));
3373 if (SWIG_arg_fail(2)) SWIG_fail
;
3376 arg3
= (double)(SWIG_As_double(obj2
));
3377 if (SWIG_arg_fail(3)) SWIG_fail
;
3380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3381 (arg1
)->SetScale(arg2
,arg3
);
3383 wxPyEndAllowThreads(__tstate
);
3384 if (PyErr_Occurred()) SWIG_fail
;
3386 Py_INCREF(Py_None
); resultobj
= Py_None
;
3393 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3394 PyObject
*resultobj
;
3395 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3397 PyObject
* obj0
= 0 ;
3399 (char *) "self", NULL
3402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
3403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3404 if (SWIG_arg_fail(1)) SWIG_fail
;
3406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3407 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
3409 wxPyEndAllowThreads(__tstate
);
3410 if (PyErr_Occurred()) SWIG_fail
;
3413 resultobj
= SWIG_From_double((double)(result
));
3421 static PyObject
*_wrap_ScrolledWindow_GetScaleY(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_GetScaleY",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
)->GetScaleY();
3437 wxPyEndAllowThreads(__tstate
);
3438 if (PyErr_Occurred()) SWIG_fail
;
3441 resultobj
= SWIG_From_double((double)(result
));
3449 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
3450 PyObject
*resultobj
;
3451 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3455 PyObject
* obj0
= 0 ;
3456 PyObject
* obj1
= 0 ;
3458 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
3459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3460 if (SWIG_arg_fail(1)) SWIG_fail
;
3463 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3467 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
3469 wxPyEndAllowThreads(__tstate
);
3470 if (PyErr_Occurred()) SWIG_fail
;
3473 wxPoint
* resultptr
;
3474 resultptr
= new wxPoint((wxPoint
&)(result
));
3475 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3483 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
3484 PyObject
*resultobj
;
3485 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3488 int *arg4
= (int *) 0 ;
3489 int *arg5
= (int *) 0 ;
3494 PyObject
* obj0
= 0 ;
3495 PyObject
* obj1
= 0 ;
3496 PyObject
* obj2
= 0 ;
3498 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
3499 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
3500 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
3501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3502 if (SWIG_arg_fail(1)) SWIG_fail
;
3504 arg2
= (int)(SWIG_As_int(obj1
));
3505 if (SWIG_arg_fail(2)) SWIG_fail
;
3508 arg3
= (int)(SWIG_As_int(obj2
));
3509 if (SWIG_arg_fail(3)) SWIG_fail
;
3512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3513 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
3515 wxPyEndAllowThreads(__tstate
);
3516 if (PyErr_Occurred()) SWIG_fail
;
3518 Py_INCREF(Py_None
); resultobj
= Py_None
;
3519 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
3520 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
3521 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
3522 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
3529 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
3534 argc
= PyObject_Length(args
);
3535 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
3536 argv
[ii
] = PyTuple_GetItem(args
,ii
);
3542 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3551 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
3554 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
3562 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3570 _v
= SWIG_Check_int(argv
[1]);
3572 _v
= SWIG_Check_int(argv
[2]);
3574 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
3580 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
3585 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
3586 PyObject
*resultobj
;
3587 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3591 PyObject
* obj0
= 0 ;
3592 PyObject
* obj1
= 0 ;
3594 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
3595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3596 if (SWIG_arg_fail(1)) SWIG_fail
;
3599 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3603 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
3605 wxPyEndAllowThreads(__tstate
);
3606 if (PyErr_Occurred()) SWIG_fail
;
3609 wxPoint
* resultptr
;
3610 resultptr
= new wxPoint((wxPoint
&)(result
));
3611 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3619 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
3620 PyObject
*resultobj
;
3621 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3624 int *arg4
= (int *) 0 ;
3625 int *arg5
= (int *) 0 ;
3630 PyObject
* obj0
= 0 ;
3631 PyObject
* obj1
= 0 ;
3632 PyObject
* obj2
= 0 ;
3634 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
3635 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
3636 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
3637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3638 if (SWIG_arg_fail(1)) SWIG_fail
;
3640 arg2
= (int)(SWIG_As_int(obj1
));
3641 if (SWIG_arg_fail(2)) SWIG_fail
;
3644 arg3
= (int)(SWIG_As_int(obj2
));
3645 if (SWIG_arg_fail(3)) SWIG_fail
;
3648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3649 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
3651 wxPyEndAllowThreads(__tstate
);
3652 if (PyErr_Occurred()) SWIG_fail
;
3654 Py_INCREF(Py_None
); resultobj
= Py_None
;
3655 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
3656 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
3657 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
3658 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
3665 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
3670 argc
= PyObject_Length(args
);
3671 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
3672 argv
[ii
] = PyTuple_GetItem(args
,ii
);
3678 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3687 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
3690 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
3698 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3706 _v
= SWIG_Check_int(argv
[1]);
3708 _v
= SWIG_Check_int(argv
[2]);
3710 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
3716 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
3721 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3722 PyObject
*resultobj
;
3723 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3724 PyObject
* obj0
= 0 ;
3726 (char *) "self", NULL
3729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
3730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3731 if (SWIG_arg_fail(1)) SWIG_fail
;
3733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3734 (arg1
)->AdjustScrollbars();
3736 wxPyEndAllowThreads(__tstate
);
3737 if (PyErr_Occurred()) SWIG_fail
;
3739 Py_INCREF(Py_None
); resultobj
= Py_None
;
3746 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3747 PyObject
*resultobj
;
3748 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3749 wxScrollWinEvent
*arg2
= 0 ;
3751 PyObject
* obj0
= 0 ;
3752 PyObject
* obj1
= 0 ;
3754 (char *) "self",(char *) "event", NULL
3757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) 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 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
3762 if (SWIG_arg_fail(2)) SWIG_fail
;
3764 SWIG_null_ref("wxScrollWinEvent");
3766 if (SWIG_arg_fail(2)) SWIG_fail
;
3769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3770 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
3772 wxPyEndAllowThreads(__tstate
);
3773 if (PyErr_Occurred()) SWIG_fail
;
3776 resultobj
= SWIG_From_int((int)(result
));
3784 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3785 PyObject
*resultobj
;
3786 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3787 wxWindow
*arg2
= (wxWindow
*) 0 ;
3788 PyObject
* obj0
= 0 ;
3789 PyObject
* obj1
= 0 ;
3791 (char *) "self",(char *) "target", NULL
3794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
3795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3796 if (SWIG_arg_fail(1)) SWIG_fail
;
3797 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3798 if (SWIG_arg_fail(2)) SWIG_fail
;
3800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3801 (arg1
)->SetTargetWindow(arg2
);
3803 wxPyEndAllowThreads(__tstate
);
3804 if (PyErr_Occurred()) SWIG_fail
;
3806 Py_INCREF(Py_None
); resultobj
= Py_None
;
3813 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3814 PyObject
*resultobj
;
3815 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3817 PyObject
* obj0
= 0 ;
3819 (char *) "self", NULL
3822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
3823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3824 if (SWIG_arg_fail(1)) SWIG_fail
;
3826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3827 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
3829 wxPyEndAllowThreads(__tstate
);
3830 if (PyErr_Occurred()) SWIG_fail
;
3833 resultobj
= wxPyMake_wxObject(result
, 0);
3841 static PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3842 PyObject
*resultobj
;
3843 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3846 PyObject
* obj0
= 0 ;
3847 PyObject
* obj1
= 0 ;
3849 (char *) "self",(char *) "rect", NULL
3852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
3853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3854 if (SWIG_arg_fail(1)) SWIG_fail
;
3857 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3861 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
3863 wxPyEndAllowThreads(__tstate
);
3864 if (PyErr_Occurred()) SWIG_fail
;
3866 Py_INCREF(Py_None
); resultobj
= Py_None
;
3873 static PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3874 PyObject
*resultobj
;
3875 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3877 PyObject
* obj0
= 0 ;
3879 (char *) "self", NULL
3882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetRect",kwnames
,&obj0
)) goto fail
;
3883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3884 if (SWIG_arg_fail(1)) SWIG_fail
;
3886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3887 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
3889 wxPyEndAllowThreads(__tstate
);
3890 if (PyErr_Occurred()) SWIG_fail
;
3894 resultptr
= new wxRect((wxRect
&)(result
));
3895 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
3903 static PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3904 PyObject
*resultobj
;
3905 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3907 PyObject
* obj0
= 0 ;
3908 PyObject
* obj1
= 0 ;
3910 (char *) "self",(char *) "dc", NULL
3913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
3914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3915 if (SWIG_arg_fail(1)) SWIG_fail
;
3917 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
3918 if (SWIG_arg_fail(2)) SWIG_fail
;
3920 SWIG_null_ref("wxDC");
3922 if (SWIG_arg_fail(2)) SWIG_fail
;
3925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3926 (arg1
)->DoPrepareDC(*arg2
);
3928 wxPyEndAllowThreads(__tstate
);
3929 if (PyErr_Occurred()) SWIG_fail
;
3931 Py_INCREF(Py_None
); resultobj
= Py_None
;
3938 static PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3939 PyObject
*resultobj
;
3940 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3941 wxVisualAttributes result
;
3942 PyObject
* obj0
= 0 ;
3944 (char *) "variant", NULL
3947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3950 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
3951 if (SWIG_arg_fail(1)) SWIG_fail
;
3955 if (!wxPyCheckForApp()) SWIG_fail
;
3956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3957 result
= wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3959 wxPyEndAllowThreads(__tstate
);
3960 if (PyErr_Occurred()) SWIG_fail
;
3963 wxVisualAttributes
* resultptr
;
3964 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
3965 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3973 static PyObject
* ScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
3975 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3976 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
3978 return Py_BuildValue((char *)"");
3980 static int _wrap_FrameNameStr_set(PyObject
*) {
3981 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
3986 static PyObject
*_wrap_FrameNameStr_get(void) {
3991 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
3993 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
4000 static int _wrap_DialogNameStr_set(PyObject
*) {
4001 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
4006 static PyObject
*_wrap_DialogNameStr_get(void) {
4011 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
4013 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
4020 static int _wrap_StatusLineNameStr_set(PyObject
*) {
4021 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
4026 static PyObject
*_wrap_StatusLineNameStr_get(void) {
4031 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
4033 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
4040 static int _wrap_ToolBarNameStr_set(PyObject
*) {
4041 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
4046 static PyObject
*_wrap_ToolBarNameStr_get(void) {
4051 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
4053 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
4060 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4061 PyObject
*resultobj
;
4062 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4063 bool arg2
= (bool) true ;
4064 PyObject
* obj0
= 0 ;
4065 PyObject
* obj1
= 0 ;
4067 (char *) "self",(char *) "maximize", NULL
4070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
4071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4072 if (SWIG_arg_fail(1)) SWIG_fail
;
4075 arg2
= (bool)(SWIG_As_bool(obj1
));
4076 if (SWIG_arg_fail(2)) SWIG_fail
;
4080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4081 (arg1
)->Maximize(arg2
);
4083 wxPyEndAllowThreads(__tstate
);
4084 if (PyErr_Occurred()) SWIG_fail
;
4086 Py_INCREF(Py_None
); resultobj
= Py_None
;
4093 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4094 PyObject
*resultobj
;
4095 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4096 PyObject
* obj0
= 0 ;
4098 (char *) "self", NULL
4101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
4102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4103 if (SWIG_arg_fail(1)) SWIG_fail
;
4105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4108 wxPyEndAllowThreads(__tstate
);
4109 if (PyErr_Occurred()) SWIG_fail
;
4111 Py_INCREF(Py_None
); resultobj
= Py_None
;
4118 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4119 PyObject
*resultobj
;
4120 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4121 bool arg2
= (bool) true ;
4122 PyObject
* obj0
= 0 ;
4123 PyObject
* obj1
= 0 ;
4125 (char *) "self",(char *) "iconize", NULL
4128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
4129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4130 if (SWIG_arg_fail(1)) SWIG_fail
;
4133 arg2
= (bool)(SWIG_As_bool(obj1
));
4134 if (SWIG_arg_fail(2)) SWIG_fail
;
4138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4139 (arg1
)->Iconize(arg2
);
4141 wxPyEndAllowThreads(__tstate
);
4142 if (PyErr_Occurred()) SWIG_fail
;
4144 Py_INCREF(Py_None
); resultobj
= Py_None
;
4151 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4152 PyObject
*resultobj
;
4153 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4155 PyObject
* obj0
= 0 ;
4157 (char *) "self", NULL
4160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
4161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4162 if (SWIG_arg_fail(1)) SWIG_fail
;
4164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4165 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
4167 wxPyEndAllowThreads(__tstate
);
4168 if (PyErr_Occurred()) SWIG_fail
;
4171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4179 static PyObject
*_wrap_TopLevelWindow_IsIconized(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_IsIconized",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
)->IsIconized();
4195 wxPyEndAllowThreads(__tstate
);
4196 if (PyErr_Occurred()) SWIG_fail
;
4199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4207 static PyObject
*_wrap_TopLevelWindow_GetIcon(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_GetIcon",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
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
4223 wxPyEndAllowThreads(__tstate
);
4224 if (PyErr_Occurred()) SWIG_fail
;
4228 resultptr
= new wxIcon((wxIcon
&)(result
));
4229 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
4237 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4238 PyObject
*resultobj
;
4239 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4241 PyObject
* obj0
= 0 ;
4242 PyObject
* obj1
= 0 ;
4244 (char *) "self",(char *) "icon", NULL
4247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4249 if (SWIG_arg_fail(1)) SWIG_fail
;
4251 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
4252 if (SWIG_arg_fail(2)) SWIG_fail
;
4254 SWIG_null_ref("wxIcon");
4256 if (SWIG_arg_fail(2)) SWIG_fail
;
4259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4260 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
4262 wxPyEndAllowThreads(__tstate
);
4263 if (PyErr_Occurred()) SWIG_fail
;
4265 Py_INCREF(Py_None
); resultobj
= Py_None
;
4272 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4273 PyObject
*resultobj
;
4274 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4275 wxIconBundle
*arg2
= 0 ;
4276 PyObject
* obj0
= 0 ;
4277 PyObject
* obj1
= 0 ;
4279 (char *) "self",(char *) "icons", NULL
4282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
4283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4284 if (SWIG_arg_fail(1)) SWIG_fail
;
4286 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
4287 if (SWIG_arg_fail(2)) SWIG_fail
;
4289 SWIG_null_ref("wxIconBundle");
4291 if (SWIG_arg_fail(2)) SWIG_fail
;
4294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4295 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
4297 wxPyEndAllowThreads(__tstate
);
4298 if (PyErr_Occurred()) SWIG_fail
;
4300 Py_INCREF(Py_None
); resultobj
= Py_None
;
4307 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4308 PyObject
*resultobj
;
4309 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4311 long arg3
= (long) wxFULLSCREEN_ALL
;
4313 PyObject
* obj0
= 0 ;
4314 PyObject
* obj1
= 0 ;
4315 PyObject
* obj2
= 0 ;
4317 (char *) "self",(char *) "show",(char *) "style", NULL
4320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4322 if (SWIG_arg_fail(1)) SWIG_fail
;
4324 arg2
= (bool)(SWIG_As_bool(obj1
));
4325 if (SWIG_arg_fail(2)) SWIG_fail
;
4329 arg3
= (long)(SWIG_As_long(obj2
));
4330 if (SWIG_arg_fail(3)) SWIG_fail
;
4334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4335 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
4337 wxPyEndAllowThreads(__tstate
);
4338 if (PyErr_Occurred()) SWIG_fail
;
4341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4349 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4350 PyObject
*resultobj
;
4351 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4353 PyObject
* obj0
= 0 ;
4355 (char *) "self", NULL
4358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
4359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4360 if (SWIG_arg_fail(1)) SWIG_fail
;
4362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4363 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
4365 wxPyEndAllowThreads(__tstate
);
4366 if (PyErr_Occurred()) SWIG_fail
;
4369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4377 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4378 PyObject
*resultobj
;
4379 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4380 wxString
*arg2
= 0 ;
4381 bool temp2
= false ;
4382 PyObject
* obj0
= 0 ;
4383 PyObject
* obj1
= 0 ;
4385 (char *) "self",(char *) "title", NULL
4388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
4389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4390 if (SWIG_arg_fail(1)) SWIG_fail
;
4392 arg2
= wxString_in_helper(obj1
);
4393 if (arg2
== NULL
) SWIG_fail
;
4397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4398 (arg1
)->SetTitle((wxString
const &)*arg2
);
4400 wxPyEndAllowThreads(__tstate
);
4401 if (PyErr_Occurred()) SWIG_fail
;
4403 Py_INCREF(Py_None
); resultobj
= Py_None
;
4418 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4419 PyObject
*resultobj
;
4420 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4422 PyObject
* obj0
= 0 ;
4424 (char *) "self", NULL
4427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
4428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4429 if (SWIG_arg_fail(1)) SWIG_fail
;
4431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4432 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
4434 wxPyEndAllowThreads(__tstate
);
4435 if (PyErr_Occurred()) SWIG_fail
;
4439 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4441 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4450 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4451 PyObject
*resultobj
;
4452 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4453 wxRegion
*arg2
= 0 ;
4455 PyObject
* obj0
= 0 ;
4456 PyObject
* obj1
= 0 ;
4458 (char *) "self",(char *) "region", NULL
4461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
4462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4463 if (SWIG_arg_fail(1)) SWIG_fail
;
4465 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
4466 if (SWIG_arg_fail(2)) SWIG_fail
;
4468 SWIG_null_ref("wxRegion");
4470 if (SWIG_arg_fail(2)) SWIG_fail
;
4473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4474 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
4476 wxPyEndAllowThreads(__tstate
);
4477 if (PyErr_Occurred()) SWIG_fail
;
4480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4488 static PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4489 PyObject
*resultobj
;
4490 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4491 int arg2
= (int) wxUSER_ATTENTION_INFO
;
4492 PyObject
* obj0
= 0 ;
4493 PyObject
* obj1
= 0 ;
4495 (char *) "self",(char *) "flags", NULL
4498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) goto fail
;
4499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4500 if (SWIG_arg_fail(1)) SWIG_fail
;
4503 arg2
= (int)(SWIG_As_int(obj1
));
4504 if (SWIG_arg_fail(2)) SWIG_fail
;
4508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4509 (arg1
)->RequestUserAttention(arg2
);
4511 wxPyEndAllowThreads(__tstate
);
4512 if (PyErr_Occurred()) SWIG_fail
;
4514 Py_INCREF(Py_None
); resultobj
= Py_None
;
4521 static PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4522 PyObject
*resultobj
;
4523 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4525 PyObject
* obj0
= 0 ;
4527 (char *) "self", NULL
4530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsActive",kwnames
,&obj0
)) goto fail
;
4531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4532 if (SWIG_arg_fail(1)) SWIG_fail
;
4534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4535 result
= (bool)(arg1
)->IsActive();
4537 wxPyEndAllowThreads(__tstate
);
4538 if (PyErr_Occurred()) SWIG_fail
;
4541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4549 static PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4550 PyObject
*resultobj
;
4551 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4553 PyObject
* obj0
= 0 ;
4554 PyObject
* obj1
= 0 ;
4556 (char *) "self",(char *) "on", NULL
4559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) goto fail
;
4560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4561 if (SWIG_arg_fail(1)) SWIG_fail
;
4563 arg2
= (bool)(SWIG_As_bool(obj1
));
4564 if (SWIG_arg_fail(2)) SWIG_fail
;
4567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4568 (arg1
)->MacSetMetalAppearance(arg2
);
4570 wxPyEndAllowThreads(__tstate
);
4571 if (PyErr_Occurred()) SWIG_fail
;
4573 Py_INCREF(Py_None
); resultobj
= Py_None
;
4580 static PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4581 PyObject
*resultobj
;
4582 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4584 PyObject
* obj0
= 0 ;
4586 (char *) "self", NULL
4589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames
,&obj0
)) goto fail
;
4590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4591 if (SWIG_arg_fail(1)) SWIG_fail
;
4593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4594 result
= (bool)((wxTopLevelWindow
const *)arg1
)->MacGetMetalAppearance();
4596 wxPyEndAllowThreads(__tstate
);
4597 if (PyErr_Occurred()) SWIG_fail
;
4600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4608 static PyObject
* TopLevelWindow_swigregister(PyObject
*, PyObject
*args
) {
4610 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4611 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
4613 return Py_BuildValue((char *)"");
4615 static PyObject
*_wrap_new_Frame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4616 PyObject
*resultobj
;
4617 wxWindow
*arg1
= (wxWindow
*) 0 ;
4618 int arg2
= (int) (int)-1 ;
4619 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4620 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4621 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4622 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4623 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4624 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4625 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4626 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4627 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4629 bool temp3
= false ;
4632 bool temp7
= false ;
4633 PyObject
* obj0
= 0 ;
4634 PyObject
* obj1
= 0 ;
4635 PyObject
* obj2
= 0 ;
4636 PyObject
* obj3
= 0 ;
4637 PyObject
* obj4
= 0 ;
4638 PyObject
* obj5
= 0 ;
4639 PyObject
* obj6
= 0 ;
4641 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4646 if (SWIG_arg_fail(1)) SWIG_fail
;
4649 arg2
= (int const)(SWIG_As_int(obj1
));
4650 if (SWIG_arg_fail(2)) SWIG_fail
;
4655 arg3
= wxString_in_helper(obj2
);
4656 if (arg3
== NULL
) SWIG_fail
;
4663 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4669 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4674 arg6
= (long)(SWIG_As_long(obj5
));
4675 if (SWIG_arg_fail(6)) SWIG_fail
;
4680 arg7
= wxString_in_helper(obj6
);
4681 if (arg7
== NULL
) SWIG_fail
;
4686 if (!wxPyCheckForApp()) SWIG_fail
;
4687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4688 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4690 wxPyEndAllowThreads(__tstate
);
4691 if (PyErr_Occurred()) SWIG_fail
;
4693 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
4716 static PyObject
*_wrap_new_PreFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4717 PyObject
*resultobj
;
4723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
4725 if (!wxPyCheckForApp()) SWIG_fail
;
4726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4727 result
= (wxFrame
*)new wxFrame();
4729 wxPyEndAllowThreads(__tstate
);
4730 if (PyErr_Occurred()) SWIG_fail
;
4732 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
4739 static PyObject
*_wrap_Frame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4740 PyObject
*resultobj
;
4741 wxFrame
*arg1
= (wxFrame
*) 0 ;
4742 wxWindow
*arg2
= (wxWindow
*) 0 ;
4743 int arg3
= (int) (int)-1 ;
4744 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4745 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4746 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4747 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4748 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4749 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4750 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4751 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4752 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4754 bool temp4
= false ;
4757 bool temp8
= false ;
4758 PyObject
* obj0
= 0 ;
4759 PyObject
* obj1
= 0 ;
4760 PyObject
* obj2
= 0 ;
4761 PyObject
* obj3
= 0 ;
4762 PyObject
* obj4
= 0 ;
4763 PyObject
* obj5
= 0 ;
4764 PyObject
* obj6
= 0 ;
4765 PyObject
* obj7
= 0 ;
4767 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4772 if (SWIG_arg_fail(1)) SWIG_fail
;
4773 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4774 if (SWIG_arg_fail(2)) SWIG_fail
;
4777 arg3
= (int const)(SWIG_As_int(obj2
));
4778 if (SWIG_arg_fail(3)) SWIG_fail
;
4783 arg4
= wxString_in_helper(obj3
);
4784 if (arg4
== NULL
) SWIG_fail
;
4791 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4797 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4802 arg7
= (long)(SWIG_As_long(obj6
));
4803 if (SWIG_arg_fail(7)) SWIG_fail
;
4808 arg8
= wxString_in_helper(obj7
);
4809 if (arg8
== NULL
) SWIG_fail
;
4814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4815 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4817 wxPyEndAllowThreads(__tstate
);
4818 if (PyErr_Occurred()) SWIG_fail
;
4821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4845 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4846 PyObject
*resultobj
;
4847 wxFrame
*arg1
= (wxFrame
*) 0 ;
4849 PyObject
* obj0
= 0 ;
4851 (char *) "self", NULL
4854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
4855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4856 if (SWIG_arg_fail(1)) SWIG_fail
;
4858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4859 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
4861 wxPyEndAllowThreads(__tstate
);
4862 if (PyErr_Occurred()) SWIG_fail
;
4865 wxPoint
* resultptr
;
4866 resultptr
= new wxPoint((wxPoint
&)(result
));
4867 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4875 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4876 PyObject
*resultobj
;
4877 wxFrame
*arg1
= (wxFrame
*) 0 ;
4878 PyObject
* obj0
= 0 ;
4880 (char *) "self", NULL
4883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
4884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4885 if (SWIG_arg_fail(1)) SWIG_fail
;
4887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4888 (arg1
)->SendSizeEvent();
4890 wxPyEndAllowThreads(__tstate
);
4891 if (PyErr_Occurred()) SWIG_fail
;
4893 Py_INCREF(Py_None
); resultobj
= Py_None
;
4900 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4901 PyObject
*resultobj
;
4902 wxFrame
*arg1
= (wxFrame
*) 0 ;
4903 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
4904 PyObject
* obj0
= 0 ;
4905 PyObject
* obj1
= 0 ;
4907 (char *) "self",(char *) "menubar", NULL
4910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
4911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4912 if (SWIG_arg_fail(1)) SWIG_fail
;
4913 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
4914 if (SWIG_arg_fail(2)) SWIG_fail
;
4916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4917 (arg1
)->SetMenuBar(arg2
);
4919 wxPyEndAllowThreads(__tstate
);
4920 if (PyErr_Occurred()) SWIG_fail
;
4922 Py_INCREF(Py_None
); resultobj
= Py_None
;
4929 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4930 PyObject
*resultobj
;
4931 wxFrame
*arg1
= (wxFrame
*) 0 ;
4933 PyObject
* obj0
= 0 ;
4935 (char *) "self", NULL
4938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
4939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4940 if (SWIG_arg_fail(1)) SWIG_fail
;
4942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4943 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
4945 wxPyEndAllowThreads(__tstate
);
4946 if (PyErr_Occurred()) SWIG_fail
;
4949 resultobj
= wxPyMake_wxObject(result
, 0);
4957 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4958 PyObject
*resultobj
;
4959 wxFrame
*arg1
= (wxFrame
*) 0 ;
4962 PyObject
* obj0
= 0 ;
4963 PyObject
* obj1
= 0 ;
4965 (char *) "self",(char *) "winid", NULL
4968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
4969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4970 if (SWIG_arg_fail(1)) SWIG_fail
;
4972 arg2
= (int)(SWIG_As_int(obj1
));
4973 if (SWIG_arg_fail(2)) SWIG_fail
;
4976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4977 result
= (bool)(arg1
)->ProcessCommand(arg2
);
4979 wxPyEndAllowThreads(__tstate
);
4980 if (PyErr_Occurred()) SWIG_fail
;
4983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4991 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4992 PyObject
*resultobj
;
4993 wxFrame
*arg1
= (wxFrame
*) 0 ;
4994 int arg2
= (int) 1 ;
4995 long arg3
= (long) wxST_SIZEGRIP
;
4996 int arg4
= (int) 0 ;
4997 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
4998 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4999 wxStatusBar
*result
;
5000 bool temp5
= false ;
5001 PyObject
* obj0
= 0 ;
5002 PyObject
* obj1
= 0 ;
5003 PyObject
* obj2
= 0 ;
5004 PyObject
* obj3
= 0 ;
5005 PyObject
* obj4
= 0 ;
5007 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
5010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5012 if (SWIG_arg_fail(1)) SWIG_fail
;
5015 arg2
= (int)(SWIG_As_int(obj1
));
5016 if (SWIG_arg_fail(2)) SWIG_fail
;
5021 arg3
= (long)(SWIG_As_long(obj2
));
5022 if (SWIG_arg_fail(3)) SWIG_fail
;
5027 arg4
= (int)(SWIG_As_int(obj3
));
5028 if (SWIG_arg_fail(4)) SWIG_fail
;
5033 arg5
= wxString_in_helper(obj4
);
5034 if (arg5
== NULL
) SWIG_fail
;
5039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5040 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
5042 wxPyEndAllowThreads(__tstate
);
5043 if (PyErr_Occurred()) SWIG_fail
;
5046 resultobj
= wxPyMake_wxObject(result
, 0);
5062 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5063 PyObject
*resultobj
;
5064 wxFrame
*arg1
= (wxFrame
*) 0 ;
5065 wxStatusBar
*result
;
5066 PyObject
* obj0
= 0 ;
5068 (char *) "self", NULL
5071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
5072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5073 if (SWIG_arg_fail(1)) SWIG_fail
;
5075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5076 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
5078 wxPyEndAllowThreads(__tstate
);
5079 if (PyErr_Occurred()) SWIG_fail
;
5082 resultobj
= wxPyMake_wxObject(result
, 0);
5090 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5091 PyObject
*resultobj
;
5092 wxFrame
*arg1
= (wxFrame
*) 0 ;
5093 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
5094 PyObject
* obj0
= 0 ;
5095 PyObject
* obj1
= 0 ;
5097 (char *) "self",(char *) "statBar", NULL
5100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
5101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5102 if (SWIG_arg_fail(1)) SWIG_fail
;
5103 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
5104 if (SWIG_arg_fail(2)) SWIG_fail
;
5106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5107 (arg1
)->SetStatusBar(arg2
);
5109 wxPyEndAllowThreads(__tstate
);
5110 if (PyErr_Occurred()) SWIG_fail
;
5112 Py_INCREF(Py_None
); resultobj
= Py_None
;
5119 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5120 PyObject
*resultobj
;
5121 wxFrame
*arg1
= (wxFrame
*) 0 ;
5122 wxString
*arg2
= 0 ;
5123 int arg3
= (int) 0 ;
5124 bool temp2
= false ;
5125 PyObject
* obj0
= 0 ;
5126 PyObject
* obj1
= 0 ;
5127 PyObject
* obj2
= 0 ;
5129 (char *) "self",(char *) "text",(char *) "number", NULL
5132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5134 if (SWIG_arg_fail(1)) SWIG_fail
;
5136 arg2
= wxString_in_helper(obj1
);
5137 if (arg2
== NULL
) SWIG_fail
;
5142 arg3
= (int)(SWIG_As_int(obj2
));
5143 if (SWIG_arg_fail(3)) SWIG_fail
;
5147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5148 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5150 wxPyEndAllowThreads(__tstate
);
5151 if (PyErr_Occurred()) SWIG_fail
;
5153 Py_INCREF(Py_None
); resultobj
= Py_None
;
5168 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5169 PyObject
*resultobj
;
5170 wxFrame
*arg1
= (wxFrame
*) 0 ;
5172 int *arg3
= (int *) 0 ;
5173 PyObject
* obj0
= 0 ;
5174 PyObject
* obj1
= 0 ;
5176 (char *) "self",(char *) "widths", NULL
5179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5181 if (SWIG_arg_fail(1)) SWIG_fail
;
5183 arg2
= PyList_Size(obj1
);
5184 arg3
= int_LIST_helper(obj1
);
5185 if (arg3
== NULL
) SWIG_fail
;
5188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5189 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5191 wxPyEndAllowThreads(__tstate
);
5192 if (PyErr_Occurred()) SWIG_fail
;
5194 Py_INCREF(Py_None
); resultobj
= Py_None
;
5196 if (arg3
) delete [] arg3
;
5201 if (arg3
) delete [] arg3
;
5207 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5208 PyObject
*resultobj
;
5209 wxFrame
*arg1
= (wxFrame
*) 0 ;
5210 wxString
*arg2
= 0 ;
5211 int arg3
= (int) 0 ;
5212 bool temp2
= false ;
5213 PyObject
* obj0
= 0 ;
5214 PyObject
* obj1
= 0 ;
5215 PyObject
* obj2
= 0 ;
5217 (char *) "self",(char *) "text",(char *) "number", NULL
5220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5222 if (SWIG_arg_fail(1)) SWIG_fail
;
5224 arg2
= wxString_in_helper(obj1
);
5225 if (arg2
== NULL
) SWIG_fail
;
5230 arg3
= (int)(SWIG_As_int(obj2
));
5231 if (SWIG_arg_fail(3)) SWIG_fail
;
5235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5236 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5238 wxPyEndAllowThreads(__tstate
);
5239 if (PyErr_Occurred()) SWIG_fail
;
5241 Py_INCREF(Py_None
); resultobj
= Py_None
;
5256 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5257 PyObject
*resultobj
;
5258 wxFrame
*arg1
= (wxFrame
*) 0 ;
5259 int arg2
= (int) 0 ;
5260 PyObject
* obj0
= 0 ;
5261 PyObject
* obj1
= 0 ;
5263 (char *) "self",(char *) "number", NULL
5266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5268 if (SWIG_arg_fail(1)) SWIG_fail
;
5271 arg2
= (int)(SWIG_As_int(obj1
));
5272 if (SWIG_arg_fail(2)) SWIG_fail
;
5276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5277 (arg1
)->PopStatusText(arg2
);
5279 wxPyEndAllowThreads(__tstate
);
5280 if (PyErr_Occurred()) SWIG_fail
;
5282 Py_INCREF(Py_None
); resultobj
= Py_None
;
5289 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5290 PyObject
*resultobj
;
5291 wxFrame
*arg1
= (wxFrame
*) 0 ;
5293 PyObject
* obj0
= 0 ;
5294 PyObject
* obj1
= 0 ;
5296 (char *) "self",(char *) "n", NULL
5299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
5300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5301 if (SWIG_arg_fail(1)) SWIG_fail
;
5303 arg2
= (int)(SWIG_As_int(obj1
));
5304 if (SWIG_arg_fail(2)) SWIG_fail
;
5307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5308 (arg1
)->SetStatusBarPane(arg2
);
5310 wxPyEndAllowThreads(__tstate
);
5311 if (PyErr_Occurred()) SWIG_fail
;
5313 Py_INCREF(Py_None
); resultobj
= Py_None
;
5320 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5321 PyObject
*resultobj
;
5322 wxFrame
*arg1
= (wxFrame
*) 0 ;
5324 PyObject
* obj0
= 0 ;
5326 (char *) "self", NULL
5329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
5330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5331 if (SWIG_arg_fail(1)) SWIG_fail
;
5333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5334 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
5336 wxPyEndAllowThreads(__tstate
);
5337 if (PyErr_Occurred()) SWIG_fail
;
5340 resultobj
= SWIG_From_int((int)(result
));
5348 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5349 PyObject
*resultobj
;
5350 wxFrame
*arg1
= (wxFrame
*) 0 ;
5351 long arg2
= (long) -1 ;
5352 int arg3
= (int) -1 ;
5353 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
5354 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5356 bool temp4
= false ;
5357 PyObject
* obj0
= 0 ;
5358 PyObject
* obj1
= 0 ;
5359 PyObject
* obj2
= 0 ;
5360 PyObject
* obj3
= 0 ;
5362 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
5365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5367 if (SWIG_arg_fail(1)) SWIG_fail
;
5370 arg2
= (long)(SWIG_As_long(obj1
));
5371 if (SWIG_arg_fail(2)) SWIG_fail
;
5376 arg3
= (int)(SWIG_As_int(obj2
));
5377 if (SWIG_arg_fail(3)) SWIG_fail
;
5382 arg4
= wxString_in_helper(obj3
);
5383 if (arg4
== NULL
) SWIG_fail
;
5388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5389 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
5391 wxPyEndAllowThreads(__tstate
);
5392 if (PyErr_Occurred()) SWIG_fail
;
5395 resultobj
= wxPyMake_wxObject(result
, 0);
5411 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5412 PyObject
*resultobj
;
5413 wxFrame
*arg1
= (wxFrame
*) 0 ;
5415 PyObject
* obj0
= 0 ;
5417 (char *) "self", NULL
5420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
5421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5422 if (SWIG_arg_fail(1)) SWIG_fail
;
5424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5425 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
5427 wxPyEndAllowThreads(__tstate
);
5428 if (PyErr_Occurred()) SWIG_fail
;
5431 resultobj
= wxPyMake_wxObject(result
, 0);
5439 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5440 PyObject
*resultobj
;
5441 wxFrame
*arg1
= (wxFrame
*) 0 ;
5442 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
5443 PyObject
* obj0
= 0 ;
5444 PyObject
* obj1
= 0 ;
5446 (char *) "self",(char *) "toolbar", NULL
5449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
5450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5451 if (SWIG_arg_fail(1)) SWIG_fail
;
5452 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
5453 if (SWIG_arg_fail(2)) SWIG_fail
;
5455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5456 (arg1
)->SetToolBar(arg2
);
5458 wxPyEndAllowThreads(__tstate
);
5459 if (PyErr_Occurred()) SWIG_fail
;
5461 Py_INCREF(Py_None
); resultobj
= Py_None
;
5468 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5469 PyObject
*resultobj
;
5470 wxFrame
*arg1
= (wxFrame
*) 0 ;
5471 wxString
*arg2
= 0 ;
5473 bool temp2
= false ;
5474 PyObject
* obj0
= 0 ;
5475 PyObject
* obj1
= 0 ;
5476 PyObject
* obj2
= 0 ;
5478 (char *) "self",(char *) "text",(char *) "show", NULL
5481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5483 if (SWIG_arg_fail(1)) SWIG_fail
;
5485 arg2
= wxString_in_helper(obj1
);
5486 if (arg2
== NULL
) SWIG_fail
;
5490 arg3
= (bool)(SWIG_As_bool(obj2
));
5491 if (SWIG_arg_fail(3)) SWIG_fail
;
5494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5495 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
5497 wxPyEndAllowThreads(__tstate
);
5498 if (PyErr_Occurred()) SWIG_fail
;
5500 Py_INCREF(Py_None
); resultobj
= Py_None
;
5515 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5516 PyObject
*resultobj
;
5517 wxFrame
*arg1
= (wxFrame
*) 0 ;
5518 wxMenu
*arg2
= (wxMenu
*) NULL
;
5519 PyObject
* obj0
= 0 ;
5520 PyObject
* obj1
= 0 ;
5522 (char *) "self",(char *) "menu", NULL
5525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
5526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5527 if (SWIG_arg_fail(1)) SWIG_fail
;
5529 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
5530 if (SWIG_arg_fail(2)) SWIG_fail
;
5533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5534 (arg1
)->DoMenuUpdates(arg2
);
5536 wxPyEndAllowThreads(__tstate
);
5537 if (PyErr_Occurred()) SWIG_fail
;
5539 Py_INCREF(Py_None
); resultobj
= Py_None
;
5546 static PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5547 PyObject
*resultobj
;
5548 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5549 wxVisualAttributes result
;
5550 PyObject
* obj0
= 0 ;
5552 (char *) "variant", NULL
5555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5558 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
5559 if (SWIG_arg_fail(1)) SWIG_fail
;
5563 if (!wxPyCheckForApp()) SWIG_fail
;
5564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5565 result
= wxFrame::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5567 wxPyEndAllowThreads(__tstate
);
5568 if (PyErr_Occurred()) SWIG_fail
;
5571 wxVisualAttributes
* resultptr
;
5572 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
5573 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5581 static PyObject
* Frame_swigregister(PyObject
*, PyObject
*args
) {
5583 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5584 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
5586 return Py_BuildValue((char *)"");
5588 static PyObject
*_wrap_new_Dialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5589 PyObject
*resultobj
;
5590 wxWindow
*arg1
= (wxWindow
*) 0 ;
5591 int arg2
= (int) (int)-1 ;
5592 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5593 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5594 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5595 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5596 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5597 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5598 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
5599 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
5600 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5602 bool temp3
= false ;
5605 bool temp7
= false ;
5606 PyObject
* obj0
= 0 ;
5607 PyObject
* obj1
= 0 ;
5608 PyObject
* obj2
= 0 ;
5609 PyObject
* obj3
= 0 ;
5610 PyObject
* obj4
= 0 ;
5611 PyObject
* obj5
= 0 ;
5612 PyObject
* obj6
= 0 ;
5614 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5619 if (SWIG_arg_fail(1)) SWIG_fail
;
5622 arg2
= (int const)(SWIG_As_int(obj1
));
5623 if (SWIG_arg_fail(2)) SWIG_fail
;
5628 arg3
= wxString_in_helper(obj2
);
5629 if (arg3
== NULL
) SWIG_fail
;
5636 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5642 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5647 arg6
= (long)(SWIG_As_long(obj5
));
5648 if (SWIG_arg_fail(6)) SWIG_fail
;
5653 arg7
= wxString_in_helper(obj6
);
5654 if (arg7
== NULL
) SWIG_fail
;
5659 if (!wxPyCheckForApp()) SWIG_fail
;
5660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5661 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5663 wxPyEndAllowThreads(__tstate
);
5664 if (PyErr_Occurred()) SWIG_fail
;
5666 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
5689 static PyObject
*_wrap_new_PreDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5690 PyObject
*resultobj
;
5696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
5698 if (!wxPyCheckForApp()) SWIG_fail
;
5699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5700 result
= (wxDialog
*)new wxDialog();
5702 wxPyEndAllowThreads(__tstate
);
5703 if (PyErr_Occurred()) SWIG_fail
;
5705 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
5712 static PyObject
*_wrap_Dialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5713 PyObject
*resultobj
;
5714 wxDialog
*arg1
= (wxDialog
*) 0 ;
5715 wxWindow
*arg2
= (wxWindow
*) 0 ;
5716 int arg3
= (int) (int)-1 ;
5717 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5718 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5719 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5720 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5721 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5722 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5723 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
5724 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
5725 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5727 bool temp4
= false ;
5730 bool temp8
= false ;
5731 PyObject
* obj0
= 0 ;
5732 PyObject
* obj1
= 0 ;
5733 PyObject
* obj2
= 0 ;
5734 PyObject
* obj3
= 0 ;
5735 PyObject
* obj4
= 0 ;
5736 PyObject
* obj5
= 0 ;
5737 PyObject
* obj6
= 0 ;
5738 PyObject
* obj7
= 0 ;
5740 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5745 if (SWIG_arg_fail(1)) SWIG_fail
;
5746 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5747 if (SWIG_arg_fail(2)) SWIG_fail
;
5750 arg3
= (int const)(SWIG_As_int(obj2
));
5751 if (SWIG_arg_fail(3)) SWIG_fail
;
5756 arg4
= wxString_in_helper(obj3
);
5757 if (arg4
== NULL
) SWIG_fail
;
5764 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5770 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5775 arg7
= (long)(SWIG_As_long(obj6
));
5776 if (SWIG_arg_fail(7)) SWIG_fail
;
5781 arg8
= wxString_in_helper(obj7
);
5782 if (arg8
== NULL
) SWIG_fail
;
5787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5788 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5790 wxPyEndAllowThreads(__tstate
);
5791 if (PyErr_Occurred()) SWIG_fail
;
5794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5818 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5819 PyObject
*resultobj
;
5820 wxDialog
*arg1
= (wxDialog
*) 0 ;
5822 PyObject
* obj0
= 0 ;
5823 PyObject
* obj1
= 0 ;
5825 (char *) "self",(char *) "returnCode", NULL
5828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
5829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5830 if (SWIG_arg_fail(1)) SWIG_fail
;
5832 arg2
= (int)(SWIG_As_int(obj1
));
5833 if (SWIG_arg_fail(2)) SWIG_fail
;
5836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5837 (arg1
)->SetReturnCode(arg2
);
5839 wxPyEndAllowThreads(__tstate
);
5840 if (PyErr_Occurred()) SWIG_fail
;
5842 Py_INCREF(Py_None
); resultobj
= Py_None
;
5849 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5850 PyObject
*resultobj
;
5851 wxDialog
*arg1
= (wxDialog
*) 0 ;
5853 PyObject
* obj0
= 0 ;
5855 (char *) "self", NULL
5858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
5859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5860 if (SWIG_arg_fail(1)) SWIG_fail
;
5862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5863 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
5865 wxPyEndAllowThreads(__tstate
);
5866 if (PyErr_Occurred()) SWIG_fail
;
5869 resultobj
= SWIG_From_int((int)(result
));
5877 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5878 PyObject
*resultobj
;
5879 wxDialog
*arg1
= (wxDialog
*) 0 ;
5880 wxString
*arg2
= 0 ;
5882 bool temp2
= false ;
5883 PyObject
* obj0
= 0 ;
5884 PyObject
* obj1
= 0 ;
5886 (char *) "self",(char *) "message", NULL
5889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
5890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5891 if (SWIG_arg_fail(1)) SWIG_fail
;
5893 arg2
= wxString_in_helper(obj1
);
5894 if (arg2
== NULL
) SWIG_fail
;
5898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5899 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
5901 wxPyEndAllowThreads(__tstate
);
5902 if (PyErr_Occurred()) SWIG_fail
;
5905 resultobj
= wxPyMake_wxSizer(result
, 0);
5921 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5922 PyObject
*resultobj
;
5923 wxDialog
*arg1
= (wxDialog
*) 0 ;
5926 PyObject
* obj0
= 0 ;
5927 PyObject
* obj1
= 0 ;
5929 (char *) "self",(char *) "flags", NULL
5932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
5933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5934 if (SWIG_arg_fail(1)) SWIG_fail
;
5936 arg2
= (long)(SWIG_As_long(obj1
));
5937 if (SWIG_arg_fail(2)) SWIG_fail
;
5940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5941 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
5943 wxPyEndAllowThreads(__tstate
);
5944 if (PyErr_Occurred()) SWIG_fail
;
5947 resultobj
= wxPyMake_wxSizer(result
, 0);
5955 static PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5956 PyObject
*resultobj
;
5957 wxDialog
*arg1
= (wxDialog
*) 0 ;
5959 wxStdDialogButtonSizer
*result
;
5960 PyObject
* obj0
= 0 ;
5961 PyObject
* obj1
= 0 ;
5963 (char *) "self",(char *) "flags", NULL
5966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
5967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5968 if (SWIG_arg_fail(1)) SWIG_fail
;
5970 arg2
= (long)(SWIG_As_long(obj1
));
5971 if (SWIG_arg_fail(2)) SWIG_fail
;
5974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5975 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
5977 wxPyEndAllowThreads(__tstate
);
5978 if (PyErr_Occurred()) SWIG_fail
;
5980 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0);
5987 static PyObject
*_wrap_Dialog_IsModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5988 PyObject
*resultobj
;
5989 wxDialog
*arg1
= (wxDialog
*) 0 ;
5991 PyObject
* obj0
= 0 ;
5993 (char *) "self", NULL
5996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
5997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5998 if (SWIG_arg_fail(1)) SWIG_fail
;
6000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6001 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
6003 wxPyEndAllowThreads(__tstate
);
6004 if (PyErr_Occurred()) SWIG_fail
;
6007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6015 static PyObject
*_wrap_Dialog_ShowModal(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_ShowModal",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
= (int)(arg1
)->ShowModal();
6031 wxPyEndAllowThreads(__tstate
);
6032 if (PyErr_Occurred()) SWIG_fail
;
6035 resultobj
= SWIG_From_int((int)(result
));
6043 static PyObject
*_wrap_Dialog_EndModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6044 PyObject
*resultobj
;
6045 wxDialog
*arg1
= (wxDialog
*) 0 ;
6047 PyObject
* obj0
= 0 ;
6048 PyObject
* obj1
= 0 ;
6050 (char *) "self",(char *) "retCode", NULL
6053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
6054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6055 if (SWIG_arg_fail(1)) SWIG_fail
;
6057 arg2
= (int)(SWIG_As_int(obj1
));
6058 if (SWIG_arg_fail(2)) SWIG_fail
;
6061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6062 (arg1
)->EndModal(arg2
);
6064 wxPyEndAllowThreads(__tstate
);
6065 if (PyErr_Occurred()) SWIG_fail
;
6067 Py_INCREF(Py_None
); resultobj
= Py_None
;
6074 static PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6075 PyObject
*resultobj
;
6076 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6077 wxVisualAttributes result
;
6078 PyObject
* obj0
= 0 ;
6080 (char *) "variant", NULL
6083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6086 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6087 if (SWIG_arg_fail(1)) SWIG_fail
;
6091 if (!wxPyCheckForApp()) SWIG_fail
;
6092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6093 result
= wxDialog::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6095 wxPyEndAllowThreads(__tstate
);
6096 if (PyErr_Occurred()) SWIG_fail
;
6099 wxVisualAttributes
* resultptr
;
6100 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6101 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6109 static PyObject
* Dialog_swigregister(PyObject
*, PyObject
*args
) {
6111 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6112 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
6114 return Py_BuildValue((char *)"");
6116 static PyObject
*_wrap_new_MiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6117 PyObject
*resultobj
;
6118 wxWindow
*arg1
= (wxWindow
*) 0 ;
6119 int arg2
= (int) (int)-1 ;
6120 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6121 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6122 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6123 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6124 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6125 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6126 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6127 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6128 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6129 wxMiniFrame
*result
;
6130 bool temp3
= false ;
6133 bool temp7
= false ;
6134 PyObject
* obj0
= 0 ;
6135 PyObject
* obj1
= 0 ;
6136 PyObject
* obj2
= 0 ;
6137 PyObject
* obj3
= 0 ;
6138 PyObject
* obj4
= 0 ;
6139 PyObject
* obj5
= 0 ;
6140 PyObject
* obj6
= 0 ;
6142 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6147 if (SWIG_arg_fail(1)) SWIG_fail
;
6150 arg2
= (int const)(SWIG_As_int(obj1
));
6151 if (SWIG_arg_fail(2)) SWIG_fail
;
6156 arg3
= wxString_in_helper(obj2
);
6157 if (arg3
== NULL
) SWIG_fail
;
6164 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6170 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6175 arg6
= (long)(SWIG_As_long(obj5
));
6176 if (SWIG_arg_fail(6)) SWIG_fail
;
6181 arg7
= wxString_in_helper(obj6
);
6182 if (arg7
== NULL
) SWIG_fail
;
6187 if (!wxPyCheckForApp()) SWIG_fail
;
6188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6189 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6191 wxPyEndAllowThreads(__tstate
);
6192 if (PyErr_Occurred()) SWIG_fail
;
6194 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
6217 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6218 PyObject
*resultobj
;
6219 wxMiniFrame
*result
;
6224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
6226 if (!wxPyCheckForApp()) SWIG_fail
;
6227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6228 result
= (wxMiniFrame
*)new wxMiniFrame();
6230 wxPyEndAllowThreads(__tstate
);
6231 if (PyErr_Occurred()) SWIG_fail
;
6233 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
6240 static PyObject
*_wrap_MiniFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6241 PyObject
*resultobj
;
6242 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
6243 wxWindow
*arg2
= (wxWindow
*) 0 ;
6244 int arg3
= (int) (int)-1 ;
6245 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6246 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6247 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6248 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6249 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6250 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6251 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6252 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6253 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6255 bool temp4
= false ;
6258 bool temp8
= false ;
6259 PyObject
* obj0
= 0 ;
6260 PyObject
* obj1
= 0 ;
6261 PyObject
* obj2
= 0 ;
6262 PyObject
* obj3
= 0 ;
6263 PyObject
* obj4
= 0 ;
6264 PyObject
* obj5
= 0 ;
6265 PyObject
* obj6
= 0 ;
6266 PyObject
* obj7
= 0 ;
6268 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_EXCEPTION
| 0);
6273 if (SWIG_arg_fail(1)) SWIG_fail
;
6274 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6275 if (SWIG_arg_fail(2)) SWIG_fail
;
6278 arg3
= (int const)(SWIG_As_int(obj2
));
6279 if (SWIG_arg_fail(3)) SWIG_fail
;
6284 arg4
= wxString_in_helper(obj3
);
6285 if (arg4
== NULL
) SWIG_fail
;
6292 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6298 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6303 arg7
= (long)(SWIG_As_long(obj6
));
6304 if (SWIG_arg_fail(7)) SWIG_fail
;
6309 arg8
= wxString_in_helper(obj7
);
6310 if (arg8
== NULL
) SWIG_fail
;
6315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6316 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6318 wxPyEndAllowThreads(__tstate
);
6319 if (PyErr_Occurred()) SWIG_fail
;
6322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6346 static PyObject
* MiniFrame_swigregister(PyObject
*, PyObject
*args
) {
6348 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6349 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
6351 return Py_BuildValue((char *)"");
6353 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6354 PyObject
*resultobj
;
6355 wxBitmap
*arg1
= 0 ;
6356 wxWindow
*arg2
= (wxWindow
*) 0 ;
6358 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6359 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6360 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6361 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6362 long arg6
= (long) wxNO_BORDER
;
6363 wxSplashScreenWindow
*result
;
6366 PyObject
* obj0
= 0 ;
6367 PyObject
* obj1
= 0 ;
6368 PyObject
* obj2
= 0 ;
6369 PyObject
* obj3
= 0 ;
6370 PyObject
* obj4
= 0 ;
6371 PyObject
* obj5
= 0 ;
6373 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6379 if (SWIG_arg_fail(1)) SWIG_fail
;
6381 SWIG_null_ref("wxBitmap");
6383 if (SWIG_arg_fail(1)) SWIG_fail
;
6385 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6386 if (SWIG_arg_fail(2)) SWIG_fail
;
6388 arg3
= (int)(SWIG_As_int(obj2
));
6389 if (SWIG_arg_fail(3)) SWIG_fail
;
6394 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6400 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6405 arg6
= (long)(SWIG_As_long(obj5
));
6406 if (SWIG_arg_fail(6)) SWIG_fail
;
6410 if (!wxPyCheckForApp()) SWIG_fail
;
6411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6412 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
6414 wxPyEndAllowThreads(__tstate
);
6415 if (PyErr_Occurred()) SWIG_fail
;
6417 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
6424 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6425 PyObject
*resultobj
;
6426 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
6427 wxBitmap
*arg2
= 0 ;
6428 PyObject
* obj0
= 0 ;
6429 PyObject
* obj1
= 0 ;
6431 (char *) "self",(char *) "bitmap", NULL
6434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
6435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_EXCEPTION
| 0);
6436 if (SWIG_arg_fail(1)) SWIG_fail
;
6438 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6439 if (SWIG_arg_fail(2)) SWIG_fail
;
6441 SWIG_null_ref("wxBitmap");
6443 if (SWIG_arg_fail(2)) SWIG_fail
;
6446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6447 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
6449 wxPyEndAllowThreads(__tstate
);
6450 if (PyErr_Occurred()) SWIG_fail
;
6452 Py_INCREF(Py_None
); resultobj
= Py_None
;
6459 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6460 PyObject
*resultobj
;
6461 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
6463 PyObject
* obj0
= 0 ;
6465 (char *) "self", NULL
6468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
6469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_EXCEPTION
| 0);
6470 if (SWIG_arg_fail(1)) SWIG_fail
;
6472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6474 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
6475 result
= (wxBitmap
*) &_result_ref
;
6478 wxPyEndAllowThreads(__tstate
);
6479 if (PyErr_Occurred()) SWIG_fail
;
6482 wxBitmap
* resultptr
= new wxBitmap(*result
);
6483 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
6491 static PyObject
* SplashScreenWindow_swigregister(PyObject
*, PyObject
*args
) {
6493 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6494 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
6496 return Py_BuildValue((char *)"");
6498 static PyObject
*_wrap_new_SplashScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6499 PyObject
*resultobj
;
6500 wxBitmap
*arg1
= 0 ;
6503 wxWindow
*arg4
= (wxWindow
*) 0 ;
6504 int arg5
= (int) -1 ;
6505 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
6506 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
6507 wxSize
const &arg7_defvalue
= wxDefaultSize
;
6508 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
6509 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
6510 wxSplashScreen
*result
;
6513 PyObject
* obj0
= 0 ;
6514 PyObject
* obj1
= 0 ;
6515 PyObject
* obj2
= 0 ;
6516 PyObject
* obj3
= 0 ;
6517 PyObject
* obj4
= 0 ;
6518 PyObject
* obj5
= 0 ;
6519 PyObject
* obj6
= 0 ;
6520 PyObject
* obj7
= 0 ;
6522 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6528 if (SWIG_arg_fail(1)) SWIG_fail
;
6530 SWIG_null_ref("wxBitmap");
6532 if (SWIG_arg_fail(1)) SWIG_fail
;
6535 arg2
= (long)(SWIG_As_long(obj1
));
6536 if (SWIG_arg_fail(2)) SWIG_fail
;
6539 arg3
= (int)(SWIG_As_int(obj2
));
6540 if (SWIG_arg_fail(3)) SWIG_fail
;
6542 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6543 if (SWIG_arg_fail(4)) SWIG_fail
;
6546 arg5
= (int)(SWIG_As_int(obj4
));
6547 if (SWIG_arg_fail(5)) SWIG_fail
;
6553 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
6559 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
6564 arg8
= (long)(SWIG_As_long(obj7
));
6565 if (SWIG_arg_fail(8)) SWIG_fail
;
6569 if (!wxPyCheckForApp()) SWIG_fail
;
6570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6571 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
6573 wxPyEndAllowThreads(__tstate
);
6574 if (PyErr_Occurred()) SWIG_fail
;
6576 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
6583 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6584 PyObject
*resultobj
;
6585 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6587 PyObject
* obj0
= 0 ;
6589 (char *) "self", NULL
6592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
6593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6594 if (SWIG_arg_fail(1)) SWIG_fail
;
6596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6597 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
6599 wxPyEndAllowThreads(__tstate
);
6600 if (PyErr_Occurred()) SWIG_fail
;
6603 resultobj
= SWIG_From_long((long)(result
));
6611 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6612 PyObject
*resultobj
;
6613 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6614 wxSplashScreenWindow
*result
;
6615 PyObject
* obj0
= 0 ;
6617 (char *) "self", NULL
6620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",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
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
6627 wxPyEndAllowThreads(__tstate
);
6628 if (PyErr_Occurred()) SWIG_fail
;
6630 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
6637 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6638 PyObject
*resultobj
;
6639 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6641 PyObject
* obj0
= 0 ;
6643 (char *) "self", NULL
6646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
6647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6648 if (SWIG_arg_fail(1)) SWIG_fail
;
6650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6651 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
6653 wxPyEndAllowThreads(__tstate
);
6654 if (PyErr_Occurred()) SWIG_fail
;
6657 resultobj
= SWIG_From_int((int)(result
));
6665 static PyObject
* SplashScreen_swigregister(PyObject
*, PyObject
*args
) {
6667 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6668 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
6670 return Py_BuildValue((char *)"");
6672 static PyObject
*_wrap_new_StatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6673 PyObject
*resultobj
;
6674 wxWindow
*arg1
= (wxWindow
*) 0 ;
6675 int arg2
= (int) -1 ;
6676 long arg3
= (long) wxST_SIZEGRIP
;
6677 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
6678 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6679 wxStatusBar
*result
;
6680 bool temp4
= false ;
6681 PyObject
* obj0
= 0 ;
6682 PyObject
* obj1
= 0 ;
6683 PyObject
* obj2
= 0 ;
6684 PyObject
* obj3
= 0 ;
6686 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6691 if (SWIG_arg_fail(1)) SWIG_fail
;
6694 arg2
= (int)(SWIG_As_int(obj1
));
6695 if (SWIG_arg_fail(2)) SWIG_fail
;
6700 arg3
= (long)(SWIG_As_long(obj2
));
6701 if (SWIG_arg_fail(3)) SWIG_fail
;
6706 arg4
= wxString_in_helper(obj3
);
6707 if (arg4
== NULL
) SWIG_fail
;
6712 if (!wxPyCheckForApp()) SWIG_fail
;
6713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6714 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
6716 wxPyEndAllowThreads(__tstate
);
6717 if (PyErr_Occurred()) SWIG_fail
;
6719 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
6734 static PyObject
*_wrap_new_PreStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6735 PyObject
*resultobj
;
6736 wxStatusBar
*result
;
6741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
6743 if (!wxPyCheckForApp()) SWIG_fail
;
6744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6745 result
= (wxStatusBar
*)new wxStatusBar();
6747 wxPyEndAllowThreads(__tstate
);
6748 if (PyErr_Occurred()) SWIG_fail
;
6750 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
6757 static PyObject
*_wrap_StatusBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6758 PyObject
*resultobj
;
6759 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6760 wxWindow
*arg2
= (wxWindow
*) 0 ;
6761 int arg3
= (int) -1 ;
6762 long arg4
= (long) wxST_SIZEGRIP
;
6763 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6764 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6766 bool temp5
= false ;
6767 PyObject
* obj0
= 0 ;
6768 PyObject
* obj1
= 0 ;
6769 PyObject
* obj2
= 0 ;
6770 PyObject
* obj3
= 0 ;
6771 PyObject
* obj4
= 0 ;
6773 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6778 if (SWIG_arg_fail(1)) SWIG_fail
;
6779 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6780 if (SWIG_arg_fail(2)) SWIG_fail
;
6783 arg3
= (int)(SWIG_As_int(obj2
));
6784 if (SWIG_arg_fail(3)) SWIG_fail
;
6789 arg4
= (long)(SWIG_As_long(obj3
));
6790 if (SWIG_arg_fail(4)) SWIG_fail
;
6795 arg5
= wxString_in_helper(obj4
);
6796 if (arg5
== NULL
) SWIG_fail
;
6801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6802 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6804 wxPyEndAllowThreads(__tstate
);
6805 if (PyErr_Occurred()) SWIG_fail
;
6808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6824 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6825 PyObject
*resultobj
;
6826 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6827 int arg2
= (int) 1 ;
6828 PyObject
* obj0
= 0 ;
6829 PyObject
* obj1
= 0 ;
6831 (char *) "self",(char *) "number", NULL
6834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
6835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6836 if (SWIG_arg_fail(1)) SWIG_fail
;
6839 arg2
= (int)(SWIG_As_int(obj1
));
6840 if (SWIG_arg_fail(2)) SWIG_fail
;
6844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6845 (arg1
)->SetFieldsCount(arg2
);
6847 wxPyEndAllowThreads(__tstate
);
6848 if (PyErr_Occurred()) SWIG_fail
;
6850 Py_INCREF(Py_None
); resultobj
= Py_None
;
6857 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6858 PyObject
*resultobj
;
6859 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6861 PyObject
* obj0
= 0 ;
6863 (char *) "self", NULL
6866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
6867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6868 if (SWIG_arg_fail(1)) SWIG_fail
;
6870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6871 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
6873 wxPyEndAllowThreads(__tstate
);
6874 if (PyErr_Occurred()) SWIG_fail
;
6877 resultobj
= SWIG_From_int((int)(result
));
6885 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6886 PyObject
*resultobj
;
6887 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6888 wxString
*arg2
= 0 ;
6889 int arg3
= (int) 0 ;
6890 bool temp2
= false ;
6891 PyObject
* obj0
= 0 ;
6892 PyObject
* obj1
= 0 ;
6893 PyObject
* obj2
= 0 ;
6895 (char *) "self",(char *) "text",(char *) "number", NULL
6898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6900 if (SWIG_arg_fail(1)) SWIG_fail
;
6902 arg2
= wxString_in_helper(obj1
);
6903 if (arg2
== NULL
) SWIG_fail
;
6908 arg3
= (int)(SWIG_As_int(obj2
));
6909 if (SWIG_arg_fail(3)) SWIG_fail
;
6913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6914 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6916 wxPyEndAllowThreads(__tstate
);
6917 if (PyErr_Occurred()) SWIG_fail
;
6919 Py_INCREF(Py_None
); resultobj
= Py_None
;
6934 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6935 PyObject
*resultobj
;
6936 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6937 int arg2
= (int) 0 ;
6939 PyObject
* obj0
= 0 ;
6940 PyObject
* obj1
= 0 ;
6942 (char *) "self",(char *) "number", NULL
6945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
6946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6947 if (SWIG_arg_fail(1)) SWIG_fail
;
6950 arg2
= (int)(SWIG_As_int(obj1
));
6951 if (SWIG_arg_fail(2)) SWIG_fail
;
6955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6956 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
6958 wxPyEndAllowThreads(__tstate
);
6959 if (PyErr_Occurred()) SWIG_fail
;
6963 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6965 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6974 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6975 PyObject
*resultobj
;
6976 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6977 wxString
*arg2
= 0 ;
6978 int arg3
= (int) 0 ;
6979 bool temp2
= false ;
6980 PyObject
* obj0
= 0 ;
6981 PyObject
* obj1
= 0 ;
6982 PyObject
* obj2
= 0 ;
6984 (char *) "self",(char *) "text",(char *) "number", NULL
6987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6989 if (SWIG_arg_fail(1)) SWIG_fail
;
6991 arg2
= wxString_in_helper(obj1
);
6992 if (arg2
== NULL
) SWIG_fail
;
6997 arg3
= (int)(SWIG_As_int(obj2
));
6998 if (SWIG_arg_fail(3)) SWIG_fail
;
7002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7003 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
7005 wxPyEndAllowThreads(__tstate
);
7006 if (PyErr_Occurred()) SWIG_fail
;
7008 Py_INCREF(Py_None
); resultobj
= Py_None
;
7023 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7024 PyObject
*resultobj
;
7025 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7026 int arg2
= (int) 0 ;
7027 PyObject
* obj0
= 0 ;
7028 PyObject
* obj1
= 0 ;
7030 (char *) "self",(char *) "number", NULL
7033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
7034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7035 if (SWIG_arg_fail(1)) SWIG_fail
;
7038 arg2
= (int)(SWIG_As_int(obj1
));
7039 if (SWIG_arg_fail(2)) SWIG_fail
;
7043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7044 (arg1
)->PopStatusText(arg2
);
7046 wxPyEndAllowThreads(__tstate
);
7047 if (PyErr_Occurred()) SWIG_fail
;
7049 Py_INCREF(Py_None
); resultobj
= Py_None
;
7056 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7057 PyObject
*resultobj
;
7058 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7060 int *arg3
= (int *) 0 ;
7061 PyObject
* obj0
= 0 ;
7062 PyObject
* obj1
= 0 ;
7064 (char *) "self",(char *) "widths", NULL
7067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
7068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7069 if (SWIG_arg_fail(1)) SWIG_fail
;
7071 arg2
= PyList_Size(obj1
);
7072 arg3
= int_LIST_helper(obj1
);
7073 if (arg3
== NULL
) SWIG_fail
;
7076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7077 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
7079 wxPyEndAllowThreads(__tstate
);
7080 if (PyErr_Occurred()) SWIG_fail
;
7082 Py_INCREF(Py_None
); resultobj
= Py_None
;
7084 if (arg3
) delete [] arg3
;
7089 if (arg3
) delete [] arg3
;
7095 static PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7096 PyObject
*resultobj
;
7097 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7099 int *arg3
= (int *) 0 ;
7100 PyObject
* obj0
= 0 ;
7101 PyObject
* obj1
= 0 ;
7103 (char *) "self",(char *) "styles", NULL
7106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) goto fail
;
7107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7108 if (SWIG_arg_fail(1)) SWIG_fail
;
7110 arg2
= PyList_Size(obj1
);
7111 arg3
= int_LIST_helper(obj1
);
7112 if (arg3
== NULL
) SWIG_fail
;
7115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7116 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
7118 wxPyEndAllowThreads(__tstate
);
7119 if (PyErr_Occurred()) SWIG_fail
;
7121 Py_INCREF(Py_None
); resultobj
= Py_None
;
7123 if (arg3
) delete [] arg3
;
7128 if (arg3
) delete [] arg3
;
7134 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7135 PyObject
*resultobj
;
7136 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7139 PyObject
* obj0
= 0 ;
7140 PyObject
* obj1
= 0 ;
7142 (char *) "self",(char *) "i", NULL
7145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7147 if (SWIG_arg_fail(1)) SWIG_fail
;
7149 arg2
= (int)(SWIG_As_int(obj1
));
7150 if (SWIG_arg_fail(2)) SWIG_fail
;
7153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7154 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
7156 wxPyEndAllowThreads(__tstate
);
7157 if (PyErr_Occurred()) SWIG_fail
;
7161 resultptr
= new wxRect((wxRect
&)(result
));
7162 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7170 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7171 PyObject
*resultobj
;
7172 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7174 PyObject
* obj0
= 0 ;
7175 PyObject
* obj1
= 0 ;
7177 (char *) "self",(char *) "height", NULL
7180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
7181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7182 if (SWIG_arg_fail(1)) SWIG_fail
;
7184 arg2
= (int)(SWIG_As_int(obj1
));
7185 if (SWIG_arg_fail(2)) SWIG_fail
;
7188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7189 (arg1
)->SetMinHeight(arg2
);
7191 wxPyEndAllowThreads(__tstate
);
7192 if (PyErr_Occurred()) SWIG_fail
;
7194 Py_INCREF(Py_None
); resultobj
= Py_None
;
7201 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7202 PyObject
*resultobj
;
7203 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7205 PyObject
* obj0
= 0 ;
7207 (char *) "self", NULL
7210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
7211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7212 if (SWIG_arg_fail(1)) SWIG_fail
;
7214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7215 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
7217 wxPyEndAllowThreads(__tstate
);
7218 if (PyErr_Occurred()) SWIG_fail
;
7221 resultobj
= SWIG_From_int((int)(result
));
7229 static PyObject
*_wrap_StatusBar_GetBorderY(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_GetBorderY",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
)->GetBorderY();
7245 wxPyEndAllowThreads(__tstate
);
7246 if (PyErr_Occurred()) SWIG_fail
;
7249 resultobj
= SWIG_From_int((int)(result
));
7257 static PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7258 PyObject
*resultobj
;
7259 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7260 wxVisualAttributes result
;
7261 PyObject
* obj0
= 0 ;
7263 (char *) "variant", NULL
7266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
7269 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
7270 if (SWIG_arg_fail(1)) SWIG_fail
;
7274 if (!wxPyCheckForApp()) SWIG_fail
;
7275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7276 result
= wxStatusBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
7278 wxPyEndAllowThreads(__tstate
);
7279 if (PyErr_Occurred()) SWIG_fail
;
7282 wxVisualAttributes
* resultptr
;
7283 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
7284 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
7292 static PyObject
* StatusBar_swigregister(PyObject
*, PyObject
*args
) {
7294 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7295 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
7297 return Py_BuildValue((char *)"");
7299 static int _wrap_SplitterNameStr_set(PyObject
*) {
7300 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
7305 static PyObject
*_wrap_SplitterNameStr_get(void) {
7310 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
7312 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
7319 static PyObject
*_wrap_new_SplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7320 PyObject
*resultobj
;
7321 wxWindow
*arg1
= (wxWindow
*) 0 ;
7322 int arg2
= (int) -1 ;
7323 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7324 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7325 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7326 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7327 long arg5
= (long) wxSP_3D
;
7328 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
7329 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7330 wxSplitterWindow
*result
;
7333 bool temp6
= false ;
7334 PyObject
* obj0
= 0 ;
7335 PyObject
* obj1
= 0 ;
7336 PyObject
* obj2
= 0 ;
7337 PyObject
* obj3
= 0 ;
7338 PyObject
* obj4
= 0 ;
7339 PyObject
* obj5
= 0 ;
7341 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7346 if (SWIG_arg_fail(1)) SWIG_fail
;
7349 arg2
= (int)(SWIG_As_int(obj1
));
7350 if (SWIG_arg_fail(2)) SWIG_fail
;
7356 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7362 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7367 arg5
= (long)(SWIG_As_long(obj4
));
7368 if (SWIG_arg_fail(5)) SWIG_fail
;
7373 arg6
= wxString_in_helper(obj5
);
7374 if (arg6
== NULL
) SWIG_fail
;
7379 if (!wxPyCheckForApp()) SWIG_fail
;
7380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7381 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7383 wxPyEndAllowThreads(__tstate
);
7384 if (PyErr_Occurred()) SWIG_fail
;
7386 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
7401 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7402 PyObject
*resultobj
;
7403 wxSplitterWindow
*result
;
7408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
7410 if (!wxPyCheckForApp()) SWIG_fail
;
7411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7412 result
= (wxSplitterWindow
*)new wxSplitterWindow();
7414 wxPyEndAllowThreads(__tstate
);
7415 if (PyErr_Occurred()) SWIG_fail
;
7417 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
7424 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7425 PyObject
*resultobj
;
7426 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7427 wxWindow
*arg2
= (wxWindow
*) 0 ;
7428 int arg3
= (int) -1 ;
7429 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7430 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7431 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7432 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7433 long arg6
= (long) wxSP_3D
;
7434 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
7435 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7439 bool temp7
= false ;
7440 PyObject
* obj0
= 0 ;
7441 PyObject
* obj1
= 0 ;
7442 PyObject
* obj2
= 0 ;
7443 PyObject
* obj3
= 0 ;
7444 PyObject
* obj4
= 0 ;
7445 PyObject
* obj5
= 0 ;
7446 PyObject
* obj6
= 0 ;
7448 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7453 if (SWIG_arg_fail(1)) SWIG_fail
;
7454 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7455 if (SWIG_arg_fail(2)) SWIG_fail
;
7458 arg3
= (int)(SWIG_As_int(obj2
));
7459 if (SWIG_arg_fail(3)) SWIG_fail
;
7465 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7471 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7476 arg6
= (long)(SWIG_As_long(obj5
));
7477 if (SWIG_arg_fail(6)) SWIG_fail
;
7482 arg7
= wxString_in_helper(obj6
);
7483 if (arg7
== NULL
) SWIG_fail
;
7488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7489 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7491 wxPyEndAllowThreads(__tstate
);
7492 if (PyErr_Occurred()) SWIG_fail
;
7495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7511 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7512 PyObject
*resultobj
;
7513 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7515 PyObject
* obj0
= 0 ;
7517 (char *) "self", NULL
7520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
7521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7522 if (SWIG_arg_fail(1)) SWIG_fail
;
7524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7525 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
7527 wxPyEndAllowThreads(__tstate
);
7528 if (PyErr_Occurred()) SWIG_fail
;
7531 resultobj
= wxPyMake_wxObject(result
, 0);
7539 static PyObject
*_wrap_SplitterWindow_GetWindow2(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_GetWindow2",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
)->GetWindow2();
7555 wxPyEndAllowThreads(__tstate
);
7556 if (PyErr_Occurred()) SWIG_fail
;
7559 resultobj
= wxPyMake_wxObject(result
, 0);
7567 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7568 PyObject
*resultobj
;
7569 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7571 PyObject
* obj0
= 0 ;
7572 PyObject
* obj1
= 0 ;
7574 (char *) "self",(char *) "mode", NULL
7577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
7578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7579 if (SWIG_arg_fail(1)) SWIG_fail
;
7581 arg2
= (int)(SWIG_As_int(obj1
));
7582 if (SWIG_arg_fail(2)) SWIG_fail
;
7585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7586 (arg1
)->SetSplitMode(arg2
);
7588 wxPyEndAllowThreads(__tstate
);
7589 if (PyErr_Occurred()) SWIG_fail
;
7591 Py_INCREF(Py_None
); resultobj
= Py_None
;
7598 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7599 PyObject
*resultobj
;
7600 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7602 PyObject
* obj0
= 0 ;
7604 (char *) "self", NULL
7607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
7608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7609 if (SWIG_arg_fail(1)) SWIG_fail
;
7611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7612 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
7614 wxPyEndAllowThreads(__tstate
);
7615 if (PyErr_Occurred()) SWIG_fail
;
7617 resultobj
= SWIG_From_int((result
));
7624 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7625 PyObject
*resultobj
;
7626 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7627 wxWindow
*arg2
= (wxWindow
*) 0 ;
7628 PyObject
* obj0
= 0 ;
7629 PyObject
* obj1
= 0 ;
7631 (char *) "self",(char *) "window", NULL
7634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
7635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7636 if (SWIG_arg_fail(1)) SWIG_fail
;
7637 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7638 if (SWIG_arg_fail(2)) SWIG_fail
;
7640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7641 (arg1
)->Initialize(arg2
);
7643 wxPyEndAllowThreads(__tstate
);
7644 if (PyErr_Occurred()) SWIG_fail
;
7646 Py_INCREF(Py_None
); resultobj
= Py_None
;
7653 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7654 PyObject
*resultobj
;
7655 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7656 wxWindow
*arg2
= (wxWindow
*) 0 ;
7657 wxWindow
*arg3
= (wxWindow
*) 0 ;
7658 int arg4
= (int) 0 ;
7660 PyObject
* obj0
= 0 ;
7661 PyObject
* obj1
= 0 ;
7662 PyObject
* obj2
= 0 ;
7663 PyObject
* obj3
= 0 ;
7665 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7670 if (SWIG_arg_fail(1)) SWIG_fail
;
7671 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7672 if (SWIG_arg_fail(2)) SWIG_fail
;
7673 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7674 if (SWIG_arg_fail(3)) SWIG_fail
;
7677 arg4
= (int)(SWIG_As_int(obj3
));
7678 if (SWIG_arg_fail(4)) SWIG_fail
;
7682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7683 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
7685 wxPyEndAllowThreads(__tstate
);
7686 if (PyErr_Occurred()) SWIG_fail
;
7689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7697 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7698 PyObject
*resultobj
;
7699 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7700 wxWindow
*arg2
= (wxWindow
*) 0 ;
7701 wxWindow
*arg3
= (wxWindow
*) 0 ;
7702 int arg4
= (int) 0 ;
7704 PyObject
* obj0
= 0 ;
7705 PyObject
* obj1
= 0 ;
7706 PyObject
* obj2
= 0 ;
7707 PyObject
* obj3
= 0 ;
7709 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7714 if (SWIG_arg_fail(1)) SWIG_fail
;
7715 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7716 if (SWIG_arg_fail(2)) SWIG_fail
;
7717 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7718 if (SWIG_arg_fail(3)) SWIG_fail
;
7721 arg4
= (int)(SWIG_As_int(obj3
));
7722 if (SWIG_arg_fail(4)) SWIG_fail
;
7726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7727 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
7729 wxPyEndAllowThreads(__tstate
);
7730 if (PyErr_Occurred()) SWIG_fail
;
7733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7741 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7742 PyObject
*resultobj
;
7743 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7744 wxWindow
*arg2
= (wxWindow
*) NULL
;
7746 PyObject
* obj0
= 0 ;
7747 PyObject
* obj1
= 0 ;
7749 (char *) "self",(char *) "toRemove", NULL
7752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
7753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7754 if (SWIG_arg_fail(1)) SWIG_fail
;
7756 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7757 if (SWIG_arg_fail(2)) SWIG_fail
;
7760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7761 result
= (bool)(arg1
)->Unsplit(arg2
);
7763 wxPyEndAllowThreads(__tstate
);
7764 if (PyErr_Occurred()) SWIG_fail
;
7767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7775 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7776 PyObject
*resultobj
;
7777 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7778 wxWindow
*arg2
= (wxWindow
*) 0 ;
7779 wxWindow
*arg3
= (wxWindow
*) 0 ;
7781 PyObject
* obj0
= 0 ;
7782 PyObject
* obj1
= 0 ;
7783 PyObject
* obj2
= 0 ;
7785 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
7788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7790 if (SWIG_arg_fail(1)) SWIG_fail
;
7791 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7792 if (SWIG_arg_fail(2)) SWIG_fail
;
7793 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7794 if (SWIG_arg_fail(3)) SWIG_fail
;
7796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7797 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
7799 wxPyEndAllowThreads(__tstate
);
7800 if (PyErr_Occurred()) SWIG_fail
;
7803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7811 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7812 PyObject
*resultobj
;
7813 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7814 PyObject
* obj0
= 0 ;
7816 (char *) "self", NULL
7819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
7820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7821 if (SWIG_arg_fail(1)) SWIG_fail
;
7823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7824 (arg1
)->UpdateSize();
7826 wxPyEndAllowThreads(__tstate
);
7827 if (PyErr_Occurred()) SWIG_fail
;
7829 Py_INCREF(Py_None
); resultobj
= Py_None
;
7836 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7837 PyObject
*resultobj
;
7838 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7840 PyObject
* obj0
= 0 ;
7842 (char *) "self", NULL
7845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
7846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7847 if (SWIG_arg_fail(1)) SWIG_fail
;
7849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7850 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
7852 wxPyEndAllowThreads(__tstate
);
7853 if (PyErr_Occurred()) SWIG_fail
;
7856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7864 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7865 PyObject
*resultobj
;
7866 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7868 PyObject
* obj0
= 0 ;
7869 PyObject
* obj1
= 0 ;
7871 (char *) "self",(char *) "width", NULL
7874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7876 if (SWIG_arg_fail(1)) SWIG_fail
;
7878 arg2
= (int)(SWIG_As_int(obj1
));
7879 if (SWIG_arg_fail(2)) SWIG_fail
;
7882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7883 (arg1
)->SetSashSize(arg2
);
7885 wxPyEndAllowThreads(__tstate
);
7886 if (PyErr_Occurred()) SWIG_fail
;
7888 Py_INCREF(Py_None
); resultobj
= Py_None
;
7895 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7896 PyObject
*resultobj
;
7897 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7899 PyObject
* obj0
= 0 ;
7900 PyObject
* obj1
= 0 ;
7902 (char *) "self",(char *) "width", NULL
7905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7907 if (SWIG_arg_fail(1)) SWIG_fail
;
7909 arg2
= (int)(SWIG_As_int(obj1
));
7910 if (SWIG_arg_fail(2)) SWIG_fail
;
7913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7914 (arg1
)->SetBorderSize(arg2
);
7916 wxPyEndAllowThreads(__tstate
);
7917 if (PyErr_Occurred()) SWIG_fail
;
7919 Py_INCREF(Py_None
); resultobj
= Py_None
;
7926 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7927 PyObject
*resultobj
;
7928 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7930 PyObject
* obj0
= 0 ;
7932 (char *) "self", NULL
7935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
7936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7937 if (SWIG_arg_fail(1)) SWIG_fail
;
7939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7940 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
7942 wxPyEndAllowThreads(__tstate
);
7943 if (PyErr_Occurred()) SWIG_fail
;
7946 resultobj
= SWIG_From_int((int)(result
));
7954 static PyObject
*_wrap_SplitterWindow_GetBorderSize(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_GetBorderSize",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
)->GetBorderSize();
7970 wxPyEndAllowThreads(__tstate
);
7971 if (PyErr_Occurred()) SWIG_fail
;
7974 resultobj
= SWIG_From_int((int)(result
));
7982 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7983 PyObject
*resultobj
;
7984 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7986 bool arg3
= (bool) true ;
7987 PyObject
* obj0
= 0 ;
7988 PyObject
* obj1
= 0 ;
7989 PyObject
* obj2
= 0 ;
7991 (char *) "self",(char *) "position",(char *) "redraw", NULL
7994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7996 if (SWIG_arg_fail(1)) SWIG_fail
;
7998 arg2
= (int)(SWIG_As_int(obj1
));
7999 if (SWIG_arg_fail(2)) SWIG_fail
;
8003 arg3
= (bool)(SWIG_As_bool(obj2
));
8004 if (SWIG_arg_fail(3)) SWIG_fail
;
8008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8009 (arg1
)->SetSashPosition(arg2
,arg3
);
8011 wxPyEndAllowThreads(__tstate
);
8012 if (PyErr_Occurred()) SWIG_fail
;
8014 Py_INCREF(Py_None
); resultobj
= Py_None
;
8021 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8022 PyObject
*resultobj
;
8023 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8025 PyObject
* obj0
= 0 ;
8027 (char *) "self", NULL
8030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
8031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8032 if (SWIG_arg_fail(1)) SWIG_fail
;
8034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8035 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
8037 wxPyEndAllowThreads(__tstate
);
8038 if (PyErr_Occurred()) SWIG_fail
;
8041 resultobj
= SWIG_From_int((int)(result
));
8049 static PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8050 PyObject
*resultobj
;
8051 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8053 PyObject
* obj0
= 0 ;
8054 PyObject
* obj1
= 0 ;
8056 (char *) "self",(char *) "gravity", NULL
8059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) goto fail
;
8060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8061 if (SWIG_arg_fail(1)) SWIG_fail
;
8063 arg2
= (double)(SWIG_As_double(obj1
));
8064 if (SWIG_arg_fail(2)) SWIG_fail
;
8067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8068 (arg1
)->SetSashGravity(arg2
);
8070 wxPyEndAllowThreads(__tstate
);
8071 if (PyErr_Occurred()) SWIG_fail
;
8073 Py_INCREF(Py_None
); resultobj
= Py_None
;
8080 static PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8081 PyObject
*resultobj
;
8082 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8084 PyObject
* obj0
= 0 ;
8086 (char *) "self", NULL
8089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashGravity",kwnames
,&obj0
)) goto fail
;
8090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8091 if (SWIG_arg_fail(1)) SWIG_fail
;
8093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8094 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
8096 wxPyEndAllowThreads(__tstate
);
8097 if (PyErr_Occurred()) SWIG_fail
;
8100 resultobj
= SWIG_From_double((double)(result
));
8108 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8109 PyObject
*resultobj
;
8110 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8112 PyObject
* obj0
= 0 ;
8113 PyObject
* obj1
= 0 ;
8115 (char *) "self",(char *) "min", NULL
8118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8120 if (SWIG_arg_fail(1)) SWIG_fail
;
8122 arg2
= (int)(SWIG_As_int(obj1
));
8123 if (SWIG_arg_fail(2)) SWIG_fail
;
8126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8127 (arg1
)->SetMinimumPaneSize(arg2
);
8129 wxPyEndAllowThreads(__tstate
);
8130 if (PyErr_Occurred()) SWIG_fail
;
8132 Py_INCREF(Py_None
); resultobj
= Py_None
;
8139 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8140 PyObject
*resultobj
;
8141 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8143 PyObject
* obj0
= 0 ;
8145 (char *) "self", NULL
8148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
8149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8150 if (SWIG_arg_fail(1)) SWIG_fail
;
8152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8153 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
8155 wxPyEndAllowThreads(__tstate
);
8156 if (PyErr_Occurred()) SWIG_fail
;
8159 resultobj
= SWIG_From_int((int)(result
));
8167 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8168 PyObject
*resultobj
;
8169 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8172 int arg4
= (int) 5 ;
8174 PyObject
* obj0
= 0 ;
8175 PyObject
* obj1
= 0 ;
8176 PyObject
* obj2
= 0 ;
8177 PyObject
* obj3
= 0 ;
8179 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
8182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8184 if (SWIG_arg_fail(1)) SWIG_fail
;
8186 arg2
= (int)(SWIG_As_int(obj1
));
8187 if (SWIG_arg_fail(2)) SWIG_fail
;
8190 arg3
= (int)(SWIG_As_int(obj2
));
8191 if (SWIG_arg_fail(3)) SWIG_fail
;
8195 arg4
= (int)(SWIG_As_int(obj3
));
8196 if (SWIG_arg_fail(4)) SWIG_fail
;
8200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8201 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
8203 wxPyEndAllowThreads(__tstate
);
8204 if (PyErr_Occurred()) SWIG_fail
;
8207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8215 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8216 PyObject
*resultobj
;
8217 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8218 PyObject
* obj0
= 0 ;
8220 (char *) "self", NULL
8223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
8224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8225 if (SWIG_arg_fail(1)) SWIG_fail
;
8227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8228 (arg1
)->SizeWindows();
8230 wxPyEndAllowThreads(__tstate
);
8231 if (PyErr_Occurred()) SWIG_fail
;
8233 Py_INCREF(Py_None
); resultobj
= Py_None
;
8240 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8241 PyObject
*resultobj
;
8242 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8244 PyObject
* obj0
= 0 ;
8245 PyObject
* obj1
= 0 ;
8247 (char *) "self",(char *) "needUpdating", NULL
8250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
8251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8252 if (SWIG_arg_fail(1)) SWIG_fail
;
8254 arg2
= (bool)(SWIG_As_bool(obj1
));
8255 if (SWIG_arg_fail(2)) SWIG_fail
;
8258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8259 (arg1
)->SetNeedUpdating(arg2
);
8261 wxPyEndAllowThreads(__tstate
);
8262 if (PyErr_Occurred()) SWIG_fail
;
8264 Py_INCREF(Py_None
); resultobj
= Py_None
;
8271 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8272 PyObject
*resultobj
;
8273 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8275 PyObject
* obj0
= 0 ;
8277 (char *) "self", NULL
8280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
8281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8282 if (SWIG_arg_fail(1)) SWIG_fail
;
8284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8285 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
8287 wxPyEndAllowThreads(__tstate
);
8288 if (PyErr_Occurred()) SWIG_fail
;
8291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8299 static PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8300 PyObject
*resultobj
;
8301 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8302 wxVisualAttributes result
;
8303 PyObject
* obj0
= 0 ;
8305 (char *) "variant", NULL
8308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
8311 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
8312 if (SWIG_arg_fail(1)) SWIG_fail
;
8316 if (!wxPyCheckForApp()) SWIG_fail
;
8317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8318 result
= wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
8320 wxPyEndAllowThreads(__tstate
);
8321 if (PyErr_Occurred()) SWIG_fail
;
8324 wxVisualAttributes
* resultptr
;
8325 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
8326 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
8334 static PyObject
* SplitterWindow_swigregister(PyObject
*, PyObject
*args
) {
8336 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8337 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
8339 return Py_BuildValue((char *)"");
8341 static PyObject
*_wrap_new_SplitterEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8342 PyObject
*resultobj
;
8343 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
8344 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
8345 wxSplitterEvent
*result
;
8346 PyObject
* obj0
= 0 ;
8347 PyObject
* obj1
= 0 ;
8349 (char *) "type",(char *) "splitter", NULL
8352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
8355 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
8356 if (SWIG_arg_fail(1)) SWIG_fail
;
8360 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8361 if (SWIG_arg_fail(2)) SWIG_fail
;
8364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8365 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
8367 wxPyEndAllowThreads(__tstate
);
8368 if (PyErr_Occurred()) SWIG_fail
;
8370 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
8377 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8378 PyObject
*resultobj
;
8379 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8381 PyObject
* obj0
= 0 ;
8382 PyObject
* obj1
= 0 ;
8384 (char *) "self",(char *) "pos", NULL
8387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
8388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8389 if (SWIG_arg_fail(1)) SWIG_fail
;
8391 arg2
= (int)(SWIG_As_int(obj1
));
8392 if (SWIG_arg_fail(2)) SWIG_fail
;
8395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8396 (arg1
)->SetSashPosition(arg2
);
8398 wxPyEndAllowThreads(__tstate
);
8399 if (PyErr_Occurred()) SWIG_fail
;
8401 Py_INCREF(Py_None
); resultobj
= Py_None
;
8408 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8409 PyObject
*resultobj
;
8410 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8412 PyObject
* obj0
= 0 ;
8414 (char *) "self", NULL
8417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
8418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8419 if (SWIG_arg_fail(1)) SWIG_fail
;
8421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8422 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
8424 wxPyEndAllowThreads(__tstate
);
8425 if (PyErr_Occurred()) SWIG_fail
;
8428 resultobj
= SWIG_From_int((int)(result
));
8436 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(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_GetWindowBeingRemoved",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
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
8452 wxPyEndAllowThreads(__tstate
);
8453 if (PyErr_Occurred()) SWIG_fail
;
8456 resultobj
= wxPyMake_wxObject(result
, 0);
8464 static PyObject
*_wrap_SplitterEvent_GetX(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_GetX",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
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
8480 wxPyEndAllowThreads(__tstate
);
8481 if (PyErr_Occurred()) SWIG_fail
;
8484 resultobj
= SWIG_From_int((int)(result
));
8492 static PyObject
*_wrap_SplitterEvent_GetY(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_GetY",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
)->GetY();
8508 wxPyEndAllowThreads(__tstate
);
8509 if (PyErr_Occurred()) SWIG_fail
;
8512 resultobj
= SWIG_From_int((int)(result
));
8520 static PyObject
* SplitterEvent_swigregister(PyObject
*, PyObject
*args
) {
8522 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8523 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
8525 return Py_BuildValue((char *)"");
8527 static int _wrap_SashNameStr_set(PyObject
*) {
8528 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
8533 static PyObject
*_wrap_SashNameStr_get(void) {
8538 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
8540 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
8547 static int _wrap_SashLayoutNameStr_set(PyObject
*) {
8548 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
8553 static PyObject
*_wrap_SashLayoutNameStr_get(void) {
8558 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
8560 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
8567 static PyObject
*_wrap_new_SashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8568 PyObject
*resultobj
;
8569 wxWindow
*arg1
= (wxWindow
*) 0 ;
8570 int arg2
= (int) -1 ;
8571 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8572 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8573 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8574 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8575 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8576 wxString
const &arg6_defvalue
= wxPySashNameStr
;
8577 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8578 wxSashWindow
*result
;
8581 bool temp6
= false ;
8582 PyObject
* obj0
= 0 ;
8583 PyObject
* obj1
= 0 ;
8584 PyObject
* obj2
= 0 ;
8585 PyObject
* obj3
= 0 ;
8586 PyObject
* obj4
= 0 ;
8587 PyObject
* obj5
= 0 ;
8589 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8594 if (SWIG_arg_fail(1)) SWIG_fail
;
8597 arg2
= (int)(SWIG_As_int(obj1
));
8598 if (SWIG_arg_fail(2)) SWIG_fail
;
8604 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8610 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8615 arg5
= (long)(SWIG_As_long(obj4
));
8616 if (SWIG_arg_fail(5)) SWIG_fail
;
8621 arg6
= wxString_in_helper(obj5
);
8622 if (arg6
== NULL
) SWIG_fail
;
8627 if (!wxPyCheckForApp()) SWIG_fail
;
8628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8629 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8631 wxPyEndAllowThreads(__tstate
);
8632 if (PyErr_Occurred()) SWIG_fail
;
8634 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
8649 static PyObject
*_wrap_new_PreSashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8650 PyObject
*resultobj
;
8651 wxSashWindow
*result
;
8656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
8658 if (!wxPyCheckForApp()) SWIG_fail
;
8659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8660 result
= (wxSashWindow
*)new wxSashWindow();
8662 wxPyEndAllowThreads(__tstate
);
8663 if (PyErr_Occurred()) SWIG_fail
;
8665 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
8672 static PyObject
*_wrap_SashWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8673 PyObject
*resultobj
;
8674 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8675 wxWindow
*arg2
= (wxWindow
*) 0 ;
8676 int arg3
= (int) -1 ;
8677 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8678 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8679 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8680 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8681 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8682 wxString
const &arg7_defvalue
= wxPySashNameStr
;
8683 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8687 bool temp7
= false ;
8688 PyObject
* obj0
= 0 ;
8689 PyObject
* obj1
= 0 ;
8690 PyObject
* obj2
= 0 ;
8691 PyObject
* obj3
= 0 ;
8692 PyObject
* obj4
= 0 ;
8693 PyObject
* obj5
= 0 ;
8694 PyObject
* obj6
= 0 ;
8696 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8701 if (SWIG_arg_fail(1)) SWIG_fail
;
8702 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8703 if (SWIG_arg_fail(2)) SWIG_fail
;
8706 arg3
= (int)(SWIG_As_int(obj2
));
8707 if (SWIG_arg_fail(3)) SWIG_fail
;
8713 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8719 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8724 arg6
= (long)(SWIG_As_long(obj5
));
8725 if (SWIG_arg_fail(6)) SWIG_fail
;
8730 arg7
= wxString_in_helper(obj6
);
8731 if (arg7
== NULL
) SWIG_fail
;
8736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8737 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8739 wxPyEndAllowThreads(__tstate
);
8740 if (PyErr_Occurred()) SWIG_fail
;
8743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8759 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8760 PyObject
*resultobj
;
8761 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8762 wxSashEdgePosition arg2
;
8764 PyObject
* obj0
= 0 ;
8765 PyObject
* obj1
= 0 ;
8766 PyObject
* obj2
= 0 ;
8768 (char *) "self",(char *) "edge",(char *) "sash", NULL
8771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8773 if (SWIG_arg_fail(1)) SWIG_fail
;
8775 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8776 if (SWIG_arg_fail(2)) SWIG_fail
;
8779 arg3
= (bool)(SWIG_As_bool(obj2
));
8780 if (SWIG_arg_fail(3)) SWIG_fail
;
8783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8784 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
8786 wxPyEndAllowThreads(__tstate
);
8787 if (PyErr_Occurred()) SWIG_fail
;
8789 Py_INCREF(Py_None
); resultobj
= Py_None
;
8796 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8797 PyObject
*resultobj
;
8798 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8799 wxSashEdgePosition arg2
;
8801 PyObject
* obj0
= 0 ;
8802 PyObject
* obj1
= 0 ;
8804 (char *) "self",(char *) "edge", NULL
8807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
8808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8809 if (SWIG_arg_fail(1)) SWIG_fail
;
8811 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8812 if (SWIG_arg_fail(2)) SWIG_fail
;
8815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8816 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
8818 wxPyEndAllowThreads(__tstate
);
8819 if (PyErr_Occurred()) SWIG_fail
;
8822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8830 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8831 PyObject
*resultobj
;
8832 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8833 wxSashEdgePosition arg2
;
8835 PyObject
* obj0
= 0 ;
8836 PyObject
* obj1
= 0 ;
8837 PyObject
* obj2
= 0 ;
8839 (char *) "self",(char *) "edge",(char *) "border", NULL
8842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8844 if (SWIG_arg_fail(1)) SWIG_fail
;
8846 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8847 if (SWIG_arg_fail(2)) SWIG_fail
;
8850 arg3
= (bool)(SWIG_As_bool(obj2
));
8851 if (SWIG_arg_fail(3)) SWIG_fail
;
8854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8855 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
8857 wxPyEndAllowThreads(__tstate
);
8858 if (PyErr_Occurred()) SWIG_fail
;
8860 Py_INCREF(Py_None
); resultobj
= Py_None
;
8867 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8868 PyObject
*resultobj
;
8869 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8870 wxSashEdgePosition arg2
;
8872 PyObject
* obj0
= 0 ;
8873 PyObject
* obj1
= 0 ;
8875 (char *) "self",(char *) "edge", NULL
8878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
8879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8880 if (SWIG_arg_fail(1)) SWIG_fail
;
8882 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8883 if (SWIG_arg_fail(2)) SWIG_fail
;
8886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8887 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
8889 wxPyEndAllowThreads(__tstate
);
8890 if (PyErr_Occurred()) SWIG_fail
;
8893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8901 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8902 PyObject
*resultobj
;
8903 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8904 wxSashEdgePosition arg2
;
8906 PyObject
* obj0
= 0 ;
8907 PyObject
* obj1
= 0 ;
8909 (char *) "self",(char *) "edge", NULL
8912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
8913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8914 if (SWIG_arg_fail(1)) SWIG_fail
;
8916 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8917 if (SWIG_arg_fail(2)) SWIG_fail
;
8920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8921 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
8923 wxPyEndAllowThreads(__tstate
);
8924 if (PyErr_Occurred()) SWIG_fail
;
8927 resultobj
= SWIG_From_int((int)(result
));
8935 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8936 PyObject
*resultobj
;
8937 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8939 PyObject
* obj0
= 0 ;
8940 PyObject
* obj1
= 0 ;
8942 (char *) "self",(char *) "width", NULL
8945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8947 if (SWIG_arg_fail(1)) SWIG_fail
;
8949 arg2
= (int)(SWIG_As_int(obj1
));
8950 if (SWIG_arg_fail(2)) SWIG_fail
;
8953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8954 (arg1
)->SetDefaultBorderSize(arg2
);
8956 wxPyEndAllowThreads(__tstate
);
8957 if (PyErr_Occurred()) SWIG_fail
;
8959 Py_INCREF(Py_None
); resultobj
= Py_None
;
8966 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8967 PyObject
*resultobj
;
8968 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8970 PyObject
* obj0
= 0 ;
8972 (char *) "self", NULL
8975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
8976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8977 if (SWIG_arg_fail(1)) SWIG_fail
;
8979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8980 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
8982 wxPyEndAllowThreads(__tstate
);
8983 if (PyErr_Occurred()) SWIG_fail
;
8986 resultobj
= SWIG_From_int((int)(result
));
8994 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8995 PyObject
*resultobj
;
8996 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8998 PyObject
* obj0
= 0 ;
8999 PyObject
* obj1
= 0 ;
9001 (char *) "self",(char *) "width", NULL
9004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9006 if (SWIG_arg_fail(1)) SWIG_fail
;
9008 arg2
= (int)(SWIG_As_int(obj1
));
9009 if (SWIG_arg_fail(2)) SWIG_fail
;
9012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9013 (arg1
)->SetExtraBorderSize(arg2
);
9015 wxPyEndAllowThreads(__tstate
);
9016 if (PyErr_Occurred()) SWIG_fail
;
9018 Py_INCREF(Py_None
); resultobj
= Py_None
;
9025 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9026 PyObject
*resultobj
;
9027 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9029 PyObject
* obj0
= 0 ;
9031 (char *) "self", NULL
9034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
9035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9036 if (SWIG_arg_fail(1)) SWIG_fail
;
9038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9039 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
9041 wxPyEndAllowThreads(__tstate
);
9042 if (PyErr_Occurred()) SWIG_fail
;
9045 resultobj
= SWIG_From_int((int)(result
));
9053 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9054 PyObject
*resultobj
;
9055 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9057 PyObject
* obj0
= 0 ;
9058 PyObject
* obj1
= 0 ;
9060 (char *) "self",(char *) "min", NULL
9063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
9064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9065 if (SWIG_arg_fail(1)) SWIG_fail
;
9067 arg2
= (int)(SWIG_As_int(obj1
));
9068 if (SWIG_arg_fail(2)) SWIG_fail
;
9071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9072 (arg1
)->SetMinimumSizeX(arg2
);
9074 wxPyEndAllowThreads(__tstate
);
9075 if (PyErr_Occurred()) SWIG_fail
;
9077 Py_INCREF(Py_None
); resultobj
= Py_None
;
9084 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9085 PyObject
*resultobj
;
9086 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9088 PyObject
* obj0
= 0 ;
9089 PyObject
* obj1
= 0 ;
9091 (char *) "self",(char *) "min", NULL
9094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
9095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9096 if (SWIG_arg_fail(1)) SWIG_fail
;
9098 arg2
= (int)(SWIG_As_int(obj1
));
9099 if (SWIG_arg_fail(2)) SWIG_fail
;
9102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9103 (arg1
)->SetMinimumSizeY(arg2
);
9105 wxPyEndAllowThreads(__tstate
);
9106 if (PyErr_Occurred()) SWIG_fail
;
9108 Py_INCREF(Py_None
); resultobj
= Py_None
;
9115 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9116 PyObject
*resultobj
;
9117 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9119 PyObject
* obj0
= 0 ;
9121 (char *) "self", NULL
9124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
9125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9126 if (SWIG_arg_fail(1)) SWIG_fail
;
9128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9129 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
9131 wxPyEndAllowThreads(__tstate
);
9132 if (PyErr_Occurred()) SWIG_fail
;
9135 resultobj
= SWIG_From_int((int)(result
));
9143 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(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_GetMinimumSizeY",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
)->GetMinimumSizeY();
9159 wxPyEndAllowThreads(__tstate
);
9160 if (PyErr_Occurred()) SWIG_fail
;
9163 resultobj
= SWIG_From_int((int)(result
));
9171 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9172 PyObject
*resultobj
;
9173 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9175 PyObject
* obj0
= 0 ;
9176 PyObject
* obj1
= 0 ;
9178 (char *) "self",(char *) "max", NULL
9181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
9182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9183 if (SWIG_arg_fail(1)) SWIG_fail
;
9185 arg2
= (int)(SWIG_As_int(obj1
));
9186 if (SWIG_arg_fail(2)) SWIG_fail
;
9189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9190 (arg1
)->SetMaximumSizeX(arg2
);
9192 wxPyEndAllowThreads(__tstate
);
9193 if (PyErr_Occurred()) SWIG_fail
;
9195 Py_INCREF(Py_None
); resultobj
= Py_None
;
9202 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9203 PyObject
*resultobj
;
9204 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9206 PyObject
* obj0
= 0 ;
9207 PyObject
* obj1
= 0 ;
9209 (char *) "self",(char *) "max", NULL
9212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
9213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9214 if (SWIG_arg_fail(1)) SWIG_fail
;
9216 arg2
= (int)(SWIG_As_int(obj1
));
9217 if (SWIG_arg_fail(2)) SWIG_fail
;
9220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9221 (arg1
)->SetMaximumSizeY(arg2
);
9223 wxPyEndAllowThreads(__tstate
);
9224 if (PyErr_Occurred()) SWIG_fail
;
9226 Py_INCREF(Py_None
); resultobj
= Py_None
;
9233 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9234 PyObject
*resultobj
;
9235 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9237 PyObject
* obj0
= 0 ;
9239 (char *) "self", NULL
9242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
9243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9244 if (SWIG_arg_fail(1)) SWIG_fail
;
9246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9247 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
9249 wxPyEndAllowThreads(__tstate
);
9250 if (PyErr_Occurred()) SWIG_fail
;
9253 resultobj
= SWIG_From_int((int)(result
));
9261 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(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_GetMaximumSizeY",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
)->GetMaximumSizeY();
9277 wxPyEndAllowThreads(__tstate
);
9278 if (PyErr_Occurred()) SWIG_fail
;
9281 resultobj
= SWIG_From_int((int)(result
));
9289 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9290 PyObject
*resultobj
;
9291 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9294 int arg4
= (int) 2 ;
9295 wxSashEdgePosition result
;
9296 PyObject
* obj0
= 0 ;
9297 PyObject
* obj1
= 0 ;
9298 PyObject
* obj2
= 0 ;
9299 PyObject
* obj3
= 0 ;
9301 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
9304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9306 if (SWIG_arg_fail(1)) SWIG_fail
;
9308 arg2
= (int)(SWIG_As_int(obj1
));
9309 if (SWIG_arg_fail(2)) SWIG_fail
;
9312 arg3
= (int)(SWIG_As_int(obj2
));
9313 if (SWIG_arg_fail(3)) SWIG_fail
;
9317 arg4
= (int)(SWIG_As_int(obj3
));
9318 if (SWIG_arg_fail(4)) SWIG_fail
;
9322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9323 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
9325 wxPyEndAllowThreads(__tstate
);
9326 if (PyErr_Occurred()) SWIG_fail
;
9328 resultobj
= SWIG_From_int((result
));
9335 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9336 PyObject
*resultobj
;
9337 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9338 PyObject
* obj0
= 0 ;
9340 (char *) "self", NULL
9343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
9344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9345 if (SWIG_arg_fail(1)) SWIG_fail
;
9347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9348 (arg1
)->SizeWindows();
9350 wxPyEndAllowThreads(__tstate
);
9351 if (PyErr_Occurred()) SWIG_fail
;
9353 Py_INCREF(Py_None
); resultobj
= Py_None
;
9360 static PyObject
* SashWindow_swigregister(PyObject
*, PyObject
*args
) {
9362 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9363 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
9365 return Py_BuildValue((char *)"");
9367 static PyObject
*_wrap_new_SashEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9368 PyObject
*resultobj
;
9369 int arg1
= (int) 0 ;
9370 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
9371 wxSashEvent
*result
;
9372 PyObject
* obj0
= 0 ;
9373 PyObject
* obj1
= 0 ;
9375 (char *) "id",(char *) "edge", NULL
9378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
9381 arg1
= (int)(SWIG_As_int(obj0
));
9382 if (SWIG_arg_fail(1)) SWIG_fail
;
9387 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
9388 if (SWIG_arg_fail(2)) SWIG_fail
;
9392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9393 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
9395 wxPyEndAllowThreads(__tstate
);
9396 if (PyErr_Occurred()) SWIG_fail
;
9398 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
9405 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9406 PyObject
*resultobj
;
9407 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9408 wxSashEdgePosition arg2
;
9409 PyObject
* obj0
= 0 ;
9410 PyObject
* obj1
= 0 ;
9412 (char *) "self",(char *) "edge", NULL
9415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
9416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9417 if (SWIG_arg_fail(1)) SWIG_fail
;
9419 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
9420 if (SWIG_arg_fail(2)) SWIG_fail
;
9423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9424 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
9426 wxPyEndAllowThreads(__tstate
);
9427 if (PyErr_Occurred()) SWIG_fail
;
9429 Py_INCREF(Py_None
); resultobj
= Py_None
;
9436 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9437 PyObject
*resultobj
;
9438 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9439 wxSashEdgePosition result
;
9440 PyObject
* obj0
= 0 ;
9442 (char *) "self", NULL
9445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
9446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9447 if (SWIG_arg_fail(1)) SWIG_fail
;
9449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9450 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
9452 wxPyEndAllowThreads(__tstate
);
9453 if (PyErr_Occurred()) SWIG_fail
;
9455 resultobj
= SWIG_From_int((result
));
9462 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9463 PyObject
*resultobj
;
9464 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9467 PyObject
* obj0
= 0 ;
9468 PyObject
* obj1
= 0 ;
9470 (char *) "self",(char *) "rect", NULL
9473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
9474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9475 if (SWIG_arg_fail(1)) SWIG_fail
;
9478 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9482 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
9484 wxPyEndAllowThreads(__tstate
);
9485 if (PyErr_Occurred()) SWIG_fail
;
9487 Py_INCREF(Py_None
); resultobj
= Py_None
;
9494 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9495 PyObject
*resultobj
;
9496 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9498 PyObject
* obj0
= 0 ;
9500 (char *) "self", NULL
9503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
9504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9505 if (SWIG_arg_fail(1)) SWIG_fail
;
9507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9508 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
9510 wxPyEndAllowThreads(__tstate
);
9511 if (PyErr_Occurred()) SWIG_fail
;
9515 resultptr
= new wxRect((wxRect
&)(result
));
9516 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
9524 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9525 PyObject
*resultobj
;
9526 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9527 wxSashDragStatus arg2
;
9528 PyObject
* obj0
= 0 ;
9529 PyObject
* obj1
= 0 ;
9531 (char *) "self",(char *) "status", NULL
9534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
9535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9536 if (SWIG_arg_fail(1)) SWIG_fail
;
9538 arg2
= (wxSashDragStatus
)(SWIG_As_int(obj1
));
9539 if (SWIG_arg_fail(2)) SWIG_fail
;
9542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9543 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
9545 wxPyEndAllowThreads(__tstate
);
9546 if (PyErr_Occurred()) SWIG_fail
;
9548 Py_INCREF(Py_None
); resultobj
= Py_None
;
9555 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9556 PyObject
*resultobj
;
9557 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9558 wxSashDragStatus result
;
9559 PyObject
* obj0
= 0 ;
9561 (char *) "self", NULL
9564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
9565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9566 if (SWIG_arg_fail(1)) SWIG_fail
;
9568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9569 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
9571 wxPyEndAllowThreads(__tstate
);
9572 if (PyErr_Occurred()) SWIG_fail
;
9574 resultobj
= SWIG_From_int((result
));
9581 static PyObject
* SashEvent_swigregister(PyObject
*, PyObject
*args
) {
9583 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9584 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
9586 return Py_BuildValue((char *)"");
9588 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9589 PyObject
*resultobj
;
9590 int arg1
= (int) 0 ;
9591 wxQueryLayoutInfoEvent
*result
;
9592 PyObject
* obj0
= 0 ;
9597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
9600 arg1
= (int)(SWIG_As_int(obj0
));
9601 if (SWIG_arg_fail(1)) SWIG_fail
;
9605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9606 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
9608 wxPyEndAllowThreads(__tstate
);
9609 if (PyErr_Occurred()) SWIG_fail
;
9611 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
9618 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9619 PyObject
*resultobj
;
9620 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9622 PyObject
* obj0
= 0 ;
9623 PyObject
* obj1
= 0 ;
9625 (char *) "self",(char *) "length", NULL
9628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
9629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9630 if (SWIG_arg_fail(1)) SWIG_fail
;
9632 arg2
= (int)(SWIG_As_int(obj1
));
9633 if (SWIG_arg_fail(2)) SWIG_fail
;
9636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9637 (arg1
)->SetRequestedLength(arg2
);
9639 wxPyEndAllowThreads(__tstate
);
9640 if (PyErr_Occurred()) SWIG_fail
;
9642 Py_INCREF(Py_None
); resultobj
= Py_None
;
9649 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9650 PyObject
*resultobj
;
9651 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9653 PyObject
* obj0
= 0 ;
9655 (char *) "self", NULL
9658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
9659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9660 if (SWIG_arg_fail(1)) SWIG_fail
;
9662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9663 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
9665 wxPyEndAllowThreads(__tstate
);
9666 if (PyErr_Occurred()) SWIG_fail
;
9669 resultobj
= SWIG_From_int((int)(result
));
9677 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9678 PyObject
*resultobj
;
9679 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9681 PyObject
* obj0
= 0 ;
9682 PyObject
* obj1
= 0 ;
9684 (char *) "self",(char *) "flags", NULL
9687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
9688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9689 if (SWIG_arg_fail(1)) SWIG_fail
;
9691 arg2
= (int)(SWIG_As_int(obj1
));
9692 if (SWIG_arg_fail(2)) SWIG_fail
;
9695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9696 (arg1
)->SetFlags(arg2
);
9698 wxPyEndAllowThreads(__tstate
);
9699 if (PyErr_Occurred()) SWIG_fail
;
9701 Py_INCREF(Py_None
); resultobj
= Py_None
;
9708 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9709 PyObject
*resultobj
;
9710 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9712 PyObject
* obj0
= 0 ;
9714 (char *) "self", NULL
9717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
9718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9719 if (SWIG_arg_fail(1)) SWIG_fail
;
9721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9722 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
9724 wxPyEndAllowThreads(__tstate
);
9725 if (PyErr_Occurred()) SWIG_fail
;
9728 resultobj
= SWIG_From_int((int)(result
));
9736 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9737 PyObject
*resultobj
;
9738 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9741 PyObject
* obj0
= 0 ;
9742 PyObject
* obj1
= 0 ;
9744 (char *) "self",(char *) "size", NULL
9747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9749 if (SWIG_arg_fail(1)) SWIG_fail
;
9752 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9756 (arg1
)->SetSize((wxSize
const &)*arg2
);
9758 wxPyEndAllowThreads(__tstate
);
9759 if (PyErr_Occurred()) SWIG_fail
;
9761 Py_INCREF(Py_None
); resultobj
= Py_None
;
9768 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9769 PyObject
*resultobj
;
9770 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9772 PyObject
* obj0
= 0 ;
9774 (char *) "self", NULL
9777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
9778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9779 if (SWIG_arg_fail(1)) SWIG_fail
;
9781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9782 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
9784 wxPyEndAllowThreads(__tstate
);
9785 if (PyErr_Occurred()) SWIG_fail
;
9789 resultptr
= new wxSize((wxSize
&)(result
));
9790 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
9798 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9799 PyObject
*resultobj
;
9800 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9801 wxLayoutOrientation arg2
;
9802 PyObject
* obj0
= 0 ;
9803 PyObject
* obj1
= 0 ;
9805 (char *) "self",(char *) "orient", NULL
9808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
9809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9810 if (SWIG_arg_fail(1)) SWIG_fail
;
9812 arg2
= (wxLayoutOrientation
)(SWIG_As_int(obj1
));
9813 if (SWIG_arg_fail(2)) SWIG_fail
;
9816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9817 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
9819 wxPyEndAllowThreads(__tstate
);
9820 if (PyErr_Occurred()) SWIG_fail
;
9822 Py_INCREF(Py_None
); resultobj
= Py_None
;
9829 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9830 PyObject
*resultobj
;
9831 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9832 wxLayoutOrientation result
;
9833 PyObject
* obj0
= 0 ;
9835 (char *) "self", NULL
9838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
9839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9840 if (SWIG_arg_fail(1)) SWIG_fail
;
9842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9843 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
9845 wxPyEndAllowThreads(__tstate
);
9846 if (PyErr_Occurred()) SWIG_fail
;
9848 resultobj
= SWIG_From_int((result
));
9855 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9856 PyObject
*resultobj
;
9857 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9858 wxLayoutAlignment arg2
;
9859 PyObject
* obj0
= 0 ;
9860 PyObject
* obj1
= 0 ;
9862 (char *) "self",(char *) "align", NULL
9865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
9866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9867 if (SWIG_arg_fail(1)) SWIG_fail
;
9869 arg2
= (wxLayoutAlignment
)(SWIG_As_int(obj1
));
9870 if (SWIG_arg_fail(2)) SWIG_fail
;
9873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9874 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
9876 wxPyEndAllowThreads(__tstate
);
9877 if (PyErr_Occurred()) SWIG_fail
;
9879 Py_INCREF(Py_None
); resultobj
= Py_None
;
9886 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9887 PyObject
*resultobj
;
9888 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9889 wxLayoutAlignment result
;
9890 PyObject
* obj0
= 0 ;
9892 (char *) "self", NULL
9895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
9896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9897 if (SWIG_arg_fail(1)) SWIG_fail
;
9899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9900 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
9902 wxPyEndAllowThreads(__tstate
);
9903 if (PyErr_Occurred()) SWIG_fail
;
9905 resultobj
= SWIG_From_int((result
));
9912 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*, PyObject
*args
) {
9914 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9915 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
9917 return Py_BuildValue((char *)"");
9919 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9920 PyObject
*resultobj
;
9921 int arg1
= (int) 0 ;
9922 wxCalculateLayoutEvent
*result
;
9923 PyObject
* obj0
= 0 ;
9928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
9931 arg1
= (int)(SWIG_As_int(obj0
));
9932 if (SWIG_arg_fail(1)) SWIG_fail
;
9936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9937 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
9939 wxPyEndAllowThreads(__tstate
);
9940 if (PyErr_Occurred()) SWIG_fail
;
9942 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
9949 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9950 PyObject
*resultobj
;
9951 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
9953 PyObject
* obj0
= 0 ;
9954 PyObject
* obj1
= 0 ;
9956 (char *) "self",(char *) "flags", NULL
9959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
9960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
9961 if (SWIG_arg_fail(1)) SWIG_fail
;
9963 arg2
= (int)(SWIG_As_int(obj1
));
9964 if (SWIG_arg_fail(2)) SWIG_fail
;
9967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9968 (arg1
)->SetFlags(arg2
);
9970 wxPyEndAllowThreads(__tstate
);
9971 if (PyErr_Occurred()) SWIG_fail
;
9973 Py_INCREF(Py_None
); resultobj
= Py_None
;
9980 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9981 PyObject
*resultobj
;
9982 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
9984 PyObject
* obj0
= 0 ;
9986 (char *) "self", NULL
9989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
9990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
9991 if (SWIG_arg_fail(1)) SWIG_fail
;
9993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9994 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
9996 wxPyEndAllowThreads(__tstate
);
9997 if (PyErr_Occurred()) SWIG_fail
;
10000 resultobj
= SWIG_From_int((int)(result
));
10008 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10009 PyObject
*resultobj
;
10010 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10013 PyObject
* obj0
= 0 ;
10014 PyObject
* obj1
= 0 ;
10015 char *kwnames
[] = {
10016 (char *) "self",(char *) "rect", NULL
10019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10021 if (SWIG_arg_fail(1)) SWIG_fail
;
10024 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10028 (arg1
)->SetRect((wxRect
const &)*arg2
);
10030 wxPyEndAllowThreads(__tstate
);
10031 if (PyErr_Occurred()) SWIG_fail
;
10033 Py_INCREF(Py_None
); resultobj
= Py_None
;
10040 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10041 PyObject
*resultobj
;
10042 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10044 PyObject
* obj0
= 0 ;
10045 char *kwnames
[] = {
10046 (char *) "self", NULL
10049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
10050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10051 if (SWIG_arg_fail(1)) SWIG_fail
;
10053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10054 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
10056 wxPyEndAllowThreads(__tstate
);
10057 if (PyErr_Occurred()) SWIG_fail
;
10060 wxRect
* resultptr
;
10061 resultptr
= new wxRect((wxRect
&)(result
));
10062 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
10070 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*, PyObject
*args
) {
10072 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10073 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
10075 return Py_BuildValue((char *)"");
10077 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10078 PyObject
*resultobj
;
10079 wxWindow
*arg1
= (wxWindow
*) 0 ;
10080 int arg2
= (int) -1 ;
10081 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10082 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10083 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10084 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10085 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10086 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
10087 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10088 wxSashLayoutWindow
*result
;
10091 bool temp6
= false ;
10092 PyObject
* obj0
= 0 ;
10093 PyObject
* obj1
= 0 ;
10094 PyObject
* obj2
= 0 ;
10095 PyObject
* obj3
= 0 ;
10096 PyObject
* obj4
= 0 ;
10097 PyObject
* obj5
= 0 ;
10098 char *kwnames
[] = {
10099 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10104 if (SWIG_arg_fail(1)) SWIG_fail
;
10107 arg2
= (int)(SWIG_As_int(obj1
));
10108 if (SWIG_arg_fail(2)) SWIG_fail
;
10114 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10120 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10125 arg5
= (long)(SWIG_As_long(obj4
));
10126 if (SWIG_arg_fail(5)) SWIG_fail
;
10131 arg6
= wxString_in_helper(obj5
);
10132 if (arg6
== NULL
) SWIG_fail
;
10137 if (!wxPyCheckForApp()) SWIG_fail
;
10138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10139 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10141 wxPyEndAllowThreads(__tstate
);
10142 if (PyErr_Occurred()) SWIG_fail
;
10144 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
10159 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10160 PyObject
*resultobj
;
10161 wxSashLayoutWindow
*result
;
10162 char *kwnames
[] = {
10166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
10168 if (!wxPyCheckForApp()) SWIG_fail
;
10169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10170 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
10172 wxPyEndAllowThreads(__tstate
);
10173 if (PyErr_Occurred()) SWIG_fail
;
10175 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
10182 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10183 PyObject
*resultobj
;
10184 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10185 wxWindow
*arg2
= (wxWindow
*) 0 ;
10186 int arg3
= (int) -1 ;
10187 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10188 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10189 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10190 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10191 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10192 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
10193 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10197 bool temp7
= false ;
10198 PyObject
* obj0
= 0 ;
10199 PyObject
* obj1
= 0 ;
10200 PyObject
* obj2
= 0 ;
10201 PyObject
* obj3
= 0 ;
10202 PyObject
* obj4
= 0 ;
10203 PyObject
* obj5
= 0 ;
10204 PyObject
* obj6
= 0 ;
10205 char *kwnames
[] = {
10206 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10211 if (SWIG_arg_fail(1)) SWIG_fail
;
10212 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10213 if (SWIG_arg_fail(2)) SWIG_fail
;
10216 arg3
= (int)(SWIG_As_int(obj2
));
10217 if (SWIG_arg_fail(3)) SWIG_fail
;
10223 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10229 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10234 arg6
= (long)(SWIG_As_long(obj5
));
10235 if (SWIG_arg_fail(6)) SWIG_fail
;
10240 arg7
= wxString_in_helper(obj6
);
10241 if (arg7
== NULL
) SWIG_fail
;
10246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10247 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10249 wxPyEndAllowThreads(__tstate
);
10250 if (PyErr_Occurred()) SWIG_fail
;
10253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10269 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10270 PyObject
*resultobj
;
10271 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10272 wxLayoutAlignment result
;
10273 PyObject
* obj0
= 0 ;
10274 char *kwnames
[] = {
10275 (char *) "self", NULL
10278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
10279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10280 if (SWIG_arg_fail(1)) SWIG_fail
;
10282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10283 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
10285 wxPyEndAllowThreads(__tstate
);
10286 if (PyErr_Occurred()) SWIG_fail
;
10288 resultobj
= SWIG_From_int((result
));
10295 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10296 PyObject
*resultobj
;
10297 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10298 wxLayoutOrientation result
;
10299 PyObject
* obj0
= 0 ;
10300 char *kwnames
[] = {
10301 (char *) "self", NULL
10304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
10305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10306 if (SWIG_arg_fail(1)) SWIG_fail
;
10308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10309 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
10311 wxPyEndAllowThreads(__tstate
);
10312 if (PyErr_Occurred()) SWIG_fail
;
10314 resultobj
= SWIG_From_int((result
));
10321 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10322 PyObject
*resultobj
;
10323 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10324 wxLayoutAlignment arg2
;
10325 PyObject
* obj0
= 0 ;
10326 PyObject
* obj1
= 0 ;
10327 char *kwnames
[] = {
10328 (char *) "self",(char *) "alignment", NULL
10331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
10332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10333 if (SWIG_arg_fail(1)) SWIG_fail
;
10335 arg2
= (wxLayoutAlignment
)(SWIG_As_int(obj1
));
10336 if (SWIG_arg_fail(2)) SWIG_fail
;
10339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10340 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
10342 wxPyEndAllowThreads(__tstate
);
10343 if (PyErr_Occurred()) SWIG_fail
;
10345 Py_INCREF(Py_None
); resultobj
= Py_None
;
10352 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10353 PyObject
*resultobj
;
10354 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10357 PyObject
* obj0
= 0 ;
10358 PyObject
* obj1
= 0 ;
10359 char *kwnames
[] = {
10360 (char *) "self",(char *) "size", NULL
10363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10365 if (SWIG_arg_fail(1)) SWIG_fail
;
10368 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10372 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
10374 wxPyEndAllowThreads(__tstate
);
10375 if (PyErr_Occurred()) SWIG_fail
;
10377 Py_INCREF(Py_None
); resultobj
= Py_None
;
10384 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10385 PyObject
*resultobj
;
10386 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10387 wxLayoutOrientation arg2
;
10388 PyObject
* obj0
= 0 ;
10389 PyObject
* obj1
= 0 ;
10390 char *kwnames
[] = {
10391 (char *) "self",(char *) "orientation", NULL
10394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
10395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10396 if (SWIG_arg_fail(1)) SWIG_fail
;
10398 arg2
= (wxLayoutOrientation
)(SWIG_As_int(obj1
));
10399 if (SWIG_arg_fail(2)) SWIG_fail
;
10402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10403 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
10405 wxPyEndAllowThreads(__tstate
);
10406 if (PyErr_Occurred()) SWIG_fail
;
10408 Py_INCREF(Py_None
); resultobj
= Py_None
;
10415 static PyObject
* SashLayoutWindow_swigregister(PyObject
*, PyObject
*args
) {
10417 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10418 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
10420 return Py_BuildValue((char *)"");
10422 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10423 PyObject
*resultobj
;
10424 wxLayoutAlgorithm
*result
;
10425 char *kwnames
[] = {
10429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
10431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10432 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
10434 wxPyEndAllowThreads(__tstate
);
10435 if (PyErr_Occurred()) SWIG_fail
;
10437 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
10444 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10445 PyObject
*resultobj
;
10446 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10447 PyObject
* obj0
= 0 ;
10448 char *kwnames
[] = {
10449 (char *) "self", NULL
10452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
10453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10454 if (SWIG_arg_fail(1)) SWIG_fail
;
10456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10459 wxPyEndAllowThreads(__tstate
);
10460 if (PyErr_Occurred()) SWIG_fail
;
10462 Py_INCREF(Py_None
); resultobj
= Py_None
;
10469 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10470 PyObject
*resultobj
;
10471 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10472 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
10473 wxRect
*arg3
= (wxRect
*) NULL
;
10475 PyObject
* obj0
= 0 ;
10476 PyObject
* obj1
= 0 ;
10477 PyObject
* obj2
= 0 ;
10478 char *kwnames
[] = {
10479 (char *) "self",(char *) "frame",(char *) "rect", NULL
10482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10484 if (SWIG_arg_fail(1)) SWIG_fail
;
10485 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
10486 if (SWIG_arg_fail(2)) SWIG_fail
;
10488 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
10489 if (SWIG_arg_fail(3)) SWIG_fail
;
10492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10493 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
10495 wxPyEndAllowThreads(__tstate
);
10496 if (PyErr_Occurred()) SWIG_fail
;
10499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10507 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10508 PyObject
*resultobj
;
10509 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10510 wxFrame
*arg2
= (wxFrame
*) 0 ;
10511 wxWindow
*arg3
= (wxWindow
*) NULL
;
10513 PyObject
* obj0
= 0 ;
10514 PyObject
* obj1
= 0 ;
10515 PyObject
* obj2
= 0 ;
10516 char *kwnames
[] = {
10517 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
10520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10522 if (SWIG_arg_fail(1)) SWIG_fail
;
10523 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
10524 if (SWIG_arg_fail(2)) SWIG_fail
;
10526 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10527 if (SWIG_arg_fail(3)) SWIG_fail
;
10530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10531 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
10533 wxPyEndAllowThreads(__tstate
);
10534 if (PyErr_Occurred()) SWIG_fail
;
10537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10545 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10546 PyObject
*resultobj
;
10547 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10548 wxWindow
*arg2
= (wxWindow
*) 0 ;
10549 wxWindow
*arg3
= (wxWindow
*) NULL
;
10551 PyObject
* obj0
= 0 ;
10552 PyObject
* obj1
= 0 ;
10553 PyObject
* obj2
= 0 ;
10554 char *kwnames
[] = {
10555 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
10558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10560 if (SWIG_arg_fail(1)) SWIG_fail
;
10561 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10562 if (SWIG_arg_fail(2)) SWIG_fail
;
10564 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10565 if (SWIG_arg_fail(3)) SWIG_fail
;
10568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10569 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
10571 wxPyEndAllowThreads(__tstate
);
10572 if (PyErr_Occurred()) SWIG_fail
;
10575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10583 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*, PyObject
*args
) {
10585 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10586 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
10588 return Py_BuildValue((char *)"");
10590 static PyObject
*_wrap_new_PopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10591 PyObject
*resultobj
;
10592 wxWindow
*arg1
= (wxWindow
*) 0 ;
10593 int arg2
= (int) wxBORDER_NONE
;
10594 wxPopupWindow
*result
;
10595 PyObject
* obj0
= 0 ;
10596 PyObject
* obj1
= 0 ;
10597 char *kwnames
[] = {
10598 (char *) "parent",(char *) "flags", NULL
10601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
10602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10603 if (SWIG_arg_fail(1)) SWIG_fail
;
10606 arg2
= (int)(SWIG_As_int(obj1
));
10607 if (SWIG_arg_fail(2)) SWIG_fail
;
10611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10612 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
10614 wxPyEndAllowThreads(__tstate
);
10615 if (PyErr_Occurred()) SWIG_fail
;
10617 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
10624 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10625 PyObject
*resultobj
;
10626 wxPopupWindow
*result
;
10627 char *kwnames
[] = {
10631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
10633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10634 result
= (wxPopupWindow
*)new wxPopupWindow();
10636 wxPyEndAllowThreads(__tstate
);
10637 if (PyErr_Occurred()) SWIG_fail
;
10639 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
10646 static PyObject
* PopupWindow_swigregister(PyObject
*, PyObject
*args
) {
10648 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10649 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
10651 return Py_BuildValue((char *)"");
10653 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10654 PyObject
*resultobj
;
10655 wxWindow
*arg1
= (wxWindow
*) 0 ;
10656 int arg2
= (int) wxBORDER_NONE
;
10657 wxPyPopupTransientWindow
*result
;
10658 PyObject
* obj0
= 0 ;
10659 PyObject
* obj1
= 0 ;
10660 char *kwnames
[] = {
10661 (char *) "parent",(char *) "style", NULL
10664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
10665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10666 if (SWIG_arg_fail(1)) SWIG_fail
;
10669 arg2
= (int)(SWIG_As_int(obj1
));
10670 if (SWIG_arg_fail(2)) SWIG_fail
;
10674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10675 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
10677 wxPyEndAllowThreads(__tstate
);
10678 if (PyErr_Occurred()) SWIG_fail
;
10680 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
10687 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10688 PyObject
*resultobj
;
10689 wxPyPopupTransientWindow
*result
;
10690 char *kwnames
[] = {
10694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
10696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10697 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
10699 wxPyEndAllowThreads(__tstate
);
10700 if (PyErr_Occurred()) SWIG_fail
;
10702 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
10709 static PyObject
* PopupTransientWindow_swigregister(PyObject
*, PyObject
*args
) {
10711 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10712 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
10714 return Py_BuildValue((char *)"");
10716 static PyObject
*_wrap_new_TipWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10717 PyObject
*resultobj
;
10718 wxWindow
*arg1
= (wxWindow
*) 0 ;
10719 wxString
*arg2
= 0 ;
10720 int arg3
= (int) 100 ;
10721 wxRect
*arg4
= (wxRect
*) NULL
;
10722 wxTipWindow
*result
;
10723 bool temp2
= false ;
10724 PyObject
* obj0
= 0 ;
10725 PyObject
* obj1
= 0 ;
10726 PyObject
* obj2
= 0 ;
10727 PyObject
* obj3
= 0 ;
10728 char *kwnames
[] = {
10729 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
10732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10734 if (SWIG_arg_fail(1)) SWIG_fail
;
10736 arg2
= wxString_in_helper(obj1
);
10737 if (arg2
== NULL
) SWIG_fail
;
10742 arg3
= (int)(SWIG_As_int(obj2
));
10743 if (SWIG_arg_fail(3)) SWIG_fail
;
10747 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
10748 if (SWIG_arg_fail(4)) SWIG_fail
;
10751 if (!wxPyCheckForApp()) SWIG_fail
;
10752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10753 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
10755 wxPyEndAllowThreads(__tstate
);
10756 if (PyErr_Occurred()) SWIG_fail
;
10758 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
10773 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10774 PyObject
*resultobj
;
10775 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
10778 PyObject
* obj0
= 0 ;
10779 PyObject
* obj1
= 0 ;
10780 char *kwnames
[] = {
10781 (char *) "self",(char *) "rectBound", NULL
10784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_EXCEPTION
| 0);
10786 if (SWIG_arg_fail(1)) SWIG_fail
;
10789 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10793 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
10795 wxPyEndAllowThreads(__tstate
);
10796 if (PyErr_Occurred()) SWIG_fail
;
10798 Py_INCREF(Py_None
); resultobj
= Py_None
;
10805 static PyObject
*_wrap_TipWindow_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10806 PyObject
*resultobj
;
10807 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
10808 PyObject
* obj0
= 0 ;
10809 char *kwnames
[] = {
10810 (char *) "self", NULL
10813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
10814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_EXCEPTION
| 0);
10815 if (SWIG_arg_fail(1)) SWIG_fail
;
10817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10820 wxPyEndAllowThreads(__tstate
);
10821 if (PyErr_Occurred()) SWIG_fail
;
10823 Py_INCREF(Py_None
); resultobj
= Py_None
;
10830 static PyObject
* TipWindow_swigregister(PyObject
*, PyObject
*args
) {
10832 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10833 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
10835 return Py_BuildValue((char *)"");
10837 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10838 PyObject
*resultobj
;
10839 wxWindow
*arg1
= (wxWindow
*) 0 ;
10840 int arg2
= (int) wxID_ANY
;
10841 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10842 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10843 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10844 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10845 long arg5
= (long) 0 ;
10846 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
10847 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10848 wxPyVScrolledWindow
*result
;
10851 bool temp6
= false ;
10852 PyObject
* obj0
= 0 ;
10853 PyObject
* obj1
= 0 ;
10854 PyObject
* obj2
= 0 ;
10855 PyObject
* obj3
= 0 ;
10856 PyObject
* obj4
= 0 ;
10857 PyObject
* obj5
= 0 ;
10858 char *kwnames
[] = {
10859 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10864 if (SWIG_arg_fail(1)) SWIG_fail
;
10867 arg2
= (int)(SWIG_As_int(obj1
));
10868 if (SWIG_arg_fail(2)) SWIG_fail
;
10874 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10880 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10885 arg5
= (long)(SWIG_As_long(obj4
));
10886 if (SWIG_arg_fail(5)) SWIG_fail
;
10891 arg6
= wxString_in_helper(obj5
);
10892 if (arg6
== NULL
) SWIG_fail
;
10897 if (!wxPyCheckForApp()) SWIG_fail
;
10898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10899 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10901 wxPyEndAllowThreads(__tstate
);
10902 if (PyErr_Occurred()) SWIG_fail
;
10904 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
10919 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10920 PyObject
*resultobj
;
10921 wxPyVScrolledWindow
*result
;
10922 char *kwnames
[] = {
10926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
10928 if (!wxPyCheckForApp()) SWIG_fail
;
10929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10930 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
10932 wxPyEndAllowThreads(__tstate
);
10933 if (PyErr_Occurred()) SWIG_fail
;
10935 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
10942 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10943 PyObject
*resultobj
;
10944 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
10945 PyObject
*arg2
= (PyObject
*) 0 ;
10946 PyObject
*arg3
= (PyObject
*) 0 ;
10947 PyObject
* obj0
= 0 ;
10948 PyObject
* obj1
= 0 ;
10949 PyObject
* obj2
= 0 ;
10950 char *kwnames
[] = {
10951 (char *) "self",(char *) "self",(char *) "_class", NULL
10954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
10956 if (SWIG_arg_fail(1)) SWIG_fail
;
10960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10961 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10963 wxPyEndAllowThreads(__tstate
);
10964 if (PyErr_Occurred()) SWIG_fail
;
10966 Py_INCREF(Py_None
); resultobj
= Py_None
;
10973 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10974 PyObject
*resultobj
;
10975 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
10976 wxWindow
*arg2
= (wxWindow
*) 0 ;
10977 int arg3
= (int) wxID_ANY
;
10978 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10979 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10980 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10981 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10982 long arg6
= (long) 0 ;
10983 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
10984 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10988 bool temp7
= false ;
10989 PyObject
* obj0
= 0 ;
10990 PyObject
* obj1
= 0 ;
10991 PyObject
* obj2
= 0 ;
10992 PyObject
* obj3
= 0 ;
10993 PyObject
* obj4
= 0 ;
10994 PyObject
* obj5
= 0 ;
10995 PyObject
* obj6
= 0 ;
10996 char *kwnames
[] = {
10997 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11002 if (SWIG_arg_fail(1)) SWIG_fail
;
11003 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11004 if (SWIG_arg_fail(2)) SWIG_fail
;
11007 arg3
= (int)(SWIG_As_int(obj2
));
11008 if (SWIG_arg_fail(3)) SWIG_fail
;
11014 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11020 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11025 arg6
= (long)(SWIG_As_long(obj5
));
11026 if (SWIG_arg_fail(6)) SWIG_fail
;
11031 arg7
= wxString_in_helper(obj6
);
11032 if (arg7
== NULL
) SWIG_fail
;
11037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11038 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11040 wxPyEndAllowThreads(__tstate
);
11041 if (PyErr_Occurred()) SWIG_fail
;
11044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11060 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11061 PyObject
*resultobj
;
11062 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11064 PyObject
* obj0
= 0 ;
11065 PyObject
* obj1
= 0 ;
11066 char *kwnames
[] = {
11067 (char *) "self",(char *) "count", NULL
11070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11072 if (SWIG_arg_fail(1)) SWIG_fail
;
11074 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11075 if (SWIG_arg_fail(2)) SWIG_fail
;
11078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11079 (arg1
)->SetLineCount(arg2
);
11081 wxPyEndAllowThreads(__tstate
);
11082 if (PyErr_Occurred()) SWIG_fail
;
11084 Py_INCREF(Py_None
); resultobj
= Py_None
;
11091 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11092 PyObject
*resultobj
;
11093 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11096 PyObject
* obj0
= 0 ;
11097 PyObject
* obj1
= 0 ;
11098 char *kwnames
[] = {
11099 (char *) "self",(char *) "line", NULL
11102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
11103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11104 if (SWIG_arg_fail(1)) SWIG_fail
;
11106 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11107 if (SWIG_arg_fail(2)) SWIG_fail
;
11110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11111 result
= (bool)(arg1
)->ScrollToLine(arg2
);
11113 wxPyEndAllowThreads(__tstate
);
11114 if (PyErr_Occurred()) SWIG_fail
;
11117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11125 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11126 PyObject
*resultobj
;
11127 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11130 PyObject
* obj0
= 0 ;
11131 PyObject
* obj1
= 0 ;
11132 char *kwnames
[] = {
11133 (char *) "self",(char *) "lines", NULL
11136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
11137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11138 if (SWIG_arg_fail(1)) SWIG_fail
;
11140 arg2
= (int)(SWIG_As_int(obj1
));
11141 if (SWIG_arg_fail(2)) SWIG_fail
;
11144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11145 result
= (bool)(arg1
)->ScrollLines(arg2
);
11147 wxPyEndAllowThreads(__tstate
);
11148 if (PyErr_Occurred()) SWIG_fail
;
11151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11159 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11160 PyObject
*resultobj
;
11161 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11164 PyObject
* obj0
= 0 ;
11165 PyObject
* obj1
= 0 ;
11166 char *kwnames
[] = {
11167 (char *) "self",(char *) "pages", NULL
11170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
11171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11172 if (SWIG_arg_fail(1)) SWIG_fail
;
11174 arg2
= (int)(SWIG_As_int(obj1
));
11175 if (SWIG_arg_fail(2)) SWIG_fail
;
11178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11179 result
= (bool)(arg1
)->ScrollPages(arg2
);
11181 wxPyEndAllowThreads(__tstate
);
11182 if (PyErr_Occurred()) SWIG_fail
;
11185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11193 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11194 PyObject
*resultobj
;
11195 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11197 PyObject
* obj0
= 0 ;
11198 PyObject
* obj1
= 0 ;
11199 char *kwnames
[] = {
11200 (char *) "self",(char *) "line", NULL
11203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
11204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11205 if (SWIG_arg_fail(1)) SWIG_fail
;
11207 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11208 if (SWIG_arg_fail(2)) SWIG_fail
;
11211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11212 (arg1
)->RefreshLine(arg2
);
11214 wxPyEndAllowThreads(__tstate
);
11215 if (PyErr_Occurred()) SWIG_fail
;
11217 Py_INCREF(Py_None
); resultobj
= Py_None
;
11224 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11225 PyObject
*resultobj
;
11226 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11229 PyObject
* obj0
= 0 ;
11230 PyObject
* obj1
= 0 ;
11231 PyObject
* obj2
= 0 ;
11232 char *kwnames
[] = {
11233 (char *) "self",(char *) "from",(char *) "to", NULL
11236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11238 if (SWIG_arg_fail(1)) SWIG_fail
;
11240 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11241 if (SWIG_arg_fail(2)) SWIG_fail
;
11244 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
11245 if (SWIG_arg_fail(3)) SWIG_fail
;
11248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11249 (arg1
)->RefreshLines(arg2
,arg3
);
11251 wxPyEndAllowThreads(__tstate
);
11252 if (PyErr_Occurred()) SWIG_fail
;
11254 Py_INCREF(Py_None
); resultobj
= Py_None
;
11261 static PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11262 PyObject
*resultobj
;
11263 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11267 PyObject
* obj0
= 0 ;
11268 PyObject
* obj1
= 0 ;
11269 PyObject
* obj2
= 0 ;
11270 char *kwnames
[] = {
11271 (char *) "self",(char *) "x",(char *) "y", NULL
11274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11276 if (SWIG_arg_fail(1)) SWIG_fail
;
11278 arg2
= (int)(SWIG_As_int(obj1
));
11279 if (SWIG_arg_fail(2)) SWIG_fail
;
11282 arg3
= (int)(SWIG_As_int(obj2
));
11283 if (SWIG_arg_fail(3)) SWIG_fail
;
11286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11287 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
11289 wxPyEndAllowThreads(__tstate
);
11290 if (PyErr_Occurred()) SWIG_fail
;
11293 resultobj
= SWIG_From_int((int)(result
));
11301 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11302 PyObject
*resultobj
;
11303 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11304 wxPoint
*arg2
= 0 ;
11307 PyObject
* obj0
= 0 ;
11308 PyObject
* obj1
= 0 ;
11309 char *kwnames
[] = {
11310 (char *) "self",(char *) "pt", NULL
11313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
11314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11315 if (SWIG_arg_fail(1)) SWIG_fail
;
11318 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11322 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
11324 wxPyEndAllowThreads(__tstate
);
11325 if (PyErr_Occurred()) SWIG_fail
;
11328 resultobj
= SWIG_From_int((int)(result
));
11336 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11337 PyObject
*resultobj
;
11338 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11339 PyObject
* obj0
= 0 ;
11340 char *kwnames
[] = {
11341 (char *) "self", NULL
11344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
11345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11346 if (SWIG_arg_fail(1)) SWIG_fail
;
11348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11349 (arg1
)->RefreshAll();
11351 wxPyEndAllowThreads(__tstate
);
11352 if (PyErr_Occurred()) SWIG_fail
;
11354 Py_INCREF(Py_None
); resultobj
= Py_None
;
11361 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11362 PyObject
*resultobj
;
11363 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11365 PyObject
* obj0
= 0 ;
11366 char *kwnames
[] = {
11367 (char *) "self", NULL
11370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
11371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11372 if (SWIG_arg_fail(1)) SWIG_fail
;
11374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11375 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
11377 wxPyEndAllowThreads(__tstate
);
11378 if (PyErr_Occurred()) SWIG_fail
;
11381 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11389 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(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_GetFirstVisibleLine",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
)->GetFirstVisibleLine();
11405 wxPyEndAllowThreads(__tstate
);
11406 if (PyErr_Occurred()) SWIG_fail
;
11409 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11417 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(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_GetLastVisibleLine",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
)->GetLastVisibleLine();
11433 wxPyEndAllowThreads(__tstate
);
11434 if (PyErr_Occurred()) SWIG_fail
;
11437 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11445 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11446 PyObject
*resultobj
;
11447 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11450 PyObject
* obj0
= 0 ;
11451 PyObject
* obj1
= 0 ;
11452 char *kwnames
[] = {
11453 (char *) "self",(char *) "line", NULL
11456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
11457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11458 if (SWIG_arg_fail(1)) SWIG_fail
;
11460 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11461 if (SWIG_arg_fail(2)) SWIG_fail
;
11464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11465 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
11467 wxPyEndAllowThreads(__tstate
);
11468 if (PyErr_Occurred()) SWIG_fail
;
11471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11479 static PyObject
* VScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
11481 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11482 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
11484 return Py_BuildValue((char *)"");
11486 static int _wrap_VListBoxNameStr_set(PyObject
*) {
11487 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
11492 static PyObject
*_wrap_VListBoxNameStr_get(void) {
11497 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
11499 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
11506 static PyObject
*_wrap_new_VListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11507 PyObject
*resultobj
;
11508 wxWindow
*arg1
= (wxWindow
*) 0 ;
11509 int arg2
= (int) wxID_ANY
;
11510 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11511 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11512 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11513 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11514 long arg5
= (long) 0 ;
11515 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
11516 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11517 wxPyVListBox
*result
;
11520 bool temp6
= false ;
11521 PyObject
* obj0
= 0 ;
11522 PyObject
* obj1
= 0 ;
11523 PyObject
* obj2
= 0 ;
11524 PyObject
* obj3
= 0 ;
11525 PyObject
* obj4
= 0 ;
11526 PyObject
* obj5
= 0 ;
11527 char *kwnames
[] = {
11528 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11533 if (SWIG_arg_fail(1)) SWIG_fail
;
11536 arg2
= (int)(SWIG_As_int(obj1
));
11537 if (SWIG_arg_fail(2)) SWIG_fail
;
11543 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11549 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11554 arg5
= (long)(SWIG_As_long(obj4
));
11555 if (SWIG_arg_fail(5)) SWIG_fail
;
11560 arg6
= wxString_in_helper(obj5
);
11561 if (arg6
== NULL
) SWIG_fail
;
11566 if (!wxPyCheckForApp()) SWIG_fail
;
11567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11568 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
11570 wxPyEndAllowThreads(__tstate
);
11571 if (PyErr_Occurred()) SWIG_fail
;
11573 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
11588 static PyObject
*_wrap_new_PreVListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11589 PyObject
*resultobj
;
11590 wxPyVListBox
*result
;
11591 char *kwnames
[] = {
11595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
11597 if (!wxPyCheckForApp()) SWIG_fail
;
11598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11599 result
= (wxPyVListBox
*)new wxPyVListBox();
11601 wxPyEndAllowThreads(__tstate
);
11602 if (PyErr_Occurred()) SWIG_fail
;
11604 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
11611 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11612 PyObject
*resultobj
;
11613 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11614 PyObject
*arg2
= (PyObject
*) 0 ;
11615 PyObject
*arg3
= (PyObject
*) 0 ;
11616 PyObject
* obj0
= 0 ;
11617 PyObject
* obj1
= 0 ;
11618 PyObject
* obj2
= 0 ;
11619 char *kwnames
[] = {
11620 (char *) "self",(char *) "self",(char *) "_class", NULL
11623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11625 if (SWIG_arg_fail(1)) SWIG_fail
;
11629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11630 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11632 wxPyEndAllowThreads(__tstate
);
11633 if (PyErr_Occurred()) SWIG_fail
;
11635 Py_INCREF(Py_None
); resultobj
= Py_None
;
11642 static PyObject
*_wrap_VListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11643 PyObject
*resultobj
;
11644 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11645 wxWindow
*arg2
= (wxWindow
*) 0 ;
11646 int arg3
= (int) wxID_ANY
;
11647 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11648 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11649 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11650 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11651 long arg6
= (long) 0 ;
11652 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
11653 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11657 bool temp7
= false ;
11658 PyObject
* obj0
= 0 ;
11659 PyObject
* obj1
= 0 ;
11660 PyObject
* obj2
= 0 ;
11661 PyObject
* obj3
= 0 ;
11662 PyObject
* obj4
= 0 ;
11663 PyObject
* obj5
= 0 ;
11664 PyObject
* obj6
= 0 ;
11665 char *kwnames
[] = {
11666 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11671 if (SWIG_arg_fail(1)) SWIG_fail
;
11672 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11673 if (SWIG_arg_fail(2)) SWIG_fail
;
11676 arg3
= (int)(SWIG_As_int(obj2
));
11677 if (SWIG_arg_fail(3)) SWIG_fail
;
11683 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11689 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11694 arg6
= (long)(SWIG_As_long(obj5
));
11695 if (SWIG_arg_fail(6)) SWIG_fail
;
11700 arg7
= wxString_in_helper(obj6
);
11701 if (arg7
== NULL
) SWIG_fail
;
11706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11707 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11709 wxPyEndAllowThreads(__tstate
);
11710 if (PyErr_Occurred()) SWIG_fail
;
11713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11729 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11730 PyObject
*resultobj
;
11731 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11733 PyObject
* obj0
= 0 ;
11734 char *kwnames
[] = {
11735 (char *) "self", NULL
11738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
11739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11740 if (SWIG_arg_fail(1)) SWIG_fail
;
11742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11743 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
11745 wxPyEndAllowThreads(__tstate
);
11746 if (PyErr_Occurred()) SWIG_fail
;
11749 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11757 static PyObject
*_wrap_VListBox_HasMultipleSelection(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_HasMultipleSelection",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
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
11773 wxPyEndAllowThreads(__tstate
);
11774 if (PyErr_Occurred()) SWIG_fail
;
11777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11785 static PyObject
*_wrap_VListBox_GetSelection(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_GetSelection",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
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
11801 wxPyEndAllowThreads(__tstate
);
11802 if (PyErr_Occurred()) SWIG_fail
;
11805 resultobj
= SWIG_From_int((int)(result
));
11813 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11814 PyObject
*resultobj
;
11815 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11818 PyObject
* obj0
= 0 ;
11819 PyObject
* obj1
= 0 ;
11820 char *kwnames
[] = {
11821 (char *) "self",(char *) "item", NULL
11824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
11825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11826 if (SWIG_arg_fail(1)) SWIG_fail
;
11828 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11829 if (SWIG_arg_fail(2)) SWIG_fail
;
11832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11833 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
11835 wxPyEndAllowThreads(__tstate
);
11836 if (PyErr_Occurred()) SWIG_fail
;
11839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11847 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11848 PyObject
*resultobj
;
11849 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11852 PyObject
* obj0
= 0 ;
11853 PyObject
* obj1
= 0 ;
11854 char *kwnames
[] = {
11855 (char *) "self",(char *) "item", NULL
11858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
11859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11860 if (SWIG_arg_fail(1)) SWIG_fail
;
11862 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11863 if (SWIG_arg_fail(2)) SWIG_fail
;
11866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11867 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
11869 wxPyEndAllowThreads(__tstate
);
11870 if (PyErr_Occurred()) SWIG_fail
;
11873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11881 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11882 PyObject
*resultobj
;
11883 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11885 PyObject
* obj0
= 0 ;
11886 char *kwnames
[] = {
11887 (char *) "self", NULL
11890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
11891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11892 if (SWIG_arg_fail(1)) SWIG_fail
;
11894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11895 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
11897 wxPyEndAllowThreads(__tstate
);
11898 if (PyErr_Occurred()) SWIG_fail
;
11901 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11909 static PyObject
*_wrap_VListBox_GetFirstSelected(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_GetFirstSelected",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
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
11925 wxPyEndAllowThreads(__tstate
);
11926 if (PyErr_Occurred()) SWIG_fail
;
11928 resultobj
= result
;
11935 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11936 PyObject
*resultobj
;
11937 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11938 unsigned long arg2
;
11940 PyObject
* obj0
= 0 ;
11941 PyObject
* obj1
= 0 ;
11942 char *kwnames
[] = {
11943 (char *) "self",(char *) "cookie", NULL
11946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) 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 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
11951 if (SWIG_arg_fail(2)) SWIG_fail
;
11954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11955 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
11957 wxPyEndAllowThreads(__tstate
);
11958 if (PyErr_Occurred()) SWIG_fail
;
11960 resultobj
= result
;
11967 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11968 PyObject
*resultobj
;
11969 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11971 PyObject
* obj0
= 0 ;
11972 char *kwnames
[] = {
11973 (char *) "self", NULL
11976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
11977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11978 if (SWIG_arg_fail(1)) SWIG_fail
;
11980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11981 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
11983 wxPyEndAllowThreads(__tstate
);
11984 if (PyErr_Occurred()) SWIG_fail
;
11987 wxPoint
* resultptr
;
11988 resultptr
= new wxPoint((wxPoint
&)(result
));
11989 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
11997 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11998 PyObject
*resultobj
;
11999 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12001 PyObject
* obj0
= 0 ;
12002 char *kwnames
[] = {
12003 (char *) "self", NULL
12006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
12007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12008 if (SWIG_arg_fail(1)) SWIG_fail
;
12010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12012 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
12013 result
= (wxColour
*) &_result_ref
;
12016 wxPyEndAllowThreads(__tstate
);
12017 if (PyErr_Occurred()) SWIG_fail
;
12019 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
12026 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12027 PyObject
*resultobj
;
12028 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12030 PyObject
* obj0
= 0 ;
12031 PyObject
* obj1
= 0 ;
12032 char *kwnames
[] = {
12033 (char *) "self",(char *) "count", NULL
12036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
12037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12038 if (SWIG_arg_fail(1)) SWIG_fail
;
12040 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12041 if (SWIG_arg_fail(2)) SWIG_fail
;
12044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12045 (arg1
)->SetItemCount(arg2
);
12047 wxPyEndAllowThreads(__tstate
);
12048 if (PyErr_Occurred()) SWIG_fail
;
12050 Py_INCREF(Py_None
); resultobj
= Py_None
;
12057 static PyObject
*_wrap_VListBox_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12058 PyObject
*resultobj
;
12059 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12060 PyObject
* obj0
= 0 ;
12061 char *kwnames
[] = {
12062 (char *) "self", NULL
12065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
12066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12067 if (SWIG_arg_fail(1)) SWIG_fail
;
12069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12072 wxPyEndAllowThreads(__tstate
);
12073 if (PyErr_Occurred()) SWIG_fail
;
12075 Py_INCREF(Py_None
); resultobj
= Py_None
;
12082 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12083 PyObject
*resultobj
;
12084 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12086 PyObject
* obj0
= 0 ;
12087 PyObject
* obj1
= 0 ;
12088 char *kwnames
[] = {
12089 (char *) "self",(char *) "selection", NULL
12092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12094 if (SWIG_arg_fail(1)) SWIG_fail
;
12096 arg2
= (int)(SWIG_As_int(obj1
));
12097 if (SWIG_arg_fail(2)) SWIG_fail
;
12100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12101 (arg1
)->SetSelection(arg2
);
12103 wxPyEndAllowThreads(__tstate
);
12104 if (PyErr_Occurred()) SWIG_fail
;
12106 Py_INCREF(Py_None
); resultobj
= Py_None
;
12113 static PyObject
*_wrap_VListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12114 PyObject
*resultobj
;
12115 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12117 bool arg3
= (bool) true ;
12119 PyObject
* obj0
= 0 ;
12120 PyObject
* obj1
= 0 ;
12121 PyObject
* obj2
= 0 ;
12122 char *kwnames
[] = {
12123 (char *) "self",(char *) "item",(char *) "select", NULL
12126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12128 if (SWIG_arg_fail(1)) SWIG_fail
;
12130 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12131 if (SWIG_arg_fail(2)) SWIG_fail
;
12135 arg3
= (bool)(SWIG_As_bool(obj2
));
12136 if (SWIG_arg_fail(3)) SWIG_fail
;
12140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12141 result
= (bool)(arg1
)->Select(arg2
,arg3
);
12143 wxPyEndAllowThreads(__tstate
);
12144 if (PyErr_Occurred()) SWIG_fail
;
12147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12155 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12156 PyObject
*resultobj
;
12157 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12161 PyObject
* obj0
= 0 ;
12162 PyObject
* obj1
= 0 ;
12163 PyObject
* obj2
= 0 ;
12164 char *kwnames
[] = {
12165 (char *) "self",(char *) "from",(char *) "to", NULL
12168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12170 if (SWIG_arg_fail(1)) SWIG_fail
;
12172 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12173 if (SWIG_arg_fail(2)) SWIG_fail
;
12176 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
12177 if (SWIG_arg_fail(3)) SWIG_fail
;
12180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12181 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
12183 wxPyEndAllowThreads(__tstate
);
12184 if (PyErr_Occurred()) SWIG_fail
;
12187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12195 static PyObject
*_wrap_VListBox_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12196 PyObject
*resultobj
;
12197 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12199 PyObject
* obj0
= 0 ;
12200 PyObject
* obj1
= 0 ;
12201 char *kwnames
[] = {
12202 (char *) "self",(char *) "item", NULL
12205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
12206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12207 if (SWIG_arg_fail(1)) SWIG_fail
;
12209 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12210 if (SWIG_arg_fail(2)) SWIG_fail
;
12213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12214 (arg1
)->Toggle(arg2
);
12216 wxPyEndAllowThreads(__tstate
);
12217 if (PyErr_Occurred()) SWIG_fail
;
12219 Py_INCREF(Py_None
); resultobj
= Py_None
;
12226 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12227 PyObject
*resultobj
;
12228 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12230 PyObject
* obj0
= 0 ;
12231 char *kwnames
[] = {
12232 (char *) "self", NULL
12235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
12236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12237 if (SWIG_arg_fail(1)) SWIG_fail
;
12239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12240 result
= (bool)(arg1
)->SelectAll();
12242 wxPyEndAllowThreads(__tstate
);
12243 if (PyErr_Occurred()) SWIG_fail
;
12246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12254 static PyObject
*_wrap_VListBox_DeselectAll(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_DeselectAll",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
)->DeselectAll();
12270 wxPyEndAllowThreads(__tstate
);
12271 if (PyErr_Occurred()) SWIG_fail
;
12274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12282 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12283 PyObject
*resultobj
;
12284 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12285 wxPoint
*arg2
= 0 ;
12287 PyObject
* obj0
= 0 ;
12288 PyObject
* obj1
= 0 ;
12289 char *kwnames
[] = {
12290 (char *) "self",(char *) "pt", NULL
12293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
12294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12295 if (SWIG_arg_fail(1)) SWIG_fail
;
12298 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12302 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
12304 wxPyEndAllowThreads(__tstate
);
12305 if (PyErr_Occurred()) SWIG_fail
;
12307 Py_INCREF(Py_None
); resultobj
= Py_None
;
12314 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12315 PyObject
*resultobj
;
12316 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12319 PyObject
* obj0
= 0 ;
12320 PyObject
* obj1
= 0 ;
12321 PyObject
* obj2
= 0 ;
12322 char *kwnames
[] = {
12323 (char *) "self",(char *) "x",(char *) "y", NULL
12326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12328 if (SWIG_arg_fail(1)) SWIG_fail
;
12330 arg2
= (int)(SWIG_As_int(obj1
));
12331 if (SWIG_arg_fail(2)) SWIG_fail
;
12334 arg3
= (int)(SWIG_As_int(obj2
));
12335 if (SWIG_arg_fail(3)) SWIG_fail
;
12338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12339 (arg1
)->SetMargins(arg2
,arg3
);
12341 wxPyEndAllowThreads(__tstate
);
12342 if (PyErr_Occurred()) SWIG_fail
;
12344 Py_INCREF(Py_None
); resultobj
= Py_None
;
12351 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12352 PyObject
*resultobj
;
12353 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12354 wxColour
*arg2
= 0 ;
12356 PyObject
* obj0
= 0 ;
12357 PyObject
* obj1
= 0 ;
12358 char *kwnames
[] = {
12359 (char *) "self",(char *) "col", NULL
12362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
12363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12364 if (SWIG_arg_fail(1)) SWIG_fail
;
12367 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12371 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
12373 wxPyEndAllowThreads(__tstate
);
12374 if (PyErr_Occurred()) SWIG_fail
;
12376 Py_INCREF(Py_None
); resultobj
= Py_None
;
12383 static PyObject
* VListBox_swigregister(PyObject
*, PyObject
*args
) {
12385 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12386 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
12388 return Py_BuildValue((char *)"");
12390 static PyObject
*_wrap_new_HtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12391 PyObject
*resultobj
;
12392 wxWindow
*arg1
= (wxWindow
*) 0 ;
12393 int arg2
= (int) wxID_ANY
;
12394 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12395 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12396 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12397 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12398 long arg5
= (long) 0 ;
12399 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
12400 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12401 wxPyHtmlListBox
*result
;
12404 bool temp6
= false ;
12405 PyObject
* obj0
= 0 ;
12406 PyObject
* obj1
= 0 ;
12407 PyObject
* obj2
= 0 ;
12408 PyObject
* obj3
= 0 ;
12409 PyObject
* obj4
= 0 ;
12410 PyObject
* obj5
= 0 ;
12411 char *kwnames
[] = {
12412 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12417 if (SWIG_arg_fail(1)) SWIG_fail
;
12420 arg2
= (int)(SWIG_As_int(obj1
));
12421 if (SWIG_arg_fail(2)) SWIG_fail
;
12427 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12433 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12438 arg5
= (long)(SWIG_As_long(obj4
));
12439 if (SWIG_arg_fail(5)) SWIG_fail
;
12444 arg6
= wxString_in_helper(obj5
);
12445 if (arg6
== NULL
) SWIG_fail
;
12450 if (!wxPyCheckForApp()) SWIG_fail
;
12451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12452 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12454 wxPyEndAllowThreads(__tstate
);
12455 if (PyErr_Occurred()) SWIG_fail
;
12457 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
12472 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12473 PyObject
*resultobj
;
12474 wxPyHtmlListBox
*result
;
12475 char *kwnames
[] = {
12479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
12481 if (!wxPyCheckForApp()) SWIG_fail
;
12482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12483 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
12485 wxPyEndAllowThreads(__tstate
);
12486 if (PyErr_Occurred()) SWIG_fail
;
12488 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
12495 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12496 PyObject
*resultobj
;
12497 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12498 PyObject
*arg2
= (PyObject
*) 0 ;
12499 PyObject
*arg3
= (PyObject
*) 0 ;
12500 PyObject
* obj0
= 0 ;
12501 PyObject
* obj1
= 0 ;
12502 PyObject
* obj2
= 0 ;
12503 char *kwnames
[] = {
12504 (char *) "self",(char *) "self",(char *) "_class", NULL
12507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12509 if (SWIG_arg_fail(1)) SWIG_fail
;
12513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12514 (arg1
)->_setCallbackInfo(arg2
,arg3
);
12516 wxPyEndAllowThreads(__tstate
);
12517 if (PyErr_Occurred()) SWIG_fail
;
12519 Py_INCREF(Py_None
); resultobj
= Py_None
;
12526 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12527 PyObject
*resultobj
;
12528 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12529 wxWindow
*arg2
= (wxWindow
*) 0 ;
12530 int arg3
= (int) wxID_ANY
;
12531 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12532 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12533 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12534 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12535 long arg6
= (long) 0 ;
12536 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
12537 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12541 bool temp7
= false ;
12542 PyObject
* obj0
= 0 ;
12543 PyObject
* obj1
= 0 ;
12544 PyObject
* obj2
= 0 ;
12545 PyObject
* obj3
= 0 ;
12546 PyObject
* obj4
= 0 ;
12547 PyObject
* obj5
= 0 ;
12548 PyObject
* obj6
= 0 ;
12549 char *kwnames
[] = {
12550 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12555 if (SWIG_arg_fail(1)) SWIG_fail
;
12556 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12557 if (SWIG_arg_fail(2)) SWIG_fail
;
12560 arg3
= (int)(SWIG_As_int(obj2
));
12561 if (SWIG_arg_fail(3)) SWIG_fail
;
12567 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12573 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12578 arg6
= (long)(SWIG_As_long(obj5
));
12579 if (SWIG_arg_fail(6)) SWIG_fail
;
12584 arg7
= wxString_in_helper(obj6
);
12585 if (arg7
== NULL
) SWIG_fail
;
12590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12591 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12593 wxPyEndAllowThreads(__tstate
);
12594 if (PyErr_Occurred()) SWIG_fail
;
12597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12613 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12614 PyObject
*resultobj
;
12615 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12616 PyObject
* obj0
= 0 ;
12617 char *kwnames
[] = {
12618 (char *) "self", NULL
12621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
12622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12623 if (SWIG_arg_fail(1)) SWIG_fail
;
12625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12626 (arg1
)->RefreshAll();
12628 wxPyEndAllowThreads(__tstate
);
12629 if (PyErr_Occurred()) SWIG_fail
;
12631 Py_INCREF(Py_None
); resultobj
= Py_None
;
12638 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12639 PyObject
*resultobj
;
12640 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12642 PyObject
* obj0
= 0 ;
12643 PyObject
* obj1
= 0 ;
12644 char *kwnames
[] = {
12645 (char *) "self",(char *) "count", NULL
12648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
12649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12650 if (SWIG_arg_fail(1)) SWIG_fail
;
12652 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12653 if (SWIG_arg_fail(2)) SWIG_fail
;
12656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12657 (arg1
)->SetItemCount(arg2
);
12659 wxPyEndAllowThreads(__tstate
);
12660 if (PyErr_Occurred()) SWIG_fail
;
12662 Py_INCREF(Py_None
); resultobj
= Py_None
;
12669 static PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12670 PyObject
*resultobj
;
12671 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12672 wxFileSystem
*result
;
12673 PyObject
* obj0
= 0 ;
12674 char *kwnames
[] = {
12675 (char *) "self", NULL
12678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_GetFileSystem",kwnames
,&obj0
)) goto fail
;
12679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12680 if (SWIG_arg_fail(1)) SWIG_fail
;
12682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12684 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
12685 result
= (wxFileSystem
*) &_result_ref
;
12688 wxPyEndAllowThreads(__tstate
);
12689 if (PyErr_Occurred()) SWIG_fail
;
12691 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileSystem
, 0);
12698 static PyObject
* HtmlListBox_swigregister(PyObject
*, PyObject
*args
) {
12700 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12701 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
12703 return Py_BuildValue((char *)"");
12705 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12706 PyObject
*resultobj
;
12707 wxPyTaskBarIcon
*result
;
12708 char *kwnames
[] = {
12712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
12714 if (!wxPyCheckForApp()) SWIG_fail
;
12715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12716 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
12718 wxPyEndAllowThreads(__tstate
);
12719 if (PyErr_Occurred()) SWIG_fail
;
12721 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTaskBarIcon
, 1);
12728 static PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12729 PyObject
*resultobj
;
12730 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12731 PyObject
*arg2
= (PyObject
*) 0 ;
12732 PyObject
*arg3
= (PyObject
*) 0 ;
12734 PyObject
* obj0
= 0 ;
12735 PyObject
* obj1
= 0 ;
12736 PyObject
* obj2
= 0 ;
12737 PyObject
* obj3
= 0 ;
12738 char *kwnames
[] = {
12739 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
12742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12744 if (SWIG_arg_fail(1)) SWIG_fail
;
12748 arg4
= (int)(SWIG_As_int(obj3
));
12749 if (SWIG_arg_fail(4)) SWIG_fail
;
12752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12753 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
12755 wxPyEndAllowThreads(__tstate
);
12756 if (PyErr_Occurred()) SWIG_fail
;
12758 Py_INCREF(Py_None
); resultobj
= Py_None
;
12765 static PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12766 PyObject
*resultobj
;
12767 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12768 PyObject
* obj0
= 0 ;
12769 char *kwnames
[] = {
12770 (char *) "self", NULL
12773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_Destroy",kwnames
,&obj0
)) goto fail
;
12774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12775 if (SWIG_arg_fail(1)) SWIG_fail
;
12777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12778 wxPyTaskBarIcon_Destroy(arg1
);
12780 wxPyEndAllowThreads(__tstate
);
12781 if (PyErr_Occurred()) SWIG_fail
;
12783 Py_INCREF(Py_None
); resultobj
= Py_None
;
12790 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12791 PyObject
*resultobj
;
12792 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12794 PyObject
* obj0
= 0 ;
12795 char *kwnames
[] = {
12796 (char *) "self", NULL
12799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
12800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12801 if (SWIG_arg_fail(1)) SWIG_fail
;
12803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12804 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
12806 wxPyEndAllowThreads(__tstate
);
12807 if (PyErr_Occurred()) SWIG_fail
;
12810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12818 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(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_IsIconInstalled",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
)->IsIconInstalled();
12834 wxPyEndAllowThreads(__tstate
);
12835 if (PyErr_Occurred()) SWIG_fail
;
12838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12846 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12847 PyObject
*resultobj
;
12848 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12850 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12851 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12853 bool temp3
= false ;
12854 PyObject
* obj0
= 0 ;
12855 PyObject
* obj1
= 0 ;
12856 PyObject
* obj2
= 0 ;
12857 char *kwnames
[] = {
12858 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
12861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12863 if (SWIG_arg_fail(1)) SWIG_fail
;
12865 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
12866 if (SWIG_arg_fail(2)) SWIG_fail
;
12867 if (arg2
== NULL
) {
12868 SWIG_null_ref("wxIcon");
12870 if (SWIG_arg_fail(2)) SWIG_fail
;
12874 arg3
= wxString_in_helper(obj2
);
12875 if (arg3
== NULL
) SWIG_fail
;
12880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12881 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
12883 wxPyEndAllowThreads(__tstate
);
12884 if (PyErr_Occurred()) SWIG_fail
;
12887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12903 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12904 PyObject
*resultobj
;
12905 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12907 PyObject
* obj0
= 0 ;
12908 char *kwnames
[] = {
12909 (char *) "self", NULL
12912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
12913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12914 if (SWIG_arg_fail(1)) SWIG_fail
;
12916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12917 result
= (bool)(arg1
)->RemoveIcon();
12919 wxPyEndAllowThreads(__tstate
);
12920 if (PyErr_Occurred()) SWIG_fail
;
12923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12931 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12932 PyObject
*resultobj
;
12933 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12934 wxMenu
*arg2
= (wxMenu
*) 0 ;
12936 PyObject
* obj0
= 0 ;
12937 PyObject
* obj1
= 0 ;
12938 char *kwnames
[] = {
12939 (char *) "self",(char *) "menu", NULL
12942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
12943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12944 if (SWIG_arg_fail(1)) SWIG_fail
;
12945 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
12946 if (SWIG_arg_fail(2)) SWIG_fail
;
12948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12949 result
= (bool)(arg1
)->PopupMenu(arg2
);
12951 wxPyEndAllowThreads(__tstate
);
12952 if (PyErr_Occurred()) SWIG_fail
;
12955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12963 static PyObject
* TaskBarIcon_swigregister(PyObject
*, PyObject
*args
) {
12965 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12966 SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon
, obj
);
12968 return Py_BuildValue((char *)"");
12970 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12971 PyObject
*resultobj
;
12973 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
12974 wxTaskBarIconEvent
*result
;
12975 PyObject
* obj0
= 0 ;
12976 PyObject
* obj1
= 0 ;
12977 char *kwnames
[] = {
12978 (char *) "evtType",(char *) "tbIcon", NULL
12981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12983 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
12984 if (SWIG_arg_fail(1)) SWIG_fail
;
12986 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12987 if (SWIG_arg_fail(2)) SWIG_fail
;
12989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12990 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
12992 wxPyEndAllowThreads(__tstate
);
12993 if (PyErr_Occurred()) SWIG_fail
;
12995 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
13002 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*, PyObject
*args
) {
13004 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13005 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
13007 return Py_BuildValue((char *)"");
13009 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
13010 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
13015 static PyObject
*_wrap_FileSelectorPromptStr_get(void) {
13020 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
13022 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
13029 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
13030 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
13035 static PyObject
*_wrap_DirSelectorPromptStr_get(void) {
13040 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
13042 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
13049 static int _wrap_DirDialogNameStr_set(PyObject
*) {
13050 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
13055 static PyObject
*_wrap_DirDialogNameStr_get(void) {
13060 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
13062 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
13069 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
13070 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
13075 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get(void) {
13080 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
13082 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
13089 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*) {
13090 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
13095 static PyObject
*_wrap_GetTextFromUserPromptStr_get(void) {
13100 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
13102 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
13109 static int _wrap_MessageBoxCaptionStr_set(PyObject
*) {
13110 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
13115 static PyObject
*_wrap_MessageBoxCaptionStr_get(void) {
13120 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
13122 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
13129 static PyObject
*_wrap_new_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13130 PyObject
*resultobj
;
13131 wxColourData
*result
;
13132 char *kwnames
[] = {
13136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
13138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13139 result
= (wxColourData
*)new wxColourData();
13141 wxPyEndAllowThreads(__tstate
);
13142 if (PyErr_Occurred()) SWIG_fail
;
13144 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
13151 static PyObject
*_wrap_delete_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13152 PyObject
*resultobj
;
13153 wxColourData
*arg1
= (wxColourData
*) 0 ;
13154 PyObject
* obj0
= 0 ;
13155 char *kwnames
[] = {
13156 (char *) "self", NULL
13159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
13160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13161 if (SWIG_arg_fail(1)) SWIG_fail
;
13163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13166 wxPyEndAllowThreads(__tstate
);
13167 if (PyErr_Occurred()) SWIG_fail
;
13169 Py_INCREF(Py_None
); resultobj
= Py_None
;
13176 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13177 PyObject
*resultobj
;
13178 wxColourData
*arg1
= (wxColourData
*) 0 ;
13180 PyObject
* obj0
= 0 ;
13181 char *kwnames
[] = {
13182 (char *) "self", NULL
13185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
13186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13187 if (SWIG_arg_fail(1)) SWIG_fail
;
13189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13190 result
= (bool)(arg1
)->GetChooseFull();
13192 wxPyEndAllowThreads(__tstate
);
13193 if (PyErr_Occurred()) SWIG_fail
;
13196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13204 static PyObject
*_wrap_ColourData_GetColour(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_GetColour",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
= (arg1
)->GetColour();
13220 wxPyEndAllowThreads(__tstate
);
13221 if (PyErr_Occurred()) SWIG_fail
;
13224 wxColour
* resultptr
;
13225 resultptr
= new wxColour((wxColour
&)(result
));
13226 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13234 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13235 PyObject
*resultobj
;
13236 wxColourData
*arg1
= (wxColourData
*) 0 ;
13239 PyObject
* obj0
= 0 ;
13240 PyObject
* obj1
= 0 ;
13241 char *kwnames
[] = {
13242 (char *) "self",(char *) "i", NULL
13245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13247 if (SWIG_arg_fail(1)) SWIG_fail
;
13249 arg2
= (int)(SWIG_As_int(obj1
));
13250 if (SWIG_arg_fail(2)) SWIG_fail
;
13253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13254 result
= (arg1
)->GetCustomColour(arg2
);
13256 wxPyEndAllowThreads(__tstate
);
13257 if (PyErr_Occurred()) SWIG_fail
;
13260 wxColour
* resultptr
;
13261 resultptr
= new wxColour((wxColour
&)(result
));
13262 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13270 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13271 PyObject
*resultobj
;
13272 wxColourData
*arg1
= (wxColourData
*) 0 ;
13274 PyObject
* obj0
= 0 ;
13275 PyObject
* obj1
= 0 ;
13276 char *kwnames
[] = {
13277 (char *) "self",(char *) "flag", NULL
13280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
13281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13282 if (SWIG_arg_fail(1)) SWIG_fail
;
13284 arg2
= (int)(SWIG_As_int(obj1
));
13285 if (SWIG_arg_fail(2)) SWIG_fail
;
13288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13289 (arg1
)->SetChooseFull(arg2
);
13291 wxPyEndAllowThreads(__tstate
);
13292 if (PyErr_Occurred()) SWIG_fail
;
13294 Py_INCREF(Py_None
); resultobj
= Py_None
;
13301 static PyObject
*_wrap_ColourData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13302 PyObject
*resultobj
;
13303 wxColourData
*arg1
= (wxColourData
*) 0 ;
13304 wxColour
*arg2
= 0 ;
13306 PyObject
* obj0
= 0 ;
13307 PyObject
* obj1
= 0 ;
13308 char *kwnames
[] = {
13309 (char *) "self",(char *) "colour", NULL
13312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13314 if (SWIG_arg_fail(1)) SWIG_fail
;
13317 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13321 (arg1
)->SetColour((wxColour
const &)*arg2
);
13323 wxPyEndAllowThreads(__tstate
);
13324 if (PyErr_Occurred()) SWIG_fail
;
13326 Py_INCREF(Py_None
); resultobj
= Py_None
;
13333 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13334 PyObject
*resultobj
;
13335 wxColourData
*arg1
= (wxColourData
*) 0 ;
13337 wxColour
*arg3
= 0 ;
13339 PyObject
* obj0
= 0 ;
13340 PyObject
* obj1
= 0 ;
13341 PyObject
* obj2
= 0 ;
13342 char *kwnames
[] = {
13343 (char *) "self",(char *) "i",(char *) "colour", NULL
13346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13348 if (SWIG_arg_fail(1)) SWIG_fail
;
13350 arg2
= (int)(SWIG_As_int(obj1
));
13351 if (SWIG_arg_fail(2)) SWIG_fail
;
13355 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
13358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13359 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
13361 wxPyEndAllowThreads(__tstate
);
13362 if (PyErr_Occurred()) SWIG_fail
;
13364 Py_INCREF(Py_None
); resultobj
= Py_None
;
13371 static PyObject
* ColourData_swigregister(PyObject
*, PyObject
*args
) {
13373 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13374 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
13376 return Py_BuildValue((char *)"");
13378 static PyObject
*_wrap_new_ColourDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13379 PyObject
*resultobj
;
13380 wxWindow
*arg1
= (wxWindow
*) 0 ;
13381 wxColourData
*arg2
= (wxColourData
*) NULL
;
13382 wxColourDialog
*result
;
13383 PyObject
* obj0
= 0 ;
13384 PyObject
* obj1
= 0 ;
13385 char *kwnames
[] = {
13386 (char *) "parent",(char *) "data", NULL
13389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
13390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13391 if (SWIG_arg_fail(1)) SWIG_fail
;
13393 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13394 if (SWIG_arg_fail(2)) SWIG_fail
;
13397 if (!wxPyCheckForApp()) SWIG_fail
;
13398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13399 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
13401 wxPyEndAllowThreads(__tstate
);
13402 if (PyErr_Occurred()) SWIG_fail
;
13404 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
13411 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13412 PyObject
*resultobj
;
13413 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
13414 wxColourData
*result
;
13415 PyObject
* obj0
= 0 ;
13416 char *kwnames
[] = {
13417 (char *) "self", NULL
13420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
13421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_EXCEPTION
| 0);
13422 if (SWIG_arg_fail(1)) SWIG_fail
;
13424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13426 wxColourData
&_result_ref
= (arg1
)->GetColourData();
13427 result
= (wxColourData
*) &_result_ref
;
13430 wxPyEndAllowThreads(__tstate
);
13431 if (PyErr_Occurred()) SWIG_fail
;
13433 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
13440 static PyObject
* ColourDialog_swigregister(PyObject
*, PyObject
*args
) {
13442 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13443 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
13445 return Py_BuildValue((char *)"");
13447 static PyObject
*_wrap_new_DirDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13448 PyObject
*resultobj
;
13449 wxWindow
*arg1
= (wxWindow
*) 0 ;
13450 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
13451 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13452 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13453 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13454 long arg4
= (long) 0 ;
13455 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13456 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13457 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13458 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13459 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
13460 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13461 wxDirDialog
*result
;
13462 bool temp2
= false ;
13463 bool temp3
= false ;
13466 bool temp7
= false ;
13467 PyObject
* obj0
= 0 ;
13468 PyObject
* obj1
= 0 ;
13469 PyObject
* obj2
= 0 ;
13470 PyObject
* obj3
= 0 ;
13471 PyObject
* obj4
= 0 ;
13472 PyObject
* obj5
= 0 ;
13473 PyObject
* obj6
= 0 ;
13474 char *kwnames
[] = {
13475 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
13478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13480 if (SWIG_arg_fail(1)) SWIG_fail
;
13483 arg2
= wxString_in_helper(obj1
);
13484 if (arg2
== NULL
) SWIG_fail
;
13490 arg3
= wxString_in_helper(obj2
);
13491 if (arg3
== NULL
) SWIG_fail
;
13497 arg4
= (long)(SWIG_As_long(obj3
));
13498 if (SWIG_arg_fail(4)) SWIG_fail
;
13504 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13510 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13515 arg7
= wxString_in_helper(obj6
);
13516 if (arg7
== NULL
) SWIG_fail
;
13521 if (!wxPyCheckForApp()) SWIG_fail
;
13522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13523 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
13525 wxPyEndAllowThreads(__tstate
);
13526 if (PyErr_Occurred()) SWIG_fail
;
13528 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
13559 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13560 PyObject
*resultobj
;
13561 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13563 PyObject
* obj0
= 0 ;
13564 char *kwnames
[] = {
13565 (char *) "self", NULL
13568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
13569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13570 if (SWIG_arg_fail(1)) SWIG_fail
;
13572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13573 result
= (arg1
)->GetPath();
13575 wxPyEndAllowThreads(__tstate
);
13576 if (PyErr_Occurred()) SWIG_fail
;
13580 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13582 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13591 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13592 PyObject
*resultobj
;
13593 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13595 PyObject
* obj0
= 0 ;
13596 char *kwnames
[] = {
13597 (char *) "self", NULL
13600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
13601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13602 if (SWIG_arg_fail(1)) SWIG_fail
;
13604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13605 result
= (arg1
)->GetMessage();
13607 wxPyEndAllowThreads(__tstate
);
13608 if (PyErr_Occurred()) SWIG_fail
;
13612 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13614 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13623 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13624 PyObject
*resultobj
;
13625 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13627 PyObject
* obj0
= 0 ;
13628 char *kwnames
[] = {
13629 (char *) "self", NULL
13632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
13633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13634 if (SWIG_arg_fail(1)) SWIG_fail
;
13636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13637 result
= (long)(arg1
)->GetStyle();
13639 wxPyEndAllowThreads(__tstate
);
13640 if (PyErr_Occurred()) SWIG_fail
;
13643 resultobj
= SWIG_From_long((long)(result
));
13651 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13652 PyObject
*resultobj
;
13653 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13654 wxString
*arg2
= 0 ;
13655 bool temp2
= false ;
13656 PyObject
* obj0
= 0 ;
13657 PyObject
* obj1
= 0 ;
13658 char *kwnames
[] = {
13659 (char *) "self",(char *) "message", NULL
13662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
13663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13664 if (SWIG_arg_fail(1)) SWIG_fail
;
13666 arg2
= wxString_in_helper(obj1
);
13667 if (arg2
== NULL
) SWIG_fail
;
13671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13672 (arg1
)->SetMessage((wxString
const &)*arg2
);
13674 wxPyEndAllowThreads(__tstate
);
13675 if (PyErr_Occurred()) SWIG_fail
;
13677 Py_INCREF(Py_None
); resultobj
= Py_None
;
13692 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13693 PyObject
*resultobj
;
13694 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13695 wxString
*arg2
= 0 ;
13696 bool temp2
= false ;
13697 PyObject
* obj0
= 0 ;
13698 PyObject
* obj1
= 0 ;
13699 char *kwnames
[] = {
13700 (char *) "self",(char *) "path", NULL
13703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
13704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13705 if (SWIG_arg_fail(1)) SWIG_fail
;
13707 arg2
= wxString_in_helper(obj1
);
13708 if (arg2
== NULL
) SWIG_fail
;
13712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13713 (arg1
)->SetPath((wxString
const &)*arg2
);
13715 wxPyEndAllowThreads(__tstate
);
13716 if (PyErr_Occurred()) SWIG_fail
;
13718 Py_INCREF(Py_None
); resultobj
= Py_None
;
13733 static PyObject
* DirDialog_swigregister(PyObject
*, PyObject
*args
) {
13735 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13736 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
13738 return Py_BuildValue((char *)"");
13740 static PyObject
*_wrap_new_FileDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13741 PyObject
*resultobj
;
13742 wxWindow
*arg1
= (wxWindow
*) 0 ;
13743 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
13744 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13745 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13746 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13747 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13748 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13749 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
13750 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
13751 long arg6
= (long) 0 ;
13752 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
13753 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
13754 wxFileDialog
*result
;
13755 bool temp2
= false ;
13756 bool temp3
= false ;
13757 bool temp4
= false ;
13758 bool temp5
= false ;
13760 PyObject
* obj0
= 0 ;
13761 PyObject
* obj1
= 0 ;
13762 PyObject
* obj2
= 0 ;
13763 PyObject
* obj3
= 0 ;
13764 PyObject
* obj4
= 0 ;
13765 PyObject
* obj5
= 0 ;
13766 PyObject
* obj6
= 0 ;
13767 char *kwnames
[] = {
13768 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
13771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13773 if (SWIG_arg_fail(1)) SWIG_fail
;
13776 arg2
= wxString_in_helper(obj1
);
13777 if (arg2
== NULL
) SWIG_fail
;
13783 arg3
= wxString_in_helper(obj2
);
13784 if (arg3
== NULL
) SWIG_fail
;
13790 arg4
= wxString_in_helper(obj3
);
13791 if (arg4
== NULL
) SWIG_fail
;
13797 arg5
= wxString_in_helper(obj4
);
13798 if (arg5
== NULL
) SWIG_fail
;
13804 arg6
= (long)(SWIG_As_long(obj5
));
13805 if (SWIG_arg_fail(6)) SWIG_fail
;
13811 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
13815 if (!wxPyCheckForApp()) SWIG_fail
;
13816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13817 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
13819 wxPyEndAllowThreads(__tstate
);
13820 if (PyErr_Occurred()) SWIG_fail
;
13822 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
13861 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13862 PyObject
*resultobj
;
13863 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
13864 wxString
*arg2
= 0 ;
13865 bool temp2
= false ;
13866 PyObject
* obj0
= 0 ;
13867 PyObject
* obj1
= 0 ;
13868 char *kwnames
[] = {
13869 (char *) "self",(char *) "message", NULL
13872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
13873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
13874 if (SWIG_arg_fail(1)) SWIG_fail
;
13876 arg2
= wxString_in_helper(obj1
);
13877 if (arg2
== NULL
) SWIG_fail
;
13881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13882 (arg1
)->SetMessage((wxString
const &)*arg2
);
13884 wxPyEndAllowThreads(__tstate
);
13885 if (PyErr_Occurred()) SWIG_fail
;
13887 Py_INCREF(Py_None
); resultobj
= Py_None
;
13902 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13903 PyObject
*resultobj
;
13904 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
13905 wxString
*arg2
= 0 ;
13906 bool temp2
= false ;
13907 PyObject
* obj0
= 0 ;
13908 PyObject
* obj1
= 0 ;
13909 char *kwnames
[] = {
13910 (char *) "self",(char *) "path", NULL
13913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
13914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
13915 if (SWIG_arg_fail(1)) SWIG_fail
;
13917 arg2
= wxString_in_helper(obj1
);
13918 if (arg2
== NULL
) SWIG_fail
;
13922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13923 (arg1
)->SetPath((wxString
const &)*arg2
);
13925 wxPyEndAllowThreads(__tstate
);
13926 if (PyErr_Occurred()) SWIG_fail
;
13928 Py_INCREF(Py_None
); resultobj
= Py_None
;
13943 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13944 PyObject
*resultobj
;
13945 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
13946 wxString
*arg2
= 0 ;
13947 bool temp2
= false ;
13948 PyObject
* obj0
= 0 ;
13949 PyObject
* obj1
= 0 ;
13950 char *kwnames
[] = {
13951 (char *) "self",(char *) "dir", NULL
13954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
13955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
13956 if (SWIG_arg_fail(1)) SWIG_fail
;
13958 arg2
= wxString_in_helper(obj1
);
13959 if (arg2
== NULL
) SWIG_fail
;
13963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13964 (arg1
)->SetDirectory((wxString
const &)*arg2
);
13966 wxPyEndAllowThreads(__tstate
);
13967 if (PyErr_Occurred()) SWIG_fail
;
13969 Py_INCREF(Py_None
); resultobj
= Py_None
;
13984 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13985 PyObject
*resultobj
;
13986 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
13987 wxString
*arg2
= 0 ;
13988 bool temp2
= false ;
13989 PyObject
* obj0
= 0 ;
13990 PyObject
* obj1
= 0 ;
13991 char *kwnames
[] = {
13992 (char *) "self",(char *) "name", NULL
13995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
13996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
13997 if (SWIG_arg_fail(1)) SWIG_fail
;
13999 arg2
= wxString_in_helper(obj1
);
14000 if (arg2
== NULL
) SWIG_fail
;
14004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14005 (arg1
)->SetFilename((wxString
const &)*arg2
);
14007 wxPyEndAllowThreads(__tstate
);
14008 if (PyErr_Occurred()) SWIG_fail
;
14010 Py_INCREF(Py_None
); resultobj
= Py_None
;
14025 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14026 PyObject
*resultobj
;
14027 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14028 wxString
*arg2
= 0 ;
14029 bool temp2
= false ;
14030 PyObject
* obj0
= 0 ;
14031 PyObject
* obj1
= 0 ;
14032 char *kwnames
[] = {
14033 (char *) "self",(char *) "wildCard", NULL
14036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
14037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14038 if (SWIG_arg_fail(1)) SWIG_fail
;
14040 arg2
= wxString_in_helper(obj1
);
14041 if (arg2
== NULL
) SWIG_fail
;
14045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14046 (arg1
)->SetWildcard((wxString
const &)*arg2
);
14048 wxPyEndAllowThreads(__tstate
);
14049 if (PyErr_Occurred()) SWIG_fail
;
14051 Py_INCREF(Py_None
); resultobj
= Py_None
;
14066 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14067 PyObject
*resultobj
;
14068 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14070 PyObject
* obj0
= 0 ;
14071 PyObject
* obj1
= 0 ;
14072 char *kwnames
[] = {
14073 (char *) "self",(char *) "style", NULL
14076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
14077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14078 if (SWIG_arg_fail(1)) SWIG_fail
;
14080 arg2
= (long)(SWIG_As_long(obj1
));
14081 if (SWIG_arg_fail(2)) SWIG_fail
;
14084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14085 (arg1
)->SetStyle(arg2
);
14087 wxPyEndAllowThreads(__tstate
);
14088 if (PyErr_Occurred()) SWIG_fail
;
14090 Py_INCREF(Py_None
); resultobj
= Py_None
;
14097 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14098 PyObject
*resultobj
;
14099 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14101 PyObject
* obj0
= 0 ;
14102 PyObject
* obj1
= 0 ;
14103 char *kwnames
[] = {
14104 (char *) "self",(char *) "filterIndex", NULL
14107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
14108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14109 if (SWIG_arg_fail(1)) SWIG_fail
;
14111 arg2
= (int)(SWIG_As_int(obj1
));
14112 if (SWIG_arg_fail(2)) SWIG_fail
;
14115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14116 (arg1
)->SetFilterIndex(arg2
);
14118 wxPyEndAllowThreads(__tstate
);
14119 if (PyErr_Occurred()) SWIG_fail
;
14121 Py_INCREF(Py_None
); resultobj
= Py_None
;
14128 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14129 PyObject
*resultobj
;
14130 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14132 PyObject
* obj0
= 0 ;
14133 char *kwnames
[] = {
14134 (char *) "self", NULL
14137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
14138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14139 if (SWIG_arg_fail(1)) SWIG_fail
;
14141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14142 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
14144 wxPyEndAllowThreads(__tstate
);
14145 if (PyErr_Occurred()) SWIG_fail
;
14149 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14151 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14160 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14161 PyObject
*resultobj
;
14162 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14164 PyObject
* obj0
= 0 ;
14165 char *kwnames
[] = {
14166 (char *) "self", NULL
14169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
14170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14171 if (SWIG_arg_fail(1)) SWIG_fail
;
14173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14174 result
= ((wxFileDialog
const *)arg1
)->GetPath();
14176 wxPyEndAllowThreads(__tstate
);
14177 if (PyErr_Occurred()) SWIG_fail
;
14181 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14183 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14192 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14193 PyObject
*resultobj
;
14194 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14196 PyObject
* obj0
= 0 ;
14197 char *kwnames
[] = {
14198 (char *) "self", NULL
14201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
14202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14203 if (SWIG_arg_fail(1)) SWIG_fail
;
14205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14206 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
14208 wxPyEndAllowThreads(__tstate
);
14209 if (PyErr_Occurred()) SWIG_fail
;
14213 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14215 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14224 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14225 PyObject
*resultobj
;
14226 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14228 PyObject
* obj0
= 0 ;
14229 char *kwnames
[] = {
14230 (char *) "self", NULL
14233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
14234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14235 if (SWIG_arg_fail(1)) SWIG_fail
;
14237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14238 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
14240 wxPyEndAllowThreads(__tstate
);
14241 if (PyErr_Occurred()) SWIG_fail
;
14245 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14247 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14256 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14257 PyObject
*resultobj
;
14258 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14260 PyObject
* obj0
= 0 ;
14261 char *kwnames
[] = {
14262 (char *) "self", NULL
14265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
14266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14267 if (SWIG_arg_fail(1)) SWIG_fail
;
14269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14270 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
14272 wxPyEndAllowThreads(__tstate
);
14273 if (PyErr_Occurred()) SWIG_fail
;
14277 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14279 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14288 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14289 PyObject
*resultobj
;
14290 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14292 PyObject
* obj0
= 0 ;
14293 char *kwnames
[] = {
14294 (char *) "self", NULL
14297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
14298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14299 if (SWIG_arg_fail(1)) SWIG_fail
;
14301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14302 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
14304 wxPyEndAllowThreads(__tstate
);
14305 if (PyErr_Occurred()) SWIG_fail
;
14308 resultobj
= SWIG_From_long((long)(result
));
14316 static PyObject
*_wrap_FileDialog_GetFilterIndex(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_GetFilterIndex",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
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
14332 wxPyEndAllowThreads(__tstate
);
14333 if (PyErr_Occurred()) SWIG_fail
;
14336 resultobj
= SWIG_From_int((int)(result
));
14344 static PyObject
*_wrap_FileDialog_GetFilenames(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_GetFilenames",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
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
14360 wxPyEndAllowThreads(__tstate
);
14361 if (PyErr_Occurred()) SWIG_fail
;
14363 resultobj
= result
;
14370 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14371 PyObject
*resultobj
;
14372 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14374 PyObject
* obj0
= 0 ;
14375 char *kwnames
[] = {
14376 (char *) "self", NULL
14379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
14380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14381 if (SWIG_arg_fail(1)) SWIG_fail
;
14383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14384 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
14386 wxPyEndAllowThreads(__tstate
);
14387 if (PyErr_Occurred()) SWIG_fail
;
14389 resultobj
= result
;
14396 static PyObject
* FileDialog_swigregister(PyObject
*, PyObject
*args
) {
14398 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14399 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
14401 return Py_BuildValue((char *)"");
14403 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14404 PyObject
*resultobj
;
14405 wxWindow
*arg1
= (wxWindow
*) 0 ;
14406 wxString
*arg2
= 0 ;
14407 wxString
*arg3
= 0 ;
14408 int arg4
= (int) 0 ;
14409 wxString
*arg5
= (wxString
*) NULL
;
14410 long arg6
= (long) wxCHOICEDLG_STYLE
;
14411 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14412 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14413 wxMultiChoiceDialog
*result
;
14414 bool temp2
= false ;
14415 bool temp3
= false ;
14417 PyObject
* obj0
= 0 ;
14418 PyObject
* obj1
= 0 ;
14419 PyObject
* obj2
= 0 ;
14420 PyObject
* obj3
= 0 ;
14421 PyObject
* obj4
= 0 ;
14422 PyObject
* obj5
= 0 ;
14423 char *kwnames
[] = {
14424 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14429 if (SWIG_arg_fail(1)) SWIG_fail
;
14431 arg2
= wxString_in_helper(obj1
);
14432 if (arg2
== NULL
) SWIG_fail
;
14436 arg3
= wxString_in_helper(obj2
);
14437 if (arg3
== NULL
) SWIG_fail
;
14442 arg4
= PyList_Size(obj3
);
14443 arg5
= wxString_LIST_helper(obj3
);
14444 if (arg5
== NULL
) SWIG_fail
;
14449 arg6
= (long)(SWIG_As_long(obj4
));
14450 if (SWIG_arg_fail(6)) SWIG_fail
;
14456 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
14460 if (!wxPyCheckForApp()) SWIG_fail
;
14461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14462 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
14464 wxPyEndAllowThreads(__tstate
);
14465 if (PyErr_Occurred()) SWIG_fail
;
14467 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
14477 if (arg5
) delete [] arg5
;
14490 if (arg5
) delete [] arg5
;
14496 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14497 PyObject
*resultobj
;
14498 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
14499 wxArrayInt
*arg2
= 0 ;
14500 bool temp2
= false ;
14501 PyObject
* obj0
= 0 ;
14502 PyObject
* obj1
= 0 ;
14503 char *kwnames
[] = {
14504 (char *) "self",(char *) "selections", NULL
14507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
14508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14509 if (SWIG_arg_fail(1)) SWIG_fail
;
14511 if (! PySequence_Check(obj1
)) {
14512 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
14515 arg2
= new wxArrayInt
;
14517 int i
, len
=PySequence_Length(obj1
);
14518 for (i
=0; i
<len
; i
++) {
14519 PyObject
* item
= PySequence_GetItem(obj1
, i
);
14520 PyObject
* number
= PyNumber_Int(item
);
14521 arg2
->Add(PyInt_AS_LONG(number
));
14527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14528 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
14530 wxPyEndAllowThreads(__tstate
);
14531 if (PyErr_Occurred()) SWIG_fail
;
14533 Py_INCREF(Py_None
); resultobj
= Py_None
;
14535 if (temp2
) delete arg2
;
14540 if (temp2
) delete arg2
;
14546 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14547 PyObject
*resultobj
;
14548 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
14550 PyObject
* obj0
= 0 ;
14551 char *kwnames
[] = {
14552 (char *) "self", NULL
14555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
14556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14557 if (SWIG_arg_fail(1)) SWIG_fail
;
14559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14560 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
14562 wxPyEndAllowThreads(__tstate
);
14563 if (PyErr_Occurred()) SWIG_fail
;
14565 resultobj
= result
;
14572 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
14574 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14575 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
14577 return Py_BuildValue((char *)"");
14579 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14580 PyObject
*resultobj
;
14581 wxWindow
*arg1
= (wxWindow
*) 0 ;
14582 wxString
*arg2
= 0 ;
14583 wxString
*arg3
= 0 ;
14585 wxString
*arg5
= (wxString
*) 0 ;
14586 long arg6
= (long) wxCHOICEDLG_STYLE
;
14587 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14588 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14589 wxSingleChoiceDialog
*result
;
14590 bool temp2
= false ;
14591 bool temp3
= false ;
14593 PyObject
* obj0
= 0 ;
14594 PyObject
* obj1
= 0 ;
14595 PyObject
* obj2
= 0 ;
14596 PyObject
* obj3
= 0 ;
14597 PyObject
* obj4
= 0 ;
14598 PyObject
* obj5
= 0 ;
14599 char *kwnames
[] = {
14600 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14605 if (SWIG_arg_fail(1)) SWIG_fail
;
14607 arg2
= wxString_in_helper(obj1
);
14608 if (arg2
== NULL
) SWIG_fail
;
14612 arg3
= wxString_in_helper(obj2
);
14613 if (arg3
== NULL
) SWIG_fail
;
14617 arg4
= PyList_Size(obj3
);
14618 arg5
= wxString_LIST_helper(obj3
);
14619 if (arg5
== NULL
) SWIG_fail
;
14623 arg6
= (long)(SWIG_As_long(obj4
));
14624 if (SWIG_arg_fail(6)) SWIG_fail
;
14630 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
14634 if (!wxPyCheckForApp()) SWIG_fail
;
14635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14636 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
14638 wxPyEndAllowThreads(__tstate
);
14639 if (PyErr_Occurred()) SWIG_fail
;
14641 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
14651 if (arg5
) delete [] arg5
;
14664 if (arg5
) delete [] arg5
;
14670 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14671 PyObject
*resultobj
;
14672 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
14674 PyObject
* obj0
= 0 ;
14675 char *kwnames
[] = {
14676 (char *) "self", NULL
14679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
14680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14681 if (SWIG_arg_fail(1)) SWIG_fail
;
14683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14684 result
= (int)(arg1
)->GetSelection();
14686 wxPyEndAllowThreads(__tstate
);
14687 if (PyErr_Occurred()) SWIG_fail
;
14690 resultobj
= SWIG_From_int((int)(result
));
14698 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(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_GetStringSelection",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
= (arg1
)->GetStringSelection();
14714 wxPyEndAllowThreads(__tstate
);
14715 if (PyErr_Occurred()) SWIG_fail
;
14719 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14721 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14730 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14731 PyObject
*resultobj
;
14732 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
14734 PyObject
* obj0
= 0 ;
14735 PyObject
* obj1
= 0 ;
14736 char *kwnames
[] = {
14737 (char *) "self",(char *) "sel", NULL
14740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14742 if (SWIG_arg_fail(1)) SWIG_fail
;
14744 arg2
= (int)(SWIG_As_int(obj1
));
14745 if (SWIG_arg_fail(2)) SWIG_fail
;
14748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14749 (arg1
)->SetSelection(arg2
);
14751 wxPyEndAllowThreads(__tstate
);
14752 if (PyErr_Occurred()) SWIG_fail
;
14754 Py_INCREF(Py_None
); resultobj
= Py_None
;
14761 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
14763 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14764 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
14766 return Py_BuildValue((char *)"");
14768 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14769 PyObject
*resultobj
;
14770 wxWindow
*arg1
= (wxWindow
*) 0 ;
14771 wxString
*arg2
= 0 ;
14772 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
14773 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14774 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14775 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14776 long arg5
= (long) wxTextEntryDialogStyle
;
14777 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
14778 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
14779 wxTextEntryDialog
*result
;
14780 bool temp2
= false ;
14781 bool temp3
= false ;
14782 bool temp4
= false ;
14784 PyObject
* obj0
= 0 ;
14785 PyObject
* obj1
= 0 ;
14786 PyObject
* obj2
= 0 ;
14787 PyObject
* obj3
= 0 ;
14788 PyObject
* obj4
= 0 ;
14789 PyObject
* obj5
= 0 ;
14790 char *kwnames
[] = {
14791 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
14794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14796 if (SWIG_arg_fail(1)) SWIG_fail
;
14798 arg2
= wxString_in_helper(obj1
);
14799 if (arg2
== NULL
) SWIG_fail
;
14804 arg3
= wxString_in_helper(obj2
);
14805 if (arg3
== NULL
) SWIG_fail
;
14811 arg4
= wxString_in_helper(obj3
);
14812 if (arg4
== NULL
) SWIG_fail
;
14818 arg5
= (long)(SWIG_As_long(obj4
));
14819 if (SWIG_arg_fail(5)) SWIG_fail
;
14825 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
14829 if (!wxPyCheckForApp()) SWIG_fail
;
14830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14831 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
14833 wxPyEndAllowThreads(__tstate
);
14834 if (PyErr_Occurred()) SWIG_fail
;
14836 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
14867 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14868 PyObject
*resultobj
;
14869 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
14871 PyObject
* obj0
= 0 ;
14872 char *kwnames
[] = {
14873 (char *) "self", NULL
14876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
14877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_EXCEPTION
| 0);
14878 if (SWIG_arg_fail(1)) SWIG_fail
;
14880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14881 result
= (arg1
)->GetValue();
14883 wxPyEndAllowThreads(__tstate
);
14884 if (PyErr_Occurred()) SWIG_fail
;
14888 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14890 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14899 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14900 PyObject
*resultobj
;
14901 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
14902 wxString
*arg2
= 0 ;
14903 bool temp2
= false ;
14904 PyObject
* obj0
= 0 ;
14905 PyObject
* obj1
= 0 ;
14906 char *kwnames
[] = {
14907 (char *) "self",(char *) "value", NULL
14910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
14911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_EXCEPTION
| 0);
14912 if (SWIG_arg_fail(1)) SWIG_fail
;
14914 arg2
= wxString_in_helper(obj1
);
14915 if (arg2
== NULL
) SWIG_fail
;
14919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14920 (arg1
)->SetValue((wxString
const &)*arg2
);
14922 wxPyEndAllowThreads(__tstate
);
14923 if (PyErr_Occurred()) SWIG_fail
;
14925 Py_INCREF(Py_None
); resultobj
= Py_None
;
14940 static PyObject
* TextEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
14942 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14943 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
14945 return Py_BuildValue((char *)"");
14947 static int _wrap_GetPasswordFromUserPromptStr_set(PyObject
*) {
14948 PyErr_SetString(PyExc_TypeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
14953 static PyObject
*_wrap_GetPasswordFromUserPromptStr_get(void) {
14958 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
14960 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
14967 static PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14968 PyObject
*resultobj
;
14969 wxWindow
*arg1
= (wxWindow
*) 0 ;
14970 wxString
*arg2
= 0 ;
14971 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
14972 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14973 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14974 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14975 long arg5
= (long) wxTextEntryDialogStyle
;
14976 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
14977 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
14978 wxPasswordEntryDialog
*result
;
14979 bool temp2
= false ;
14980 bool temp3
= false ;
14981 bool temp4
= false ;
14983 PyObject
* obj0
= 0 ;
14984 PyObject
* obj1
= 0 ;
14985 PyObject
* obj2
= 0 ;
14986 PyObject
* obj3
= 0 ;
14987 PyObject
* obj4
= 0 ;
14988 PyObject
* obj5
= 0 ;
14989 char *kwnames
[] = {
14990 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
14993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14995 if (SWIG_arg_fail(1)) SWIG_fail
;
14997 arg2
= wxString_in_helper(obj1
);
14998 if (arg2
== NULL
) SWIG_fail
;
15003 arg3
= wxString_in_helper(obj2
);
15004 if (arg3
== NULL
) SWIG_fail
;
15010 arg4
= wxString_in_helper(obj3
);
15011 if (arg4
== NULL
) SWIG_fail
;
15017 arg5
= (long)(SWIG_As_long(obj4
));
15018 if (SWIG_arg_fail(5)) SWIG_fail
;
15024 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
15028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15029 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
15031 wxPyEndAllowThreads(__tstate
);
15032 if (PyErr_Occurred()) SWIG_fail
;
15034 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPasswordEntryDialog
, 1);
15065 static PyObject
* PasswordEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
15067 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15068 SWIG_TypeClientData(SWIGTYPE_p_wxPasswordEntryDialog
, obj
);
15070 return Py_BuildValue((char *)"");
15072 static PyObject
*_wrap_new_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15073 PyObject
*resultobj
;
15074 wxFontData
*result
;
15075 char *kwnames
[] = {
15079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
15081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15082 result
= (wxFontData
*)new wxFontData();
15084 wxPyEndAllowThreads(__tstate
);
15085 if (PyErr_Occurred()) SWIG_fail
;
15087 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
15094 static PyObject
*_wrap_delete_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15095 PyObject
*resultobj
;
15096 wxFontData
*arg1
= (wxFontData
*) 0 ;
15097 PyObject
* obj0
= 0 ;
15098 char *kwnames
[] = {
15099 (char *) "self", NULL
15102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
15103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15104 if (SWIG_arg_fail(1)) SWIG_fail
;
15106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15109 wxPyEndAllowThreads(__tstate
);
15110 if (PyErr_Occurred()) SWIG_fail
;
15112 Py_INCREF(Py_None
); resultobj
= Py_None
;
15119 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15120 PyObject
*resultobj
;
15121 wxFontData
*arg1
= (wxFontData
*) 0 ;
15123 PyObject
* obj0
= 0 ;
15124 PyObject
* obj1
= 0 ;
15125 char *kwnames
[] = {
15126 (char *) "self",(char *) "enable", NULL
15129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
15130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15131 if (SWIG_arg_fail(1)) SWIG_fail
;
15133 arg2
= (bool)(SWIG_As_bool(obj1
));
15134 if (SWIG_arg_fail(2)) SWIG_fail
;
15137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15138 (arg1
)->EnableEffects(arg2
);
15140 wxPyEndAllowThreads(__tstate
);
15141 if (PyErr_Occurred()) SWIG_fail
;
15143 Py_INCREF(Py_None
); resultobj
= Py_None
;
15150 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15151 PyObject
*resultobj
;
15152 wxFontData
*arg1
= (wxFontData
*) 0 ;
15154 PyObject
* obj0
= 0 ;
15155 char *kwnames
[] = {
15156 (char *) "self", NULL
15159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
15160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15161 if (SWIG_arg_fail(1)) SWIG_fail
;
15163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15164 result
= (bool)(arg1
)->GetAllowSymbols();
15166 wxPyEndAllowThreads(__tstate
);
15167 if (PyErr_Occurred()) SWIG_fail
;
15170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15178 static PyObject
*_wrap_FontData_GetColour(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_GetColour",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
= (arg1
)->GetColour();
15194 wxPyEndAllowThreads(__tstate
);
15195 if (PyErr_Occurred()) SWIG_fail
;
15198 wxColour
* resultptr
;
15199 resultptr
= new wxColour((wxColour
&)(result
));
15200 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
15208 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15209 PyObject
*resultobj
;
15210 wxFontData
*arg1
= (wxFontData
*) 0 ;
15212 PyObject
* obj0
= 0 ;
15213 char *kwnames
[] = {
15214 (char *) "self", NULL
15217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
15218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15219 if (SWIG_arg_fail(1)) SWIG_fail
;
15221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15222 result
= (arg1
)->GetChosenFont();
15224 wxPyEndAllowThreads(__tstate
);
15225 if (PyErr_Occurred()) SWIG_fail
;
15228 wxFont
* resultptr
;
15229 resultptr
= new wxFont((wxFont
&)(result
));
15230 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
15238 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15239 PyObject
*resultobj
;
15240 wxFontData
*arg1
= (wxFontData
*) 0 ;
15242 PyObject
* obj0
= 0 ;
15243 char *kwnames
[] = {
15244 (char *) "self", NULL
15247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
15248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15249 if (SWIG_arg_fail(1)) SWIG_fail
;
15251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15252 result
= (bool)(arg1
)->GetEnableEffects();
15254 wxPyEndAllowThreads(__tstate
);
15255 if (PyErr_Occurred()) SWIG_fail
;
15258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15266 static PyObject
*_wrap_FontData_GetInitialFont(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_GetInitialFont",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
= (arg1
)->GetInitialFont();
15282 wxPyEndAllowThreads(__tstate
);
15283 if (PyErr_Occurred()) SWIG_fail
;
15286 wxFont
* resultptr
;
15287 resultptr
= new wxFont((wxFont
&)(result
));
15288 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
15296 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15297 PyObject
*resultobj
;
15298 wxFontData
*arg1
= (wxFontData
*) 0 ;
15300 PyObject
* obj0
= 0 ;
15301 char *kwnames
[] = {
15302 (char *) "self", NULL
15305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
15306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15307 if (SWIG_arg_fail(1)) SWIG_fail
;
15309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15310 result
= (bool)(arg1
)->GetShowHelp();
15312 wxPyEndAllowThreads(__tstate
);
15313 if (PyErr_Occurred()) SWIG_fail
;
15316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15324 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15325 PyObject
*resultobj
;
15326 wxFontData
*arg1
= (wxFontData
*) 0 ;
15328 PyObject
* obj0
= 0 ;
15329 PyObject
* obj1
= 0 ;
15330 char *kwnames
[] = {
15331 (char *) "self",(char *) "allowSymbols", NULL
15334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
15335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15336 if (SWIG_arg_fail(1)) SWIG_fail
;
15338 arg2
= (bool)(SWIG_As_bool(obj1
));
15339 if (SWIG_arg_fail(2)) SWIG_fail
;
15342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15343 (arg1
)->SetAllowSymbols(arg2
);
15345 wxPyEndAllowThreads(__tstate
);
15346 if (PyErr_Occurred()) SWIG_fail
;
15348 Py_INCREF(Py_None
); resultobj
= Py_None
;
15355 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15356 PyObject
*resultobj
;
15357 wxFontData
*arg1
= (wxFontData
*) 0 ;
15359 PyObject
* obj0
= 0 ;
15360 PyObject
* obj1
= 0 ;
15361 char *kwnames
[] = {
15362 (char *) "self",(char *) "font", NULL
15365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15367 if (SWIG_arg_fail(1)) SWIG_fail
;
15369 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15370 if (SWIG_arg_fail(2)) SWIG_fail
;
15371 if (arg2
== NULL
) {
15372 SWIG_null_ref("wxFont");
15374 if (SWIG_arg_fail(2)) SWIG_fail
;
15377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15378 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
15380 wxPyEndAllowThreads(__tstate
);
15381 if (PyErr_Occurred()) SWIG_fail
;
15383 Py_INCREF(Py_None
); resultobj
= Py_None
;
15390 static PyObject
*_wrap_FontData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15391 PyObject
*resultobj
;
15392 wxFontData
*arg1
= (wxFontData
*) 0 ;
15393 wxColour
*arg2
= 0 ;
15395 PyObject
* obj0
= 0 ;
15396 PyObject
* obj1
= 0 ;
15397 char *kwnames
[] = {
15398 (char *) "self",(char *) "colour", NULL
15401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15403 if (SWIG_arg_fail(1)) SWIG_fail
;
15406 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15410 (arg1
)->SetColour((wxColour
const &)*arg2
);
15412 wxPyEndAllowThreads(__tstate
);
15413 if (PyErr_Occurred()) SWIG_fail
;
15415 Py_INCREF(Py_None
); resultobj
= Py_None
;
15422 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15423 PyObject
*resultobj
;
15424 wxFontData
*arg1
= (wxFontData
*) 0 ;
15426 PyObject
* obj0
= 0 ;
15427 PyObject
* obj1
= 0 ;
15428 char *kwnames
[] = {
15429 (char *) "self",(char *) "font", NULL
15432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15434 if (SWIG_arg_fail(1)) SWIG_fail
;
15436 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15437 if (SWIG_arg_fail(2)) SWIG_fail
;
15438 if (arg2
== NULL
) {
15439 SWIG_null_ref("wxFont");
15441 if (SWIG_arg_fail(2)) SWIG_fail
;
15444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15445 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
15447 wxPyEndAllowThreads(__tstate
);
15448 if (PyErr_Occurred()) SWIG_fail
;
15450 Py_INCREF(Py_None
); resultobj
= Py_None
;
15457 static PyObject
*_wrap_FontData_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15458 PyObject
*resultobj
;
15459 wxFontData
*arg1
= (wxFontData
*) 0 ;
15462 PyObject
* obj0
= 0 ;
15463 PyObject
* obj1
= 0 ;
15464 PyObject
* obj2
= 0 ;
15465 char *kwnames
[] = {
15466 (char *) "self",(char *) "min",(char *) "max", NULL
15469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15471 if (SWIG_arg_fail(1)) SWIG_fail
;
15473 arg2
= (int)(SWIG_As_int(obj1
));
15474 if (SWIG_arg_fail(2)) SWIG_fail
;
15477 arg3
= (int)(SWIG_As_int(obj2
));
15478 if (SWIG_arg_fail(3)) SWIG_fail
;
15481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15482 (arg1
)->SetRange(arg2
,arg3
);
15484 wxPyEndAllowThreads(__tstate
);
15485 if (PyErr_Occurred()) SWIG_fail
;
15487 Py_INCREF(Py_None
); resultobj
= Py_None
;
15494 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15495 PyObject
*resultobj
;
15496 wxFontData
*arg1
= (wxFontData
*) 0 ;
15498 PyObject
* obj0
= 0 ;
15499 PyObject
* obj1
= 0 ;
15500 char *kwnames
[] = {
15501 (char *) "self",(char *) "showHelp", NULL
15504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15506 if (SWIG_arg_fail(1)) SWIG_fail
;
15508 arg2
= (bool)(SWIG_As_bool(obj1
));
15509 if (SWIG_arg_fail(2)) SWIG_fail
;
15512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15513 (arg1
)->SetShowHelp(arg2
);
15515 wxPyEndAllowThreads(__tstate
);
15516 if (PyErr_Occurred()) SWIG_fail
;
15518 Py_INCREF(Py_None
); resultobj
= Py_None
;
15525 static PyObject
* FontData_swigregister(PyObject
*, PyObject
*args
) {
15527 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15528 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
15530 return Py_BuildValue((char *)"");
15532 static PyObject
*_wrap_new_FontDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15533 PyObject
*resultobj
;
15534 wxWindow
*arg1
= (wxWindow
*) 0 ;
15535 wxFontData
*arg2
= 0 ;
15536 wxFontDialog
*result
;
15537 PyObject
* obj0
= 0 ;
15538 PyObject
* obj1
= 0 ;
15539 char *kwnames
[] = {
15540 (char *) "parent",(char *) "data", NULL
15543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
15544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15545 if (SWIG_arg_fail(1)) SWIG_fail
;
15547 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15548 if (SWIG_arg_fail(2)) SWIG_fail
;
15549 if (arg2
== NULL
) {
15550 SWIG_null_ref("wxFontData");
15552 if (SWIG_arg_fail(2)) SWIG_fail
;
15555 if (!wxPyCheckForApp()) SWIG_fail
;
15556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15557 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
15559 wxPyEndAllowThreads(__tstate
);
15560 if (PyErr_Occurred()) SWIG_fail
;
15562 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
15569 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15570 PyObject
*resultobj
;
15571 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
15572 wxFontData
*result
;
15573 PyObject
* obj0
= 0 ;
15574 char *kwnames
[] = {
15575 (char *) "self", NULL
15578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
15579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_EXCEPTION
| 0);
15580 if (SWIG_arg_fail(1)) SWIG_fail
;
15582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15584 wxFontData
&_result_ref
= (arg1
)->GetFontData();
15585 result
= (wxFontData
*) &_result_ref
;
15588 wxPyEndAllowThreads(__tstate
);
15589 if (PyErr_Occurred()) SWIG_fail
;
15591 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
15598 static PyObject
* FontDialog_swigregister(PyObject
*, PyObject
*args
) {
15600 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15601 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
15603 return Py_BuildValue((char *)"");
15605 static PyObject
*_wrap_new_MessageDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15606 PyObject
*resultobj
;
15607 wxWindow
*arg1
= (wxWindow
*) 0 ;
15608 wxString
*arg2
= 0 ;
15609 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
15610 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15611 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
15612 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15613 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15614 wxMessageDialog
*result
;
15615 bool temp2
= false ;
15616 bool temp3
= false ;
15618 PyObject
* obj0
= 0 ;
15619 PyObject
* obj1
= 0 ;
15620 PyObject
* obj2
= 0 ;
15621 PyObject
* obj3
= 0 ;
15622 PyObject
* obj4
= 0 ;
15623 char *kwnames
[] = {
15624 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
15627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15629 if (SWIG_arg_fail(1)) SWIG_fail
;
15631 arg2
= wxString_in_helper(obj1
);
15632 if (arg2
== NULL
) SWIG_fail
;
15637 arg3
= wxString_in_helper(obj2
);
15638 if (arg3
== NULL
) SWIG_fail
;
15644 arg4
= (long)(SWIG_As_long(obj3
));
15645 if (SWIG_arg_fail(4)) SWIG_fail
;
15651 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15655 if (!wxPyCheckForApp()) SWIG_fail
;
15656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15657 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
15659 wxPyEndAllowThreads(__tstate
);
15660 if (PyErr_Occurred()) SWIG_fail
;
15662 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
15685 static PyObject
* MessageDialog_swigregister(PyObject
*, PyObject
*args
) {
15687 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15688 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
15690 return Py_BuildValue((char *)"");
15692 static PyObject
*_wrap_new_ProgressDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15693 PyObject
*resultobj
;
15694 wxString
*arg1
= 0 ;
15695 wxString
*arg2
= 0 ;
15696 int arg3
= (int) 100 ;
15697 wxWindow
*arg4
= (wxWindow
*) NULL
;
15698 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
15699 wxProgressDialog
*result
;
15700 bool temp1
= false ;
15701 bool temp2
= false ;
15702 PyObject
* obj0
= 0 ;
15703 PyObject
* obj1
= 0 ;
15704 PyObject
* obj2
= 0 ;
15705 PyObject
* obj3
= 0 ;
15706 PyObject
* obj4
= 0 ;
15707 char *kwnames
[] = {
15708 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
15711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15713 arg1
= wxString_in_helper(obj0
);
15714 if (arg1
== NULL
) SWIG_fail
;
15718 arg2
= wxString_in_helper(obj1
);
15719 if (arg2
== NULL
) SWIG_fail
;
15724 arg3
= (int)(SWIG_As_int(obj2
));
15725 if (SWIG_arg_fail(3)) SWIG_fail
;
15729 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15730 if (SWIG_arg_fail(4)) SWIG_fail
;
15734 arg5
= (int)(SWIG_As_int(obj4
));
15735 if (SWIG_arg_fail(5)) SWIG_fail
;
15739 if (!wxPyCheckForApp()) SWIG_fail
;
15740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15741 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
15743 wxPyEndAllowThreads(__tstate
);
15744 if (PyErr_Occurred()) SWIG_fail
;
15746 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
15769 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15770 PyObject
*resultobj
;
15771 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
15773 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15774 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15776 bool temp3
= false ;
15777 PyObject
* obj0
= 0 ;
15778 PyObject
* obj1
= 0 ;
15779 PyObject
* obj2
= 0 ;
15780 char *kwnames
[] = {
15781 (char *) "self",(char *) "value",(char *) "newmsg", NULL
15784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_EXCEPTION
| 0);
15786 if (SWIG_arg_fail(1)) SWIG_fail
;
15788 arg2
= (int)(SWIG_As_int(obj1
));
15789 if (SWIG_arg_fail(2)) SWIG_fail
;
15793 arg3
= wxString_in_helper(obj2
);
15794 if (arg3
== NULL
) SWIG_fail
;
15799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15800 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
15802 wxPyEndAllowThreads(__tstate
);
15803 if (PyErr_Occurred()) SWIG_fail
;
15806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15822 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15823 PyObject
*resultobj
;
15824 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
15825 PyObject
* obj0
= 0 ;
15826 char *kwnames
[] = {
15827 (char *) "self", NULL
15830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
15831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_EXCEPTION
| 0);
15832 if (SWIG_arg_fail(1)) SWIG_fail
;
15834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15837 wxPyEndAllowThreads(__tstate
);
15838 if (PyErr_Occurred()) SWIG_fail
;
15840 Py_INCREF(Py_None
); resultobj
= Py_None
;
15847 static PyObject
* ProgressDialog_swigregister(PyObject
*, PyObject
*args
) {
15849 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15850 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
15852 return Py_BuildValue((char *)"");
15854 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15855 PyObject
*resultobj
;
15856 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15857 int arg2
= (int) 0 ;
15858 wxFindDialogEvent
*result
;
15859 PyObject
* obj0
= 0 ;
15860 PyObject
* obj1
= 0 ;
15861 char *kwnames
[] = {
15862 (char *) "commandType",(char *) "id", NULL
15865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15868 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15869 if (SWIG_arg_fail(1)) SWIG_fail
;
15874 arg2
= (int)(SWIG_As_int(obj1
));
15875 if (SWIG_arg_fail(2)) SWIG_fail
;
15879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15880 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
15882 wxPyEndAllowThreads(__tstate
);
15883 if (PyErr_Occurred()) SWIG_fail
;
15885 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
15892 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15893 PyObject
*resultobj
;
15894 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
15896 PyObject
* obj0
= 0 ;
15897 char *kwnames
[] = {
15898 (char *) "self", NULL
15901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
15902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
15903 if (SWIG_arg_fail(1)) SWIG_fail
;
15905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15906 result
= (int)(arg1
)->GetFlags();
15908 wxPyEndAllowThreads(__tstate
);
15909 if (PyErr_Occurred()) SWIG_fail
;
15912 resultobj
= SWIG_From_int((int)(result
));
15920 static PyObject
*_wrap_FindDialogEvent_GetFindString(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_GetFindString",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();
15935 wxString
const &_result_ref
= (arg1
)->GetFindString();
15936 result
= (wxString
*) &_result_ref
;
15939 wxPyEndAllowThreads(__tstate
);
15940 if (PyErr_Occurred()) SWIG_fail
;
15944 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15946 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15955 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15956 PyObject
*resultobj
;
15957 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
15959 PyObject
* obj0
= 0 ;
15960 char *kwnames
[] = {
15961 (char *) "self", NULL
15964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
15965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
15966 if (SWIG_arg_fail(1)) SWIG_fail
;
15968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15970 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
15971 result
= (wxString
*) &_result_ref
;
15974 wxPyEndAllowThreads(__tstate
);
15975 if (PyErr_Occurred()) SWIG_fail
;
15979 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15981 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15990 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15991 PyObject
*resultobj
;
15992 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
15993 wxFindReplaceDialog
*result
;
15994 PyObject
* obj0
= 0 ;
15995 char *kwnames
[] = {
15996 (char *) "self", NULL
15999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
16000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16001 if (SWIG_arg_fail(1)) SWIG_fail
;
16003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16004 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
16006 wxPyEndAllowThreads(__tstate
);
16007 if (PyErr_Occurred()) SWIG_fail
;
16009 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
16016 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16017 PyObject
*resultobj
;
16018 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16020 PyObject
* obj0
= 0 ;
16021 PyObject
* obj1
= 0 ;
16022 char *kwnames
[] = {
16023 (char *) "self",(char *) "flags", NULL
16026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
16027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16028 if (SWIG_arg_fail(1)) SWIG_fail
;
16030 arg2
= (int)(SWIG_As_int(obj1
));
16031 if (SWIG_arg_fail(2)) SWIG_fail
;
16034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16035 (arg1
)->SetFlags(arg2
);
16037 wxPyEndAllowThreads(__tstate
);
16038 if (PyErr_Occurred()) SWIG_fail
;
16040 Py_INCREF(Py_None
); resultobj
= Py_None
;
16047 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16048 PyObject
*resultobj
;
16049 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16050 wxString
*arg2
= 0 ;
16051 bool temp2
= false ;
16052 PyObject
* obj0
= 0 ;
16053 PyObject
* obj1
= 0 ;
16054 char *kwnames
[] = {
16055 (char *) "self",(char *) "str", NULL
16058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
16059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16060 if (SWIG_arg_fail(1)) SWIG_fail
;
16062 arg2
= wxString_in_helper(obj1
);
16063 if (arg2
== NULL
) SWIG_fail
;
16067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16068 (arg1
)->SetFindString((wxString
const &)*arg2
);
16070 wxPyEndAllowThreads(__tstate
);
16071 if (PyErr_Occurred()) SWIG_fail
;
16073 Py_INCREF(Py_None
); resultobj
= Py_None
;
16088 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16089 PyObject
*resultobj
;
16090 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16091 wxString
*arg2
= 0 ;
16092 bool temp2
= false ;
16093 PyObject
* obj0
= 0 ;
16094 PyObject
* obj1
= 0 ;
16095 char *kwnames
[] = {
16096 (char *) "self",(char *) "str", NULL
16099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
16100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16101 if (SWIG_arg_fail(1)) SWIG_fail
;
16103 arg2
= wxString_in_helper(obj1
);
16104 if (arg2
== NULL
) SWIG_fail
;
16108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16109 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
16111 wxPyEndAllowThreads(__tstate
);
16112 if (PyErr_Occurred()) SWIG_fail
;
16114 Py_INCREF(Py_None
); resultobj
= Py_None
;
16129 static PyObject
* FindDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
16131 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16132 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
16134 return Py_BuildValue((char *)"");
16136 static PyObject
*_wrap_new_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16137 PyObject
*resultobj
;
16138 int arg1
= (int) 0 ;
16139 wxFindReplaceData
*result
;
16140 PyObject
* obj0
= 0 ;
16141 char *kwnames
[] = {
16142 (char *) "flags", NULL
16145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
16148 arg1
= (int)(SWIG_As_int(obj0
));
16149 if (SWIG_arg_fail(1)) SWIG_fail
;
16153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16154 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
16156 wxPyEndAllowThreads(__tstate
);
16157 if (PyErr_Occurred()) SWIG_fail
;
16159 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
16166 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16167 PyObject
*resultobj
;
16168 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16169 PyObject
* obj0
= 0 ;
16170 char *kwnames
[] = {
16171 (char *) "self", NULL
16174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
16175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16176 if (SWIG_arg_fail(1)) SWIG_fail
;
16178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16181 wxPyEndAllowThreads(__tstate
);
16182 if (PyErr_Occurred()) SWIG_fail
;
16184 Py_INCREF(Py_None
); resultobj
= Py_None
;
16191 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16192 PyObject
*resultobj
;
16193 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16195 PyObject
* obj0
= 0 ;
16196 char *kwnames
[] = {
16197 (char *) "self", NULL
16200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
16201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16202 if (SWIG_arg_fail(1)) SWIG_fail
;
16204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16206 wxString
const &_result_ref
= (arg1
)->GetFindString();
16207 result
= (wxString
*) &_result_ref
;
16210 wxPyEndAllowThreads(__tstate
);
16211 if (PyErr_Occurred()) SWIG_fail
;
16215 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16217 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16226 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16227 PyObject
*resultobj
;
16228 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16230 PyObject
* obj0
= 0 ;
16231 char *kwnames
[] = {
16232 (char *) "self", NULL
16235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
16236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16237 if (SWIG_arg_fail(1)) SWIG_fail
;
16239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16241 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
16242 result
= (wxString
*) &_result_ref
;
16245 wxPyEndAllowThreads(__tstate
);
16246 if (PyErr_Occurred()) SWIG_fail
;
16250 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16252 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16261 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16262 PyObject
*resultobj
;
16263 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16265 PyObject
* obj0
= 0 ;
16266 char *kwnames
[] = {
16267 (char *) "self", NULL
16270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
16271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16272 if (SWIG_arg_fail(1)) SWIG_fail
;
16274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16275 result
= (int)(arg1
)->GetFlags();
16277 wxPyEndAllowThreads(__tstate
);
16278 if (PyErr_Occurred()) SWIG_fail
;
16281 resultobj
= SWIG_From_int((int)(result
));
16289 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16290 PyObject
*resultobj
;
16291 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16293 PyObject
* obj0
= 0 ;
16294 PyObject
* obj1
= 0 ;
16295 char *kwnames
[] = {
16296 (char *) "self",(char *) "flags", NULL
16299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
16300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16301 if (SWIG_arg_fail(1)) SWIG_fail
;
16303 arg2
= (int)(SWIG_As_int(obj1
));
16304 if (SWIG_arg_fail(2)) SWIG_fail
;
16307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16308 (arg1
)->SetFlags(arg2
);
16310 wxPyEndAllowThreads(__tstate
);
16311 if (PyErr_Occurred()) SWIG_fail
;
16313 Py_INCREF(Py_None
); resultobj
= Py_None
;
16320 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16321 PyObject
*resultobj
;
16322 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16323 wxString
*arg2
= 0 ;
16324 bool temp2
= false ;
16325 PyObject
* obj0
= 0 ;
16326 PyObject
* obj1
= 0 ;
16327 char *kwnames
[] = {
16328 (char *) "self",(char *) "str", NULL
16331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
16332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16333 if (SWIG_arg_fail(1)) SWIG_fail
;
16335 arg2
= wxString_in_helper(obj1
);
16336 if (arg2
== NULL
) SWIG_fail
;
16340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16341 (arg1
)->SetFindString((wxString
const &)*arg2
);
16343 wxPyEndAllowThreads(__tstate
);
16344 if (PyErr_Occurred()) SWIG_fail
;
16346 Py_INCREF(Py_None
); resultobj
= Py_None
;
16361 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16362 PyObject
*resultobj
;
16363 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16364 wxString
*arg2
= 0 ;
16365 bool temp2
= false ;
16366 PyObject
* obj0
= 0 ;
16367 PyObject
* obj1
= 0 ;
16368 char *kwnames
[] = {
16369 (char *) "self",(char *) "str", NULL
16372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
16373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16374 if (SWIG_arg_fail(1)) SWIG_fail
;
16376 arg2
= wxString_in_helper(obj1
);
16377 if (arg2
== NULL
) SWIG_fail
;
16381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16382 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
16384 wxPyEndAllowThreads(__tstate
);
16385 if (PyErr_Occurred()) SWIG_fail
;
16387 Py_INCREF(Py_None
); resultobj
= Py_None
;
16402 static PyObject
* FindReplaceData_swigregister(PyObject
*, PyObject
*args
) {
16404 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16405 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
16407 return Py_BuildValue((char *)"");
16409 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16410 PyObject
*resultobj
;
16411 wxWindow
*arg1
= (wxWindow
*) 0 ;
16412 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
16413 wxString
*arg3
= 0 ;
16414 int arg4
= (int) 0 ;
16415 wxFindReplaceDialog
*result
;
16416 bool temp3
= false ;
16417 PyObject
* obj0
= 0 ;
16418 PyObject
* obj1
= 0 ;
16419 PyObject
* obj2
= 0 ;
16420 PyObject
* obj3
= 0 ;
16421 char *kwnames
[] = {
16422 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16427 if (SWIG_arg_fail(1)) SWIG_fail
;
16428 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16429 if (SWIG_arg_fail(2)) SWIG_fail
;
16431 arg3
= wxString_in_helper(obj2
);
16432 if (arg3
== NULL
) SWIG_fail
;
16437 arg4
= (int)(SWIG_As_int(obj3
));
16438 if (SWIG_arg_fail(4)) SWIG_fail
;
16442 if (!wxPyCheckForApp()) SWIG_fail
;
16443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16444 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
16446 wxPyEndAllowThreads(__tstate
);
16447 if (PyErr_Occurred()) SWIG_fail
;
16449 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
16464 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16465 PyObject
*resultobj
;
16466 wxFindReplaceDialog
*result
;
16467 char *kwnames
[] = {
16471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
16473 if (!wxPyCheckForApp()) SWIG_fail
;
16474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16475 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
16477 wxPyEndAllowThreads(__tstate
);
16478 if (PyErr_Occurred()) SWIG_fail
;
16480 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
16487 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16488 PyObject
*resultobj
;
16489 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
16490 wxWindow
*arg2
= (wxWindow
*) 0 ;
16491 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
16492 wxString
*arg4
= 0 ;
16493 int arg5
= (int) 0 ;
16495 bool temp4
= false ;
16496 PyObject
* obj0
= 0 ;
16497 PyObject
* obj1
= 0 ;
16498 PyObject
* obj2
= 0 ;
16499 PyObject
* obj3
= 0 ;
16500 PyObject
* obj4
= 0 ;
16501 char *kwnames
[] = {
16502 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
16507 if (SWIG_arg_fail(1)) SWIG_fail
;
16508 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16509 if (SWIG_arg_fail(2)) SWIG_fail
;
16510 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16511 if (SWIG_arg_fail(3)) SWIG_fail
;
16513 arg4
= wxString_in_helper(obj3
);
16514 if (arg4
== NULL
) SWIG_fail
;
16519 arg5
= (int)(SWIG_As_int(obj4
));
16520 if (SWIG_arg_fail(5)) SWIG_fail
;
16524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16525 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
16527 wxPyEndAllowThreads(__tstate
);
16528 if (PyErr_Occurred()) SWIG_fail
;
16531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16547 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16548 PyObject
*resultobj
;
16549 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
16550 wxFindReplaceData
*result
;
16551 PyObject
* obj0
= 0 ;
16552 char *kwnames
[] = {
16553 (char *) "self", NULL
16556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
16557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
16558 if (SWIG_arg_fail(1)) SWIG_fail
;
16560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16561 result
= (wxFindReplaceData
*)(arg1
)->GetData();
16563 wxPyEndAllowThreads(__tstate
);
16564 if (PyErr_Occurred()) SWIG_fail
;
16566 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
16573 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16574 PyObject
*resultobj
;
16575 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
16576 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
16577 PyObject
* obj0
= 0 ;
16578 PyObject
* obj1
= 0 ;
16579 char *kwnames
[] = {
16580 (char *) "self",(char *) "data", NULL
16583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
16584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
16585 if (SWIG_arg_fail(1)) SWIG_fail
;
16586 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16587 if (SWIG_arg_fail(2)) SWIG_fail
;
16589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16590 (arg1
)->SetData(arg2
);
16592 wxPyEndAllowThreads(__tstate
);
16593 if (PyErr_Occurred()) SWIG_fail
;
16595 Py_INCREF(Py_None
); resultobj
= Py_None
;
16602 static PyObject
* FindReplaceDialog_swigregister(PyObject
*, PyObject
*args
) {
16604 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16605 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
16607 return Py_BuildValue((char *)"");
16609 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16610 PyObject
*resultobj
;
16611 wxWindow
*arg1
= (wxWindow
*) 0 ;
16612 int arg2
= (int) (int)-1 ;
16613 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16614 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16615 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16616 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16617 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16618 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16619 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
16620 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
16621 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16622 wxMDIParentFrame
*result
;
16623 bool temp3
= false ;
16626 bool temp7
= false ;
16627 PyObject
* obj0
= 0 ;
16628 PyObject
* obj1
= 0 ;
16629 PyObject
* obj2
= 0 ;
16630 PyObject
* obj3
= 0 ;
16631 PyObject
* obj4
= 0 ;
16632 PyObject
* obj5
= 0 ;
16633 PyObject
* obj6
= 0 ;
16634 char *kwnames
[] = {
16635 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16640 if (SWIG_arg_fail(1)) SWIG_fail
;
16643 arg2
= (int const)(SWIG_As_int(obj1
));
16644 if (SWIG_arg_fail(2)) SWIG_fail
;
16649 arg3
= wxString_in_helper(obj2
);
16650 if (arg3
== NULL
) SWIG_fail
;
16657 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16663 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16668 arg6
= (long)(SWIG_As_long(obj5
));
16669 if (SWIG_arg_fail(6)) SWIG_fail
;
16674 arg7
= wxString_in_helper(obj6
);
16675 if (arg7
== NULL
) SWIG_fail
;
16680 if (!wxPyCheckForApp()) SWIG_fail
;
16681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16682 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
16684 wxPyEndAllowThreads(__tstate
);
16685 if (PyErr_Occurred()) SWIG_fail
;
16687 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
16710 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16711 PyObject
*resultobj
;
16712 wxMDIParentFrame
*result
;
16713 char *kwnames
[] = {
16717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
16719 if (!wxPyCheckForApp()) SWIG_fail
;
16720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16721 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
16723 wxPyEndAllowThreads(__tstate
);
16724 if (PyErr_Occurred()) SWIG_fail
;
16726 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
16733 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16734 PyObject
*resultobj
;
16735 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
16736 wxWindow
*arg2
= (wxWindow
*) 0 ;
16737 int arg3
= (int) (int)-1 ;
16738 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16739 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16740 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16741 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16742 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16743 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16744 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
16745 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
16746 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16748 bool temp4
= false ;
16751 bool temp8
= false ;
16752 PyObject
* obj0
= 0 ;
16753 PyObject
* obj1
= 0 ;
16754 PyObject
* obj2
= 0 ;
16755 PyObject
* obj3
= 0 ;
16756 PyObject
* obj4
= 0 ;
16757 PyObject
* obj5
= 0 ;
16758 PyObject
* obj6
= 0 ;
16759 PyObject
* obj7
= 0 ;
16760 char *kwnames
[] = {
16761 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
16765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
16766 if (SWIG_arg_fail(1)) SWIG_fail
;
16767 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16768 if (SWIG_arg_fail(2)) SWIG_fail
;
16771 arg3
= (int const)(SWIG_As_int(obj2
));
16772 if (SWIG_arg_fail(3)) SWIG_fail
;
16777 arg4
= wxString_in_helper(obj3
);
16778 if (arg4
== NULL
) SWIG_fail
;
16785 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16791 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16796 arg7
= (long)(SWIG_As_long(obj6
));
16797 if (SWIG_arg_fail(7)) SWIG_fail
;
16802 arg8
= wxString_in_helper(obj7
);
16803 if (arg8
== NULL
) SWIG_fail
;
16808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16809 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
16811 wxPyEndAllowThreads(__tstate
);
16812 if (PyErr_Occurred()) SWIG_fail
;
16815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16839 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16840 PyObject
*resultobj
;
16841 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
16842 PyObject
* obj0
= 0 ;
16843 char *kwnames
[] = {
16844 (char *) "self", NULL
16847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
16848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
16849 if (SWIG_arg_fail(1)) SWIG_fail
;
16851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16852 (arg1
)->ActivateNext();
16854 wxPyEndAllowThreads(__tstate
);
16855 if (PyErr_Occurred()) SWIG_fail
;
16857 Py_INCREF(Py_None
); resultobj
= Py_None
;
16864 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16865 PyObject
*resultobj
;
16866 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
16867 PyObject
* obj0
= 0 ;
16868 char *kwnames
[] = {
16869 (char *) "self", NULL
16872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
16873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
16874 if (SWIG_arg_fail(1)) SWIG_fail
;
16876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16877 (arg1
)->ActivatePrevious();
16879 wxPyEndAllowThreads(__tstate
);
16880 if (PyErr_Occurred()) SWIG_fail
;
16882 Py_INCREF(Py_None
); resultobj
= Py_None
;
16889 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16890 PyObject
*resultobj
;
16891 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
16892 PyObject
* obj0
= 0 ;
16893 char *kwnames
[] = {
16894 (char *) "self", NULL
16897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
16898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
16899 if (SWIG_arg_fail(1)) SWIG_fail
;
16901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16902 (arg1
)->ArrangeIcons();
16904 wxPyEndAllowThreads(__tstate
);
16905 if (PyErr_Occurred()) SWIG_fail
;
16907 Py_INCREF(Py_None
); resultobj
= Py_None
;
16914 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16915 PyObject
*resultobj
;
16916 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
16917 PyObject
* obj0
= 0 ;
16918 char *kwnames
[] = {
16919 (char *) "self", NULL
16922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
16923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
16924 if (SWIG_arg_fail(1)) SWIG_fail
;
16926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16929 wxPyEndAllowThreads(__tstate
);
16930 if (PyErr_Occurred()) SWIG_fail
;
16932 Py_INCREF(Py_None
); resultobj
= Py_None
;
16939 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16940 PyObject
*resultobj
;
16941 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
16942 wxMDIChildFrame
*result
;
16943 PyObject
* obj0
= 0 ;
16944 char *kwnames
[] = {
16945 (char *) "self", NULL
16948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
16949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
16950 if (SWIG_arg_fail(1)) SWIG_fail
;
16952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16953 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
16955 wxPyEndAllowThreads(__tstate
);
16956 if (PyErr_Occurred()) SWIG_fail
;
16959 resultobj
= wxPyMake_wxObject(result
, 0);
16967 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16968 PyObject
*resultobj
;
16969 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
16970 wxMDIClientWindow
*result
;
16971 PyObject
* obj0
= 0 ;
16972 char *kwnames
[] = {
16973 (char *) "self", NULL
16976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",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
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
16983 wxPyEndAllowThreads(__tstate
);
16984 if (PyErr_Occurred()) SWIG_fail
;
16987 resultobj
= wxPyMake_wxObject(result
, 0);
16995 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16996 PyObject
*resultobj
;
16997 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
16999 PyObject
* obj0
= 0 ;
17000 char *kwnames
[] = {
17001 (char *) "self", NULL
17004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",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
= (wxWindow
*)(arg1
)->GetToolBar();
17011 wxPyEndAllowThreads(__tstate
);
17012 if (PyErr_Occurred()) SWIG_fail
;
17015 resultobj
= wxPyMake_wxObject(result
, 0);
17023 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17024 PyObject
*resultobj
;
17025 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17026 PyObject
* obj0
= 0 ;
17027 char *kwnames
[] = {
17028 (char *) "self", NULL
17031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
17032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17033 if (SWIG_arg_fail(1)) SWIG_fail
;
17035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17038 wxPyEndAllowThreads(__tstate
);
17039 if (PyErr_Occurred()) SWIG_fail
;
17041 Py_INCREF(Py_None
); resultobj
= Py_None
;
17048 static PyObject
* MDIParentFrame_swigregister(PyObject
*, PyObject
*args
) {
17050 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17051 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
17053 return Py_BuildValue((char *)"");
17055 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17056 PyObject
*resultobj
;
17057 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17058 int arg2
= (int) (int)-1 ;
17059 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17060 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17061 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17062 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17063 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17064 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17065 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
17066 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
17067 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17068 wxMDIChildFrame
*result
;
17069 bool temp3
= false ;
17072 bool temp7
= false ;
17073 PyObject
* obj0
= 0 ;
17074 PyObject
* obj1
= 0 ;
17075 PyObject
* obj2
= 0 ;
17076 PyObject
* obj3
= 0 ;
17077 PyObject
* obj4
= 0 ;
17078 PyObject
* obj5
= 0 ;
17079 PyObject
* obj6
= 0 ;
17080 char *kwnames
[] = {
17081 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17086 if (SWIG_arg_fail(1)) SWIG_fail
;
17089 arg2
= (int const)(SWIG_As_int(obj1
));
17090 if (SWIG_arg_fail(2)) SWIG_fail
;
17095 arg3
= wxString_in_helper(obj2
);
17096 if (arg3
== NULL
) SWIG_fail
;
17103 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17109 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17114 arg6
= (long)(SWIG_As_long(obj5
));
17115 if (SWIG_arg_fail(6)) SWIG_fail
;
17120 arg7
= wxString_in_helper(obj6
);
17121 if (arg7
== NULL
) SWIG_fail
;
17126 if (!wxPyCheckForApp()) SWIG_fail
;
17127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17128 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17130 wxPyEndAllowThreads(__tstate
);
17131 if (PyErr_Occurred()) SWIG_fail
;
17133 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
17156 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17157 PyObject
*resultobj
;
17158 wxMDIChildFrame
*result
;
17159 char *kwnames
[] = {
17163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
17165 if (!wxPyCheckForApp()) SWIG_fail
;
17166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17167 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
17169 wxPyEndAllowThreads(__tstate
);
17170 if (PyErr_Occurred()) SWIG_fail
;
17172 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
17179 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17180 PyObject
*resultobj
;
17181 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17182 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
17183 int arg3
= (int) (int)-1 ;
17184 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17185 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17186 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17187 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17188 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17189 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17190 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
17191 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
17192 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17194 bool temp4
= false ;
17197 bool temp8
= false ;
17198 PyObject
* obj0
= 0 ;
17199 PyObject
* obj1
= 0 ;
17200 PyObject
* obj2
= 0 ;
17201 PyObject
* obj3
= 0 ;
17202 PyObject
* obj4
= 0 ;
17203 PyObject
* obj5
= 0 ;
17204 PyObject
* obj6
= 0 ;
17205 PyObject
* obj7
= 0 ;
17206 char *kwnames
[] = {
17207 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17212 if (SWIG_arg_fail(1)) SWIG_fail
;
17213 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17214 if (SWIG_arg_fail(2)) SWIG_fail
;
17217 arg3
= (int const)(SWIG_As_int(obj2
));
17218 if (SWIG_arg_fail(3)) SWIG_fail
;
17223 arg4
= wxString_in_helper(obj3
);
17224 if (arg4
== NULL
) SWIG_fail
;
17231 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17237 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17242 arg7
= (long)(SWIG_As_long(obj6
));
17243 if (SWIG_arg_fail(7)) SWIG_fail
;
17248 arg8
= wxString_in_helper(obj7
);
17249 if (arg8
== NULL
) SWIG_fail
;
17254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17255 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
17257 wxPyEndAllowThreads(__tstate
);
17258 if (PyErr_Occurred()) SWIG_fail
;
17261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17285 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17286 PyObject
*resultobj
;
17287 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17288 PyObject
* obj0
= 0 ;
17289 char *kwnames
[] = {
17290 (char *) "self", NULL
17293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
17294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17295 if (SWIG_arg_fail(1)) SWIG_fail
;
17297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17298 (arg1
)->Activate();
17300 wxPyEndAllowThreads(__tstate
);
17301 if (PyErr_Occurred()) SWIG_fail
;
17303 Py_INCREF(Py_None
); resultobj
= Py_None
;
17310 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17311 PyObject
*resultobj
;
17312 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17313 bool arg2
= (bool) true ;
17314 PyObject
* obj0
= 0 ;
17315 PyObject
* obj1
= 0 ;
17316 char *kwnames
[] = {
17317 (char *) "self",(char *) "maximize", NULL
17320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
17321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17322 if (SWIG_arg_fail(1)) SWIG_fail
;
17325 arg2
= (bool)(SWIG_As_bool(obj1
));
17326 if (SWIG_arg_fail(2)) SWIG_fail
;
17330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17331 (arg1
)->Maximize(arg2
);
17333 wxPyEndAllowThreads(__tstate
);
17334 if (PyErr_Occurred()) SWIG_fail
;
17336 Py_INCREF(Py_None
); resultobj
= Py_None
;
17343 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17344 PyObject
*resultobj
;
17345 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17346 PyObject
* obj0
= 0 ;
17347 char *kwnames
[] = {
17348 (char *) "self", NULL
17351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
17352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17353 if (SWIG_arg_fail(1)) SWIG_fail
;
17355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17358 wxPyEndAllowThreads(__tstate
);
17359 if (PyErr_Occurred()) SWIG_fail
;
17361 Py_INCREF(Py_None
); resultobj
= Py_None
;
17368 static PyObject
* MDIChildFrame_swigregister(PyObject
*, PyObject
*args
) {
17370 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17371 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
17373 return Py_BuildValue((char *)"");
17375 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17376 PyObject
*resultobj
;
17377 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17378 long arg2
= (long) 0 ;
17379 wxMDIClientWindow
*result
;
17380 PyObject
* obj0
= 0 ;
17381 PyObject
* obj1
= 0 ;
17382 char *kwnames
[] = {
17383 (char *) "parent",(char *) "style", NULL
17386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
17387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17388 if (SWIG_arg_fail(1)) SWIG_fail
;
17391 arg2
= (long)(SWIG_As_long(obj1
));
17392 if (SWIG_arg_fail(2)) SWIG_fail
;
17396 if (!wxPyCheckForApp()) SWIG_fail
;
17397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17398 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
17400 wxPyEndAllowThreads(__tstate
);
17401 if (PyErr_Occurred()) SWIG_fail
;
17403 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
17410 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17411 PyObject
*resultobj
;
17412 wxMDIClientWindow
*result
;
17413 char *kwnames
[] = {
17417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
17419 if (!wxPyCheckForApp()) SWIG_fail
;
17420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17421 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
17423 wxPyEndAllowThreads(__tstate
);
17424 if (PyErr_Occurred()) SWIG_fail
;
17426 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
17433 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17434 PyObject
*resultobj
;
17435 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
17436 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
17437 long arg3
= (long) 0 ;
17439 PyObject
* obj0
= 0 ;
17440 PyObject
* obj1
= 0 ;
17441 PyObject
* obj2
= 0 ;
17442 char *kwnames
[] = {
17443 (char *) "self",(char *) "parent",(char *) "style", NULL
17446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_EXCEPTION
| 0);
17448 if (SWIG_arg_fail(1)) SWIG_fail
;
17449 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17450 if (SWIG_arg_fail(2)) SWIG_fail
;
17453 arg3
= (long)(SWIG_As_long(obj2
));
17454 if (SWIG_arg_fail(3)) SWIG_fail
;
17458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17459 result
= (bool)(arg1
)->Create(arg2
,arg3
);
17461 wxPyEndAllowThreads(__tstate
);
17462 if (PyErr_Occurred()) SWIG_fail
;
17465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17473 static PyObject
* MDIClientWindow_swigregister(PyObject
*, PyObject
*args
) {
17475 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17476 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
17478 return Py_BuildValue((char *)"");
17480 static PyObject
*_wrap_new_PyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17481 PyObject
*resultobj
;
17482 wxWindow
*arg1
= (wxWindow
*) 0 ;
17483 int arg2
= (int) (int)-1 ;
17484 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17485 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17486 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17487 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17488 long arg5
= (long) 0 ;
17489 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
17490 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17491 wxPyWindow
*result
;
17494 bool temp6
= false ;
17495 PyObject
* obj0
= 0 ;
17496 PyObject
* obj1
= 0 ;
17497 PyObject
* obj2
= 0 ;
17498 PyObject
* obj3
= 0 ;
17499 PyObject
* obj4
= 0 ;
17500 PyObject
* obj5
= 0 ;
17501 char *kwnames
[] = {
17502 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17507 if (SWIG_arg_fail(1)) SWIG_fail
;
17510 arg2
= (int const)(SWIG_As_int(obj1
));
17511 if (SWIG_arg_fail(2)) SWIG_fail
;
17517 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17523 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17528 arg5
= (long)(SWIG_As_long(obj4
));
17529 if (SWIG_arg_fail(5)) SWIG_fail
;
17534 arg6
= wxString_in_helper(obj5
);
17535 if (arg6
== NULL
) SWIG_fail
;
17540 if (!wxPyCheckForApp()) SWIG_fail
;
17541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17542 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17544 wxPyEndAllowThreads(__tstate
);
17545 if (PyErr_Occurred()) SWIG_fail
;
17547 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
17562 static PyObject
*_wrap_new_PrePyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17563 PyObject
*resultobj
;
17564 wxPyWindow
*result
;
17565 char *kwnames
[] = {
17569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
17571 if (!wxPyCheckForApp()) SWIG_fail
;
17572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17573 result
= (wxPyWindow
*)new wxPyWindow();
17575 wxPyEndAllowThreads(__tstate
);
17576 if (PyErr_Occurred()) SWIG_fail
;
17578 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
17585 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17586 PyObject
*resultobj
;
17587 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17588 PyObject
*arg2
= (PyObject
*) 0 ;
17589 PyObject
*arg3
= (PyObject
*) 0 ;
17590 PyObject
* obj0
= 0 ;
17591 PyObject
* obj1
= 0 ;
17592 PyObject
* obj2
= 0 ;
17593 char *kwnames
[] = {
17594 (char *) "self",(char *) "self",(char *) "_class", NULL
17597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17599 if (SWIG_arg_fail(1)) SWIG_fail
;
17603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17604 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17606 wxPyEndAllowThreads(__tstate
);
17607 if (PyErr_Occurred()) SWIG_fail
;
17609 Py_INCREF(Py_None
); resultobj
= Py_None
;
17616 static PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17617 PyObject
*resultobj
;
17618 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17621 PyObject
* obj0
= 0 ;
17622 PyObject
* obj1
= 0 ;
17623 char *kwnames
[] = {
17624 (char *) "self",(char *) "size", NULL
17627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17629 if (SWIG_arg_fail(1)) SWIG_fail
;
17632 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17636 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
17638 wxPyEndAllowThreads(__tstate
);
17639 if (PyErr_Occurred()) SWIG_fail
;
17641 Py_INCREF(Py_None
); resultobj
= Py_None
;
17648 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17649 PyObject
*resultobj
;
17650 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17655 PyObject
* obj0
= 0 ;
17656 PyObject
* obj1
= 0 ;
17657 PyObject
* obj2
= 0 ;
17658 PyObject
* obj3
= 0 ;
17659 PyObject
* obj4
= 0 ;
17660 char *kwnames
[] = {
17661 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17666 if (SWIG_arg_fail(1)) SWIG_fail
;
17668 arg2
= (int)(SWIG_As_int(obj1
));
17669 if (SWIG_arg_fail(2)) SWIG_fail
;
17672 arg3
= (int)(SWIG_As_int(obj2
));
17673 if (SWIG_arg_fail(3)) SWIG_fail
;
17676 arg4
= (int)(SWIG_As_int(obj3
));
17677 if (SWIG_arg_fail(4)) SWIG_fail
;
17680 arg5
= (int)(SWIG_As_int(obj4
));
17681 if (SWIG_arg_fail(5)) SWIG_fail
;
17684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17685 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
17687 wxPyEndAllowThreads(__tstate
);
17688 if (PyErr_Occurred()) SWIG_fail
;
17690 Py_INCREF(Py_None
); resultobj
= Py_None
;
17697 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17698 PyObject
*resultobj
;
17699 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17704 int arg6
= (int) wxSIZE_AUTO
;
17705 PyObject
* obj0
= 0 ;
17706 PyObject
* obj1
= 0 ;
17707 PyObject
* obj2
= 0 ;
17708 PyObject
* obj3
= 0 ;
17709 PyObject
* obj4
= 0 ;
17710 PyObject
* obj5
= 0 ;
17711 char *kwnames
[] = {
17712 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17717 if (SWIG_arg_fail(1)) SWIG_fail
;
17719 arg2
= (int)(SWIG_As_int(obj1
));
17720 if (SWIG_arg_fail(2)) SWIG_fail
;
17723 arg3
= (int)(SWIG_As_int(obj2
));
17724 if (SWIG_arg_fail(3)) SWIG_fail
;
17727 arg4
= (int)(SWIG_As_int(obj3
));
17728 if (SWIG_arg_fail(4)) SWIG_fail
;
17731 arg5
= (int)(SWIG_As_int(obj4
));
17732 if (SWIG_arg_fail(5)) SWIG_fail
;
17736 arg6
= (int)(SWIG_As_int(obj5
));
17737 if (SWIG_arg_fail(6)) SWIG_fail
;
17741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17742 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
17744 wxPyEndAllowThreads(__tstate
);
17745 if (PyErr_Occurred()) SWIG_fail
;
17747 Py_INCREF(Py_None
); resultobj
= Py_None
;
17754 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17755 PyObject
*resultobj
;
17756 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17759 PyObject
* obj0
= 0 ;
17760 PyObject
* obj1
= 0 ;
17761 PyObject
* obj2
= 0 ;
17762 char *kwnames
[] = {
17763 (char *) "self",(char *) "width",(char *) "height", NULL
17766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17768 if (SWIG_arg_fail(1)) SWIG_fail
;
17770 arg2
= (int)(SWIG_As_int(obj1
));
17771 if (SWIG_arg_fail(2)) SWIG_fail
;
17774 arg3
= (int)(SWIG_As_int(obj2
));
17775 if (SWIG_arg_fail(3)) SWIG_fail
;
17778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17779 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
17781 wxPyEndAllowThreads(__tstate
);
17782 if (PyErr_Occurred()) SWIG_fail
;
17784 Py_INCREF(Py_None
); resultobj
= Py_None
;
17791 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17792 PyObject
*resultobj
;
17793 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17796 PyObject
* obj0
= 0 ;
17797 PyObject
* obj1
= 0 ;
17798 PyObject
* obj2
= 0 ;
17799 char *kwnames
[] = {
17800 (char *) "self",(char *) "x",(char *) "y", NULL
17803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17805 if (SWIG_arg_fail(1)) SWIG_fail
;
17807 arg2
= (int)(SWIG_As_int(obj1
));
17808 if (SWIG_arg_fail(2)) SWIG_fail
;
17811 arg3
= (int)(SWIG_As_int(obj2
));
17812 if (SWIG_arg_fail(3)) SWIG_fail
;
17815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17816 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
17818 wxPyEndAllowThreads(__tstate
);
17819 if (PyErr_Occurred()) SWIG_fail
;
17821 Py_INCREF(Py_None
); resultobj
= Py_None
;
17828 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17829 PyObject
*resultobj
;
17830 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17831 int *arg2
= (int *) 0 ;
17832 int *arg3
= (int *) 0 ;
17837 PyObject
* obj0
= 0 ;
17838 char *kwnames
[] = {
17839 (char *) "self", NULL
17842 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17843 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
17845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17846 if (SWIG_arg_fail(1)) SWIG_fail
;
17848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17849 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
17851 wxPyEndAllowThreads(__tstate
);
17852 if (PyErr_Occurred()) SWIG_fail
;
17854 Py_INCREF(Py_None
); resultobj
= Py_None
;
17855 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17856 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17857 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17858 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17865 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17866 PyObject
*resultobj
;
17867 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17868 int *arg2
= (int *) 0 ;
17869 int *arg3
= (int *) 0 ;
17874 PyObject
* obj0
= 0 ;
17875 char *kwnames
[] = {
17876 (char *) "self", NULL
17879 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17880 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
17882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17883 if (SWIG_arg_fail(1)) SWIG_fail
;
17885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17886 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
17888 wxPyEndAllowThreads(__tstate
);
17889 if (PyErr_Occurred()) SWIG_fail
;
17891 Py_INCREF(Py_None
); resultobj
= Py_None
;
17892 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17893 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17894 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17895 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17902 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17903 PyObject
*resultobj
;
17904 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17905 int *arg2
= (int *) 0 ;
17906 int *arg3
= (int *) 0 ;
17911 PyObject
* obj0
= 0 ;
17912 char *kwnames
[] = {
17913 (char *) "self", NULL
17916 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17917 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
17919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17920 if (SWIG_arg_fail(1)) SWIG_fail
;
17922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17923 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
17925 wxPyEndAllowThreads(__tstate
);
17926 if (PyErr_Occurred()) SWIG_fail
;
17928 Py_INCREF(Py_None
); resultobj
= Py_None
;
17929 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17930 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17931 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17932 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17939 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17940 PyObject
*resultobj
;
17941 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17943 PyObject
* obj0
= 0 ;
17944 char *kwnames
[] = {
17945 (char *) "self", NULL
17948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
17949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17950 if (SWIG_arg_fail(1)) SWIG_fail
;
17952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17953 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
17955 wxPyEndAllowThreads(__tstate
);
17956 if (PyErr_Occurred()) SWIG_fail
;
17959 wxSize
* resultptr
;
17960 resultptr
= new wxSize((wxSize
&)(result
));
17961 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17969 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17970 PyObject
*resultobj
;
17971 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17973 PyObject
* obj0
= 0 ;
17974 char *kwnames
[] = {
17975 (char *) "self", NULL
17978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
17979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17980 if (SWIG_arg_fail(1)) SWIG_fail
;
17982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17983 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
17985 wxPyEndAllowThreads(__tstate
);
17986 if (PyErr_Occurred()) SWIG_fail
;
17989 wxSize
* resultptr
;
17990 resultptr
= new wxSize((wxSize
&)(result
));
17991 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17999 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18000 PyObject
*resultobj
;
18001 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18002 PyObject
* obj0
= 0 ;
18003 char *kwnames
[] = {
18004 (char *) "self", NULL
18007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
18008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18009 if (SWIG_arg_fail(1)) SWIG_fail
;
18011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18012 (arg1
)->base_InitDialog();
18014 wxPyEndAllowThreads(__tstate
);
18015 if (PyErr_Occurred()) SWIG_fail
;
18017 Py_INCREF(Py_None
); resultobj
= Py_None
;
18024 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18025 PyObject
*resultobj
;
18026 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18028 PyObject
* obj0
= 0 ;
18029 char *kwnames
[] = {
18030 (char *) "self", NULL
18033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
18034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18035 if (SWIG_arg_fail(1)) SWIG_fail
;
18037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18038 result
= (bool)(arg1
)->base_TransferDataToWindow();
18040 wxPyEndAllowThreads(__tstate
);
18041 if (PyErr_Occurred()) SWIG_fail
;
18044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18052 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18053 PyObject
*resultobj
;
18054 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18056 PyObject
* obj0
= 0 ;
18057 char *kwnames
[] = {
18058 (char *) "self", NULL
18061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
18062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18063 if (SWIG_arg_fail(1)) SWIG_fail
;
18065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18066 result
= (bool)(arg1
)->base_TransferDataFromWindow();
18068 wxPyEndAllowThreads(__tstate
);
18069 if (PyErr_Occurred()) SWIG_fail
;
18072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18080 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18081 PyObject
*resultobj
;
18082 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18084 PyObject
* obj0
= 0 ;
18085 char *kwnames
[] = {
18086 (char *) "self", NULL
18089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
18090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18091 if (SWIG_arg_fail(1)) SWIG_fail
;
18093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18094 result
= (bool)(arg1
)->base_Validate();
18096 wxPyEndAllowThreads(__tstate
);
18097 if (PyErr_Occurred()) SWIG_fail
;
18100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18108 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18109 PyObject
*resultobj
;
18110 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18112 PyObject
* obj0
= 0 ;
18113 char *kwnames
[] = {
18114 (char *) "self", NULL
18117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
18118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18119 if (SWIG_arg_fail(1)) SWIG_fail
;
18121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18122 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
18124 wxPyEndAllowThreads(__tstate
);
18125 if (PyErr_Occurred()) SWIG_fail
;
18128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18136 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18137 PyObject
*resultobj
;
18138 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18140 PyObject
* obj0
= 0 ;
18141 char *kwnames
[] = {
18142 (char *) "self", NULL
18145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
18146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18147 if (SWIG_arg_fail(1)) SWIG_fail
;
18149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18150 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
18152 wxPyEndAllowThreads(__tstate
);
18153 if (PyErr_Occurred()) SWIG_fail
;
18156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18164 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18165 PyObject
*resultobj
;
18166 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18168 PyObject
* obj0
= 0 ;
18169 char *kwnames
[] = {
18170 (char *) "self", NULL
18173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
18174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18175 if (SWIG_arg_fail(1)) SWIG_fail
;
18177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18178 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
18180 wxPyEndAllowThreads(__tstate
);
18181 if (PyErr_Occurred()) SWIG_fail
;
18184 wxSize
* resultptr
;
18185 resultptr
= new wxSize((wxSize
&)(result
));
18186 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18194 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18195 PyObject
*resultobj
;
18196 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18197 wxWindow
*arg2
= (wxWindow
*) 0 ;
18198 PyObject
* obj0
= 0 ;
18199 PyObject
* obj1
= 0 ;
18200 char *kwnames
[] = {
18201 (char *) "self",(char *) "child", NULL
18204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18206 if (SWIG_arg_fail(1)) SWIG_fail
;
18207 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18208 if (SWIG_arg_fail(2)) SWIG_fail
;
18210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18211 (arg1
)->base_AddChild(arg2
);
18213 wxPyEndAllowThreads(__tstate
);
18214 if (PyErr_Occurred()) SWIG_fail
;
18216 Py_INCREF(Py_None
); resultobj
= Py_None
;
18223 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18224 PyObject
*resultobj
;
18225 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18226 wxWindow
*arg2
= (wxWindow
*) 0 ;
18227 PyObject
* obj0
= 0 ;
18228 PyObject
* obj1
= 0 ;
18229 char *kwnames
[] = {
18230 (char *) "self",(char *) "child", NULL
18233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18235 if (SWIG_arg_fail(1)) SWIG_fail
;
18236 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18237 if (SWIG_arg_fail(2)) SWIG_fail
;
18239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18240 (arg1
)->base_RemoveChild(arg2
);
18242 wxPyEndAllowThreads(__tstate
);
18243 if (PyErr_Occurred()) SWIG_fail
;
18245 Py_INCREF(Py_None
); resultobj
= Py_None
;
18252 static PyObject
*_wrap_PyWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18253 PyObject
*resultobj
;
18254 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18256 PyObject
* obj0
= 0 ;
18257 char *kwnames
[] = {
18258 (char *) "self", NULL
18261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
18262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18263 if (SWIG_arg_fail(1)) SWIG_fail
;
18265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18266 result
= (bool)((wxPyWindow
const *)arg1
)->base_ShouldInheritColours();
18268 wxPyEndAllowThreads(__tstate
);
18269 if (PyErr_Occurred()) SWIG_fail
;
18272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18280 static PyObject
*_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18281 PyObject
*resultobj
;
18282 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18283 wxColour
*arg2
= 0 ;
18285 PyObject
* obj0
= 0 ;
18286 PyObject
* obj1
= 0 ;
18287 char *kwnames
[] = {
18288 (char *) "self",(char *) "c", NULL
18291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
18292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18293 if (SWIG_arg_fail(1)) SWIG_fail
;
18296 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18300 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
18302 wxPyEndAllowThreads(__tstate
);
18303 if (PyErr_Occurred()) SWIG_fail
;
18305 Py_INCREF(Py_None
); resultobj
= Py_None
;
18312 static PyObject
*_wrap_PyWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18313 PyObject
*resultobj
;
18314 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18315 wxVisualAttributes result
;
18316 PyObject
* obj0
= 0 ;
18317 char *kwnames
[] = {
18318 (char *) "self", NULL
18321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
18322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18323 if (SWIG_arg_fail(1)) SWIG_fail
;
18325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18326 result
= (arg1
)->base_GetDefaultAttributes();
18328 wxPyEndAllowThreads(__tstate
);
18329 if (PyErr_Occurred()) SWIG_fail
;
18332 wxVisualAttributes
* resultptr
;
18333 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
18334 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
18342 static PyObject
* PyWindow_swigregister(PyObject
*, PyObject
*args
) {
18344 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18345 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
18347 return Py_BuildValue((char *)"");
18349 static PyObject
*_wrap_new_PyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18350 PyObject
*resultobj
;
18351 wxWindow
*arg1
= (wxWindow
*) 0 ;
18352 int arg2
= (int) (int)-1 ;
18353 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18354 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18355 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18356 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18357 long arg5
= (long) 0 ;
18358 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
18359 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18363 bool temp6
= false ;
18364 PyObject
* obj0
= 0 ;
18365 PyObject
* obj1
= 0 ;
18366 PyObject
* obj2
= 0 ;
18367 PyObject
* obj3
= 0 ;
18368 PyObject
* obj4
= 0 ;
18369 PyObject
* obj5
= 0 ;
18370 char *kwnames
[] = {
18371 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18376 if (SWIG_arg_fail(1)) SWIG_fail
;
18379 arg2
= (int const)(SWIG_As_int(obj1
));
18380 if (SWIG_arg_fail(2)) SWIG_fail
;
18386 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18392 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18397 arg5
= (long)(SWIG_As_long(obj4
));
18398 if (SWIG_arg_fail(5)) SWIG_fail
;
18403 arg6
= wxString_in_helper(obj5
);
18404 if (arg6
== NULL
) SWIG_fail
;
18409 if (!wxPyCheckForApp()) SWIG_fail
;
18410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18411 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18413 wxPyEndAllowThreads(__tstate
);
18414 if (PyErr_Occurred()) SWIG_fail
;
18416 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
18431 static PyObject
*_wrap_new_PrePyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18432 PyObject
*resultobj
;
18434 char *kwnames
[] = {
18438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
18440 if (!wxPyCheckForApp()) SWIG_fail
;
18441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18442 result
= (wxPyPanel
*)new wxPyPanel();
18444 wxPyEndAllowThreads(__tstate
);
18445 if (PyErr_Occurred()) SWIG_fail
;
18447 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
18454 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18455 PyObject
*resultobj
;
18456 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18457 PyObject
*arg2
= (PyObject
*) 0 ;
18458 PyObject
*arg3
= (PyObject
*) 0 ;
18459 PyObject
* obj0
= 0 ;
18460 PyObject
* obj1
= 0 ;
18461 PyObject
* obj2
= 0 ;
18462 char *kwnames
[] = {
18463 (char *) "self",(char *) "self",(char *) "_class", NULL
18466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18468 if (SWIG_arg_fail(1)) SWIG_fail
;
18472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18473 (arg1
)->_setCallbackInfo(arg2
,arg3
);
18475 wxPyEndAllowThreads(__tstate
);
18476 if (PyErr_Occurred()) SWIG_fail
;
18478 Py_INCREF(Py_None
); resultobj
= Py_None
;
18485 static PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18486 PyObject
*resultobj
;
18487 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18490 PyObject
* obj0
= 0 ;
18491 PyObject
* obj1
= 0 ;
18492 char *kwnames
[] = {
18493 (char *) "self",(char *) "size", NULL
18496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18498 if (SWIG_arg_fail(1)) SWIG_fail
;
18501 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18505 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
18507 wxPyEndAllowThreads(__tstate
);
18508 if (PyErr_Occurred()) SWIG_fail
;
18510 Py_INCREF(Py_None
); resultobj
= Py_None
;
18517 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18518 PyObject
*resultobj
;
18519 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18524 PyObject
* obj0
= 0 ;
18525 PyObject
* obj1
= 0 ;
18526 PyObject
* obj2
= 0 ;
18527 PyObject
* obj3
= 0 ;
18528 PyObject
* obj4
= 0 ;
18529 char *kwnames
[] = {
18530 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18535 if (SWIG_arg_fail(1)) SWIG_fail
;
18537 arg2
= (int)(SWIG_As_int(obj1
));
18538 if (SWIG_arg_fail(2)) SWIG_fail
;
18541 arg3
= (int)(SWIG_As_int(obj2
));
18542 if (SWIG_arg_fail(3)) SWIG_fail
;
18545 arg4
= (int)(SWIG_As_int(obj3
));
18546 if (SWIG_arg_fail(4)) SWIG_fail
;
18549 arg5
= (int)(SWIG_As_int(obj4
));
18550 if (SWIG_arg_fail(5)) SWIG_fail
;
18553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18554 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
18556 wxPyEndAllowThreads(__tstate
);
18557 if (PyErr_Occurred()) SWIG_fail
;
18559 Py_INCREF(Py_None
); resultobj
= Py_None
;
18566 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18567 PyObject
*resultobj
;
18568 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18573 int arg6
= (int) wxSIZE_AUTO
;
18574 PyObject
* obj0
= 0 ;
18575 PyObject
* obj1
= 0 ;
18576 PyObject
* obj2
= 0 ;
18577 PyObject
* obj3
= 0 ;
18578 PyObject
* obj4
= 0 ;
18579 PyObject
* obj5
= 0 ;
18580 char *kwnames
[] = {
18581 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
18584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18586 if (SWIG_arg_fail(1)) SWIG_fail
;
18588 arg2
= (int)(SWIG_As_int(obj1
));
18589 if (SWIG_arg_fail(2)) SWIG_fail
;
18592 arg3
= (int)(SWIG_As_int(obj2
));
18593 if (SWIG_arg_fail(3)) SWIG_fail
;
18596 arg4
= (int)(SWIG_As_int(obj3
));
18597 if (SWIG_arg_fail(4)) SWIG_fail
;
18600 arg5
= (int)(SWIG_As_int(obj4
));
18601 if (SWIG_arg_fail(5)) SWIG_fail
;
18605 arg6
= (int)(SWIG_As_int(obj5
));
18606 if (SWIG_arg_fail(6)) SWIG_fail
;
18610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18611 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
18613 wxPyEndAllowThreads(__tstate
);
18614 if (PyErr_Occurred()) SWIG_fail
;
18616 Py_INCREF(Py_None
); resultobj
= Py_None
;
18623 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18624 PyObject
*resultobj
;
18625 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18628 PyObject
* obj0
= 0 ;
18629 PyObject
* obj1
= 0 ;
18630 PyObject
* obj2
= 0 ;
18631 char *kwnames
[] = {
18632 (char *) "self",(char *) "width",(char *) "height", NULL
18635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18637 if (SWIG_arg_fail(1)) SWIG_fail
;
18639 arg2
= (int)(SWIG_As_int(obj1
));
18640 if (SWIG_arg_fail(2)) SWIG_fail
;
18643 arg3
= (int)(SWIG_As_int(obj2
));
18644 if (SWIG_arg_fail(3)) SWIG_fail
;
18647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18648 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
18650 wxPyEndAllowThreads(__tstate
);
18651 if (PyErr_Occurred()) SWIG_fail
;
18653 Py_INCREF(Py_None
); resultobj
= Py_None
;
18660 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18661 PyObject
*resultobj
;
18662 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18665 PyObject
* obj0
= 0 ;
18666 PyObject
* obj1
= 0 ;
18667 PyObject
* obj2
= 0 ;
18668 char *kwnames
[] = {
18669 (char *) "self",(char *) "x",(char *) "y", NULL
18672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18674 if (SWIG_arg_fail(1)) SWIG_fail
;
18676 arg2
= (int)(SWIG_As_int(obj1
));
18677 if (SWIG_arg_fail(2)) SWIG_fail
;
18680 arg3
= (int)(SWIG_As_int(obj2
));
18681 if (SWIG_arg_fail(3)) SWIG_fail
;
18684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18685 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
18687 wxPyEndAllowThreads(__tstate
);
18688 if (PyErr_Occurred()) SWIG_fail
;
18690 Py_INCREF(Py_None
); resultobj
= Py_None
;
18697 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18698 PyObject
*resultobj
;
18699 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18700 int *arg2
= (int *) 0 ;
18701 int *arg3
= (int *) 0 ;
18706 PyObject
* obj0
= 0 ;
18707 char *kwnames
[] = {
18708 (char *) "self", NULL
18711 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18712 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
18714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18715 if (SWIG_arg_fail(1)) SWIG_fail
;
18717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18718 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
18720 wxPyEndAllowThreads(__tstate
);
18721 if (PyErr_Occurred()) SWIG_fail
;
18723 Py_INCREF(Py_None
); resultobj
= Py_None
;
18724 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18725 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18726 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18727 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18734 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18735 PyObject
*resultobj
;
18736 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18737 int *arg2
= (int *) 0 ;
18738 int *arg3
= (int *) 0 ;
18743 PyObject
* obj0
= 0 ;
18744 char *kwnames
[] = {
18745 (char *) "self", NULL
18748 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18749 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
18751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18752 if (SWIG_arg_fail(1)) SWIG_fail
;
18754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18755 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
18757 wxPyEndAllowThreads(__tstate
);
18758 if (PyErr_Occurred()) SWIG_fail
;
18760 Py_INCREF(Py_None
); resultobj
= Py_None
;
18761 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18762 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18763 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18764 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18771 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18772 PyObject
*resultobj
;
18773 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18774 int *arg2
= (int *) 0 ;
18775 int *arg3
= (int *) 0 ;
18780 PyObject
* obj0
= 0 ;
18781 char *kwnames
[] = {
18782 (char *) "self", NULL
18785 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18786 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
18788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18789 if (SWIG_arg_fail(1)) SWIG_fail
;
18791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18792 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
18794 wxPyEndAllowThreads(__tstate
);
18795 if (PyErr_Occurred()) SWIG_fail
;
18797 Py_INCREF(Py_None
); resultobj
= Py_None
;
18798 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18799 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18800 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18801 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18808 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18809 PyObject
*resultobj
;
18810 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18812 PyObject
* obj0
= 0 ;
18813 char *kwnames
[] = {
18814 (char *) "self", NULL
18817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
18818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18819 if (SWIG_arg_fail(1)) SWIG_fail
;
18821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18822 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
18824 wxPyEndAllowThreads(__tstate
);
18825 if (PyErr_Occurred()) SWIG_fail
;
18828 wxSize
* resultptr
;
18829 resultptr
= new wxSize((wxSize
&)(result
));
18830 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18838 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18839 PyObject
*resultobj
;
18840 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18842 PyObject
* obj0
= 0 ;
18843 char *kwnames
[] = {
18844 (char *) "self", NULL
18847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
18848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18849 if (SWIG_arg_fail(1)) SWIG_fail
;
18851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18852 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
18854 wxPyEndAllowThreads(__tstate
);
18855 if (PyErr_Occurred()) SWIG_fail
;
18858 wxSize
* resultptr
;
18859 resultptr
= new wxSize((wxSize
&)(result
));
18860 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18868 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18869 PyObject
*resultobj
;
18870 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18871 PyObject
* obj0
= 0 ;
18872 char *kwnames
[] = {
18873 (char *) "self", NULL
18876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
18877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18878 if (SWIG_arg_fail(1)) SWIG_fail
;
18880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18881 (arg1
)->base_InitDialog();
18883 wxPyEndAllowThreads(__tstate
);
18884 if (PyErr_Occurred()) SWIG_fail
;
18886 Py_INCREF(Py_None
); resultobj
= Py_None
;
18893 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18894 PyObject
*resultobj
;
18895 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18897 PyObject
* obj0
= 0 ;
18898 char *kwnames
[] = {
18899 (char *) "self", NULL
18902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
18903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18904 if (SWIG_arg_fail(1)) SWIG_fail
;
18906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18907 result
= (bool)(arg1
)->base_TransferDataToWindow();
18909 wxPyEndAllowThreads(__tstate
);
18910 if (PyErr_Occurred()) SWIG_fail
;
18913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18921 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18922 PyObject
*resultobj
;
18923 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18925 PyObject
* obj0
= 0 ;
18926 char *kwnames
[] = {
18927 (char *) "self", NULL
18930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
18931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18932 if (SWIG_arg_fail(1)) SWIG_fail
;
18934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18935 result
= (bool)(arg1
)->base_TransferDataFromWindow();
18937 wxPyEndAllowThreads(__tstate
);
18938 if (PyErr_Occurred()) SWIG_fail
;
18941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18949 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18950 PyObject
*resultobj
;
18951 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18953 PyObject
* obj0
= 0 ;
18954 char *kwnames
[] = {
18955 (char *) "self", NULL
18958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
18959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18960 if (SWIG_arg_fail(1)) SWIG_fail
;
18962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18963 result
= (bool)(arg1
)->base_Validate();
18965 wxPyEndAllowThreads(__tstate
);
18966 if (PyErr_Occurred()) SWIG_fail
;
18969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18977 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18978 PyObject
*resultobj
;
18979 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18981 PyObject
* obj0
= 0 ;
18982 char *kwnames
[] = {
18983 (char *) "self", NULL
18986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
18987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18988 if (SWIG_arg_fail(1)) SWIG_fail
;
18990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18991 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
18993 wxPyEndAllowThreads(__tstate
);
18994 if (PyErr_Occurred()) SWIG_fail
;
18997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19005 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19006 PyObject
*resultobj
;
19007 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19009 PyObject
* obj0
= 0 ;
19010 char *kwnames
[] = {
19011 (char *) "self", NULL
19014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
19015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19016 if (SWIG_arg_fail(1)) SWIG_fail
;
19018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19019 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
19021 wxPyEndAllowThreads(__tstate
);
19022 if (PyErr_Occurred()) SWIG_fail
;
19025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19033 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19034 PyObject
*resultobj
;
19035 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19037 PyObject
* obj0
= 0 ;
19038 char *kwnames
[] = {
19039 (char *) "self", NULL
19042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
19043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19044 if (SWIG_arg_fail(1)) SWIG_fail
;
19046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19047 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
19049 wxPyEndAllowThreads(__tstate
);
19050 if (PyErr_Occurred()) SWIG_fail
;
19053 wxSize
* resultptr
;
19054 resultptr
= new wxSize((wxSize
&)(result
));
19055 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19063 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19064 PyObject
*resultobj
;
19065 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19066 wxWindow
*arg2
= (wxWindow
*) 0 ;
19067 PyObject
* obj0
= 0 ;
19068 PyObject
* obj1
= 0 ;
19069 char *kwnames
[] = {
19070 (char *) "self",(char *) "child", NULL
19073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
19074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19075 if (SWIG_arg_fail(1)) SWIG_fail
;
19076 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19077 if (SWIG_arg_fail(2)) SWIG_fail
;
19079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19080 (arg1
)->base_AddChild(arg2
);
19082 wxPyEndAllowThreads(__tstate
);
19083 if (PyErr_Occurred()) SWIG_fail
;
19085 Py_INCREF(Py_None
); resultobj
= Py_None
;
19092 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19093 PyObject
*resultobj
;
19094 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19095 wxWindow
*arg2
= (wxWindow
*) 0 ;
19096 PyObject
* obj0
= 0 ;
19097 PyObject
* obj1
= 0 ;
19098 char *kwnames
[] = {
19099 (char *) "self",(char *) "child", NULL
19102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
19103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19104 if (SWIG_arg_fail(1)) SWIG_fail
;
19105 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19106 if (SWIG_arg_fail(2)) SWIG_fail
;
19108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19109 (arg1
)->base_RemoveChild(arg2
);
19111 wxPyEndAllowThreads(__tstate
);
19112 if (PyErr_Occurred()) SWIG_fail
;
19114 Py_INCREF(Py_None
); resultobj
= Py_None
;
19121 static PyObject
*_wrap_PyPanel_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19122 PyObject
*resultobj
;
19123 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19125 PyObject
* obj0
= 0 ;
19126 char *kwnames
[] = {
19127 (char *) "self", NULL
19130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
19131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19132 if (SWIG_arg_fail(1)) SWIG_fail
;
19134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19135 result
= (bool)((wxPyPanel
const *)arg1
)->base_ShouldInheritColours();
19137 wxPyEndAllowThreads(__tstate
);
19138 if (PyErr_Occurred()) SWIG_fail
;
19141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19149 static PyObject
*_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19150 PyObject
*resultobj
;
19151 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19152 wxColour
*arg2
= 0 ;
19154 PyObject
* obj0
= 0 ;
19155 PyObject
* obj1
= 0 ;
19156 char *kwnames
[] = {
19157 (char *) "self",(char *) "c", NULL
19160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
19161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19162 if (SWIG_arg_fail(1)) SWIG_fail
;
19165 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19169 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
19171 wxPyEndAllowThreads(__tstate
);
19172 if (PyErr_Occurred()) SWIG_fail
;
19174 Py_INCREF(Py_None
); resultobj
= Py_None
;
19181 static PyObject
*_wrap_PyPanel_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19182 PyObject
*resultobj
;
19183 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19184 wxVisualAttributes result
;
19185 PyObject
* obj0
= 0 ;
19186 char *kwnames
[] = {
19187 (char *) "self", NULL
19190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
19191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19192 if (SWIG_arg_fail(1)) SWIG_fail
;
19194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19195 result
= (arg1
)->base_GetDefaultAttributes();
19197 wxPyEndAllowThreads(__tstate
);
19198 if (PyErr_Occurred()) SWIG_fail
;
19201 wxVisualAttributes
* resultptr
;
19202 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
19203 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
19211 static PyObject
* PyPanel_swigregister(PyObject
*, PyObject
*args
) {
19213 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19214 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
19216 return Py_BuildValue((char *)"");
19218 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19219 PyObject
*resultobj
;
19220 wxWindow
*arg1
= (wxWindow
*) 0 ;
19221 int arg2
= (int) (int)-1 ;
19222 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19223 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19224 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19225 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19226 long arg5
= (long) 0 ;
19227 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
19228 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
19229 wxPyScrolledWindow
*result
;
19232 bool temp6
= false ;
19233 PyObject
* obj0
= 0 ;
19234 PyObject
* obj1
= 0 ;
19235 PyObject
* obj2
= 0 ;
19236 PyObject
* obj3
= 0 ;
19237 PyObject
* obj4
= 0 ;
19238 PyObject
* obj5
= 0 ;
19239 char *kwnames
[] = {
19240 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19245 if (SWIG_arg_fail(1)) SWIG_fail
;
19248 arg2
= (int const)(SWIG_As_int(obj1
));
19249 if (SWIG_arg_fail(2)) SWIG_fail
;
19255 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19261 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19266 arg5
= (long)(SWIG_As_long(obj4
));
19267 if (SWIG_arg_fail(5)) SWIG_fail
;
19272 arg6
= wxString_in_helper(obj5
);
19273 if (arg6
== NULL
) SWIG_fail
;
19278 if (!wxPyCheckForApp()) SWIG_fail
;
19279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19280 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
19282 wxPyEndAllowThreads(__tstate
);
19283 if (PyErr_Occurred()) SWIG_fail
;
19285 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
19300 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19301 PyObject
*resultobj
;
19302 wxPyScrolledWindow
*result
;
19303 char *kwnames
[] = {
19307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
19309 if (!wxPyCheckForApp()) SWIG_fail
;
19310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19311 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
19313 wxPyEndAllowThreads(__tstate
);
19314 if (PyErr_Occurred()) SWIG_fail
;
19316 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
19323 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19324 PyObject
*resultobj
;
19325 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19326 PyObject
*arg2
= (PyObject
*) 0 ;
19327 PyObject
*arg3
= (PyObject
*) 0 ;
19328 PyObject
* obj0
= 0 ;
19329 PyObject
* obj1
= 0 ;
19330 PyObject
* obj2
= 0 ;
19331 char *kwnames
[] = {
19332 (char *) "self",(char *) "self",(char *) "_class", NULL
19335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19337 if (SWIG_arg_fail(1)) SWIG_fail
;
19341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19342 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19344 wxPyEndAllowThreads(__tstate
);
19345 if (PyErr_Occurred()) SWIG_fail
;
19347 Py_INCREF(Py_None
); resultobj
= Py_None
;
19354 static PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19355 PyObject
*resultobj
;
19356 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19359 PyObject
* obj0
= 0 ;
19360 PyObject
* obj1
= 0 ;
19361 char *kwnames
[] = {
19362 (char *) "self",(char *) "size", NULL
19365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19367 if (SWIG_arg_fail(1)) SWIG_fail
;
19370 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19374 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
19376 wxPyEndAllowThreads(__tstate
);
19377 if (PyErr_Occurred()) SWIG_fail
;
19379 Py_INCREF(Py_None
); resultobj
= Py_None
;
19386 static PyObject
*_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19387 PyObject
*resultobj
;
19388 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19393 PyObject
* obj0
= 0 ;
19394 PyObject
* obj1
= 0 ;
19395 PyObject
* obj2
= 0 ;
19396 PyObject
* obj3
= 0 ;
19397 PyObject
* obj4
= 0 ;
19398 char *kwnames
[] = {
19399 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19404 if (SWIG_arg_fail(1)) SWIG_fail
;
19406 arg2
= (int)(SWIG_As_int(obj1
));
19407 if (SWIG_arg_fail(2)) SWIG_fail
;
19410 arg3
= (int)(SWIG_As_int(obj2
));
19411 if (SWIG_arg_fail(3)) SWIG_fail
;
19414 arg4
= (int)(SWIG_As_int(obj3
));
19415 if (SWIG_arg_fail(4)) SWIG_fail
;
19418 arg5
= (int)(SWIG_As_int(obj4
));
19419 if (SWIG_arg_fail(5)) SWIG_fail
;
19422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19423 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
19425 wxPyEndAllowThreads(__tstate
);
19426 if (PyErr_Occurred()) SWIG_fail
;
19428 Py_INCREF(Py_None
); resultobj
= Py_None
;
19435 static PyObject
*_wrap_PyScrolledWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19436 PyObject
*resultobj
;
19437 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19442 int arg6
= (int) wxSIZE_AUTO
;
19443 PyObject
* obj0
= 0 ;
19444 PyObject
* obj1
= 0 ;
19445 PyObject
* obj2
= 0 ;
19446 PyObject
* obj3
= 0 ;
19447 PyObject
* obj4
= 0 ;
19448 PyObject
* obj5
= 0 ;
19449 char *kwnames
[] = {
19450 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19455 if (SWIG_arg_fail(1)) SWIG_fail
;
19457 arg2
= (int)(SWIG_As_int(obj1
));
19458 if (SWIG_arg_fail(2)) SWIG_fail
;
19461 arg3
= (int)(SWIG_As_int(obj2
));
19462 if (SWIG_arg_fail(3)) SWIG_fail
;
19465 arg4
= (int)(SWIG_As_int(obj3
));
19466 if (SWIG_arg_fail(4)) SWIG_fail
;
19469 arg5
= (int)(SWIG_As_int(obj4
));
19470 if (SWIG_arg_fail(5)) SWIG_fail
;
19474 arg6
= (int)(SWIG_As_int(obj5
));
19475 if (SWIG_arg_fail(6)) SWIG_fail
;
19479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19480 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
19482 wxPyEndAllowThreads(__tstate
);
19483 if (PyErr_Occurred()) SWIG_fail
;
19485 Py_INCREF(Py_None
); resultobj
= Py_None
;
19492 static PyObject
*_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19493 PyObject
*resultobj
;
19494 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19497 PyObject
* obj0
= 0 ;
19498 PyObject
* obj1
= 0 ;
19499 PyObject
* obj2
= 0 ;
19500 char *kwnames
[] = {
19501 (char *) "self",(char *) "width",(char *) "height", NULL
19504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19506 if (SWIG_arg_fail(1)) SWIG_fail
;
19508 arg2
= (int)(SWIG_As_int(obj1
));
19509 if (SWIG_arg_fail(2)) SWIG_fail
;
19512 arg3
= (int)(SWIG_As_int(obj2
));
19513 if (SWIG_arg_fail(3)) SWIG_fail
;
19516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19517 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
19519 wxPyEndAllowThreads(__tstate
);
19520 if (PyErr_Occurred()) SWIG_fail
;
19522 Py_INCREF(Py_None
); resultobj
= Py_None
;
19529 static PyObject
*_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19530 PyObject
*resultobj
;
19531 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19534 PyObject
* obj0
= 0 ;
19535 PyObject
* obj1
= 0 ;
19536 PyObject
* obj2
= 0 ;
19537 char *kwnames
[] = {
19538 (char *) "self",(char *) "x",(char *) "y", NULL
19541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19543 if (SWIG_arg_fail(1)) SWIG_fail
;
19545 arg2
= (int)(SWIG_As_int(obj1
));
19546 if (SWIG_arg_fail(2)) SWIG_fail
;
19549 arg3
= (int)(SWIG_As_int(obj2
));
19550 if (SWIG_arg_fail(3)) SWIG_fail
;
19553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19554 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
19556 wxPyEndAllowThreads(__tstate
);
19557 if (PyErr_Occurred()) SWIG_fail
;
19559 Py_INCREF(Py_None
); resultobj
= Py_None
;
19566 static PyObject
*_wrap_PyScrolledWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19567 PyObject
*resultobj
;
19568 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19569 int *arg2
= (int *) 0 ;
19570 int *arg3
= (int *) 0 ;
19575 PyObject
* obj0
= 0 ;
19576 char *kwnames
[] = {
19577 (char *) "self", NULL
19580 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19581 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
19583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19584 if (SWIG_arg_fail(1)) SWIG_fail
;
19586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19587 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
19589 wxPyEndAllowThreads(__tstate
);
19590 if (PyErr_Occurred()) SWIG_fail
;
19592 Py_INCREF(Py_None
); resultobj
= Py_None
;
19593 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19594 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19595 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19596 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19603 static PyObject
*_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19604 PyObject
*resultobj
;
19605 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19606 int *arg2
= (int *) 0 ;
19607 int *arg3
= (int *) 0 ;
19612 PyObject
* obj0
= 0 ;
19613 char *kwnames
[] = {
19614 (char *) "self", NULL
19617 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19618 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
19620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19621 if (SWIG_arg_fail(1)) SWIG_fail
;
19623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19624 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
19626 wxPyEndAllowThreads(__tstate
);
19627 if (PyErr_Occurred()) SWIG_fail
;
19629 Py_INCREF(Py_None
); resultobj
= Py_None
;
19630 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19631 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19632 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19633 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19640 static PyObject
*_wrap_PyScrolledWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19641 PyObject
*resultobj
;
19642 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19643 int *arg2
= (int *) 0 ;
19644 int *arg3
= (int *) 0 ;
19649 PyObject
* obj0
= 0 ;
19650 char *kwnames
[] = {
19651 (char *) "self", NULL
19654 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19655 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
19657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19658 if (SWIG_arg_fail(1)) SWIG_fail
;
19660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19661 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
19663 wxPyEndAllowThreads(__tstate
);
19664 if (PyErr_Occurred()) SWIG_fail
;
19666 Py_INCREF(Py_None
); resultobj
= Py_None
;
19667 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19668 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19669 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19670 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19677 static PyObject
*_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19678 PyObject
*resultobj
;
19679 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19681 PyObject
* obj0
= 0 ;
19682 char *kwnames
[] = {
19683 (char *) "self", NULL
19686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
19687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19688 if (SWIG_arg_fail(1)) SWIG_fail
;
19690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19691 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetVirtualSize();
19693 wxPyEndAllowThreads(__tstate
);
19694 if (PyErr_Occurred()) SWIG_fail
;
19697 wxSize
* resultptr
;
19698 resultptr
= new wxSize((wxSize
&)(result
));
19699 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19707 static PyObject
*_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19708 PyObject
*resultobj
;
19709 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19711 PyObject
* obj0
= 0 ;
19712 char *kwnames
[] = {
19713 (char *) "self", NULL
19716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
19717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19718 if (SWIG_arg_fail(1)) SWIG_fail
;
19720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19721 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetBestSize();
19723 wxPyEndAllowThreads(__tstate
);
19724 if (PyErr_Occurred()) SWIG_fail
;
19727 wxSize
* resultptr
;
19728 resultptr
= new wxSize((wxSize
&)(result
));
19729 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19737 static PyObject
*_wrap_PyScrolledWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19738 PyObject
*resultobj
;
19739 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19740 PyObject
* obj0
= 0 ;
19741 char *kwnames
[] = {
19742 (char *) "self", NULL
19745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
19746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19747 if (SWIG_arg_fail(1)) SWIG_fail
;
19749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19750 (arg1
)->base_InitDialog();
19752 wxPyEndAllowThreads(__tstate
);
19753 if (PyErr_Occurred()) SWIG_fail
;
19755 Py_INCREF(Py_None
); resultobj
= Py_None
;
19762 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19763 PyObject
*resultobj
;
19764 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19766 PyObject
* obj0
= 0 ;
19767 char *kwnames
[] = {
19768 (char *) "self", NULL
19771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
19772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19773 if (SWIG_arg_fail(1)) SWIG_fail
;
19775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19776 result
= (bool)(arg1
)->base_TransferDataToWindow();
19778 wxPyEndAllowThreads(__tstate
);
19779 if (PyErr_Occurred()) SWIG_fail
;
19782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19790 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19791 PyObject
*resultobj
;
19792 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19794 PyObject
* obj0
= 0 ;
19795 char *kwnames
[] = {
19796 (char *) "self", NULL
19799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
19800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19801 if (SWIG_arg_fail(1)) SWIG_fail
;
19803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19804 result
= (bool)(arg1
)->base_TransferDataFromWindow();
19806 wxPyEndAllowThreads(__tstate
);
19807 if (PyErr_Occurred()) SWIG_fail
;
19810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19818 static PyObject
*_wrap_PyScrolledWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19819 PyObject
*resultobj
;
19820 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19822 PyObject
* obj0
= 0 ;
19823 char *kwnames
[] = {
19824 (char *) "self", NULL
19827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
19828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19829 if (SWIG_arg_fail(1)) SWIG_fail
;
19831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19832 result
= (bool)(arg1
)->base_Validate();
19834 wxPyEndAllowThreads(__tstate
);
19835 if (PyErr_Occurred()) SWIG_fail
;
19838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19846 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19847 PyObject
*resultobj
;
19848 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19850 PyObject
* obj0
= 0 ;
19851 char *kwnames
[] = {
19852 (char *) "self", NULL
19855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
19856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19857 if (SWIG_arg_fail(1)) SWIG_fail
;
19859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19860 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocus();
19862 wxPyEndAllowThreads(__tstate
);
19863 if (PyErr_Occurred()) SWIG_fail
;
19866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19874 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19875 PyObject
*resultobj
;
19876 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19878 PyObject
* obj0
= 0 ;
19879 char *kwnames
[] = {
19880 (char *) "self", NULL
19883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
19884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19885 if (SWIG_arg_fail(1)) SWIG_fail
;
19887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19888 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
19890 wxPyEndAllowThreads(__tstate
);
19891 if (PyErr_Occurred()) SWIG_fail
;
19894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19902 static PyObject
*_wrap_PyScrolledWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19903 PyObject
*resultobj
;
19904 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19906 PyObject
* obj0
= 0 ;
19907 char *kwnames
[] = {
19908 (char *) "self", NULL
19911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
19912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19913 if (SWIG_arg_fail(1)) SWIG_fail
;
19915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19916 result
= ((wxPyScrolledWindow
const *)arg1
)->base_GetMaxSize();
19918 wxPyEndAllowThreads(__tstate
);
19919 if (PyErr_Occurred()) SWIG_fail
;
19922 wxSize
* resultptr
;
19923 resultptr
= new wxSize((wxSize
&)(result
));
19924 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19932 static PyObject
*_wrap_PyScrolledWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19933 PyObject
*resultobj
;
19934 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19935 wxWindow
*arg2
= (wxWindow
*) 0 ;
19936 PyObject
* obj0
= 0 ;
19937 PyObject
* obj1
= 0 ;
19938 char *kwnames
[] = {
19939 (char *) "self",(char *) "child", NULL
19942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
19943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19944 if (SWIG_arg_fail(1)) SWIG_fail
;
19945 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19946 if (SWIG_arg_fail(2)) SWIG_fail
;
19948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19949 (arg1
)->base_AddChild(arg2
);
19951 wxPyEndAllowThreads(__tstate
);
19952 if (PyErr_Occurred()) SWIG_fail
;
19954 Py_INCREF(Py_None
); resultobj
= Py_None
;
19961 static PyObject
*_wrap_PyScrolledWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19962 PyObject
*resultobj
;
19963 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19964 wxWindow
*arg2
= (wxWindow
*) 0 ;
19965 PyObject
* obj0
= 0 ;
19966 PyObject
* obj1
= 0 ;
19967 char *kwnames
[] = {
19968 (char *) "self",(char *) "child", NULL
19971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
19972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19973 if (SWIG_arg_fail(1)) SWIG_fail
;
19974 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19975 if (SWIG_arg_fail(2)) SWIG_fail
;
19977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19978 (arg1
)->base_RemoveChild(arg2
);
19980 wxPyEndAllowThreads(__tstate
);
19981 if (PyErr_Occurred()) SWIG_fail
;
19983 Py_INCREF(Py_None
); resultobj
= Py_None
;
19990 static PyObject
*_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19991 PyObject
*resultobj
;
19992 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19994 PyObject
* obj0
= 0 ;
19995 char *kwnames
[] = {
19996 (char *) "self", NULL
19999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
20000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20001 if (SWIG_arg_fail(1)) SWIG_fail
;
20003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20004 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_ShouldInheritColours();
20006 wxPyEndAllowThreads(__tstate
);
20007 if (PyErr_Occurred()) SWIG_fail
;
20010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20018 static PyObject
*_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20019 PyObject
*resultobj
;
20020 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20021 wxColour
*arg2
= 0 ;
20023 PyObject
* obj0
= 0 ;
20024 PyObject
* obj1
= 0 ;
20025 char *kwnames
[] = {
20026 (char *) "self",(char *) "c", NULL
20029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
20030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20031 if (SWIG_arg_fail(1)) SWIG_fail
;
20034 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20038 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
20040 wxPyEndAllowThreads(__tstate
);
20041 if (PyErr_Occurred()) SWIG_fail
;
20043 Py_INCREF(Py_None
); resultobj
= Py_None
;
20050 static PyObject
*_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20051 PyObject
*resultobj
;
20052 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20053 wxVisualAttributes result
;
20054 PyObject
* obj0
= 0 ;
20055 char *kwnames
[] = {
20056 (char *) "self", NULL
20059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
20060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20061 if (SWIG_arg_fail(1)) SWIG_fail
;
20063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20064 result
= (arg1
)->base_GetDefaultAttributes();
20066 wxPyEndAllowThreads(__tstate
);
20067 if (PyErr_Occurred()) SWIG_fail
;
20070 wxVisualAttributes
* resultptr
;
20071 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
20072 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
20080 static PyObject
* PyScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
20082 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20083 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
20085 return Py_BuildValue((char *)"");
20087 static int _wrap_PrintoutTitleStr_set(PyObject
*) {
20088 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
20093 static PyObject
*_wrap_PrintoutTitleStr_get(void) {
20098 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
20100 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
20107 static int _wrap_PreviewCanvasNameStr_set(PyObject
*) {
20108 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
20113 static PyObject
*_wrap_PreviewCanvasNameStr_get(void) {
20118 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
20120 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
20127 static PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*, PyObject
*args
) {
20128 PyObject
*resultobj
;
20129 wxPrintData
*result
;
20131 if(!PyArg_ParseTuple(args
,(char *)":new_PrintData")) goto fail
;
20133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20134 result
= (wxPrintData
*)new wxPrintData();
20136 wxPyEndAllowThreads(__tstate
);
20137 if (PyErr_Occurred()) SWIG_fail
;
20139 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
20146 static PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*, PyObject
*args
) {
20147 PyObject
*resultobj
;
20148 wxPrintData
*arg1
= 0 ;
20149 wxPrintData
*result
;
20150 PyObject
* obj0
= 0 ;
20152 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintData",&obj0
)) goto fail
;
20154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20155 if (SWIG_arg_fail(1)) SWIG_fail
;
20156 if (arg1
== NULL
) {
20157 SWIG_null_ref("wxPrintData");
20159 if (SWIG_arg_fail(1)) SWIG_fail
;
20162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20163 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
20165 wxPyEndAllowThreads(__tstate
);
20166 if (PyErr_Occurred()) SWIG_fail
;
20168 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
20175 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
20180 argc
= PyObject_Length(args
);
20181 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
20182 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20185 return _wrap_new_PrintData__SWIG_0(self
,args
);
20191 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
20199 return _wrap_new_PrintData__SWIG_1(self
,args
);
20203 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
20208 static PyObject
*_wrap_delete_PrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20209 PyObject
*resultobj
;
20210 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20211 PyObject
* obj0
= 0 ;
20212 char *kwnames
[] = {
20213 (char *) "self", NULL
20216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
20217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20218 if (SWIG_arg_fail(1)) SWIG_fail
;
20220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20223 wxPyEndAllowThreads(__tstate
);
20224 if (PyErr_Occurred()) SWIG_fail
;
20226 Py_INCREF(Py_None
); resultobj
= Py_None
;
20233 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20234 PyObject
*resultobj
;
20235 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20237 PyObject
* obj0
= 0 ;
20238 char *kwnames
[] = {
20239 (char *) "self", NULL
20242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
20243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20244 if (SWIG_arg_fail(1)) SWIG_fail
;
20246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20247 result
= (int)(arg1
)->GetNoCopies();
20249 wxPyEndAllowThreads(__tstate
);
20250 if (PyErr_Occurred()) SWIG_fail
;
20253 resultobj
= SWIG_From_int((int)(result
));
20261 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20262 PyObject
*resultobj
;
20263 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20265 PyObject
* obj0
= 0 ;
20266 char *kwnames
[] = {
20267 (char *) "self", NULL
20270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
20271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20272 if (SWIG_arg_fail(1)) SWIG_fail
;
20274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20275 result
= (bool)(arg1
)->GetCollate();
20277 wxPyEndAllowThreads(__tstate
);
20278 if (PyErr_Occurred()) SWIG_fail
;
20281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20289 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20290 PyObject
*resultobj
;
20291 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20293 PyObject
* obj0
= 0 ;
20294 char *kwnames
[] = {
20295 (char *) "self", NULL
20298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
20299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20300 if (SWIG_arg_fail(1)) SWIG_fail
;
20302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20303 result
= (int)(arg1
)->GetOrientation();
20305 wxPyEndAllowThreads(__tstate
);
20306 if (PyErr_Occurred()) SWIG_fail
;
20309 resultobj
= SWIG_From_int((int)(result
));
20317 static PyObject
*_wrap_PrintData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20318 PyObject
*resultobj
;
20319 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20321 PyObject
* obj0
= 0 ;
20322 char *kwnames
[] = {
20323 (char *) "self", NULL
20326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
20327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20328 if (SWIG_arg_fail(1)) SWIG_fail
;
20330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20331 result
= (bool)(arg1
)->Ok();
20333 wxPyEndAllowThreads(__tstate
);
20334 if (PyErr_Occurred()) SWIG_fail
;
20337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20345 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20346 PyObject
*resultobj
;
20347 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20349 PyObject
* obj0
= 0 ;
20350 char *kwnames
[] = {
20351 (char *) "self", NULL
20354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
20355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20356 if (SWIG_arg_fail(1)) SWIG_fail
;
20358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20360 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
20361 result
= (wxString
*) &_result_ref
;
20364 wxPyEndAllowThreads(__tstate
);
20365 if (PyErr_Occurred()) SWIG_fail
;
20369 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20371 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20380 static PyObject
*_wrap_PrintData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20381 PyObject
*resultobj
;
20382 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20384 PyObject
* obj0
= 0 ;
20385 char *kwnames
[] = {
20386 (char *) "self", NULL
20389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
20390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20391 if (SWIG_arg_fail(1)) SWIG_fail
;
20393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20394 result
= (bool)(arg1
)->GetColour();
20396 wxPyEndAllowThreads(__tstate
);
20397 if (PyErr_Occurred()) SWIG_fail
;
20400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20408 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20409 PyObject
*resultobj
;
20410 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20411 wxDuplexMode result
;
20412 PyObject
* obj0
= 0 ;
20413 char *kwnames
[] = {
20414 (char *) "self", NULL
20417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
20418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20419 if (SWIG_arg_fail(1)) SWIG_fail
;
20421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20422 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
20424 wxPyEndAllowThreads(__tstate
);
20425 if (PyErr_Occurred()) SWIG_fail
;
20427 resultobj
= SWIG_From_int((result
));
20434 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20435 PyObject
*resultobj
;
20436 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20437 wxPaperSize result
;
20438 PyObject
* obj0
= 0 ;
20439 char *kwnames
[] = {
20440 (char *) "self", NULL
20443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
20444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20445 if (SWIG_arg_fail(1)) SWIG_fail
;
20447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20448 result
= (wxPaperSize
)(arg1
)->GetPaperId();
20450 wxPyEndAllowThreads(__tstate
);
20451 if (PyErr_Occurred()) SWIG_fail
;
20453 resultobj
= SWIG_From_int((result
));
20460 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20461 PyObject
*resultobj
;
20462 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20464 PyObject
* obj0
= 0 ;
20465 char *kwnames
[] = {
20466 (char *) "self", NULL
20469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
20470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20471 if (SWIG_arg_fail(1)) SWIG_fail
;
20473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20475 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
20476 result
= (wxSize
*) &_result_ref
;
20479 wxPyEndAllowThreads(__tstate
);
20480 if (PyErr_Occurred()) SWIG_fail
;
20482 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
20489 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20490 PyObject
*resultobj
;
20491 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20493 PyObject
* obj0
= 0 ;
20494 char *kwnames
[] = {
20495 (char *) "self", NULL
20498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
20499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20500 if (SWIG_arg_fail(1)) SWIG_fail
;
20502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20503 result
= (int)(arg1
)->GetQuality();
20505 wxPyEndAllowThreads(__tstate
);
20506 if (PyErr_Occurred()) SWIG_fail
;
20509 resultobj
= SWIG_From_int((int)(result
));
20517 static PyObject
*_wrap_PrintData_GetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20518 PyObject
*resultobj
;
20519 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20521 PyObject
* obj0
= 0 ;
20522 char *kwnames
[] = {
20523 (char *) "self", NULL
20526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetBin",kwnames
,&obj0
)) goto fail
;
20527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20528 if (SWIG_arg_fail(1)) SWIG_fail
;
20530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20531 result
= (wxPrintBin
)(arg1
)->GetBin();
20533 wxPyEndAllowThreads(__tstate
);
20534 if (PyErr_Occurred()) SWIG_fail
;
20536 resultobj
= SWIG_From_int((result
));
20543 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20544 PyObject
*resultobj
;
20545 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20546 wxPrintMode result
;
20547 PyObject
* obj0
= 0 ;
20548 char *kwnames
[] = {
20549 (char *) "self", NULL
20552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
20553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20554 if (SWIG_arg_fail(1)) SWIG_fail
;
20556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20557 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
20559 wxPyEndAllowThreads(__tstate
);
20560 if (PyErr_Occurred()) SWIG_fail
;
20562 resultobj
= SWIG_From_int((result
));
20569 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20570 PyObject
*resultobj
;
20571 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20573 PyObject
* obj0
= 0 ;
20574 PyObject
* obj1
= 0 ;
20575 char *kwnames
[] = {
20576 (char *) "self",(char *) "v", NULL
20579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
20580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20581 if (SWIG_arg_fail(1)) SWIG_fail
;
20583 arg2
= (int)(SWIG_As_int(obj1
));
20584 if (SWIG_arg_fail(2)) SWIG_fail
;
20587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20588 (arg1
)->SetNoCopies(arg2
);
20590 wxPyEndAllowThreads(__tstate
);
20591 if (PyErr_Occurred()) SWIG_fail
;
20593 Py_INCREF(Py_None
); resultobj
= Py_None
;
20600 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20601 PyObject
*resultobj
;
20602 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20604 PyObject
* obj0
= 0 ;
20605 PyObject
* obj1
= 0 ;
20606 char *kwnames
[] = {
20607 (char *) "self",(char *) "flag", NULL
20610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
20611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20612 if (SWIG_arg_fail(1)) SWIG_fail
;
20614 arg2
= (bool)(SWIG_As_bool(obj1
));
20615 if (SWIG_arg_fail(2)) SWIG_fail
;
20618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20619 (arg1
)->SetCollate(arg2
);
20621 wxPyEndAllowThreads(__tstate
);
20622 if (PyErr_Occurred()) SWIG_fail
;
20624 Py_INCREF(Py_None
); resultobj
= Py_None
;
20631 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20632 PyObject
*resultobj
;
20633 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20635 PyObject
* obj0
= 0 ;
20636 PyObject
* obj1
= 0 ;
20637 char *kwnames
[] = {
20638 (char *) "self",(char *) "orient", NULL
20641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
20642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20643 if (SWIG_arg_fail(1)) SWIG_fail
;
20645 arg2
= (int)(SWIG_As_int(obj1
));
20646 if (SWIG_arg_fail(2)) SWIG_fail
;
20649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20650 (arg1
)->SetOrientation(arg2
);
20652 wxPyEndAllowThreads(__tstate
);
20653 if (PyErr_Occurred()) SWIG_fail
;
20655 Py_INCREF(Py_None
); resultobj
= Py_None
;
20662 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20663 PyObject
*resultobj
;
20664 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20665 wxString
*arg2
= 0 ;
20666 bool temp2
= false ;
20667 PyObject
* obj0
= 0 ;
20668 PyObject
* obj1
= 0 ;
20669 char *kwnames
[] = {
20670 (char *) "self",(char *) "name", NULL
20673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
20674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20675 if (SWIG_arg_fail(1)) SWIG_fail
;
20677 arg2
= wxString_in_helper(obj1
);
20678 if (arg2
== NULL
) SWIG_fail
;
20682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20683 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
20685 wxPyEndAllowThreads(__tstate
);
20686 if (PyErr_Occurred()) SWIG_fail
;
20688 Py_INCREF(Py_None
); resultobj
= Py_None
;
20703 static PyObject
*_wrap_PrintData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20704 PyObject
*resultobj
;
20705 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20707 PyObject
* obj0
= 0 ;
20708 PyObject
* obj1
= 0 ;
20709 char *kwnames
[] = {
20710 (char *) "self",(char *) "colour", NULL
20713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20715 if (SWIG_arg_fail(1)) SWIG_fail
;
20717 arg2
= (bool)(SWIG_As_bool(obj1
));
20718 if (SWIG_arg_fail(2)) SWIG_fail
;
20721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20722 (arg1
)->SetColour(arg2
);
20724 wxPyEndAllowThreads(__tstate
);
20725 if (PyErr_Occurred()) SWIG_fail
;
20727 Py_INCREF(Py_None
); resultobj
= Py_None
;
20734 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20735 PyObject
*resultobj
;
20736 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20737 wxDuplexMode arg2
;
20738 PyObject
* obj0
= 0 ;
20739 PyObject
* obj1
= 0 ;
20740 char *kwnames
[] = {
20741 (char *) "self",(char *) "duplex", NULL
20744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
20745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20746 if (SWIG_arg_fail(1)) SWIG_fail
;
20748 arg2
= (wxDuplexMode
)(SWIG_As_int(obj1
));
20749 if (SWIG_arg_fail(2)) SWIG_fail
;
20752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20753 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
20755 wxPyEndAllowThreads(__tstate
);
20756 if (PyErr_Occurred()) SWIG_fail
;
20758 Py_INCREF(Py_None
); resultobj
= Py_None
;
20765 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20766 PyObject
*resultobj
;
20767 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20769 PyObject
* obj0
= 0 ;
20770 PyObject
* obj1
= 0 ;
20771 char *kwnames
[] = {
20772 (char *) "self",(char *) "sizeId", NULL
20775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
20776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20777 if (SWIG_arg_fail(1)) SWIG_fail
;
20779 arg2
= (wxPaperSize
)(SWIG_As_int(obj1
));
20780 if (SWIG_arg_fail(2)) SWIG_fail
;
20783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20784 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
20786 wxPyEndAllowThreads(__tstate
);
20787 if (PyErr_Occurred()) SWIG_fail
;
20789 Py_INCREF(Py_None
); resultobj
= Py_None
;
20796 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20797 PyObject
*resultobj
;
20798 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20801 PyObject
* obj0
= 0 ;
20802 PyObject
* obj1
= 0 ;
20803 char *kwnames
[] = {
20804 (char *) "self",(char *) "sz", NULL
20807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20809 if (SWIG_arg_fail(1)) SWIG_fail
;
20812 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20816 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
20818 wxPyEndAllowThreads(__tstate
);
20819 if (PyErr_Occurred()) SWIG_fail
;
20821 Py_INCREF(Py_None
); resultobj
= Py_None
;
20828 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20829 PyObject
*resultobj
;
20830 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20832 PyObject
* obj0
= 0 ;
20833 PyObject
* obj1
= 0 ;
20834 char *kwnames
[] = {
20835 (char *) "self",(char *) "quality", NULL
20838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
20839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20840 if (SWIG_arg_fail(1)) SWIG_fail
;
20842 arg2
= (int)(SWIG_As_int(obj1
));
20843 if (SWIG_arg_fail(2)) SWIG_fail
;
20846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20847 (arg1
)->SetQuality(arg2
);
20849 wxPyEndAllowThreads(__tstate
);
20850 if (PyErr_Occurred()) SWIG_fail
;
20852 Py_INCREF(Py_None
); resultobj
= Py_None
;
20859 static PyObject
*_wrap_PrintData_SetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20860 PyObject
*resultobj
;
20861 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20863 PyObject
* obj0
= 0 ;
20864 PyObject
* obj1
= 0 ;
20865 char *kwnames
[] = {
20866 (char *) "self",(char *) "bin", NULL
20869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) goto fail
;
20870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20871 if (SWIG_arg_fail(1)) SWIG_fail
;
20873 arg2
= (wxPrintBin
)(SWIG_As_int(obj1
));
20874 if (SWIG_arg_fail(2)) SWIG_fail
;
20877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20878 (arg1
)->SetBin((wxPrintBin
)arg2
);
20880 wxPyEndAllowThreads(__tstate
);
20881 if (PyErr_Occurred()) SWIG_fail
;
20883 Py_INCREF(Py_None
); resultobj
= Py_None
;
20890 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20891 PyObject
*resultobj
;
20892 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20894 PyObject
* obj0
= 0 ;
20895 PyObject
* obj1
= 0 ;
20896 char *kwnames
[] = {
20897 (char *) "self",(char *) "printMode", NULL
20900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20902 if (SWIG_arg_fail(1)) SWIG_fail
;
20904 arg2
= (wxPrintMode
)(SWIG_As_int(obj1
));
20905 if (SWIG_arg_fail(2)) SWIG_fail
;
20908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20909 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
20911 wxPyEndAllowThreads(__tstate
);
20912 if (PyErr_Occurred()) SWIG_fail
;
20914 Py_INCREF(Py_None
); resultobj
= Py_None
;
20921 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20922 PyObject
*resultobj
;
20923 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20925 PyObject
* obj0
= 0 ;
20926 char *kwnames
[] = {
20927 (char *) "self", NULL
20930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
20931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20932 if (SWIG_arg_fail(1)) SWIG_fail
;
20934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20935 result
= ((wxPrintData
const *)arg1
)->GetFilename();
20937 wxPyEndAllowThreads(__tstate
);
20938 if (PyErr_Occurred()) SWIG_fail
;
20942 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20944 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20953 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20954 PyObject
*resultobj
;
20955 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20956 wxString
*arg2
= 0 ;
20957 bool temp2
= false ;
20958 PyObject
* obj0
= 0 ;
20959 PyObject
* obj1
= 0 ;
20960 char *kwnames
[] = {
20961 (char *) "self",(char *) "filename", NULL
20964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
20965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20966 if (SWIG_arg_fail(1)) SWIG_fail
;
20968 arg2
= wxString_in_helper(obj1
);
20969 if (arg2
== NULL
) SWIG_fail
;
20973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20974 (arg1
)->SetFilename((wxString
const &)*arg2
);
20976 wxPyEndAllowThreads(__tstate
);
20977 if (PyErr_Occurred()) SWIG_fail
;
20979 Py_INCREF(Py_None
); resultobj
= Py_None
;
20994 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20995 PyObject
*resultobj
;
20996 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20998 PyObject
* obj0
= 0 ;
20999 char *kwnames
[] = {
21000 (char *) "self", NULL
21003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
21004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21005 if (SWIG_arg_fail(1)) SWIG_fail
;
21007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21009 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
21010 result
= (wxString
*) &_result_ref
;
21013 wxPyEndAllowThreads(__tstate
);
21014 if (PyErr_Occurred()) SWIG_fail
;
21018 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21020 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21029 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21030 PyObject
*resultobj
;
21031 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21033 PyObject
* obj0
= 0 ;
21034 char *kwnames
[] = {
21035 (char *) "self", NULL
21038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
21039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21040 if (SWIG_arg_fail(1)) SWIG_fail
;
21042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21044 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
21045 result
= (wxString
*) &_result_ref
;
21048 wxPyEndAllowThreads(__tstate
);
21049 if (PyErr_Occurred()) SWIG_fail
;
21053 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21055 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21064 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21065 PyObject
*resultobj
;
21066 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21068 PyObject
* obj0
= 0 ;
21069 char *kwnames
[] = {
21070 (char *) "self", NULL
21073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
21074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21075 if (SWIG_arg_fail(1)) SWIG_fail
;
21077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21079 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
21080 result
= (wxString
*) &_result_ref
;
21083 wxPyEndAllowThreads(__tstate
);
21084 if (PyErr_Occurred()) SWIG_fail
;
21088 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21090 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21099 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21100 PyObject
*resultobj
;
21101 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21103 PyObject
* obj0
= 0 ;
21104 char *kwnames
[] = {
21105 (char *) "self", NULL
21108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
21109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21110 if (SWIG_arg_fail(1)) SWIG_fail
;
21112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21114 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
21115 result
= (wxString
*) &_result_ref
;
21118 wxPyEndAllowThreads(__tstate
);
21119 if (PyErr_Occurred()) SWIG_fail
;
21123 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21125 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21134 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21135 PyObject
*resultobj
;
21136 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21138 PyObject
* obj0
= 0 ;
21139 char *kwnames
[] = {
21140 (char *) "self", NULL
21143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
21144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21145 if (SWIG_arg_fail(1)) SWIG_fail
;
21147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21148 result
= (double)(arg1
)->GetPrinterScaleX();
21150 wxPyEndAllowThreads(__tstate
);
21151 if (PyErr_Occurred()) SWIG_fail
;
21154 resultobj
= SWIG_From_double((double)(result
));
21162 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21163 PyObject
*resultobj
;
21164 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21166 PyObject
* obj0
= 0 ;
21167 char *kwnames
[] = {
21168 (char *) "self", NULL
21171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
21172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21173 if (SWIG_arg_fail(1)) SWIG_fail
;
21175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21176 result
= (double)(arg1
)->GetPrinterScaleY();
21178 wxPyEndAllowThreads(__tstate
);
21179 if (PyErr_Occurred()) SWIG_fail
;
21182 resultobj
= SWIG_From_double((double)(result
));
21190 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21191 PyObject
*resultobj
;
21192 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21194 PyObject
* obj0
= 0 ;
21195 char *kwnames
[] = {
21196 (char *) "self", NULL
21199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
21200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21201 if (SWIG_arg_fail(1)) SWIG_fail
;
21203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21204 result
= (long)(arg1
)->GetPrinterTranslateX();
21206 wxPyEndAllowThreads(__tstate
);
21207 if (PyErr_Occurred()) SWIG_fail
;
21210 resultobj
= SWIG_From_long((long)(result
));
21218 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21219 PyObject
*resultobj
;
21220 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21222 PyObject
* obj0
= 0 ;
21223 char *kwnames
[] = {
21224 (char *) "self", NULL
21227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
21228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21229 if (SWIG_arg_fail(1)) SWIG_fail
;
21231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21232 result
= (long)(arg1
)->GetPrinterTranslateY();
21234 wxPyEndAllowThreads(__tstate
);
21235 if (PyErr_Occurred()) SWIG_fail
;
21238 resultobj
= SWIG_From_long((long)(result
));
21246 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21247 PyObject
*resultobj
;
21248 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21249 wxString
*arg2
= 0 ;
21250 bool temp2
= false ;
21251 PyObject
* obj0
= 0 ;
21252 PyObject
* obj1
= 0 ;
21253 char *kwnames
[] = {
21254 (char *) "self",(char *) "command", NULL
21257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
21258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21259 if (SWIG_arg_fail(1)) SWIG_fail
;
21261 arg2
= wxString_in_helper(obj1
);
21262 if (arg2
== NULL
) SWIG_fail
;
21266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21267 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
21269 wxPyEndAllowThreads(__tstate
);
21270 if (PyErr_Occurred()) SWIG_fail
;
21272 Py_INCREF(Py_None
); resultobj
= Py_None
;
21287 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21288 PyObject
*resultobj
;
21289 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21290 wxString
*arg2
= 0 ;
21291 bool temp2
= false ;
21292 PyObject
* obj0
= 0 ;
21293 PyObject
* obj1
= 0 ;
21294 char *kwnames
[] = {
21295 (char *) "self",(char *) "options", NULL
21298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
21299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21300 if (SWIG_arg_fail(1)) SWIG_fail
;
21302 arg2
= wxString_in_helper(obj1
);
21303 if (arg2
== NULL
) SWIG_fail
;
21307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21308 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
21310 wxPyEndAllowThreads(__tstate
);
21311 if (PyErr_Occurred()) SWIG_fail
;
21313 Py_INCREF(Py_None
); resultobj
= Py_None
;
21328 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21329 PyObject
*resultobj
;
21330 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21331 wxString
*arg2
= 0 ;
21332 bool temp2
= false ;
21333 PyObject
* obj0
= 0 ;
21334 PyObject
* obj1
= 0 ;
21335 char *kwnames
[] = {
21336 (char *) "self",(char *) "command", NULL
21339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
21340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21341 if (SWIG_arg_fail(1)) SWIG_fail
;
21343 arg2
= wxString_in_helper(obj1
);
21344 if (arg2
== NULL
) SWIG_fail
;
21348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21349 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
21351 wxPyEndAllowThreads(__tstate
);
21352 if (PyErr_Occurred()) SWIG_fail
;
21354 Py_INCREF(Py_None
); resultobj
= Py_None
;
21369 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21370 PyObject
*resultobj
;
21371 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21372 wxString
*arg2
= 0 ;
21373 bool temp2
= false ;
21374 PyObject
* obj0
= 0 ;
21375 PyObject
* obj1
= 0 ;
21376 char *kwnames
[] = {
21377 (char *) "self",(char *) "path", NULL
21380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
21381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21382 if (SWIG_arg_fail(1)) SWIG_fail
;
21384 arg2
= wxString_in_helper(obj1
);
21385 if (arg2
== NULL
) SWIG_fail
;
21389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21390 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
21392 wxPyEndAllowThreads(__tstate
);
21393 if (PyErr_Occurred()) SWIG_fail
;
21395 Py_INCREF(Py_None
); resultobj
= Py_None
;
21410 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21411 PyObject
*resultobj
;
21412 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21414 PyObject
* obj0
= 0 ;
21415 PyObject
* obj1
= 0 ;
21416 char *kwnames
[] = {
21417 (char *) "self",(char *) "x", NULL
21420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
21421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21422 if (SWIG_arg_fail(1)) SWIG_fail
;
21424 arg2
= (double)(SWIG_As_double(obj1
));
21425 if (SWIG_arg_fail(2)) SWIG_fail
;
21428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21429 (arg1
)->SetPrinterScaleX(arg2
);
21431 wxPyEndAllowThreads(__tstate
);
21432 if (PyErr_Occurred()) SWIG_fail
;
21434 Py_INCREF(Py_None
); resultobj
= Py_None
;
21441 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21442 PyObject
*resultobj
;
21443 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21445 PyObject
* obj0
= 0 ;
21446 PyObject
* obj1
= 0 ;
21447 char *kwnames
[] = {
21448 (char *) "self",(char *) "y", NULL
21451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
21452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21453 if (SWIG_arg_fail(1)) SWIG_fail
;
21455 arg2
= (double)(SWIG_As_double(obj1
));
21456 if (SWIG_arg_fail(2)) SWIG_fail
;
21459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21460 (arg1
)->SetPrinterScaleY(arg2
);
21462 wxPyEndAllowThreads(__tstate
);
21463 if (PyErr_Occurred()) SWIG_fail
;
21465 Py_INCREF(Py_None
); resultobj
= Py_None
;
21472 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21473 PyObject
*resultobj
;
21474 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21477 PyObject
* obj0
= 0 ;
21478 PyObject
* obj1
= 0 ;
21479 PyObject
* obj2
= 0 ;
21480 char *kwnames
[] = {
21481 (char *) "self",(char *) "x",(char *) "y", NULL
21484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21486 if (SWIG_arg_fail(1)) SWIG_fail
;
21488 arg2
= (double)(SWIG_As_double(obj1
));
21489 if (SWIG_arg_fail(2)) SWIG_fail
;
21492 arg3
= (double)(SWIG_As_double(obj2
));
21493 if (SWIG_arg_fail(3)) SWIG_fail
;
21496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21497 (arg1
)->SetPrinterScaling(arg2
,arg3
);
21499 wxPyEndAllowThreads(__tstate
);
21500 if (PyErr_Occurred()) SWIG_fail
;
21502 Py_INCREF(Py_None
); resultobj
= Py_None
;
21509 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21510 PyObject
*resultobj
;
21511 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21513 PyObject
* obj0
= 0 ;
21514 PyObject
* obj1
= 0 ;
21515 char *kwnames
[] = {
21516 (char *) "self",(char *) "x", NULL
21519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
21520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21521 if (SWIG_arg_fail(1)) SWIG_fail
;
21523 arg2
= (long)(SWIG_As_long(obj1
));
21524 if (SWIG_arg_fail(2)) SWIG_fail
;
21527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21528 (arg1
)->SetPrinterTranslateX(arg2
);
21530 wxPyEndAllowThreads(__tstate
);
21531 if (PyErr_Occurred()) SWIG_fail
;
21533 Py_INCREF(Py_None
); resultobj
= Py_None
;
21540 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21541 PyObject
*resultobj
;
21542 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21544 PyObject
* obj0
= 0 ;
21545 PyObject
* obj1
= 0 ;
21546 char *kwnames
[] = {
21547 (char *) "self",(char *) "y", NULL
21550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
21551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21552 if (SWIG_arg_fail(1)) SWIG_fail
;
21554 arg2
= (long)(SWIG_As_long(obj1
));
21555 if (SWIG_arg_fail(2)) SWIG_fail
;
21558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21559 (arg1
)->SetPrinterTranslateY(arg2
);
21561 wxPyEndAllowThreads(__tstate
);
21562 if (PyErr_Occurred()) SWIG_fail
;
21564 Py_INCREF(Py_None
); resultobj
= Py_None
;
21571 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21572 PyObject
*resultobj
;
21573 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21576 PyObject
* obj0
= 0 ;
21577 PyObject
* obj1
= 0 ;
21578 PyObject
* obj2
= 0 ;
21579 char *kwnames
[] = {
21580 (char *) "self",(char *) "x",(char *) "y", NULL
21583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21585 if (SWIG_arg_fail(1)) SWIG_fail
;
21587 arg2
= (long)(SWIG_As_long(obj1
));
21588 if (SWIG_arg_fail(2)) SWIG_fail
;
21591 arg3
= (long)(SWIG_As_long(obj2
));
21592 if (SWIG_arg_fail(3)) SWIG_fail
;
21595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21596 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
21598 wxPyEndAllowThreads(__tstate
);
21599 if (PyErr_Occurred()) SWIG_fail
;
21601 Py_INCREF(Py_None
); resultobj
= Py_None
;
21608 static PyObject
* PrintData_swigregister(PyObject
*, PyObject
*args
) {
21610 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21611 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
21613 return Py_BuildValue((char *)"");
21615 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
21616 PyObject
*resultobj
;
21617 wxPageSetupDialogData
*result
;
21619 if(!PyArg_ParseTuple(args
,(char *)":new_PageSetupDialogData")) goto fail
;
21621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21622 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
21624 wxPyEndAllowThreads(__tstate
);
21625 if (PyErr_Occurred()) SWIG_fail
;
21627 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
21634 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
21635 PyObject
*resultobj
;
21636 wxPageSetupDialogData
*arg1
= 0 ;
21637 wxPageSetupDialogData
*result
;
21638 PyObject
* obj0
= 0 ;
21640 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
21642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21643 if (SWIG_arg_fail(1)) SWIG_fail
;
21644 if (arg1
== NULL
) {
21645 SWIG_null_ref("wxPageSetupDialogData");
21647 if (SWIG_arg_fail(1)) SWIG_fail
;
21650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21651 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
21653 wxPyEndAllowThreads(__tstate
);
21654 if (PyErr_Occurred()) SWIG_fail
;
21656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
21663 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
21668 argc
= PyObject_Length(args
);
21669 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
21670 argv
[ii
] = PyTuple_GetItem(args
,ii
);
21673 return _wrap_new_PageSetupDialogData__SWIG_0(self
,args
);
21679 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPageSetupDialogData
, 0) == -1) {
21687 return _wrap_new_PageSetupDialogData__SWIG_1(self
,args
);
21691 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
21696 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21697 PyObject
*resultobj
;
21698 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21699 PyObject
* obj0
= 0 ;
21700 char *kwnames
[] = {
21701 (char *) "self", NULL
21704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
21705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21706 if (SWIG_arg_fail(1)) SWIG_fail
;
21708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21711 wxPyEndAllowThreads(__tstate
);
21712 if (PyErr_Occurred()) SWIG_fail
;
21714 Py_INCREF(Py_None
); resultobj
= Py_None
;
21721 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21722 PyObject
*resultobj
;
21723 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21725 PyObject
* obj0
= 0 ;
21726 PyObject
* obj1
= 0 ;
21727 char *kwnames
[] = {
21728 (char *) "self",(char *) "flag", NULL
21731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
21732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21733 if (SWIG_arg_fail(1)) SWIG_fail
;
21735 arg2
= (bool)(SWIG_As_bool(obj1
));
21736 if (SWIG_arg_fail(2)) SWIG_fail
;
21739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21740 (arg1
)->EnableHelp(arg2
);
21742 wxPyEndAllowThreads(__tstate
);
21743 if (PyErr_Occurred()) SWIG_fail
;
21745 Py_INCREF(Py_None
); resultobj
= Py_None
;
21752 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21753 PyObject
*resultobj
;
21754 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21756 PyObject
* obj0
= 0 ;
21757 PyObject
* obj1
= 0 ;
21758 char *kwnames
[] = {
21759 (char *) "self",(char *) "flag", NULL
21762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
21763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21764 if (SWIG_arg_fail(1)) SWIG_fail
;
21766 arg2
= (bool)(SWIG_As_bool(obj1
));
21767 if (SWIG_arg_fail(2)) SWIG_fail
;
21770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21771 (arg1
)->EnableMargins(arg2
);
21773 wxPyEndAllowThreads(__tstate
);
21774 if (PyErr_Occurred()) SWIG_fail
;
21776 Py_INCREF(Py_None
); resultobj
= Py_None
;
21783 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21784 PyObject
*resultobj
;
21785 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21787 PyObject
* obj0
= 0 ;
21788 PyObject
* obj1
= 0 ;
21789 char *kwnames
[] = {
21790 (char *) "self",(char *) "flag", NULL
21793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
21794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21795 if (SWIG_arg_fail(1)) SWIG_fail
;
21797 arg2
= (bool)(SWIG_As_bool(obj1
));
21798 if (SWIG_arg_fail(2)) SWIG_fail
;
21801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21802 (arg1
)->EnableOrientation(arg2
);
21804 wxPyEndAllowThreads(__tstate
);
21805 if (PyErr_Occurred()) SWIG_fail
;
21807 Py_INCREF(Py_None
); resultobj
= Py_None
;
21814 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21815 PyObject
*resultobj
;
21816 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21818 PyObject
* obj0
= 0 ;
21819 PyObject
* obj1
= 0 ;
21820 char *kwnames
[] = {
21821 (char *) "self",(char *) "flag", NULL
21824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
21825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21826 if (SWIG_arg_fail(1)) SWIG_fail
;
21828 arg2
= (bool)(SWIG_As_bool(obj1
));
21829 if (SWIG_arg_fail(2)) SWIG_fail
;
21832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21833 (arg1
)->EnablePaper(arg2
);
21835 wxPyEndAllowThreads(__tstate
);
21836 if (PyErr_Occurred()) SWIG_fail
;
21838 Py_INCREF(Py_None
); resultobj
= Py_None
;
21845 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21846 PyObject
*resultobj
;
21847 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21849 PyObject
* obj0
= 0 ;
21850 PyObject
* obj1
= 0 ;
21851 char *kwnames
[] = {
21852 (char *) "self",(char *) "flag", NULL
21855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
21856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21857 if (SWIG_arg_fail(1)) SWIG_fail
;
21859 arg2
= (bool)(SWIG_As_bool(obj1
));
21860 if (SWIG_arg_fail(2)) SWIG_fail
;
21863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21864 (arg1
)->EnablePrinter(arg2
);
21866 wxPyEndAllowThreads(__tstate
);
21867 if (PyErr_Occurred()) SWIG_fail
;
21869 Py_INCREF(Py_None
); resultobj
= Py_None
;
21876 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21877 PyObject
*resultobj
;
21878 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21880 PyObject
* obj0
= 0 ;
21881 char *kwnames
[] = {
21882 (char *) "self", NULL
21885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
21886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21887 if (SWIG_arg_fail(1)) SWIG_fail
;
21889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21890 result
= (bool)(arg1
)->GetDefaultMinMargins();
21892 wxPyEndAllowThreads(__tstate
);
21893 if (PyErr_Occurred()) SWIG_fail
;
21896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21904 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21905 PyObject
*resultobj
;
21906 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21908 PyObject
* obj0
= 0 ;
21909 char *kwnames
[] = {
21910 (char *) "self", NULL
21913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
21914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21915 if (SWIG_arg_fail(1)) SWIG_fail
;
21917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21918 result
= (bool)(arg1
)->GetEnableMargins();
21920 wxPyEndAllowThreads(__tstate
);
21921 if (PyErr_Occurred()) SWIG_fail
;
21924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21932 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21933 PyObject
*resultobj
;
21934 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21936 PyObject
* obj0
= 0 ;
21937 char *kwnames
[] = {
21938 (char *) "self", NULL
21941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
21942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21943 if (SWIG_arg_fail(1)) SWIG_fail
;
21945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21946 result
= (bool)(arg1
)->GetEnableOrientation();
21948 wxPyEndAllowThreads(__tstate
);
21949 if (PyErr_Occurred()) SWIG_fail
;
21952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21960 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21961 PyObject
*resultobj
;
21962 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21964 PyObject
* obj0
= 0 ;
21965 char *kwnames
[] = {
21966 (char *) "self", NULL
21969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
21970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21971 if (SWIG_arg_fail(1)) SWIG_fail
;
21973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21974 result
= (bool)(arg1
)->GetEnablePaper();
21976 wxPyEndAllowThreads(__tstate
);
21977 if (PyErr_Occurred()) SWIG_fail
;
21980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21988 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21989 PyObject
*resultobj
;
21990 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21992 PyObject
* obj0
= 0 ;
21993 char *kwnames
[] = {
21994 (char *) "self", NULL
21997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
21998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21999 if (SWIG_arg_fail(1)) SWIG_fail
;
22001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22002 result
= (bool)(arg1
)->GetEnablePrinter();
22004 wxPyEndAllowThreads(__tstate
);
22005 if (PyErr_Occurred()) SWIG_fail
;
22008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22016 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22017 PyObject
*resultobj
;
22018 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22020 PyObject
* obj0
= 0 ;
22021 char *kwnames
[] = {
22022 (char *) "self", NULL
22025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
22026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22027 if (SWIG_arg_fail(1)) SWIG_fail
;
22029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22030 result
= (bool)(arg1
)->GetEnableHelp();
22032 wxPyEndAllowThreads(__tstate
);
22033 if (PyErr_Occurred()) SWIG_fail
;
22036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22044 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22045 PyObject
*resultobj
;
22046 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22048 PyObject
* obj0
= 0 ;
22049 char *kwnames
[] = {
22050 (char *) "self", NULL
22053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
22054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22055 if (SWIG_arg_fail(1)) SWIG_fail
;
22057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22058 result
= (bool)(arg1
)->GetDefaultInfo();
22060 wxPyEndAllowThreads(__tstate
);
22061 if (PyErr_Occurred()) SWIG_fail
;
22064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22072 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22073 PyObject
*resultobj
;
22074 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22076 PyObject
* obj0
= 0 ;
22077 char *kwnames
[] = {
22078 (char *) "self", NULL
22081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
22082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22083 if (SWIG_arg_fail(1)) SWIG_fail
;
22085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22086 result
= (arg1
)->GetMarginTopLeft();
22088 wxPyEndAllowThreads(__tstate
);
22089 if (PyErr_Occurred()) SWIG_fail
;
22092 wxPoint
* resultptr
;
22093 resultptr
= new wxPoint((wxPoint
&)(result
));
22094 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22102 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22103 PyObject
*resultobj
;
22104 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22106 PyObject
* obj0
= 0 ;
22107 char *kwnames
[] = {
22108 (char *) "self", NULL
22111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
22112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22113 if (SWIG_arg_fail(1)) SWIG_fail
;
22115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22116 result
= (arg1
)->GetMarginBottomRight();
22118 wxPyEndAllowThreads(__tstate
);
22119 if (PyErr_Occurred()) SWIG_fail
;
22122 wxPoint
* resultptr
;
22123 resultptr
= new wxPoint((wxPoint
&)(result
));
22124 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22132 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22133 PyObject
*resultobj
;
22134 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22136 PyObject
* obj0
= 0 ;
22137 char *kwnames
[] = {
22138 (char *) "self", NULL
22141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
22142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22143 if (SWIG_arg_fail(1)) SWIG_fail
;
22145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22146 result
= (arg1
)->GetMinMarginTopLeft();
22148 wxPyEndAllowThreads(__tstate
);
22149 if (PyErr_Occurred()) SWIG_fail
;
22152 wxPoint
* resultptr
;
22153 resultptr
= new wxPoint((wxPoint
&)(result
));
22154 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22162 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22163 PyObject
*resultobj
;
22164 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22166 PyObject
* obj0
= 0 ;
22167 char *kwnames
[] = {
22168 (char *) "self", NULL
22171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
22172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22173 if (SWIG_arg_fail(1)) SWIG_fail
;
22175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22176 result
= (arg1
)->GetMinMarginBottomRight();
22178 wxPyEndAllowThreads(__tstate
);
22179 if (PyErr_Occurred()) SWIG_fail
;
22182 wxPoint
* resultptr
;
22183 resultptr
= new wxPoint((wxPoint
&)(result
));
22184 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22192 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22193 PyObject
*resultobj
;
22194 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22195 wxPaperSize result
;
22196 PyObject
* obj0
= 0 ;
22197 char *kwnames
[] = {
22198 (char *) "self", NULL
22201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
22202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22203 if (SWIG_arg_fail(1)) SWIG_fail
;
22205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22206 result
= (wxPaperSize
)(arg1
)->GetPaperId();
22208 wxPyEndAllowThreads(__tstate
);
22209 if (PyErr_Occurred()) SWIG_fail
;
22211 resultobj
= SWIG_From_int((result
));
22218 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22219 PyObject
*resultobj
;
22220 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22222 PyObject
* obj0
= 0 ;
22223 char *kwnames
[] = {
22224 (char *) "self", NULL
22227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
22228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22229 if (SWIG_arg_fail(1)) SWIG_fail
;
22231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22232 result
= (arg1
)->GetPaperSize();
22234 wxPyEndAllowThreads(__tstate
);
22235 if (PyErr_Occurred()) SWIG_fail
;
22238 wxSize
* resultptr
;
22239 resultptr
= new wxSize((wxSize
&)(result
));
22240 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22248 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22249 PyObject
*resultobj
;
22250 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22251 wxPrintData
*result
;
22252 PyObject
* obj0
= 0 ;
22253 char *kwnames
[] = {
22254 (char *) "self", NULL
22257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
22258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22259 if (SWIG_arg_fail(1)) SWIG_fail
;
22261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22263 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
22264 result
= (wxPrintData
*) &_result_ref
;
22267 wxPyEndAllowThreads(__tstate
);
22268 if (PyErr_Occurred()) SWIG_fail
;
22270 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
22277 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22278 PyObject
*resultobj
;
22279 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22281 PyObject
* obj0
= 0 ;
22282 char *kwnames
[] = {
22283 (char *) "self", NULL
22286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
22287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22288 if (SWIG_arg_fail(1)) SWIG_fail
;
22290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22291 result
= (bool)(arg1
)->Ok();
22293 wxPyEndAllowThreads(__tstate
);
22294 if (PyErr_Occurred()) SWIG_fail
;
22297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22305 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22306 PyObject
*resultobj
;
22307 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22309 PyObject
* obj0
= 0 ;
22310 PyObject
* obj1
= 0 ;
22311 char *kwnames
[] = {
22312 (char *) "self",(char *) "flag", NULL
22315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
22316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22317 if (SWIG_arg_fail(1)) SWIG_fail
;
22319 arg2
= (bool)(SWIG_As_bool(obj1
));
22320 if (SWIG_arg_fail(2)) SWIG_fail
;
22323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22324 (arg1
)->SetDefaultInfo(arg2
);
22326 wxPyEndAllowThreads(__tstate
);
22327 if (PyErr_Occurred()) SWIG_fail
;
22329 Py_INCREF(Py_None
); resultobj
= Py_None
;
22336 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22337 PyObject
*resultobj
;
22338 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22340 PyObject
* obj0
= 0 ;
22341 PyObject
* obj1
= 0 ;
22342 char *kwnames
[] = {
22343 (char *) "self",(char *) "flag", NULL
22346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
22347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22348 if (SWIG_arg_fail(1)) SWIG_fail
;
22350 arg2
= (bool)(SWIG_As_bool(obj1
));
22351 if (SWIG_arg_fail(2)) SWIG_fail
;
22354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22355 (arg1
)->SetDefaultMinMargins(arg2
);
22357 wxPyEndAllowThreads(__tstate
);
22358 if (PyErr_Occurred()) SWIG_fail
;
22360 Py_INCREF(Py_None
); resultobj
= Py_None
;
22367 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22368 PyObject
*resultobj
;
22369 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22370 wxPoint
*arg2
= 0 ;
22372 PyObject
* obj0
= 0 ;
22373 PyObject
* obj1
= 0 ;
22374 char *kwnames
[] = {
22375 (char *) "self",(char *) "pt", NULL
22378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
22379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22380 if (SWIG_arg_fail(1)) SWIG_fail
;
22383 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22387 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
22389 wxPyEndAllowThreads(__tstate
);
22390 if (PyErr_Occurred()) SWIG_fail
;
22392 Py_INCREF(Py_None
); resultobj
= Py_None
;
22399 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22400 PyObject
*resultobj
;
22401 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22402 wxPoint
*arg2
= 0 ;
22404 PyObject
* obj0
= 0 ;
22405 PyObject
* obj1
= 0 ;
22406 char *kwnames
[] = {
22407 (char *) "self",(char *) "pt", NULL
22410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
22411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22412 if (SWIG_arg_fail(1)) SWIG_fail
;
22415 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22419 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
22421 wxPyEndAllowThreads(__tstate
);
22422 if (PyErr_Occurred()) SWIG_fail
;
22424 Py_INCREF(Py_None
); resultobj
= Py_None
;
22431 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22432 PyObject
*resultobj
;
22433 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22434 wxPoint
*arg2
= 0 ;
22436 PyObject
* obj0
= 0 ;
22437 PyObject
* obj1
= 0 ;
22438 char *kwnames
[] = {
22439 (char *) "self",(char *) "pt", NULL
22442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
22443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22444 if (SWIG_arg_fail(1)) SWIG_fail
;
22447 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22451 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
22453 wxPyEndAllowThreads(__tstate
);
22454 if (PyErr_Occurred()) SWIG_fail
;
22456 Py_INCREF(Py_None
); resultobj
= Py_None
;
22463 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22464 PyObject
*resultobj
;
22465 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22466 wxPoint
*arg2
= 0 ;
22468 PyObject
* obj0
= 0 ;
22469 PyObject
* obj1
= 0 ;
22470 char *kwnames
[] = {
22471 (char *) "self",(char *) "pt", NULL
22474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
22475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22476 if (SWIG_arg_fail(1)) SWIG_fail
;
22479 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22483 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
22485 wxPyEndAllowThreads(__tstate
);
22486 if (PyErr_Occurred()) SWIG_fail
;
22488 Py_INCREF(Py_None
); resultobj
= Py_None
;
22495 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22496 PyObject
*resultobj
;
22497 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22499 PyObject
* obj0
= 0 ;
22500 PyObject
* obj1
= 0 ;
22501 char *kwnames
[] = {
22502 (char *) "self",(char *) "id", NULL
22505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
22506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22507 if (SWIG_arg_fail(1)) SWIG_fail
;
22509 arg2
= (wxPaperSize
)(SWIG_As_int(obj1
));
22510 if (SWIG_arg_fail(2)) SWIG_fail
;
22513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22514 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
22516 wxPyEndAllowThreads(__tstate
);
22517 if (PyErr_Occurred()) SWIG_fail
;
22519 Py_INCREF(Py_None
); resultobj
= Py_None
;
22526 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22527 PyObject
*resultobj
;
22528 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22531 PyObject
* obj0
= 0 ;
22532 PyObject
* obj1
= 0 ;
22533 char *kwnames
[] = {
22534 (char *) "self",(char *) "size", NULL
22537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22539 if (SWIG_arg_fail(1)) SWIG_fail
;
22542 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22546 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
22548 wxPyEndAllowThreads(__tstate
);
22549 if (PyErr_Occurred()) SWIG_fail
;
22551 Py_INCREF(Py_None
); resultobj
= Py_None
;
22558 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22559 PyObject
*resultobj
;
22560 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22561 wxPrintData
*arg2
= 0 ;
22562 PyObject
* obj0
= 0 ;
22563 PyObject
* obj1
= 0 ;
22564 char *kwnames
[] = {
22565 (char *) "self",(char *) "printData", NULL
22568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
22569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22570 if (SWIG_arg_fail(1)) SWIG_fail
;
22572 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
22573 if (SWIG_arg_fail(2)) SWIG_fail
;
22574 if (arg2
== NULL
) {
22575 SWIG_null_ref("wxPrintData");
22577 if (SWIG_arg_fail(2)) SWIG_fail
;
22580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22581 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
22583 wxPyEndAllowThreads(__tstate
);
22584 if (PyErr_Occurred()) SWIG_fail
;
22586 Py_INCREF(Py_None
); resultobj
= Py_None
;
22593 static PyObject
* PageSetupDialogData_swigregister(PyObject
*, PyObject
*args
) {
22595 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22596 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
22598 return Py_BuildValue((char *)"");
22600 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22601 PyObject
*resultobj
;
22602 wxWindow
*arg1
= (wxWindow
*) 0 ;
22603 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
22604 wxPageSetupDialog
*result
;
22605 PyObject
* obj0
= 0 ;
22606 PyObject
* obj1
= 0 ;
22607 char *kwnames
[] = {
22608 (char *) "parent",(char *) "data", NULL
22611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
22612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22613 if (SWIG_arg_fail(1)) SWIG_fail
;
22615 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22616 if (SWIG_arg_fail(2)) SWIG_fail
;
22619 if (!wxPyCheckForApp()) SWIG_fail
;
22620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22621 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
22623 wxPyEndAllowThreads(__tstate
);
22624 if (PyErr_Occurred()) SWIG_fail
;
22626 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
22633 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22634 PyObject
*resultobj
;
22635 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
22636 wxPageSetupDialogData
*result
;
22637 PyObject
* obj0
= 0 ;
22638 char *kwnames
[] = {
22639 (char *) "self", NULL
22642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
22643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
22644 if (SWIG_arg_fail(1)) SWIG_fail
;
22646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22648 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
22649 result
= (wxPageSetupDialogData
*) &_result_ref
;
22652 wxPyEndAllowThreads(__tstate
);
22653 if (PyErr_Occurred()) SWIG_fail
;
22655 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
22662 static PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22663 PyObject
*resultobj
;
22664 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
22665 wxPageSetupDialogData
*result
;
22666 PyObject
* obj0
= 0 ;
22667 char *kwnames
[] = {
22668 (char *) "self", NULL
22671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupDialogData",kwnames
,&obj0
)) goto fail
;
22672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
22673 if (SWIG_arg_fail(1)) SWIG_fail
;
22675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22677 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
22678 result
= (wxPageSetupDialogData
*) &_result_ref
;
22681 wxPyEndAllowThreads(__tstate
);
22682 if (PyErr_Occurred()) SWIG_fail
;
22684 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
22691 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22692 PyObject
*resultobj
;
22693 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
22695 PyObject
* obj0
= 0 ;
22696 char *kwnames
[] = {
22697 (char *) "self", NULL
22700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
22701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
22702 if (SWIG_arg_fail(1)) SWIG_fail
;
22704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22705 result
= (int)(arg1
)->ShowModal();
22707 wxPyEndAllowThreads(__tstate
);
22708 if (PyErr_Occurred()) SWIG_fail
;
22711 resultobj
= SWIG_From_int((int)(result
));
22719 static PyObject
* PageSetupDialog_swigregister(PyObject
*, PyObject
*args
) {
22721 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22722 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
22724 return Py_BuildValue((char *)"");
22726 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
22727 PyObject
*resultobj
;
22728 wxPrintDialogData
*result
;
22730 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
22732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22733 result
= (wxPrintDialogData
*)new wxPrintDialogData();
22735 wxPyEndAllowThreads(__tstate
);
22736 if (PyErr_Occurred()) SWIG_fail
;
22738 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
22745 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
22746 PyObject
*resultobj
;
22747 wxPrintData
*arg1
= 0 ;
22748 wxPrintDialogData
*result
;
22749 PyObject
* obj0
= 0 ;
22751 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
22753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
22754 if (SWIG_arg_fail(1)) SWIG_fail
;
22755 if (arg1
== NULL
) {
22756 SWIG_null_ref("wxPrintData");
22758 if (SWIG_arg_fail(1)) SWIG_fail
;
22761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22762 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
22764 wxPyEndAllowThreads(__tstate
);
22765 if (PyErr_Occurred()) SWIG_fail
;
22767 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
22774 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
22779 argc
= PyObject_Length(args
);
22780 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
22781 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22784 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
22790 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
22798 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
22802 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
22807 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22808 PyObject
*resultobj
;
22809 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
22810 PyObject
* obj0
= 0 ;
22811 char *kwnames
[] = {
22812 (char *) "self", NULL
22815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
22816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22817 if (SWIG_arg_fail(1)) SWIG_fail
;
22819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22822 wxPyEndAllowThreads(__tstate
);
22823 if (PyErr_Occurred()) SWIG_fail
;
22825 Py_INCREF(Py_None
); resultobj
= Py_None
;
22832 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22833 PyObject
*resultobj
;
22834 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
22836 PyObject
* obj0
= 0 ;
22837 char *kwnames
[] = {
22838 (char *) "self", NULL
22841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
22842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22843 if (SWIG_arg_fail(1)) SWIG_fail
;
22845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22846 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
22848 wxPyEndAllowThreads(__tstate
);
22849 if (PyErr_Occurred()) SWIG_fail
;
22852 resultobj
= SWIG_From_int((int)(result
));
22860 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22861 PyObject
*resultobj
;
22862 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
22864 PyObject
* obj0
= 0 ;
22865 char *kwnames
[] = {
22866 (char *) "self", NULL
22869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
22870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22871 if (SWIG_arg_fail(1)) SWIG_fail
;
22873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22874 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
22876 wxPyEndAllowThreads(__tstate
);
22877 if (PyErr_Occurred()) SWIG_fail
;
22880 resultobj
= SWIG_From_int((int)(result
));
22888 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22889 PyObject
*resultobj
;
22890 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
22892 PyObject
* obj0
= 0 ;
22893 char *kwnames
[] = {
22894 (char *) "self", NULL
22897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
22898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22899 if (SWIG_arg_fail(1)) SWIG_fail
;
22901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22902 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
22904 wxPyEndAllowThreads(__tstate
);
22905 if (PyErr_Occurred()) SWIG_fail
;
22908 resultobj
= SWIG_From_int((int)(result
));
22916 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22917 PyObject
*resultobj
;
22918 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
22920 PyObject
* obj0
= 0 ;
22921 char *kwnames
[] = {
22922 (char *) "self", NULL
22925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
22926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22927 if (SWIG_arg_fail(1)) SWIG_fail
;
22929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22930 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
22932 wxPyEndAllowThreads(__tstate
);
22933 if (PyErr_Occurred()) SWIG_fail
;
22936 resultobj
= SWIG_From_int((int)(result
));
22944 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22945 PyObject
*resultobj
;
22946 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
22948 PyObject
* obj0
= 0 ;
22949 char *kwnames
[] = {
22950 (char *) "self", NULL
22953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
22954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22955 if (SWIG_arg_fail(1)) SWIG_fail
;
22957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22958 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
22960 wxPyEndAllowThreads(__tstate
);
22961 if (PyErr_Occurred()) SWIG_fail
;
22964 resultobj
= SWIG_From_int((int)(result
));
22972 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22973 PyObject
*resultobj
;
22974 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
22976 PyObject
* obj0
= 0 ;
22977 char *kwnames
[] = {
22978 (char *) "self", NULL
22981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
22982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22983 if (SWIG_arg_fail(1)) SWIG_fail
;
22985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22986 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
22988 wxPyEndAllowThreads(__tstate
);
22989 if (PyErr_Occurred()) SWIG_fail
;
22992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23000 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23001 PyObject
*resultobj
;
23002 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23004 PyObject
* obj0
= 0 ;
23005 char *kwnames
[] = {
23006 (char *) "self", NULL
23009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
23010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23011 if (SWIG_arg_fail(1)) SWIG_fail
;
23013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23014 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
23016 wxPyEndAllowThreads(__tstate
);
23017 if (PyErr_Occurred()) SWIG_fail
;
23020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23028 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23029 PyObject
*resultobj
;
23030 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23032 PyObject
* obj0
= 0 ;
23033 char *kwnames
[] = {
23034 (char *) "self", NULL
23037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
23038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23039 if (SWIG_arg_fail(1)) SWIG_fail
;
23041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23042 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
23044 wxPyEndAllowThreads(__tstate
);
23045 if (PyErr_Occurred()) SWIG_fail
;
23048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23056 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23057 PyObject
*resultobj
;
23058 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23060 PyObject
* obj0
= 0 ;
23061 char *kwnames
[] = {
23062 (char *) "self", NULL
23065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
23066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23067 if (SWIG_arg_fail(1)) SWIG_fail
;
23069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23070 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
23072 wxPyEndAllowThreads(__tstate
);
23073 if (PyErr_Occurred()) SWIG_fail
;
23076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23084 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23085 PyObject
*resultobj
;
23086 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23088 PyObject
* obj0
= 0 ;
23089 char *kwnames
[] = {
23090 (char *) "self", NULL
23093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
23094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23095 if (SWIG_arg_fail(1)) SWIG_fail
;
23097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23098 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
23100 wxPyEndAllowThreads(__tstate
);
23101 if (PyErr_Occurred()) SWIG_fail
;
23104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23112 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23113 PyObject
*resultobj
;
23114 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23116 PyObject
* obj0
= 0 ;
23117 PyObject
* obj1
= 0 ;
23118 char *kwnames
[] = {
23119 (char *) "self",(char *) "flag", NULL
23122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
23123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23124 if (SWIG_arg_fail(1)) SWIG_fail
;
23126 arg2
= (bool)(SWIG_As_bool(obj1
));
23127 if (SWIG_arg_fail(2)) SWIG_fail
;
23130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23131 (arg1
)->SetSetupDialog(arg2
);
23133 wxPyEndAllowThreads(__tstate
);
23134 if (PyErr_Occurred()) SWIG_fail
;
23136 Py_INCREF(Py_None
); resultobj
= Py_None
;
23143 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23144 PyObject
*resultobj
;
23145 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23147 PyObject
* obj0
= 0 ;
23148 PyObject
* obj1
= 0 ;
23149 char *kwnames
[] = {
23150 (char *) "self",(char *) "v", NULL
23153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) 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 arg2
= (int)(SWIG_As_int(obj1
));
23158 if (SWIG_arg_fail(2)) SWIG_fail
;
23161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23162 (arg1
)->SetFromPage(arg2
);
23164 wxPyEndAllowThreads(__tstate
);
23165 if (PyErr_Occurred()) SWIG_fail
;
23167 Py_INCREF(Py_None
); resultobj
= Py_None
;
23174 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23175 PyObject
*resultobj
;
23176 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23178 PyObject
* obj0
= 0 ;
23179 PyObject
* obj1
= 0 ;
23180 char *kwnames
[] = {
23181 (char *) "self",(char *) "v", NULL
23184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23186 if (SWIG_arg_fail(1)) SWIG_fail
;
23188 arg2
= (int)(SWIG_As_int(obj1
));
23189 if (SWIG_arg_fail(2)) SWIG_fail
;
23192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23193 (arg1
)->SetToPage(arg2
);
23195 wxPyEndAllowThreads(__tstate
);
23196 if (PyErr_Occurred()) SWIG_fail
;
23198 Py_INCREF(Py_None
); resultobj
= Py_None
;
23205 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23206 PyObject
*resultobj
;
23207 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23209 PyObject
* obj0
= 0 ;
23210 PyObject
* obj1
= 0 ;
23211 char *kwnames
[] = {
23212 (char *) "self",(char *) "v", NULL
23215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23217 if (SWIG_arg_fail(1)) SWIG_fail
;
23219 arg2
= (int)(SWIG_As_int(obj1
));
23220 if (SWIG_arg_fail(2)) SWIG_fail
;
23223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23224 (arg1
)->SetMinPage(arg2
);
23226 wxPyEndAllowThreads(__tstate
);
23227 if (PyErr_Occurred()) SWIG_fail
;
23229 Py_INCREF(Py_None
); resultobj
= Py_None
;
23236 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23237 PyObject
*resultobj
;
23238 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23240 PyObject
* obj0
= 0 ;
23241 PyObject
* obj1
= 0 ;
23242 char *kwnames
[] = {
23243 (char *) "self",(char *) "v", NULL
23246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23248 if (SWIG_arg_fail(1)) SWIG_fail
;
23250 arg2
= (int)(SWIG_As_int(obj1
));
23251 if (SWIG_arg_fail(2)) SWIG_fail
;
23254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23255 (arg1
)->SetMaxPage(arg2
);
23257 wxPyEndAllowThreads(__tstate
);
23258 if (PyErr_Occurred()) SWIG_fail
;
23260 Py_INCREF(Py_None
); resultobj
= Py_None
;
23267 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23268 PyObject
*resultobj
;
23269 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23271 PyObject
* obj0
= 0 ;
23272 PyObject
* obj1
= 0 ;
23273 char *kwnames
[] = {
23274 (char *) "self",(char *) "v", NULL
23277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
23278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23279 if (SWIG_arg_fail(1)) SWIG_fail
;
23281 arg2
= (int)(SWIG_As_int(obj1
));
23282 if (SWIG_arg_fail(2)) SWIG_fail
;
23285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23286 (arg1
)->SetNoCopies(arg2
);
23288 wxPyEndAllowThreads(__tstate
);
23289 if (PyErr_Occurred()) SWIG_fail
;
23291 Py_INCREF(Py_None
); resultobj
= Py_None
;
23298 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23299 PyObject
*resultobj
;
23300 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23302 PyObject
* obj0
= 0 ;
23303 PyObject
* obj1
= 0 ;
23304 char *kwnames
[] = {
23305 (char *) "self",(char *) "flag", NULL
23308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
23309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23310 if (SWIG_arg_fail(1)) SWIG_fail
;
23312 arg2
= (bool)(SWIG_As_bool(obj1
));
23313 if (SWIG_arg_fail(2)) SWIG_fail
;
23316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23317 (arg1
)->SetAllPages(arg2
);
23319 wxPyEndAllowThreads(__tstate
);
23320 if (PyErr_Occurred()) SWIG_fail
;
23322 Py_INCREF(Py_None
); resultobj
= Py_None
;
23329 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23330 PyObject
*resultobj
;
23331 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23333 PyObject
* obj0
= 0 ;
23334 PyObject
* obj1
= 0 ;
23335 char *kwnames
[] = {
23336 (char *) "self",(char *) "flag", NULL
23339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
23340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23341 if (SWIG_arg_fail(1)) SWIG_fail
;
23343 arg2
= (bool)(SWIG_As_bool(obj1
));
23344 if (SWIG_arg_fail(2)) SWIG_fail
;
23347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23348 (arg1
)->SetSelection(arg2
);
23350 wxPyEndAllowThreads(__tstate
);
23351 if (PyErr_Occurred()) SWIG_fail
;
23353 Py_INCREF(Py_None
); resultobj
= Py_None
;
23360 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23361 PyObject
*resultobj
;
23362 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23364 PyObject
* obj0
= 0 ;
23365 PyObject
* obj1
= 0 ;
23366 char *kwnames
[] = {
23367 (char *) "self",(char *) "flag", NULL
23370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
23371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23372 if (SWIG_arg_fail(1)) SWIG_fail
;
23374 arg2
= (bool)(SWIG_As_bool(obj1
));
23375 if (SWIG_arg_fail(2)) SWIG_fail
;
23378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23379 (arg1
)->SetCollate(arg2
);
23381 wxPyEndAllowThreads(__tstate
);
23382 if (PyErr_Occurred()) SWIG_fail
;
23384 Py_INCREF(Py_None
); resultobj
= Py_None
;
23391 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23392 PyObject
*resultobj
;
23393 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23395 PyObject
* obj0
= 0 ;
23396 PyObject
* obj1
= 0 ;
23397 char *kwnames
[] = {
23398 (char *) "self",(char *) "flag", NULL
23401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
23402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23403 if (SWIG_arg_fail(1)) SWIG_fail
;
23405 arg2
= (bool)(SWIG_As_bool(obj1
));
23406 if (SWIG_arg_fail(2)) SWIG_fail
;
23409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23410 (arg1
)->SetPrintToFile(arg2
);
23412 wxPyEndAllowThreads(__tstate
);
23413 if (PyErr_Occurred()) SWIG_fail
;
23415 Py_INCREF(Py_None
); resultobj
= Py_None
;
23422 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23423 PyObject
*resultobj
;
23424 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23426 PyObject
* obj0
= 0 ;
23427 PyObject
* obj1
= 0 ;
23428 char *kwnames
[] = {
23429 (char *) "self",(char *) "flag", NULL
23432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
23433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23434 if (SWIG_arg_fail(1)) SWIG_fail
;
23436 arg2
= (bool)(SWIG_As_bool(obj1
));
23437 if (SWIG_arg_fail(2)) SWIG_fail
;
23440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23441 (arg1
)->EnablePrintToFile(arg2
);
23443 wxPyEndAllowThreads(__tstate
);
23444 if (PyErr_Occurred()) SWIG_fail
;
23446 Py_INCREF(Py_None
); resultobj
= Py_None
;
23453 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23454 PyObject
*resultobj
;
23455 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23457 PyObject
* obj0
= 0 ;
23458 PyObject
* obj1
= 0 ;
23459 char *kwnames
[] = {
23460 (char *) "self",(char *) "flag", NULL
23463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
23464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23465 if (SWIG_arg_fail(1)) SWIG_fail
;
23467 arg2
= (bool)(SWIG_As_bool(obj1
));
23468 if (SWIG_arg_fail(2)) SWIG_fail
;
23471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23472 (arg1
)->EnableSelection(arg2
);
23474 wxPyEndAllowThreads(__tstate
);
23475 if (PyErr_Occurred()) SWIG_fail
;
23477 Py_INCREF(Py_None
); resultobj
= Py_None
;
23484 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23485 PyObject
*resultobj
;
23486 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23488 PyObject
* obj0
= 0 ;
23489 PyObject
* obj1
= 0 ;
23490 char *kwnames
[] = {
23491 (char *) "self",(char *) "flag", NULL
23494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
23495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23496 if (SWIG_arg_fail(1)) SWIG_fail
;
23498 arg2
= (bool)(SWIG_As_bool(obj1
));
23499 if (SWIG_arg_fail(2)) SWIG_fail
;
23502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23503 (arg1
)->EnablePageNumbers(arg2
);
23505 wxPyEndAllowThreads(__tstate
);
23506 if (PyErr_Occurred()) SWIG_fail
;
23508 Py_INCREF(Py_None
); resultobj
= Py_None
;
23515 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23516 PyObject
*resultobj
;
23517 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23519 PyObject
* obj0
= 0 ;
23520 PyObject
* obj1
= 0 ;
23521 char *kwnames
[] = {
23522 (char *) "self",(char *) "flag", NULL
23525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
23526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23527 if (SWIG_arg_fail(1)) SWIG_fail
;
23529 arg2
= (bool)(SWIG_As_bool(obj1
));
23530 if (SWIG_arg_fail(2)) SWIG_fail
;
23533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23534 (arg1
)->EnableHelp(arg2
);
23536 wxPyEndAllowThreads(__tstate
);
23537 if (PyErr_Occurred()) SWIG_fail
;
23539 Py_INCREF(Py_None
); resultobj
= Py_None
;
23546 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23547 PyObject
*resultobj
;
23548 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23550 PyObject
* obj0
= 0 ;
23551 char *kwnames
[] = {
23552 (char *) "self", NULL
23555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
23556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23557 if (SWIG_arg_fail(1)) SWIG_fail
;
23559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23560 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
23562 wxPyEndAllowThreads(__tstate
);
23563 if (PyErr_Occurred()) SWIG_fail
;
23566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23574 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23575 PyObject
*resultobj
;
23576 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23578 PyObject
* obj0
= 0 ;
23579 char *kwnames
[] = {
23580 (char *) "self", NULL
23583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
23584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23585 if (SWIG_arg_fail(1)) SWIG_fail
;
23587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23588 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
23590 wxPyEndAllowThreads(__tstate
);
23591 if (PyErr_Occurred()) SWIG_fail
;
23594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23602 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23603 PyObject
*resultobj
;
23604 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23606 PyObject
* obj0
= 0 ;
23607 char *kwnames
[] = {
23608 (char *) "self", NULL
23611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
23612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23613 if (SWIG_arg_fail(1)) SWIG_fail
;
23615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23616 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
23618 wxPyEndAllowThreads(__tstate
);
23619 if (PyErr_Occurred()) SWIG_fail
;
23622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23630 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23631 PyObject
*resultobj
;
23632 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23634 PyObject
* obj0
= 0 ;
23635 char *kwnames
[] = {
23636 (char *) "self", NULL
23639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
23640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23641 if (SWIG_arg_fail(1)) SWIG_fail
;
23643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23644 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
23646 wxPyEndAllowThreads(__tstate
);
23647 if (PyErr_Occurred()) SWIG_fail
;
23650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23658 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23659 PyObject
*resultobj
;
23660 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23662 PyObject
* obj0
= 0 ;
23663 char *kwnames
[] = {
23664 (char *) "self", NULL
23667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
23668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23669 if (SWIG_arg_fail(1)) SWIG_fail
;
23671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23672 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
23674 wxPyEndAllowThreads(__tstate
);
23675 if (PyErr_Occurred()) SWIG_fail
;
23678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23686 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23687 PyObject
*resultobj
;
23688 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23689 wxPrintData
*result
;
23690 PyObject
* obj0
= 0 ;
23691 char *kwnames
[] = {
23692 (char *) "self", NULL
23695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
23696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23697 if (SWIG_arg_fail(1)) SWIG_fail
;
23699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23701 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
23702 result
= (wxPrintData
*) &_result_ref
;
23705 wxPyEndAllowThreads(__tstate
);
23706 if (PyErr_Occurred()) SWIG_fail
;
23708 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
23715 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23716 PyObject
*resultobj
;
23717 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23718 wxPrintData
*arg2
= 0 ;
23719 PyObject
* obj0
= 0 ;
23720 PyObject
* obj1
= 0 ;
23721 char *kwnames
[] = {
23722 (char *) "self",(char *) "printData", NULL
23725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
23726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23727 if (SWIG_arg_fail(1)) SWIG_fail
;
23729 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
23730 if (SWIG_arg_fail(2)) SWIG_fail
;
23731 if (arg2
== NULL
) {
23732 SWIG_null_ref("wxPrintData");
23734 if (SWIG_arg_fail(2)) SWIG_fail
;
23737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23738 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
23740 wxPyEndAllowThreads(__tstate
);
23741 if (PyErr_Occurred()) SWIG_fail
;
23743 Py_INCREF(Py_None
); resultobj
= Py_None
;
23750 static PyObject
* PrintDialogData_swigregister(PyObject
*, PyObject
*args
) {
23752 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23753 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
23755 return Py_BuildValue((char *)"");
23757 static PyObject
*_wrap_new_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23758 PyObject
*resultobj
;
23759 wxWindow
*arg1
= (wxWindow
*) 0 ;
23760 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
23761 wxPrintDialog
*result
;
23762 PyObject
* obj0
= 0 ;
23763 PyObject
* obj1
= 0 ;
23764 char *kwnames
[] = {
23765 (char *) "parent",(char *) "data", NULL
23768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
23769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23770 if (SWIG_arg_fail(1)) SWIG_fail
;
23772 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23773 if (SWIG_arg_fail(2)) SWIG_fail
;
23776 if (!wxPyCheckForApp()) SWIG_fail
;
23777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23778 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
23780 wxPyEndAllowThreads(__tstate
);
23781 if (PyErr_Occurred()) SWIG_fail
;
23783 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
23790 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23791 PyObject
*resultobj
;
23792 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
23794 PyObject
* obj0
= 0 ;
23795 char *kwnames
[] = {
23796 (char *) "self", NULL
23799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
23800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
23801 if (SWIG_arg_fail(1)) SWIG_fail
;
23803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23804 result
= (int)(arg1
)->ShowModal();
23806 wxPyEndAllowThreads(__tstate
);
23807 if (PyErr_Occurred()) SWIG_fail
;
23810 resultobj
= SWIG_From_int((int)(result
));
23818 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23819 PyObject
*resultobj
;
23820 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
23821 wxPrintDialogData
*result
;
23822 PyObject
* obj0
= 0 ;
23823 char *kwnames
[] = {
23824 (char *) "self", NULL
23827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
23828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
23829 if (SWIG_arg_fail(1)) SWIG_fail
;
23831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23833 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
23834 result
= (wxPrintDialogData
*) &_result_ref
;
23837 wxPyEndAllowThreads(__tstate
);
23838 if (PyErr_Occurred()) SWIG_fail
;
23840 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
23847 static PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23848 PyObject
*resultobj
;
23849 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
23850 wxPrintData
*result
;
23851 PyObject
* obj0
= 0 ;
23852 char *kwnames
[] = {
23853 (char *) "self", NULL
23856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintData",kwnames
,&obj0
)) goto fail
;
23857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
23858 if (SWIG_arg_fail(1)) SWIG_fail
;
23860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23862 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
23863 result
= (wxPrintData
*) &_result_ref
;
23866 wxPyEndAllowThreads(__tstate
);
23867 if (PyErr_Occurred()) SWIG_fail
;
23869 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
23876 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23877 PyObject
*resultobj
;
23878 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
23880 PyObject
* obj0
= 0 ;
23881 char *kwnames
[] = {
23882 (char *) "self", NULL
23885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
23886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
23887 if (SWIG_arg_fail(1)) SWIG_fail
;
23889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23890 result
= (wxDC
*)(arg1
)->GetPrintDC();
23892 wxPyEndAllowThreads(__tstate
);
23893 if (PyErr_Occurred()) SWIG_fail
;
23896 resultobj
= wxPyMake_wxObject(result
, 1);
23904 static PyObject
* PrintDialog_swigregister(PyObject
*, PyObject
*args
) {
23906 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23907 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
23909 return Py_BuildValue((char *)"");
23911 static PyObject
*_wrap_new_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23912 PyObject
*resultobj
;
23913 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
23915 PyObject
* obj0
= 0 ;
23916 char *kwnames
[] = {
23917 (char *) "data", NULL
23920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
23922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23923 if (SWIG_arg_fail(1)) SWIG_fail
;
23926 if (!wxPyCheckForApp()) SWIG_fail
;
23927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23928 result
= (wxPrinter
*)new wxPrinter(arg1
);
23930 wxPyEndAllowThreads(__tstate
);
23931 if (PyErr_Occurred()) SWIG_fail
;
23933 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
23940 static PyObject
*_wrap_delete_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23941 PyObject
*resultobj
;
23942 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
23943 PyObject
* obj0
= 0 ;
23944 char *kwnames
[] = {
23945 (char *) "self", NULL
23948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
23949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
23950 if (SWIG_arg_fail(1)) SWIG_fail
;
23952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23955 wxPyEndAllowThreads(__tstate
);
23956 if (PyErr_Occurred()) SWIG_fail
;
23958 Py_INCREF(Py_None
); resultobj
= Py_None
;
23965 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23966 PyObject
*resultobj
;
23967 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
23968 wxWindow
*arg2
= (wxWindow
*) 0 ;
23969 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
23971 PyObject
* obj0
= 0 ;
23972 PyObject
* obj1
= 0 ;
23973 PyObject
* obj2
= 0 ;
23974 char *kwnames
[] = {
23975 (char *) "self",(char *) "parent",(char *) "printout", NULL
23978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
23980 if (SWIG_arg_fail(1)) SWIG_fail
;
23981 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23982 if (SWIG_arg_fail(2)) SWIG_fail
;
23983 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
23984 if (SWIG_arg_fail(3)) SWIG_fail
;
23986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23987 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
23989 wxPyEndAllowThreads(__tstate
);
23990 if (PyErr_Occurred()) SWIG_fail
;
23993 resultobj
= wxPyMake_wxObject(result
, 0);
24001 static PyObject
*_wrap_Printer_ReportError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24002 PyObject
*resultobj
;
24003 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24004 wxWindow
*arg2
= (wxWindow
*) 0 ;
24005 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24006 wxString
*arg4
= 0 ;
24007 bool temp4
= false ;
24008 PyObject
* obj0
= 0 ;
24009 PyObject
* obj1
= 0 ;
24010 PyObject
* obj2
= 0 ;
24011 PyObject
* obj3
= 0 ;
24012 char *kwnames
[] = {
24013 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
24016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24018 if (SWIG_arg_fail(1)) SWIG_fail
;
24019 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24020 if (SWIG_arg_fail(2)) SWIG_fail
;
24021 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24022 if (SWIG_arg_fail(3)) SWIG_fail
;
24024 arg4
= wxString_in_helper(obj3
);
24025 if (arg4
== NULL
) SWIG_fail
;
24029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24030 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
24032 wxPyEndAllowThreads(__tstate
);
24033 if (PyErr_Occurred()) SWIG_fail
;
24035 Py_INCREF(Py_None
); resultobj
= Py_None
;
24050 static PyObject
*_wrap_Printer_Setup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24051 PyObject
*resultobj
;
24052 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24053 wxWindow
*arg2
= (wxWindow
*) 0 ;
24055 PyObject
* obj0
= 0 ;
24056 PyObject
* obj1
= 0 ;
24057 char *kwnames
[] = {
24058 (char *) "self",(char *) "parent", NULL
24061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
24062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24063 if (SWIG_arg_fail(1)) SWIG_fail
;
24064 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24065 if (SWIG_arg_fail(2)) SWIG_fail
;
24067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24068 result
= (bool)(arg1
)->Setup(arg2
);
24070 wxPyEndAllowThreads(__tstate
);
24071 if (PyErr_Occurred()) SWIG_fail
;
24074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24082 static PyObject
*_wrap_Printer_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24083 PyObject
*resultobj
;
24084 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24085 wxWindow
*arg2
= (wxWindow
*) 0 ;
24086 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24087 bool arg4
= (bool) true ;
24089 PyObject
* obj0
= 0 ;
24090 PyObject
* obj1
= 0 ;
24091 PyObject
* obj2
= 0 ;
24092 PyObject
* obj3
= 0 ;
24093 char *kwnames
[] = {
24094 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
24097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24099 if (SWIG_arg_fail(1)) SWIG_fail
;
24100 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24101 if (SWIG_arg_fail(2)) SWIG_fail
;
24102 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24103 if (SWIG_arg_fail(3)) SWIG_fail
;
24106 arg4
= (bool)(SWIG_As_bool(obj3
));
24107 if (SWIG_arg_fail(4)) SWIG_fail
;
24111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24112 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
24114 wxPyEndAllowThreads(__tstate
);
24115 if (PyErr_Occurred()) SWIG_fail
;
24118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24126 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24127 PyObject
*resultobj
;
24128 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24129 wxWindow
*arg2
= (wxWindow
*) 0 ;
24131 PyObject
* obj0
= 0 ;
24132 PyObject
* obj1
= 0 ;
24133 char *kwnames
[] = {
24134 (char *) "self",(char *) "parent", NULL
24137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
24138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24139 if (SWIG_arg_fail(1)) SWIG_fail
;
24140 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24141 if (SWIG_arg_fail(2)) SWIG_fail
;
24143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24144 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
24146 wxPyEndAllowThreads(__tstate
);
24147 if (PyErr_Occurred()) SWIG_fail
;
24150 resultobj
= wxPyMake_wxObject(result
, 0);
24158 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24159 PyObject
*resultobj
;
24160 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24161 wxPrintDialogData
*result
;
24162 PyObject
* obj0
= 0 ;
24163 char *kwnames
[] = {
24164 (char *) "self", NULL
24167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
24168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24169 if (SWIG_arg_fail(1)) SWIG_fail
;
24171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24173 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
24174 result
= (wxPrintDialogData
*) &_result_ref
;
24177 wxPyEndAllowThreads(__tstate
);
24178 if (PyErr_Occurred()) SWIG_fail
;
24180 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
24187 static PyObject
*_wrap_Printer_GetAbort(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24188 PyObject
*resultobj
;
24189 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24191 PyObject
* obj0
= 0 ;
24192 char *kwnames
[] = {
24193 (char *) "self", NULL
24196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
24197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24198 if (SWIG_arg_fail(1)) SWIG_fail
;
24200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24201 result
= (bool)(arg1
)->GetAbort();
24203 wxPyEndAllowThreads(__tstate
);
24204 if (PyErr_Occurred()) SWIG_fail
;
24207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24215 static PyObject
*_wrap_Printer_GetLastError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24216 PyObject
*resultobj
;
24217 wxPrinterError result
;
24218 char *kwnames
[] = {
24222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
24224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24225 result
= (wxPrinterError
)wxPrinter::GetLastError();
24227 wxPyEndAllowThreads(__tstate
);
24228 if (PyErr_Occurred()) SWIG_fail
;
24230 resultobj
= SWIG_From_int((result
));
24237 static PyObject
* Printer_swigregister(PyObject
*, PyObject
*args
) {
24239 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24240 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
24242 return Py_BuildValue((char *)"");
24244 static PyObject
*_wrap_new_Printout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24245 PyObject
*resultobj
;
24246 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
24247 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24248 wxPyPrintout
*result
;
24249 bool temp1
= false ;
24250 PyObject
* obj0
= 0 ;
24251 char *kwnames
[] = {
24252 (char *) "title", NULL
24255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
24258 arg1
= wxString_in_helper(obj0
);
24259 if (arg1
== NULL
) SWIG_fail
;
24264 if (!wxPyCheckForApp()) SWIG_fail
;
24265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24266 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
24268 wxPyEndAllowThreads(__tstate
);
24269 if (PyErr_Occurred()) SWIG_fail
;
24272 resultobj
= wxPyMake_wxObject(result
, 1);
24288 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24289 PyObject
*resultobj
;
24290 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24291 PyObject
*arg2
= (PyObject
*) 0 ;
24292 PyObject
*arg3
= (PyObject
*) 0 ;
24293 PyObject
* obj0
= 0 ;
24294 PyObject
* obj1
= 0 ;
24295 PyObject
* obj2
= 0 ;
24296 char *kwnames
[] = {
24297 (char *) "self",(char *) "self",(char *) "_class", NULL
24300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24302 if (SWIG_arg_fail(1)) SWIG_fail
;
24306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24307 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24309 wxPyEndAllowThreads(__tstate
);
24310 if (PyErr_Occurred()) SWIG_fail
;
24312 Py_INCREF(Py_None
); resultobj
= Py_None
;
24319 static PyObject
*_wrap_Printout_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24320 PyObject
*resultobj
;
24321 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24323 PyObject
* obj0
= 0 ;
24324 char *kwnames
[] = {
24325 (char *) "self", NULL
24328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
24329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24330 if (SWIG_arg_fail(1)) SWIG_fail
;
24332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24333 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
24335 wxPyEndAllowThreads(__tstate
);
24336 if (PyErr_Occurred()) SWIG_fail
;
24340 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24342 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24351 static PyObject
*_wrap_Printout_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24352 PyObject
*resultobj
;
24353 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24355 PyObject
* obj0
= 0 ;
24356 char *kwnames
[] = {
24357 (char *) "self", NULL
24360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
24361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24362 if (SWIG_arg_fail(1)) SWIG_fail
;
24364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24365 result
= (wxDC
*)(arg1
)->GetDC();
24367 wxPyEndAllowThreads(__tstate
);
24368 if (PyErr_Occurred()) SWIG_fail
;
24371 resultobj
= wxPyMake_wxObject(result
, 0);
24379 static PyObject
*_wrap_Printout_SetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24380 PyObject
*resultobj
;
24381 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24382 wxDC
*arg2
= (wxDC
*) 0 ;
24383 PyObject
* obj0
= 0 ;
24384 PyObject
* obj1
= 0 ;
24385 char *kwnames
[] = {
24386 (char *) "self",(char *) "dc", NULL
24389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
24390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24391 if (SWIG_arg_fail(1)) SWIG_fail
;
24392 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
24393 if (SWIG_arg_fail(2)) SWIG_fail
;
24395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24396 (arg1
)->SetDC(arg2
);
24398 wxPyEndAllowThreads(__tstate
);
24399 if (PyErr_Occurred()) SWIG_fail
;
24401 Py_INCREF(Py_None
); resultobj
= Py_None
;
24408 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24409 PyObject
*resultobj
;
24410 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24413 PyObject
* obj0
= 0 ;
24414 PyObject
* obj1
= 0 ;
24415 PyObject
* obj2
= 0 ;
24416 char *kwnames
[] = {
24417 (char *) "self",(char *) "w",(char *) "h", NULL
24420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24422 if (SWIG_arg_fail(1)) SWIG_fail
;
24424 arg2
= (int)(SWIG_As_int(obj1
));
24425 if (SWIG_arg_fail(2)) SWIG_fail
;
24428 arg3
= (int)(SWIG_As_int(obj2
));
24429 if (SWIG_arg_fail(3)) SWIG_fail
;
24432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24433 (arg1
)->SetPageSizePixels(arg2
,arg3
);
24435 wxPyEndAllowThreads(__tstate
);
24436 if (PyErr_Occurred()) SWIG_fail
;
24438 Py_INCREF(Py_None
); resultobj
= Py_None
;
24445 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24446 PyObject
*resultobj
;
24447 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24448 int *arg2
= (int *) 0 ;
24449 int *arg3
= (int *) 0 ;
24454 PyObject
* obj0
= 0 ;
24455 char *kwnames
[] = {
24456 (char *) "self", NULL
24459 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24460 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
24462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24463 if (SWIG_arg_fail(1)) SWIG_fail
;
24465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24466 (arg1
)->GetPageSizePixels(arg2
,arg3
);
24468 wxPyEndAllowThreads(__tstate
);
24469 if (PyErr_Occurred()) SWIG_fail
;
24471 Py_INCREF(Py_None
); resultobj
= Py_None
;
24472 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24473 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24474 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24475 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24482 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24483 PyObject
*resultobj
;
24484 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24487 PyObject
* obj0
= 0 ;
24488 PyObject
* obj1
= 0 ;
24489 PyObject
* obj2
= 0 ;
24490 char *kwnames
[] = {
24491 (char *) "self",(char *) "w",(char *) "h", NULL
24494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24496 if (SWIG_arg_fail(1)) SWIG_fail
;
24498 arg2
= (int)(SWIG_As_int(obj1
));
24499 if (SWIG_arg_fail(2)) SWIG_fail
;
24502 arg3
= (int)(SWIG_As_int(obj2
));
24503 if (SWIG_arg_fail(3)) SWIG_fail
;
24506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24507 (arg1
)->SetPageSizeMM(arg2
,arg3
);
24509 wxPyEndAllowThreads(__tstate
);
24510 if (PyErr_Occurred()) SWIG_fail
;
24512 Py_INCREF(Py_None
); resultobj
= Py_None
;
24519 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24520 PyObject
*resultobj
;
24521 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24522 int *arg2
= (int *) 0 ;
24523 int *arg3
= (int *) 0 ;
24528 PyObject
* obj0
= 0 ;
24529 char *kwnames
[] = {
24530 (char *) "self", NULL
24533 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24534 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
24536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24537 if (SWIG_arg_fail(1)) SWIG_fail
;
24539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24540 (arg1
)->GetPageSizeMM(arg2
,arg3
);
24542 wxPyEndAllowThreads(__tstate
);
24543 if (PyErr_Occurred()) SWIG_fail
;
24545 Py_INCREF(Py_None
); resultobj
= Py_None
;
24546 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24547 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24548 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24549 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24556 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24557 PyObject
*resultobj
;
24558 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24561 PyObject
* obj0
= 0 ;
24562 PyObject
* obj1
= 0 ;
24563 PyObject
* obj2
= 0 ;
24564 char *kwnames
[] = {
24565 (char *) "self",(char *) "x",(char *) "y", NULL
24568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24570 if (SWIG_arg_fail(1)) SWIG_fail
;
24572 arg2
= (int)(SWIG_As_int(obj1
));
24573 if (SWIG_arg_fail(2)) SWIG_fail
;
24576 arg3
= (int)(SWIG_As_int(obj2
));
24577 if (SWIG_arg_fail(3)) SWIG_fail
;
24580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24581 (arg1
)->SetPPIScreen(arg2
,arg3
);
24583 wxPyEndAllowThreads(__tstate
);
24584 if (PyErr_Occurred()) SWIG_fail
;
24586 Py_INCREF(Py_None
); resultobj
= Py_None
;
24593 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24594 PyObject
*resultobj
;
24595 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24596 int *arg2
= (int *) 0 ;
24597 int *arg3
= (int *) 0 ;
24602 PyObject
* obj0
= 0 ;
24603 char *kwnames
[] = {
24604 (char *) "self", NULL
24607 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24608 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
24610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24611 if (SWIG_arg_fail(1)) SWIG_fail
;
24613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24614 (arg1
)->GetPPIScreen(arg2
,arg3
);
24616 wxPyEndAllowThreads(__tstate
);
24617 if (PyErr_Occurred()) SWIG_fail
;
24619 Py_INCREF(Py_None
); resultobj
= Py_None
;
24620 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24621 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24622 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24623 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24630 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24631 PyObject
*resultobj
;
24632 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24635 PyObject
* obj0
= 0 ;
24636 PyObject
* obj1
= 0 ;
24637 PyObject
* obj2
= 0 ;
24638 char *kwnames
[] = {
24639 (char *) "self",(char *) "x",(char *) "y", NULL
24642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24644 if (SWIG_arg_fail(1)) SWIG_fail
;
24646 arg2
= (int)(SWIG_As_int(obj1
));
24647 if (SWIG_arg_fail(2)) SWIG_fail
;
24650 arg3
= (int)(SWIG_As_int(obj2
));
24651 if (SWIG_arg_fail(3)) SWIG_fail
;
24654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24655 (arg1
)->SetPPIPrinter(arg2
,arg3
);
24657 wxPyEndAllowThreads(__tstate
);
24658 if (PyErr_Occurred()) SWIG_fail
;
24660 Py_INCREF(Py_None
); resultobj
= Py_None
;
24667 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24668 PyObject
*resultobj
;
24669 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24670 int *arg2
= (int *) 0 ;
24671 int *arg3
= (int *) 0 ;
24676 PyObject
* obj0
= 0 ;
24677 char *kwnames
[] = {
24678 (char *) "self", NULL
24681 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24682 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
24684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24685 if (SWIG_arg_fail(1)) SWIG_fail
;
24687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24688 (arg1
)->GetPPIPrinter(arg2
,arg3
);
24690 wxPyEndAllowThreads(__tstate
);
24691 if (PyErr_Occurred()) SWIG_fail
;
24693 Py_INCREF(Py_None
); resultobj
= Py_None
;
24694 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24695 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24696 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24697 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24704 static PyObject
*_wrap_Printout_IsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24705 PyObject
*resultobj
;
24706 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24708 PyObject
* obj0
= 0 ;
24709 char *kwnames
[] = {
24710 (char *) "self", NULL
24713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
24714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24715 if (SWIG_arg_fail(1)) SWIG_fail
;
24717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24718 result
= (bool)(arg1
)->IsPreview();
24720 wxPyEndAllowThreads(__tstate
);
24721 if (PyErr_Occurred()) SWIG_fail
;
24724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24732 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24733 PyObject
*resultobj
;
24734 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24736 PyObject
* obj0
= 0 ;
24737 PyObject
* obj1
= 0 ;
24738 char *kwnames
[] = {
24739 (char *) "self",(char *) "p", NULL
24742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
24743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24744 if (SWIG_arg_fail(1)) SWIG_fail
;
24746 arg2
= (bool)(SWIG_As_bool(obj1
));
24747 if (SWIG_arg_fail(2)) SWIG_fail
;
24750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24751 (arg1
)->SetIsPreview(arg2
);
24753 wxPyEndAllowThreads(__tstate
);
24754 if (PyErr_Occurred()) SWIG_fail
;
24756 Py_INCREF(Py_None
); resultobj
= Py_None
;
24763 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24764 PyObject
*resultobj
;
24765 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24769 PyObject
* obj0
= 0 ;
24770 PyObject
* obj1
= 0 ;
24771 PyObject
* obj2
= 0 ;
24772 char *kwnames
[] = {
24773 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
24776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24778 if (SWIG_arg_fail(1)) SWIG_fail
;
24780 arg2
= (int)(SWIG_As_int(obj1
));
24781 if (SWIG_arg_fail(2)) SWIG_fail
;
24784 arg3
= (int)(SWIG_As_int(obj2
));
24785 if (SWIG_arg_fail(3)) SWIG_fail
;
24788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24789 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
24791 wxPyEndAllowThreads(__tstate
);
24792 if (PyErr_Occurred()) SWIG_fail
;
24795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24803 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24804 PyObject
*resultobj
;
24805 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24806 PyObject
* obj0
= 0 ;
24807 char *kwnames
[] = {
24808 (char *) "self", NULL
24811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
24812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24813 if (SWIG_arg_fail(1)) SWIG_fail
;
24815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24816 (arg1
)->base_OnEndDocument();
24818 wxPyEndAllowThreads(__tstate
);
24819 if (PyErr_Occurred()) SWIG_fail
;
24821 Py_INCREF(Py_None
); resultobj
= Py_None
;
24828 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24829 PyObject
*resultobj
;
24830 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24831 PyObject
* obj0
= 0 ;
24832 char *kwnames
[] = {
24833 (char *) "self", NULL
24836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
24837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24838 if (SWIG_arg_fail(1)) SWIG_fail
;
24840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24841 (arg1
)->base_OnBeginPrinting();
24843 wxPyEndAllowThreads(__tstate
);
24844 if (PyErr_Occurred()) SWIG_fail
;
24846 Py_INCREF(Py_None
); resultobj
= Py_None
;
24853 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24854 PyObject
*resultobj
;
24855 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24856 PyObject
* obj0
= 0 ;
24857 char *kwnames
[] = {
24858 (char *) "self", NULL
24861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
24862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24863 if (SWIG_arg_fail(1)) SWIG_fail
;
24865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24866 (arg1
)->base_OnEndPrinting();
24868 wxPyEndAllowThreads(__tstate
);
24869 if (PyErr_Occurred()) SWIG_fail
;
24871 Py_INCREF(Py_None
); resultobj
= Py_None
;
24878 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24879 PyObject
*resultobj
;
24880 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24881 PyObject
* obj0
= 0 ;
24882 char *kwnames
[] = {
24883 (char *) "self", NULL
24886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
24887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24888 if (SWIG_arg_fail(1)) SWIG_fail
;
24890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24891 (arg1
)->base_OnPreparePrinting();
24893 wxPyEndAllowThreads(__tstate
);
24894 if (PyErr_Occurred()) SWIG_fail
;
24896 Py_INCREF(Py_None
); resultobj
= Py_None
;
24903 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24904 PyObject
*resultobj
;
24905 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24908 PyObject
* obj0
= 0 ;
24909 PyObject
* obj1
= 0 ;
24910 char *kwnames
[] = {
24911 (char *) "self",(char *) "page", NULL
24914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24916 if (SWIG_arg_fail(1)) SWIG_fail
;
24918 arg2
= (int)(SWIG_As_int(obj1
));
24919 if (SWIG_arg_fail(2)) SWIG_fail
;
24922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24923 result
= (bool)(arg1
)->base_HasPage(arg2
);
24925 wxPyEndAllowThreads(__tstate
);
24926 if (PyErr_Occurred()) SWIG_fail
;
24929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24937 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24938 PyObject
*resultobj
;
24939 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24940 int *arg2
= (int *) 0 ;
24941 int *arg3
= (int *) 0 ;
24942 int *arg4
= (int *) 0 ;
24943 int *arg5
= (int *) 0 ;
24952 PyObject
* obj0
= 0 ;
24953 char *kwnames
[] = {
24954 (char *) "self", NULL
24957 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24958 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24959 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
24960 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
24961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
24962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24963 if (SWIG_arg_fail(1)) SWIG_fail
;
24965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24966 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
24968 wxPyEndAllowThreads(__tstate
);
24969 if (PyErr_Occurred()) SWIG_fail
;
24971 Py_INCREF(Py_None
); resultobj
= Py_None
;
24972 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24973 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24974 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24975 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24976 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
24977 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
24978 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
24979 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
24986 static PyObject
* Printout_swigregister(PyObject
*, PyObject
*args
) {
24988 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24989 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
24991 return Py_BuildValue((char *)"");
24993 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24994 PyObject
*resultobj
;
24995 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24996 wxWindow
*arg2
= (wxWindow
*) 0 ;
24997 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24998 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24999 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25000 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25001 long arg5
= (long) 0 ;
25002 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
25003 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25004 wxPreviewCanvas
*result
;
25007 bool temp6
= false ;
25008 PyObject
* obj0
= 0 ;
25009 PyObject
* obj1
= 0 ;
25010 PyObject
* obj2
= 0 ;
25011 PyObject
* obj3
= 0 ;
25012 PyObject
* obj4
= 0 ;
25013 PyObject
* obj5
= 0 ;
25014 char *kwnames
[] = {
25015 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25020 if (SWIG_arg_fail(1)) SWIG_fail
;
25021 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25022 if (SWIG_arg_fail(2)) SWIG_fail
;
25026 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25032 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25037 arg5
= (long)(SWIG_As_long(obj4
));
25038 if (SWIG_arg_fail(5)) SWIG_fail
;
25043 arg6
= wxString_in_helper(obj5
);
25044 if (arg6
== NULL
) SWIG_fail
;
25049 if (!wxPyCheckForApp()) SWIG_fail
;
25050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25051 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25053 wxPyEndAllowThreads(__tstate
);
25054 if (PyErr_Occurred()) SWIG_fail
;
25056 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
25071 static PyObject
* PreviewCanvas_swigregister(PyObject
*, PyObject
*args
) {
25073 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25074 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
25076 return Py_BuildValue((char *)"");
25078 static PyObject
*_wrap_new_PreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25079 PyObject
*resultobj
;
25080 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25081 wxFrame
*arg2
= (wxFrame
*) 0 ;
25082 wxString
*arg3
= 0 ;
25083 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25084 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25085 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25086 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25087 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
25088 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
25089 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25090 wxPreviewFrame
*result
;
25091 bool temp3
= false ;
25094 bool temp7
= false ;
25095 PyObject
* obj0
= 0 ;
25096 PyObject
* obj1
= 0 ;
25097 PyObject
* obj2
= 0 ;
25098 PyObject
* obj3
= 0 ;
25099 PyObject
* obj4
= 0 ;
25100 PyObject
* obj5
= 0 ;
25101 PyObject
* obj6
= 0 ;
25102 char *kwnames
[] = {
25103 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25108 if (SWIG_arg_fail(1)) SWIG_fail
;
25109 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
25110 if (SWIG_arg_fail(2)) SWIG_fail
;
25112 arg3
= wxString_in_helper(obj2
);
25113 if (arg3
== NULL
) SWIG_fail
;
25119 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25125 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25130 arg6
= (long)(SWIG_As_long(obj5
));
25131 if (SWIG_arg_fail(6)) SWIG_fail
;
25136 arg7
= wxString_in_helper(obj6
);
25137 if (arg7
== NULL
) SWIG_fail
;
25142 if (!wxPyCheckForApp()) SWIG_fail
;
25143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25144 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25146 wxPyEndAllowThreads(__tstate
);
25147 if (PyErr_Occurred()) SWIG_fail
;
25149 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
25172 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25173 PyObject
*resultobj
;
25174 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25175 PyObject
* obj0
= 0 ;
25176 char *kwnames
[] = {
25177 (char *) "self", NULL
25180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
25181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25182 if (SWIG_arg_fail(1)) SWIG_fail
;
25184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25185 (arg1
)->Initialize();
25187 wxPyEndAllowThreads(__tstate
);
25188 if (PyErr_Occurred()) SWIG_fail
;
25190 Py_INCREF(Py_None
); resultobj
= Py_None
;
25197 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25198 PyObject
*resultobj
;
25199 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25200 PyObject
* obj0
= 0 ;
25201 char *kwnames
[] = {
25202 (char *) "self", NULL
25205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
25206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25207 if (SWIG_arg_fail(1)) SWIG_fail
;
25209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25210 (arg1
)->CreateControlBar();
25212 wxPyEndAllowThreads(__tstate
);
25213 if (PyErr_Occurred()) SWIG_fail
;
25215 Py_INCREF(Py_None
); resultobj
= Py_None
;
25222 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25223 PyObject
*resultobj
;
25224 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25225 PyObject
* obj0
= 0 ;
25226 char *kwnames
[] = {
25227 (char *) "self", NULL
25230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
25231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25232 if (SWIG_arg_fail(1)) SWIG_fail
;
25234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25235 (arg1
)->CreateCanvas();
25237 wxPyEndAllowThreads(__tstate
);
25238 if (PyErr_Occurred()) SWIG_fail
;
25240 Py_INCREF(Py_None
); resultobj
= Py_None
;
25247 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25248 PyObject
*resultobj
;
25249 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25250 wxPreviewControlBar
*result
;
25251 PyObject
* obj0
= 0 ;
25252 char *kwnames
[] = {
25253 (char *) "self", NULL
25256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
25257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25258 if (SWIG_arg_fail(1)) SWIG_fail
;
25260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25261 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
25263 wxPyEndAllowThreads(__tstate
);
25264 if (PyErr_Occurred()) SWIG_fail
;
25266 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
25273 static PyObject
* PreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
25275 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25276 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
25278 return Py_BuildValue((char *)"");
25280 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25281 PyObject
*resultobj
;
25282 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25284 wxWindow
*arg3
= (wxWindow
*) 0 ;
25285 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25286 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25287 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25288 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25289 long arg6
= (long) wxTAB_TRAVERSAL
;
25290 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
25291 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25292 wxPreviewControlBar
*result
;
25295 bool temp7
= false ;
25296 PyObject
* obj0
= 0 ;
25297 PyObject
* obj1
= 0 ;
25298 PyObject
* obj2
= 0 ;
25299 PyObject
* obj3
= 0 ;
25300 PyObject
* obj4
= 0 ;
25301 PyObject
* obj5
= 0 ;
25302 PyObject
* obj6
= 0 ;
25303 char *kwnames
[] = {
25304 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25309 if (SWIG_arg_fail(1)) SWIG_fail
;
25311 arg2
= (long)(SWIG_As_long(obj1
));
25312 if (SWIG_arg_fail(2)) SWIG_fail
;
25314 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25315 if (SWIG_arg_fail(3)) SWIG_fail
;
25319 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25325 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25330 arg6
= (long)(SWIG_As_long(obj5
));
25331 if (SWIG_arg_fail(6)) SWIG_fail
;
25336 arg7
= wxString_in_helper(obj6
);
25337 if (arg7
== NULL
) SWIG_fail
;
25342 if (!wxPyCheckForApp()) SWIG_fail
;
25343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25344 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25346 wxPyEndAllowThreads(__tstate
);
25347 if (PyErr_Occurred()) SWIG_fail
;
25349 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
25364 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25365 PyObject
*resultobj
;
25366 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25368 PyObject
* obj0
= 0 ;
25369 char *kwnames
[] = {
25370 (char *) "self", NULL
25373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
25374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25375 if (SWIG_arg_fail(1)) SWIG_fail
;
25377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25378 result
= (int)(arg1
)->GetZoomControl();
25380 wxPyEndAllowThreads(__tstate
);
25381 if (PyErr_Occurred()) SWIG_fail
;
25384 resultobj
= SWIG_From_int((int)(result
));
25392 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25393 PyObject
*resultobj
;
25394 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25396 PyObject
* obj0
= 0 ;
25397 PyObject
* obj1
= 0 ;
25398 char *kwnames
[] = {
25399 (char *) "self",(char *) "zoom", NULL
25402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
25403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25404 if (SWIG_arg_fail(1)) SWIG_fail
;
25406 arg2
= (int)(SWIG_As_int(obj1
));
25407 if (SWIG_arg_fail(2)) SWIG_fail
;
25410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25411 (arg1
)->SetZoomControl(arg2
);
25413 wxPyEndAllowThreads(__tstate
);
25414 if (PyErr_Occurred()) SWIG_fail
;
25416 Py_INCREF(Py_None
); resultobj
= Py_None
;
25423 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25424 PyObject
*resultobj
;
25425 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25426 wxPrintPreview
*result
;
25427 PyObject
* obj0
= 0 ;
25428 char *kwnames
[] = {
25429 (char *) "self", NULL
25432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
25433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25434 if (SWIG_arg_fail(1)) SWIG_fail
;
25436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25437 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
25439 wxPyEndAllowThreads(__tstate
);
25440 if (PyErr_Occurred()) SWIG_fail
;
25442 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
25449 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25450 PyObject
*resultobj
;
25451 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25452 PyObject
* obj0
= 0 ;
25453 char *kwnames
[] = {
25454 (char *) "self", NULL
25457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
25458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25459 if (SWIG_arg_fail(1)) SWIG_fail
;
25461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25464 wxPyEndAllowThreads(__tstate
);
25465 if (PyErr_Occurred()) SWIG_fail
;
25467 Py_INCREF(Py_None
); resultobj
= Py_None
;
25474 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25475 PyObject
*resultobj
;
25476 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25477 PyObject
* obj0
= 0 ;
25478 char *kwnames
[] = {
25479 (char *) "self", NULL
25482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
25483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25484 if (SWIG_arg_fail(1)) SWIG_fail
;
25486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25487 (arg1
)->OnPrevious();
25489 wxPyEndAllowThreads(__tstate
);
25490 if (PyErr_Occurred()) SWIG_fail
;
25492 Py_INCREF(Py_None
); resultobj
= Py_None
;
25499 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25500 PyObject
*resultobj
;
25501 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25502 PyObject
* obj0
= 0 ;
25503 char *kwnames
[] = {
25504 (char *) "self", NULL
25507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
25508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25509 if (SWIG_arg_fail(1)) SWIG_fail
;
25511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25514 wxPyEndAllowThreads(__tstate
);
25515 if (PyErr_Occurred()) SWIG_fail
;
25517 Py_INCREF(Py_None
); resultobj
= Py_None
;
25524 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25525 PyObject
*resultobj
;
25526 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25527 PyObject
* obj0
= 0 ;
25528 char *kwnames
[] = {
25529 (char *) "self", NULL
25532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
25533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25534 if (SWIG_arg_fail(1)) SWIG_fail
;
25536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25539 wxPyEndAllowThreads(__tstate
);
25540 if (PyErr_Occurred()) SWIG_fail
;
25542 Py_INCREF(Py_None
); resultobj
= Py_None
;
25549 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25550 PyObject
*resultobj
;
25551 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25552 PyObject
* obj0
= 0 ;
25553 char *kwnames
[] = {
25554 (char *) "self", NULL
25557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
25558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25559 if (SWIG_arg_fail(1)) SWIG_fail
;
25561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25564 wxPyEndAllowThreads(__tstate
);
25565 if (PyErr_Occurred()) SWIG_fail
;
25567 Py_INCREF(Py_None
); resultobj
= Py_None
;
25574 static PyObject
* PreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
25576 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25577 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
25579 return Py_BuildValue((char *)"");
25581 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
25582 PyObject
*resultobj
;
25583 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25584 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
25585 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
25586 wxPrintPreview
*result
;
25587 PyObject
* obj0
= 0 ;
25588 PyObject
* obj1
= 0 ;
25589 PyObject
* obj2
= 0 ;
25591 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
25592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25593 if (SWIG_arg_fail(1)) SWIG_fail
;
25594 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25595 if (SWIG_arg_fail(2)) SWIG_fail
;
25597 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
25598 if (SWIG_arg_fail(3)) SWIG_fail
;
25601 if (!wxPyCheckForApp()) SWIG_fail
;
25602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25603 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
25605 wxPyEndAllowThreads(__tstate
);
25606 if (PyErr_Occurred()) SWIG_fail
;
25608 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
25615 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
25616 PyObject
*resultobj
;
25617 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25618 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
25619 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
25620 wxPrintPreview
*result
;
25621 PyObject
* obj0
= 0 ;
25622 PyObject
* obj1
= 0 ;
25623 PyObject
* obj2
= 0 ;
25625 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
25626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25627 if (SWIG_arg_fail(1)) SWIG_fail
;
25628 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25629 if (SWIG_arg_fail(2)) SWIG_fail
;
25630 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
25631 if (SWIG_arg_fail(3)) SWIG_fail
;
25633 if (!wxPyCheckForApp()) SWIG_fail
;
25634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25635 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
25637 wxPyEndAllowThreads(__tstate
);
25638 if (PyErr_Occurred()) SWIG_fail
;
25640 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
25647 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
25652 argc
= PyObject_Length(args
);
25653 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
25654 argv
[ii
] = PyTuple_GetItem(args
,ii
);
25656 if ((argc
>= 2) && (argc
<= 3)) {
25660 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25670 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25679 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
25683 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
25691 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
25700 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25710 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25720 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
25728 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
25734 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
25739 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25740 PyObject
*resultobj
;
25741 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25744 PyObject
* obj0
= 0 ;
25745 PyObject
* obj1
= 0 ;
25746 char *kwnames
[] = {
25747 (char *) "self",(char *) "pageNum", NULL
25750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
25751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25752 if (SWIG_arg_fail(1)) SWIG_fail
;
25754 arg2
= (int)(SWIG_As_int(obj1
));
25755 if (SWIG_arg_fail(2)) SWIG_fail
;
25758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25759 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
25761 wxPyEndAllowThreads(__tstate
);
25762 if (PyErr_Occurred()) SWIG_fail
;
25765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25773 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25774 PyObject
*resultobj
;
25775 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25777 PyObject
* obj0
= 0 ;
25778 char *kwnames
[] = {
25779 (char *) "self", NULL
25782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
25783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25784 if (SWIG_arg_fail(1)) SWIG_fail
;
25786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25787 result
= (int)(arg1
)->GetCurrentPage();
25789 wxPyEndAllowThreads(__tstate
);
25790 if (PyErr_Occurred()) SWIG_fail
;
25793 resultobj
= SWIG_From_int((int)(result
));
25801 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25802 PyObject
*resultobj
;
25803 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25804 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
25805 PyObject
* obj0
= 0 ;
25806 PyObject
* obj1
= 0 ;
25807 char *kwnames
[] = {
25808 (char *) "self",(char *) "printout", NULL
25811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
25812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25813 if (SWIG_arg_fail(1)) SWIG_fail
;
25814 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25815 if (SWIG_arg_fail(2)) SWIG_fail
;
25817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25818 (arg1
)->SetPrintout(arg2
);
25820 wxPyEndAllowThreads(__tstate
);
25821 if (PyErr_Occurred()) SWIG_fail
;
25823 Py_INCREF(Py_None
); resultobj
= Py_None
;
25830 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25831 PyObject
*resultobj
;
25832 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25833 wxPyPrintout
*result
;
25834 PyObject
* obj0
= 0 ;
25835 char *kwnames
[] = {
25836 (char *) "self", NULL
25839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
25840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25841 if (SWIG_arg_fail(1)) SWIG_fail
;
25843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25844 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
25846 wxPyEndAllowThreads(__tstate
);
25847 if (PyErr_Occurred()) SWIG_fail
;
25850 resultobj
= wxPyMake_wxObject(result
, 0);
25858 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25859 PyObject
*resultobj
;
25860 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25861 wxPyPrintout
*result
;
25862 PyObject
* obj0
= 0 ;
25863 char *kwnames
[] = {
25864 (char *) "self", NULL
25867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
25868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25869 if (SWIG_arg_fail(1)) SWIG_fail
;
25871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25872 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
25874 wxPyEndAllowThreads(__tstate
);
25875 if (PyErr_Occurred()) SWIG_fail
;
25878 resultobj
= wxPyMake_wxObject(result
, 0);
25886 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25887 PyObject
*resultobj
;
25888 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25889 wxFrame
*arg2
= (wxFrame
*) 0 ;
25890 PyObject
* obj0
= 0 ;
25891 PyObject
* obj1
= 0 ;
25892 char *kwnames
[] = {
25893 (char *) "self",(char *) "frame", NULL
25896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
25897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25898 if (SWIG_arg_fail(1)) SWIG_fail
;
25899 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
25900 if (SWIG_arg_fail(2)) SWIG_fail
;
25902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25903 (arg1
)->SetFrame(arg2
);
25905 wxPyEndAllowThreads(__tstate
);
25906 if (PyErr_Occurred()) SWIG_fail
;
25908 Py_INCREF(Py_None
); resultobj
= Py_None
;
25915 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25916 PyObject
*resultobj
;
25917 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25918 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
25919 PyObject
* obj0
= 0 ;
25920 PyObject
* obj1
= 0 ;
25921 char *kwnames
[] = {
25922 (char *) "self",(char *) "canvas", NULL
25925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
25926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25927 if (SWIG_arg_fail(1)) SWIG_fail
;
25928 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
25929 if (SWIG_arg_fail(2)) SWIG_fail
;
25931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25932 (arg1
)->SetCanvas(arg2
);
25934 wxPyEndAllowThreads(__tstate
);
25935 if (PyErr_Occurred()) SWIG_fail
;
25937 Py_INCREF(Py_None
); resultobj
= Py_None
;
25944 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25945 PyObject
*resultobj
;
25946 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25948 PyObject
* obj0
= 0 ;
25949 char *kwnames
[] = {
25950 (char *) "self", NULL
25953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
25954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25955 if (SWIG_arg_fail(1)) SWIG_fail
;
25957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25958 result
= (wxFrame
*)(arg1
)->GetFrame();
25960 wxPyEndAllowThreads(__tstate
);
25961 if (PyErr_Occurred()) SWIG_fail
;
25964 resultobj
= wxPyMake_wxObject(result
, 0);
25972 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25973 PyObject
*resultobj
;
25974 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25975 wxPreviewCanvas
*result
;
25976 PyObject
* obj0
= 0 ;
25977 char *kwnames
[] = {
25978 (char *) "self", NULL
25981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
25982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25983 if (SWIG_arg_fail(1)) SWIG_fail
;
25985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25986 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
25988 wxPyEndAllowThreads(__tstate
);
25989 if (PyErr_Occurred()) SWIG_fail
;
25991 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
25998 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25999 PyObject
*resultobj
;
26000 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26001 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26004 PyObject
* obj0
= 0 ;
26005 PyObject
* obj1
= 0 ;
26006 PyObject
* obj2
= 0 ;
26007 char *kwnames
[] = {
26008 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26013 if (SWIG_arg_fail(1)) SWIG_fail
;
26014 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26015 if (SWIG_arg_fail(2)) SWIG_fail
;
26017 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26018 if (SWIG_arg_fail(3)) SWIG_fail
;
26019 if (arg3
== NULL
) {
26020 SWIG_null_ref("wxDC");
26022 if (SWIG_arg_fail(3)) SWIG_fail
;
26025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26026 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
26028 wxPyEndAllowThreads(__tstate
);
26029 if (PyErr_Occurred()) SWIG_fail
;
26032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26040 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26041 PyObject
*resultobj
;
26042 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26043 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26046 PyObject
* obj0
= 0 ;
26047 PyObject
* obj1
= 0 ;
26048 PyObject
* obj2
= 0 ;
26049 char *kwnames
[] = {
26050 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26055 if (SWIG_arg_fail(1)) SWIG_fail
;
26056 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26057 if (SWIG_arg_fail(2)) SWIG_fail
;
26059 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26060 if (SWIG_arg_fail(3)) SWIG_fail
;
26061 if (arg3
== NULL
) {
26062 SWIG_null_ref("wxDC");
26064 if (SWIG_arg_fail(3)) SWIG_fail
;
26067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26068 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
26070 wxPyEndAllowThreads(__tstate
);
26071 if (PyErr_Occurred()) SWIG_fail
;
26074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26082 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26083 PyObject
*resultobj
;
26084 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26087 PyObject
* obj0
= 0 ;
26088 PyObject
* obj1
= 0 ;
26089 char *kwnames
[] = {
26090 (char *) "self",(char *) "pageNum", NULL
26093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26095 if (SWIG_arg_fail(1)) SWIG_fail
;
26097 arg2
= (int)(SWIG_As_int(obj1
));
26098 if (SWIG_arg_fail(2)) SWIG_fail
;
26101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26102 result
= (bool)(arg1
)->RenderPage(arg2
);
26104 wxPyEndAllowThreads(__tstate
);
26105 if (PyErr_Occurred()) SWIG_fail
;
26108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26116 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26117 PyObject
*resultobj
;
26118 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26119 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26120 PyObject
* obj0
= 0 ;
26121 PyObject
* obj1
= 0 ;
26122 char *kwnames
[] = {
26123 (char *) "self",(char *) "canvas", NULL
26126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
26127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26128 if (SWIG_arg_fail(1)) SWIG_fail
;
26129 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26130 if (SWIG_arg_fail(2)) SWIG_fail
;
26132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26133 (arg1
)->AdjustScrollbars(arg2
);
26135 wxPyEndAllowThreads(__tstate
);
26136 if (PyErr_Occurred()) SWIG_fail
;
26138 Py_INCREF(Py_None
); resultobj
= Py_None
;
26145 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26146 PyObject
*resultobj
;
26147 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26148 wxPrintDialogData
*result
;
26149 PyObject
* obj0
= 0 ;
26150 char *kwnames
[] = {
26151 (char *) "self", NULL
26154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
26155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26156 if (SWIG_arg_fail(1)) SWIG_fail
;
26158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26160 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
26161 result
= (wxPrintDialogData
*) &_result_ref
;
26164 wxPyEndAllowThreads(__tstate
);
26165 if (PyErr_Occurred()) SWIG_fail
;
26167 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
26174 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26175 PyObject
*resultobj
;
26176 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26178 PyObject
* obj0
= 0 ;
26179 PyObject
* obj1
= 0 ;
26180 char *kwnames
[] = {
26181 (char *) "self",(char *) "percent", NULL
26184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
26185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26186 if (SWIG_arg_fail(1)) SWIG_fail
;
26188 arg2
= (int)(SWIG_As_int(obj1
));
26189 if (SWIG_arg_fail(2)) SWIG_fail
;
26192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26193 (arg1
)->SetZoom(arg2
);
26195 wxPyEndAllowThreads(__tstate
);
26196 if (PyErr_Occurred()) SWIG_fail
;
26198 Py_INCREF(Py_None
); resultobj
= Py_None
;
26205 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26206 PyObject
*resultobj
;
26207 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26209 PyObject
* obj0
= 0 ;
26210 char *kwnames
[] = {
26211 (char *) "self", NULL
26214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
26215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26216 if (SWIG_arg_fail(1)) SWIG_fail
;
26218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26219 result
= (int)(arg1
)->GetZoom();
26221 wxPyEndAllowThreads(__tstate
);
26222 if (PyErr_Occurred()) SWIG_fail
;
26225 resultobj
= SWIG_From_int((int)(result
));
26233 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26234 PyObject
*resultobj
;
26235 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26237 PyObject
* obj0
= 0 ;
26238 char *kwnames
[] = {
26239 (char *) "self", NULL
26242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
26243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26244 if (SWIG_arg_fail(1)) SWIG_fail
;
26246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26247 result
= (int)(arg1
)->GetMaxPage();
26249 wxPyEndAllowThreads(__tstate
);
26250 if (PyErr_Occurred()) SWIG_fail
;
26253 resultobj
= SWIG_From_int((int)(result
));
26261 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26262 PyObject
*resultobj
;
26263 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26265 PyObject
* obj0
= 0 ;
26266 char *kwnames
[] = {
26267 (char *) "self", NULL
26270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
26271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26272 if (SWIG_arg_fail(1)) SWIG_fail
;
26274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26275 result
= (int)(arg1
)->GetMinPage();
26277 wxPyEndAllowThreads(__tstate
);
26278 if (PyErr_Occurred()) SWIG_fail
;
26281 resultobj
= SWIG_From_int((int)(result
));
26289 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26290 PyObject
*resultobj
;
26291 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26293 PyObject
* obj0
= 0 ;
26294 char *kwnames
[] = {
26295 (char *) "self", NULL
26298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
26299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26300 if (SWIG_arg_fail(1)) SWIG_fail
;
26302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26303 result
= (bool)(arg1
)->Ok();
26305 wxPyEndAllowThreads(__tstate
);
26306 if (PyErr_Occurred()) SWIG_fail
;
26309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26317 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26318 PyObject
*resultobj
;
26319 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26321 PyObject
* obj0
= 0 ;
26322 PyObject
* obj1
= 0 ;
26323 char *kwnames
[] = {
26324 (char *) "self",(char *) "ok", NULL
26327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
26328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26329 if (SWIG_arg_fail(1)) SWIG_fail
;
26331 arg2
= (bool)(SWIG_As_bool(obj1
));
26332 if (SWIG_arg_fail(2)) SWIG_fail
;
26335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26336 (arg1
)->SetOk(arg2
);
26338 wxPyEndAllowThreads(__tstate
);
26339 if (PyErr_Occurred()) SWIG_fail
;
26341 Py_INCREF(Py_None
); resultobj
= Py_None
;
26348 static PyObject
*_wrap_PrintPreview_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26349 PyObject
*resultobj
;
26350 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26353 PyObject
* obj0
= 0 ;
26354 PyObject
* obj1
= 0 ;
26355 char *kwnames
[] = {
26356 (char *) "self",(char *) "interactive", NULL
26359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
26360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26361 if (SWIG_arg_fail(1)) SWIG_fail
;
26363 arg2
= (bool)(SWIG_As_bool(obj1
));
26364 if (SWIG_arg_fail(2)) SWIG_fail
;
26367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26368 result
= (bool)(arg1
)->Print(arg2
);
26370 wxPyEndAllowThreads(__tstate
);
26371 if (PyErr_Occurred()) SWIG_fail
;
26374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26382 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26383 PyObject
*resultobj
;
26384 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26385 PyObject
* obj0
= 0 ;
26386 char *kwnames
[] = {
26387 (char *) "self", NULL
26390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
26391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26392 if (SWIG_arg_fail(1)) SWIG_fail
;
26394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26395 (arg1
)->DetermineScaling();
26397 wxPyEndAllowThreads(__tstate
);
26398 if (PyErr_Occurred()) SWIG_fail
;
26400 Py_INCREF(Py_None
); resultobj
= Py_None
;
26407 static PyObject
* PrintPreview_swigregister(PyObject
*, PyObject
*args
) {
26409 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26410 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
26412 return Py_BuildValue((char *)"");
26414 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
26415 PyObject
*resultobj
;
26416 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
26417 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26418 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
26419 wxPyPrintPreview
*result
;
26420 PyObject
* obj0
= 0 ;
26421 PyObject
* obj1
= 0 ;
26422 PyObject
* obj2
= 0 ;
26424 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
26425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26426 if (SWIG_arg_fail(1)) SWIG_fail
;
26427 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26428 if (SWIG_arg_fail(2)) SWIG_fail
;
26430 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
26431 if (SWIG_arg_fail(3)) SWIG_fail
;
26434 if (!wxPyCheckForApp()) SWIG_fail
;
26435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26436 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
26438 wxPyEndAllowThreads(__tstate
);
26439 if (PyErr_Occurred()) SWIG_fail
;
26441 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
26448 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
26449 PyObject
*resultobj
;
26450 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
26451 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26452 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
26453 wxPyPrintPreview
*result
;
26454 PyObject
* obj0
= 0 ;
26455 PyObject
* obj1
= 0 ;
26456 PyObject
* obj2
= 0 ;
26458 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
26459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26460 if (SWIG_arg_fail(1)) SWIG_fail
;
26461 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26462 if (SWIG_arg_fail(2)) SWIG_fail
;
26463 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
26464 if (SWIG_arg_fail(3)) SWIG_fail
;
26466 if (!wxPyCheckForApp()) SWIG_fail
;
26467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26468 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
26470 wxPyEndAllowThreads(__tstate
);
26471 if (PyErr_Occurred()) SWIG_fail
;
26473 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
26480 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
26485 argc
= PyObject_Length(args
);
26486 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
26487 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26489 if ((argc
>= 2) && (argc
<= 3)) {
26493 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26503 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26512 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
26516 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
26524 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
26533 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26543 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26553 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
26561 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
26567 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
26572 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26573 PyObject
*resultobj
;
26574 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26575 PyObject
*arg2
= (PyObject
*) 0 ;
26576 PyObject
*arg3
= (PyObject
*) 0 ;
26577 PyObject
* obj0
= 0 ;
26578 PyObject
* obj1
= 0 ;
26579 PyObject
* obj2
= 0 ;
26580 char *kwnames
[] = {
26581 (char *) "self",(char *) "self",(char *) "_class", NULL
26584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26586 if (SWIG_arg_fail(1)) SWIG_fail
;
26590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26591 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26593 wxPyEndAllowThreads(__tstate
);
26594 if (PyErr_Occurred()) SWIG_fail
;
26596 Py_INCREF(Py_None
); resultobj
= Py_None
;
26603 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26604 PyObject
*resultobj
;
26605 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26608 PyObject
* obj0
= 0 ;
26609 PyObject
* obj1
= 0 ;
26610 char *kwnames
[] = {
26611 (char *) "self",(char *) "pageNum", NULL
26614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26616 if (SWIG_arg_fail(1)) SWIG_fail
;
26618 arg2
= (int)(SWIG_As_int(obj1
));
26619 if (SWIG_arg_fail(2)) SWIG_fail
;
26622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26623 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
26625 wxPyEndAllowThreads(__tstate
);
26626 if (PyErr_Occurred()) SWIG_fail
;
26629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26637 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26638 PyObject
*resultobj
;
26639 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26640 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26643 PyObject
* obj0
= 0 ;
26644 PyObject
* obj1
= 0 ;
26645 PyObject
* obj2
= 0 ;
26646 char *kwnames
[] = {
26647 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26652 if (SWIG_arg_fail(1)) SWIG_fail
;
26653 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26654 if (SWIG_arg_fail(2)) SWIG_fail
;
26656 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26657 if (SWIG_arg_fail(3)) SWIG_fail
;
26658 if (arg3
== NULL
) {
26659 SWIG_null_ref("wxDC");
26661 if (SWIG_arg_fail(3)) SWIG_fail
;
26664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26665 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
26667 wxPyEndAllowThreads(__tstate
);
26668 if (PyErr_Occurred()) SWIG_fail
;
26671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26679 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26680 PyObject
*resultobj
;
26681 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26682 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26685 PyObject
* obj0
= 0 ;
26686 PyObject
* obj1
= 0 ;
26687 PyObject
* obj2
= 0 ;
26688 char *kwnames
[] = {
26689 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26694 if (SWIG_arg_fail(1)) SWIG_fail
;
26695 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26696 if (SWIG_arg_fail(2)) SWIG_fail
;
26698 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26699 if (SWIG_arg_fail(3)) SWIG_fail
;
26700 if (arg3
== NULL
) {
26701 SWIG_null_ref("wxDC");
26703 if (SWIG_arg_fail(3)) SWIG_fail
;
26706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26707 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
26709 wxPyEndAllowThreads(__tstate
);
26710 if (PyErr_Occurred()) SWIG_fail
;
26713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26721 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26722 PyObject
*resultobj
;
26723 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26726 PyObject
* obj0
= 0 ;
26727 PyObject
* obj1
= 0 ;
26728 char *kwnames
[] = {
26729 (char *) "self",(char *) "pageNum", NULL
26732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26734 if (SWIG_arg_fail(1)) SWIG_fail
;
26736 arg2
= (int)(SWIG_As_int(obj1
));
26737 if (SWIG_arg_fail(2)) SWIG_fail
;
26740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26741 result
= (bool)(arg1
)->base_RenderPage(arg2
);
26743 wxPyEndAllowThreads(__tstate
);
26744 if (PyErr_Occurred()) SWIG_fail
;
26747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26755 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26756 PyObject
*resultobj
;
26757 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26759 PyObject
* obj0
= 0 ;
26760 PyObject
* obj1
= 0 ;
26761 char *kwnames
[] = {
26762 (char *) "self",(char *) "percent", NULL
26765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
26766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26767 if (SWIG_arg_fail(1)) SWIG_fail
;
26769 arg2
= (int)(SWIG_As_int(obj1
));
26770 if (SWIG_arg_fail(2)) SWIG_fail
;
26773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26774 (arg1
)->base_SetZoom(arg2
);
26776 wxPyEndAllowThreads(__tstate
);
26777 if (PyErr_Occurred()) SWIG_fail
;
26779 Py_INCREF(Py_None
); resultobj
= Py_None
;
26786 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26787 PyObject
*resultobj
;
26788 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26791 PyObject
* obj0
= 0 ;
26792 PyObject
* obj1
= 0 ;
26793 char *kwnames
[] = {
26794 (char *) "self",(char *) "interactive", NULL
26797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
26798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26799 if (SWIG_arg_fail(1)) SWIG_fail
;
26801 arg2
= (bool)(SWIG_As_bool(obj1
));
26802 if (SWIG_arg_fail(2)) SWIG_fail
;
26805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26806 result
= (bool)(arg1
)->base_Print(arg2
);
26808 wxPyEndAllowThreads(__tstate
);
26809 if (PyErr_Occurred()) SWIG_fail
;
26812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26820 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26821 PyObject
*resultobj
;
26822 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26823 PyObject
* obj0
= 0 ;
26824 char *kwnames
[] = {
26825 (char *) "self", NULL
26828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
26829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26830 if (SWIG_arg_fail(1)) SWIG_fail
;
26832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26833 (arg1
)->base_DetermineScaling();
26835 wxPyEndAllowThreads(__tstate
);
26836 if (PyErr_Occurred()) SWIG_fail
;
26838 Py_INCREF(Py_None
); resultobj
= Py_None
;
26845 static PyObject
* PyPrintPreview_swigregister(PyObject
*, PyObject
*args
) {
26847 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26848 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
26850 return Py_BuildValue((char *)"");
26852 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26853 PyObject
*resultobj
;
26854 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26855 wxFrame
*arg2
= (wxFrame
*) 0 ;
26856 wxString
*arg3
= 0 ;
26857 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26858 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26859 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26860 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26861 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
26862 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
26863 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26864 wxPyPreviewFrame
*result
;
26865 bool temp3
= false ;
26868 bool temp7
= false ;
26869 PyObject
* obj0
= 0 ;
26870 PyObject
* obj1
= 0 ;
26871 PyObject
* obj2
= 0 ;
26872 PyObject
* obj3
= 0 ;
26873 PyObject
* obj4
= 0 ;
26874 PyObject
* obj5
= 0 ;
26875 PyObject
* obj6
= 0 ;
26876 char *kwnames
[] = {
26877 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
26880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26882 if (SWIG_arg_fail(1)) SWIG_fail
;
26883 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
26884 if (SWIG_arg_fail(2)) SWIG_fail
;
26886 arg3
= wxString_in_helper(obj2
);
26887 if (arg3
== NULL
) SWIG_fail
;
26893 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26899 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26904 arg6
= (long)(SWIG_As_long(obj5
));
26905 if (SWIG_arg_fail(6)) SWIG_fail
;
26910 arg7
= wxString_in_helper(obj6
);
26911 if (arg7
== NULL
) SWIG_fail
;
26916 if (!wxPyCheckForApp()) SWIG_fail
;
26917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26918 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
26920 wxPyEndAllowThreads(__tstate
);
26921 if (PyErr_Occurred()) SWIG_fail
;
26923 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
26946 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26947 PyObject
*resultobj
;
26948 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
26949 PyObject
*arg2
= (PyObject
*) 0 ;
26950 PyObject
*arg3
= (PyObject
*) 0 ;
26951 PyObject
* obj0
= 0 ;
26952 PyObject
* obj1
= 0 ;
26953 PyObject
* obj2
= 0 ;
26954 char *kwnames
[] = {
26955 (char *) "self",(char *) "self",(char *) "_class", NULL
26958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
26960 if (SWIG_arg_fail(1)) SWIG_fail
;
26964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26965 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26967 wxPyEndAllowThreads(__tstate
);
26968 if (PyErr_Occurred()) SWIG_fail
;
26970 Py_INCREF(Py_None
); resultobj
= Py_None
;
26977 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26978 PyObject
*resultobj
;
26979 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
26980 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26981 PyObject
* obj0
= 0 ;
26982 PyObject
* obj1
= 0 ;
26983 char *kwnames
[] = {
26984 (char *) "self",(char *) "canvas", NULL
26987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
26988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
26989 if (SWIG_arg_fail(1)) SWIG_fail
;
26990 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26991 if (SWIG_arg_fail(2)) SWIG_fail
;
26993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26994 (arg1
)->SetPreviewCanvas(arg2
);
26996 wxPyEndAllowThreads(__tstate
);
26997 if (PyErr_Occurred()) SWIG_fail
;
26999 Py_INCREF(Py_None
); resultobj
= Py_None
;
27006 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27007 PyObject
*resultobj
;
27008 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27009 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
27010 PyObject
* obj0
= 0 ;
27011 PyObject
* obj1
= 0 ;
27012 char *kwnames
[] = {
27013 (char *) "self",(char *) "bar", NULL
27016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
27017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27018 if (SWIG_arg_fail(1)) SWIG_fail
;
27019 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27020 if (SWIG_arg_fail(2)) SWIG_fail
;
27022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27023 (arg1
)->SetControlBar(arg2
);
27025 wxPyEndAllowThreads(__tstate
);
27026 if (PyErr_Occurred()) SWIG_fail
;
27028 Py_INCREF(Py_None
); resultobj
= Py_None
;
27035 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27036 PyObject
*resultobj
;
27037 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27038 PyObject
* obj0
= 0 ;
27039 char *kwnames
[] = {
27040 (char *) "self", NULL
27043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
27044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27045 if (SWIG_arg_fail(1)) SWIG_fail
;
27047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27048 (arg1
)->base_Initialize();
27050 wxPyEndAllowThreads(__tstate
);
27051 if (PyErr_Occurred()) SWIG_fail
;
27053 Py_INCREF(Py_None
); resultobj
= Py_None
;
27060 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27061 PyObject
*resultobj
;
27062 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27063 PyObject
* obj0
= 0 ;
27064 char *kwnames
[] = {
27065 (char *) "self", NULL
27068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
27069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27070 if (SWIG_arg_fail(1)) SWIG_fail
;
27072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27073 (arg1
)->base_CreateCanvas();
27075 wxPyEndAllowThreads(__tstate
);
27076 if (PyErr_Occurred()) SWIG_fail
;
27078 Py_INCREF(Py_None
); resultobj
= Py_None
;
27085 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27086 PyObject
*resultobj
;
27087 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27088 PyObject
* obj0
= 0 ;
27089 char *kwnames
[] = {
27090 (char *) "self", NULL
27093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
27094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27095 if (SWIG_arg_fail(1)) SWIG_fail
;
27097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27098 (arg1
)->base_CreateControlBar();
27100 wxPyEndAllowThreads(__tstate
);
27101 if (PyErr_Occurred()) SWIG_fail
;
27103 Py_INCREF(Py_None
); resultobj
= Py_None
;
27110 static PyObject
* PyPreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
27112 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27113 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
27115 return Py_BuildValue((char *)"");
27117 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27118 PyObject
*resultobj
;
27119 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
27121 wxWindow
*arg3
= (wxWindow
*) 0 ;
27122 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27123 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27124 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27125 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27126 long arg6
= (long) 0 ;
27127 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
27128 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27129 wxPyPreviewControlBar
*result
;
27132 bool temp7
= false ;
27133 PyObject
* obj0
= 0 ;
27134 PyObject
* obj1
= 0 ;
27135 PyObject
* obj2
= 0 ;
27136 PyObject
* obj3
= 0 ;
27137 PyObject
* obj4
= 0 ;
27138 PyObject
* obj5
= 0 ;
27139 PyObject
* obj6
= 0 ;
27140 char *kwnames
[] = {
27141 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27146 if (SWIG_arg_fail(1)) SWIG_fail
;
27148 arg2
= (long)(SWIG_As_long(obj1
));
27149 if (SWIG_arg_fail(2)) SWIG_fail
;
27151 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27152 if (SWIG_arg_fail(3)) SWIG_fail
;
27156 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27162 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27167 arg6
= (long)(SWIG_As_long(obj5
));
27168 if (SWIG_arg_fail(6)) SWIG_fail
;
27173 arg7
= wxString_in_helper(obj6
);
27174 if (arg7
== NULL
) SWIG_fail
;
27179 if (!wxPyCheckForApp()) SWIG_fail
;
27180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27181 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
27183 wxPyEndAllowThreads(__tstate
);
27184 if (PyErr_Occurred()) SWIG_fail
;
27186 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
27201 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27202 PyObject
*resultobj
;
27203 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27204 PyObject
*arg2
= (PyObject
*) 0 ;
27205 PyObject
*arg3
= (PyObject
*) 0 ;
27206 PyObject
* obj0
= 0 ;
27207 PyObject
* obj1
= 0 ;
27208 PyObject
* obj2
= 0 ;
27209 char *kwnames
[] = {
27210 (char *) "self",(char *) "self",(char *) "_class", NULL
27213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27215 if (SWIG_arg_fail(1)) SWIG_fail
;
27219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27220 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27222 wxPyEndAllowThreads(__tstate
);
27223 if (PyErr_Occurred()) SWIG_fail
;
27225 Py_INCREF(Py_None
); resultobj
= Py_None
;
27232 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27233 PyObject
*resultobj
;
27234 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27235 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
27236 PyObject
* obj0
= 0 ;
27237 PyObject
* obj1
= 0 ;
27238 char *kwnames
[] = {
27239 (char *) "self",(char *) "preview", NULL
27242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
27243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27244 if (SWIG_arg_fail(1)) SWIG_fail
;
27245 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27246 if (SWIG_arg_fail(2)) SWIG_fail
;
27248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27249 (arg1
)->SetPrintPreview(arg2
);
27251 wxPyEndAllowThreads(__tstate
);
27252 if (PyErr_Occurred()) SWIG_fail
;
27254 Py_INCREF(Py_None
); resultobj
= Py_None
;
27261 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27262 PyObject
*resultobj
;
27263 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27264 PyObject
* obj0
= 0 ;
27265 char *kwnames
[] = {
27266 (char *) "self", NULL
27269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
27270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27271 if (SWIG_arg_fail(1)) SWIG_fail
;
27273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27274 (arg1
)->base_CreateButtons();
27276 wxPyEndAllowThreads(__tstate
);
27277 if (PyErr_Occurred()) SWIG_fail
;
27279 Py_INCREF(Py_None
); resultobj
= Py_None
;
27286 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27287 PyObject
*resultobj
;
27288 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27290 PyObject
* obj0
= 0 ;
27291 PyObject
* obj1
= 0 ;
27292 char *kwnames
[] = {
27293 (char *) "self",(char *) "zoom", NULL
27296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
27297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27298 if (SWIG_arg_fail(1)) SWIG_fail
;
27300 arg2
= (int)(SWIG_As_int(obj1
));
27301 if (SWIG_arg_fail(2)) SWIG_fail
;
27304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27305 (arg1
)->base_SetZoomControl(arg2
);
27307 wxPyEndAllowThreads(__tstate
);
27308 if (PyErr_Occurred()) SWIG_fail
;
27310 Py_INCREF(Py_None
); resultobj
= Py_None
;
27317 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
27319 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27320 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
27322 return Py_BuildValue((char *)"");
27324 static PyMethodDef SwigMethods
[] = {
27325 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27326 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27327 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27328 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27329 { (char *)"Panel_SetFocus", (PyCFunction
) _wrap_Panel_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27330 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
) _wrap_Panel_SetFocusIgnoringChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27331 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27332 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
27333 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27334 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27335 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27336 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27337 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27338 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27339 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27340 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27341 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27342 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27343 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27344 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27345 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27346 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27347 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
27348 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
27349 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27350 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27351 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27352 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27353 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27354 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_GetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27355 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27356 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27357 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
27358 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27359 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27360 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27361 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27362 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27363 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27364 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27365 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27366 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27367 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27368 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27369 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27370 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27371 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27372 { (char *)"TopLevelWindow_IsActive", (PyCFunction
) _wrap_TopLevelWindow_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27373 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27374 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacGetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27375 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
27376 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27377 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27378 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27379 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27380 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27381 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27382 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27383 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27384 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27385 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27386 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27387 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27388 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27389 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27390 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27391 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27392 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27393 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27394 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27395 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27396 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27397 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27398 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27399 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
27400 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27401 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27402 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27403 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27404 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27405 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27406 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27407 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27408 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27409 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27410 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27411 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27412 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
27413 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27414 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27415 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27416 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
27417 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27418 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27419 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27420 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
27421 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27422 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27423 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27424 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27425 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
27426 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27427 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27428 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27429 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27430 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27431 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27432 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27433 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27434 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27435 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27436 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27437 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27438 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27439 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27440 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27441 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27442 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
27443 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27444 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27445 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27446 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27447 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27448 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27449 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27450 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27451 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27452 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27453 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27454 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27455 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27456 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27457 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27458 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27459 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27460 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27461 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27462 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27463 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27464 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
) _wrap_SplitterWindow_GetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27465 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27466 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27467 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27468 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27469 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27470 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27471 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27472 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
27473 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27474 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27475 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27476 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27477 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27478 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27479 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
27480 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27481 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27482 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27483 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27484 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27485 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27486 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27487 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27488 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27489 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27490 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27491 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27492 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27493 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27494 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27495 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27496 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27497 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27498 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27499 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27500 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27501 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27502 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
27503 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27504 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27505 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27506 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27507 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27508 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27509 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27510 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
27511 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27512 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27513 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27514 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27515 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27516 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27517 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27518 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27519 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27520 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27521 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27522 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
27523 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27524 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27525 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27526 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27527 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27528 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
27529 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27530 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27531 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27532 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27533 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27534 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27535 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27536 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27537 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
27538 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27539 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27540 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27541 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27542 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27543 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
27544 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27545 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27546 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
27547 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27548 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27549 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
27550 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27551 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27552 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27553 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
27554 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27555 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27556 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27557 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27558 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27559 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27560 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27561 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27562 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27563 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27564 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27565 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27566 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27567 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27568 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27569 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27570 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27571 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
27572 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27573 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27574 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27575 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27576 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27577 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27578 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27579 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27580 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27581 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27582 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27583 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27584 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27585 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27586 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27587 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27588 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27589 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27590 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27591 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27592 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27593 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27594 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27595 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27596 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27597 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
27598 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27599 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27600 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27601 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27602 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27603 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27604 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
) _wrap_HtmlListBox_GetFileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27605 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
27606 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27607 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27608 { (char *)"TaskBarIcon_Destroy", (PyCFunction
) _wrap_TaskBarIcon_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27609 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27610 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27611 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27612 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27613 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27614 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
27615 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27616 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
27617 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27618 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27619 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27620 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27621 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27622 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27623 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27624 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27625 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
27626 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27627 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27628 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
27629 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27630 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27631 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27632 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27633 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27634 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27635 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
27636 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27637 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27638 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27639 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27640 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27641 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27642 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27643 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27644 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27645 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27646 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27647 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27648 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27649 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27650 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27651 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27652 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27653 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
27654 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27655 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27656 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27657 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
27658 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27659 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27660 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27661 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27662 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
27663 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27664 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27665 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27666 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
27667 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27668 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
27669 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27670 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27671 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27672 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27673 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27674 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27675 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27676 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27677 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27678 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27679 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27680 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27681 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27682 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27683 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27684 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
27685 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27686 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27687 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
27688 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27689 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
27690 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27691 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27692 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27693 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
27694 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27695 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27696 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27697 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27698 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27699 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27700 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27701 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27702 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
27703 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27704 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27705 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27706 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27707 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27708 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27709 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27710 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27711 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
27712 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27713 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27714 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27715 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27716 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27717 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
27718 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27719 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27720 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27721 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27722 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27723 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27724 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27725 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27726 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27727 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27728 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27729 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
27730 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27731 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27732 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27733 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27734 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27735 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27736 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
27737 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27738 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27739 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27740 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
27741 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27742 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27743 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27744 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27745 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27746 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27747 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27748 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27749 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27750 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27751 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27752 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27753 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27754 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27755 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27756 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27757 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27758 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27759 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27760 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27761 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27762 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27763 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27764 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27765 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27766 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
27767 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27768 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27769 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27770 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27771 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27772 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27773 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27774 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27775 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27776 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27777 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27778 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27779 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27780 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27781 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27782 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27783 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27784 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27785 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27786 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27787 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27788 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27789 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27790 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyPanel_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27791 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyPanel_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27792 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
27793 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27794 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27795 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27796 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27797 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27798 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27799 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27800 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27801 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27802 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27803 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27804 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27805 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27806 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27807 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27808 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27809 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction
) _wrap_PyScrolledWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27810 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27811 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27812 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27813 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27814 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27815 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27816 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27817 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyScrolledWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27818 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
27819 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
27820 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27821 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27822 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27823 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27824 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27825 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27826 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27827 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27828 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27829 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27830 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27831 { (char *)"PrintData_GetBin", (PyCFunction
) _wrap_PrintData_GetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27832 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27833 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27834 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27835 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27836 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27837 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27838 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27839 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27840 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27841 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27842 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27843 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27844 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27845 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27846 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27847 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27848 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27849 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27850 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27851 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27852 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27853 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27854 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27855 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27856 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27857 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27858 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27859 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27860 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27861 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27862 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27863 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27864 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
27865 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
27866 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27867 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27868 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27869 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27870 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27871 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27872 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27873 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27874 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27875 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27876 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27877 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27878 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27879 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27880 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27881 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27882 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27883 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27884 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27885 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27886 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27887 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27888 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27889 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27890 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27891 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27892 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27893 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27894 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27895 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27896 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
27897 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27898 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27899 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27900 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27901 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
27902 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
27903 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27904 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27905 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27906 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27907 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27908 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27909 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27910 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27911 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27912 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27913 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27914 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27915 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27916 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27917 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27918 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27919 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27920 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27921 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27922 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27923 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27924 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27925 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27926 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27927 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27928 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27929 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27930 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27931 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27932 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27933 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27934 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27935 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
27936 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27937 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27938 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27939 { (char *)"PrintDialog_GetPrintData", (PyCFunction
) _wrap_PrintDialog_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27940 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27941 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
27942 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27943 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27944 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27945 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27946 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27947 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27948 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27949 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27950 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27951 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27952 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
27953 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27954 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27955 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27956 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27957 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27958 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27959 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27960 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27961 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27962 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27963 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27964 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27965 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27966 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27967 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27968 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27969 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27970 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27971 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27972 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27973 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27974 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27975 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
27976 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27977 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
27978 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27979 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27980 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27981 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27982 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27983 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
27984 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27985 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27986 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27987 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27988 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27989 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27990 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27991 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27992 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27993 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
27994 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
27995 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27996 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27997 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27998 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27999 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28000 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28001 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28002 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28003 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28004 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28005 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28006 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28007 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28008 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28009 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28010 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28011 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28012 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28013 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28014 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28015 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28016 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28017 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
28018 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
28019 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28020 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28021 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28022 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28023 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28024 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28025 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28026 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28027 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
28028 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28029 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28030 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28031 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28032 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28033 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28034 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28035 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
28036 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28037 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28038 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28039 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28040 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28041 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
28042 { NULL
, NULL
, 0, NULL
}
28046 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28048 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
28049 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28051 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
28052 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28054 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
28055 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
28057 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
28058 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
28060 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
28061 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
28063 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
28064 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
28066 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
28067 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
28069 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
28070 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28072 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
28073 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
28075 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
28076 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
28078 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
28079 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
28081 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
28082 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
28084 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
28085 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28087 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
28088 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
28090 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
28091 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
28093 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
28094 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28096 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
28097 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28099 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
28100 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
28102 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
28103 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
28105 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
28106 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
28108 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
28109 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
28111 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
28112 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
28114 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
28115 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
28117 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
28118 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
28120 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
28121 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28123 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
28124 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28126 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
28127 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28129 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
28130 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28132 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
28133 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28135 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
28136 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
28138 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
28139 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
28141 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
28142 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28144 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
28145 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
28147 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
28148 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
28150 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
28151 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
28153 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
28154 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
28156 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
28157 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28159 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
28160 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28162 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
28163 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28165 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
28166 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
28168 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
28169 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
28171 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
28172 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
28174 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
28175 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28177 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
28178 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28180 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
28181 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
28183 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
28184 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
28186 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
28187 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
28189 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
28190 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
28192 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
28193 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
28195 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
28196 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
28198 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
28199 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
28201 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
28202 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28204 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
28205 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
28207 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
28208 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
28210 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
28211 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
28213 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
28214 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
28216 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
28217 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
28219 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
28220 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
28222 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
28223 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
28225 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
28226 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
28228 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
28229 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
28231 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
28232 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
28234 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
28235 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
28237 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
28238 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
28240 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
28241 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
28243 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
28244 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
28246 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
28247 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
28249 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
28250 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
28252 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
28253 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
28255 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
28256 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
28258 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
28259 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
28261 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
28262 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
28264 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
28265 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
28267 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
28268 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
28270 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
28271 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
28273 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
28274 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
28276 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
28277 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28279 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
28280 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
28282 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
28283 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
28285 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
28286 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
28288 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
28289 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
28291 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
28292 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
28294 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
28295 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28297 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
28298 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28300 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
28301 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
28303 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
28304 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
28306 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
28307 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
28309 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
28310 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
28312 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
28313 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
28315 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
28316 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
28318 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
28319 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
28321 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
28322 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
28324 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
28325 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
28327 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
28328 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28330 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
28331 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
28333 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
28334 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
28336 static void *_p_wxTipWindowTo_p_wxFrame(void *x
) {
28337 return (void *)((wxFrame
*) ((wxTipWindow
*) x
));
28339 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
28340 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
28342 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
28343 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28345 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
28346 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
28348 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
28349 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
28351 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
28352 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
28354 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
28355 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
28357 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
28358 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
28360 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
28361 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
28363 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
28364 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28366 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
28367 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
28369 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
28370 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
28372 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
28373 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
28375 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
28376 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
28378 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
28379 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
28381 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
28382 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
28384 static void *_p_wxSizerTo_p_wxObject(void *x
) {
28385 return (void *)((wxObject
*) ((wxSizer
*) x
));
28387 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
28388 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
28390 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
28391 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28393 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
28394 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
28396 static void *_p_wxEventTo_p_wxObject(void *x
) {
28397 return (void *)((wxObject
*) ((wxEvent
*) x
));
28399 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
28400 return (void *)((wxObject
*) ((wxFontData
*) x
));
28402 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
28403 return (void *)((wxObject
*) ((wxPrintData
*) x
));
28405 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
28406 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
28408 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
28409 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
28411 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
28412 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
28414 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
28415 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
28417 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
28418 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
28420 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
28421 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
28423 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
28424 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
28426 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
28427 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
28429 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
28430 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28432 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
28433 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28435 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
28436 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28438 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
28439 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28441 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
28442 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
28444 static void *_p_wxControlTo_p_wxObject(void *x
) {
28445 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
28447 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
28448 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
28450 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
28451 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28453 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
28454 return (void *)((wxObject
*) ((wxFSFile
*) x
));
28456 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
28457 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
28459 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
28460 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
28462 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
28463 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
28465 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
28466 return (void *)((wxObject
*) ((wxColourData
*) x
));
28468 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
28469 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
28471 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
28472 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28474 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
28475 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
28477 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
28478 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
28480 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
28481 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
28483 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
28484 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
28486 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
28487 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
28489 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
28490 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
28492 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
28493 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28495 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
28496 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
28498 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
28499 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
28501 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
28502 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
28504 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
28505 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
28507 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
28508 return (void *)((wxObject
*) ((wxPrinter
*) x
));
28510 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
28511 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
28513 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
28514 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
28516 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
28517 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28519 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
28520 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28522 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
28523 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
28525 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
28526 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
28528 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
28529 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
28531 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
28532 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
28534 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
28535 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
28537 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
28538 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
28540 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
28541 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
28543 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
28544 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
28546 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
28547 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
28549 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
28550 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
28552 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
28553 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
28555 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
28556 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
28558 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
28559 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
28561 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
28562 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
28564 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
28565 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
28567 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
28568 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
28570 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
28571 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
28573 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
28574 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
28576 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
28577 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
28579 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
28580 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28582 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
28583 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28585 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
28586 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
28588 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
28589 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
28591 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
28592 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
28594 static void *_p_wxImageTo_p_wxObject(void *x
) {
28595 return (void *)((wxObject
*) ((wxImage
*) x
));
28597 static void *_p_wxFrameTo_p_wxObject(void *x
) {
28598 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
28600 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
28601 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
28603 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
28604 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
28606 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
28607 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
28609 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
28610 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
28612 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
28613 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
28615 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
28616 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28618 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
28619 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28621 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
28622 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
28624 static void *_p_wxWindowTo_p_wxObject(void *x
) {
28625 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
28627 static void *_p_wxMenuTo_p_wxObject(void *x
) {
28628 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
28630 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
28631 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
28633 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
28634 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
28636 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
28637 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
28639 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
28640 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
28642 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
28643 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
28645 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
28646 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
28648 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
28649 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
28651 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
28652 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
28654 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
28655 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
28657 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
28658 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
28660 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
28661 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
28663 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
28664 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
28666 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
28667 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
28669 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
28670 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
28672 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
28673 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
28675 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
28676 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
28678 static void *_p_wxPanelTo_p_wxObject(void *x
) {
28679 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
28681 static void *_p_wxDialogTo_p_wxObject(void *x
) {
28682 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
28684 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
28685 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
28687 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
28688 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
28690 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
28691 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
28693 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
28694 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
28696 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
28697 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
28699 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
28700 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
28702 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
28703 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28705 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
28706 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
28708 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
28709 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
28711 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
28712 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
28714 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
28715 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
28717 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
28718 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
28720 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
28721 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28723 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
28724 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
28726 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
28727 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
28729 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
28730 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
28732 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
28733 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
28735 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
28736 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
28738 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
28739 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28741 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
28742 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
28744 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
28745 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
28747 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
28748 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
28750 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
28751 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
28753 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
28754 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
28756 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
28757 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28759 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
28760 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28762 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
28763 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
28765 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
28766 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
28768 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
28769 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
28771 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
28772 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
28774 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
28775 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
28777 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
28778 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
28780 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
28781 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
28783 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
28784 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
28786 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
28787 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
28789 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x
) {
28790 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxTipWindow
*) x
));
28792 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
28793 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
28795 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
28796 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
28798 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
28799 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
28801 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
28802 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28804 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
28805 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
28807 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
28808 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
28810 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
28811 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
28813 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
28814 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
28816 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
28817 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
28819 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
28820 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
28822 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
28823 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
28825 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
28826 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28828 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
28829 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
28831 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
28832 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
28834 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
28835 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
28837 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
28838 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
28840 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
28841 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
28843 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
28844 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
28846 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
28847 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
28849 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
28850 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28852 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
28853 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
28855 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
28856 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
28858 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
28859 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
28861 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
28862 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
28864 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
28865 return (void *)((wxWindow
*) ((wxPanel
*) x
));
28867 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
28868 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
28870 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
28871 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
28873 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
28874 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
28876 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
28877 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
28879 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
28880 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
28882 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
28883 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
28885 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
28886 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
28888 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
28889 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
28891 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
28892 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
28894 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
28895 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
28897 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
28898 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
28900 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
28901 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
28903 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
28904 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
28906 static void *_p_wxControlTo_p_wxWindow(void *x
) {
28907 return (void *)((wxWindow
*) ((wxControl
*) x
));
28909 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
28910 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
28912 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
28913 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28915 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
28916 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
28918 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
28919 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
28921 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
28922 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
28924 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
28925 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
28927 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
28928 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28930 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
28931 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28933 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
28934 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
28936 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
28937 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
28939 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
28940 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
28942 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
28943 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
28945 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
28946 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
28948 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
28949 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
28951 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
28952 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
28954 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
28955 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
28957 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
28958 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
28960 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
28961 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
28963 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
28964 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
28966 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
28967 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
28969 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
28970 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
28972 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
28973 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
28975 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
28976 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
28978 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
28979 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
28981 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
28982 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
28984 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
28985 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
28987 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
28988 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28990 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
28991 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
28993 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
28994 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
28996 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
28997 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
28999 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
29000 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
29002 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
29003 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29005 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
29006 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
29008 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
29009 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
29011 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
29012 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
29014 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
29015 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
29017 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
29018 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
29020 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
29021 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29023 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
29024 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29026 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
29027 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
29029 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
29030 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29032 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
29033 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29035 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
29036 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
29038 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
29039 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29041 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
29042 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29044 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
29045 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
29047 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
29048 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29050 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
29051 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29053 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
29054 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
29056 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
29057 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29059 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}};
29060 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}};
29061 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}};
29062 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}};
29063 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}};
29064 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}};
29065 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_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}};
29066 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}};
29067 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}};
29068 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}};
29069 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}};
29070 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}};
29071 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}};
29072 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}};
29073 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}};
29074 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}};
29075 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}};
29076 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}};
29077 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}};
29078 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}};
29079 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}};
29080 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}};
29081 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}};
29082 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}};
29083 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}};
29084 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}};
29085 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}};
29086 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}};
29087 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}};
29088 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}};
29089 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}};
29090 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}};
29091 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}};
29092 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}};
29093 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}};
29094 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}};
29095 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}};
29096 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}};
29097 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}};
29098 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}};
29099 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}};
29100 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}};
29101 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}};
29102 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}};
29103 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}};
29104 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}};
29105 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}};
29106 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}};
29107 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}};
29108 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}};
29109 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}};
29110 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}};
29111 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}};
29112 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}};
29113 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}};
29114 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}};
29115 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}};
29116 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}};
29117 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_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_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_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_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_wxIconizeEvent", _p_wxIconizeEventTo_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_wxTIFFHandler", _p_wxTIFFHandlerTo_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_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}};
29118 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}};
29119 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}};
29120 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}};
29121 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}};
29122 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}};
29123 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}};
29124 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}};
29125 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}};
29126 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}};
29127 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}};
29128 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}};
29129 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}};
29130 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}};
29131 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}};
29132 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}};
29133 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}};
29134 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}};
29135 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}};
29136 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}};
29137 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}};
29138 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}};
29139 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}};
29140 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}};
29141 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}};
29142 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}};
29143 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}};
29144 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}};
29145 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}};
29146 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}};
29147 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}};
29148 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}};
29149 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_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}};
29150 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}};
29151 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}};
29152 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}};
29153 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}};
29154 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}};
29155 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}};
29157 static swig_type_info
*swig_types_initial
[] = {
29158 _swigt__p_wxQueryLayoutInfoEvent
,
29159 _swigt__p_wxPreviewFrame
,
29160 _swigt__p_wxPyPreviewFrame
,
29161 _swigt__p_wxPyPanel
,
29163 _swigt__p_wxFontData
,
29165 _swigt__p_wxPrintData
,
29166 _swigt__p_wxTaskBarIcon
,
29167 _swigt__p_wxPyTaskBarIcon
,
29168 _swigt__p_wxIconBundle
,
29169 _swigt__p_wxLayoutAlgorithm
,
29170 _swigt__p_wxFindDialogEvent
,
29171 _swigt__p_wxPreviewCanvas
,
29173 _swigt__p_wxSplitterEvent
,
29174 _swigt__p_wxRegion
,
29176 _swigt__std__ptrdiff_t
,
29177 _swigt__p_wxFindReplaceData
,
29182 _swigt__p_wxVisualAttributes
,
29183 _swigt__p_wxMDIChildFrame
,
29184 _swigt__p_wxColourData
,
29185 _swigt__p_wxNotifyEvent
,
29186 _swigt__p_wxPyWindow
,
29187 _swigt__p_form_ops_t
,
29188 _swigt__p_wxSplashScreen
,
29189 _swigt__p_wxPasswordEntryDialog
,
29190 _swigt__p_wxSingleChoiceDialog
,
29191 _swigt__p_wxMultiChoiceDialog
,
29192 _swigt__p_wxFileDialog
,
29193 _swigt__p_wxTextEntryDialog
,
29194 _swigt__p_wxMessageDialog
,
29195 _swigt__p_wxProgressDialog
,
29196 _swigt__p_wxFindReplaceDialog
,
29197 _swigt__p_wxPrinter
,
29198 _swigt__p_wxArrayInt
,
29199 _swigt__p_wxDuplexMode
,
29200 _swigt__p_wxEvtHandler
,
29201 _swigt__p_wxCalculateLayoutEvent
,
29202 _swigt__p_wxPyHtmlListBox
,
29203 _swigt__p_wxPyVListBox
,
29205 _swigt__p_wxStdDialogButtonSizer
,
29207 _swigt__p_wxMiniFrame
,
29209 _swigt__p_wxPyPrintout
,
29210 _swigt__p_wxTaskBarIconEvent
,
29211 _swigt__p_wxScrollWinEvent
,
29212 _swigt__p_wxPaperSize
,
29213 _swigt__p_wxStatusBar
,
29214 _swigt__p_wxMDIParentFrame
,
29216 _swigt__p_wxObject
,
29217 _swigt__p_unsigned_long
,
29218 _swigt__p_wxTipWindow
,
29219 _swigt__p_wxPyPopupTransientWindow
,
29220 _swigt__p_wxSashLayoutWindow
,
29221 _swigt__p_wxSplitterWindow
,
29222 _swigt__p_wxSplashScreenWindow
,
29223 _swigt__p_wxPyVScrolledWindow
,
29224 _swigt__p_wxPopupWindow
,
29225 _swigt__p_wxSashWindow
,
29226 _swigt__p_wxTopLevelWindow
,
29227 _swigt__p_wxWindow
,
29228 _swigt__p_wxScrolledWindow
,
29229 _swigt__p_wxMenuBar
,
29230 _swigt__p_wxMDIClientWindow
,
29231 _swigt__p_wxPyScrolledWindow
,
29232 _swigt__p_wxPrintPreview
,
29233 _swigt__p_wxSashEvent
,
29234 _swigt__p_wxString
,
29235 _swigt__p_wxPyPrintPreview
,
29236 _swigt__p_wxDirDialog
,
29237 _swigt__p_wxColourDialog
,
29238 _swigt__p_wxDialog
,
29240 _swigt__p_wxFontDialog
,
29241 _swigt__p_wxPageSetupDialog
,
29242 _swigt__p_wxPrintDialog
,
29243 _swigt__p_wxFileSystem
,
29244 _swigt__p_wxBitmap
,
29245 _swigt__unsigned_int
,
29246 _swigt__p_unsigned_int
,
29247 _swigt__p_unsigned_char
,
29248 _swigt__p_wxCommandEvent
,
29249 _swigt__p_wxPreviewControlBar
,
29250 _swigt__p_wxPyPreviewControlBar
,
29251 _swigt__p_wxColour
,
29252 _swigt__p_wxToolBar
,
29253 _swigt__p_wxPageSetupDialogData
,
29254 _swigt__p_wxPrintDialogData
,
29259 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29261 static swig_const_info swig_const_table
[] = {
29262 {0, 0, 0, 0.0, 0, 0}};
29273 /* Python-specific SWIG API */
29274 #define SWIG_newvarlink() SWIG_Python_newvarlink()
29275 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
29276 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
29278 /* -----------------------------------------------------------------------------
29279 * global variable support code.
29280 * ----------------------------------------------------------------------------- */
29282 typedef struct swig_globalvar
{
29283 char *name
; /* Name of global variable */
29284 PyObject
*(*get_attr
)(); /* Return the current value */
29285 int (*set_attr
)(PyObject
*); /* Set the value */
29286 struct swig_globalvar
*next
;
29289 typedef struct swig_varlinkobject
{
29291 swig_globalvar
*vars
;
29292 } swig_varlinkobject
;
29295 swig_varlink_repr(swig_varlinkobject
*v
) {
29297 return PyString_FromString("<Swig global variables>");
29301 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
29302 swig_globalvar
*var
;
29304 fprintf(fp
,"Swig global variables { ");
29305 for (var
= v
->vars
; var
; var
=var
->next
) {
29306 fprintf(fp
,"%s", var
->name
);
29307 if (var
->next
) fprintf(fp
,", ");
29309 fprintf(fp
," }\n");
29314 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
29315 swig_globalvar
*var
= v
->vars
;
29317 if (strcmp(var
->name
,n
) == 0) {
29318 return (*var
->get_attr
)();
29322 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
29327 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
29328 swig_globalvar
*var
= v
->vars
;
29330 if (strcmp(var
->name
,n
) == 0) {
29331 return (*var
->set_attr
)(p
);
29335 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
29339 static PyTypeObject varlinktype
= {
29340 PyObject_HEAD_INIT(0)
29341 0, /* Number of items in variable part (ob_size) */
29342 (char *)"swigvarlink", /* Type name (tp_name) */
29343 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
29344 0, /* Itemsize (tp_itemsize) */
29345 0, /* Deallocator (tp_dealloc) */
29346 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
29347 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
29348 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
29349 0, /* tp_compare */
29350 (reprfunc
) swig_varlink_repr
, /* tp_repr */
29351 0, /* tp_as_number */
29352 0, /* tp_as_sequence */
29353 0, /* tp_as_mapping */
29357 0, /* tp_getattro */
29358 0, /* tp_setattro */
29359 0, /* tp_as_buffer */
29362 #if PY_VERSION_HEX >= 0x02000000
29363 0, /* tp_traverse */
29366 #if PY_VERSION_HEX >= 0x02010000
29367 0, /* tp_richcompare */
29368 0, /* tp_weaklistoffset */
29370 #if PY_VERSION_HEX >= 0x02020000
29371 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
29373 #if PY_VERSION_HEX >= 0x02030000
29376 #ifdef COUNT_ALLOCS
29377 0,0,0,0 /* tp_alloc -> tp_next */
29381 /* Create a variable linking object for use later */
29383 SWIG_Python_newvarlink(void) {
29384 swig_varlinkobject
*result
= 0;
29385 result
= PyMem_NEW(swig_varlinkobject
,1);
29386 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
29387 result
->ob_type
= &varlinktype
;
29389 result
->ob_refcnt
= 0;
29390 Py_XINCREF((PyObject
*) result
);
29391 return ((PyObject
*) result
);
29395 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
29396 swig_varlinkobject
*v
;
29397 swig_globalvar
*gv
;
29398 v
= (swig_varlinkobject
*) p
;
29399 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
29400 gv
->name
= (char *) malloc(strlen(name
)+1);
29401 strcpy(gv
->name
,name
);
29402 gv
->get_attr
= get_attr
;
29403 gv
->set_attr
= set_attr
;
29404 gv
->next
= v
->vars
;
29408 /* -----------------------------------------------------------------------------
29409 * constants/methods manipulation
29410 * ----------------------------------------------------------------------------- */
29412 /* Install Constants */
29414 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
29417 for (i
= 0; constants
[i
].type
; i
++) {
29418 switch(constants
[i
].type
) {
29420 obj
= PyInt_FromLong(constants
[i
].lvalue
);
29422 case SWIG_PY_FLOAT
:
29423 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
29425 case SWIG_PY_STRING
:
29426 if (constants
[i
].pvalue
) {
29427 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
29429 Py_INCREF(Py_None
);
29433 case SWIG_PY_POINTER
:
29434 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
29436 case SWIG_PY_BINARY
:
29437 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
29444 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
29450 /* -----------------------------------------------------------------------------*/
29451 /* Fix SwigMethods to carry the callback ptrs when needed */
29452 /* -----------------------------------------------------------------------------*/
29455 SWIG_Python_FixMethods(PyMethodDef
*methods
,
29456 swig_const_info
*const_table
,
29457 swig_type_info
**types
,
29458 swig_type_info
**types_initial
) {
29460 for (i
= 0; methods
[i
].ml_name
; ++i
) {
29461 char *c
= methods
[i
].ml_doc
;
29462 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
29464 swig_const_info
*ci
= 0;
29465 char *name
= c
+ 10;
29466 for (j
= 0; const_table
[j
].type
; j
++) {
29467 if (strncmp(const_table
[j
].name
, name
,
29468 strlen(const_table
[j
].name
)) == 0) {
29469 ci
= &(const_table
[j
]);
29474 size_t shift
= (ci
->ptype
) - types
;
29475 swig_type_info
*ty
= types_initial
[shift
];
29476 size_t ldoc
= (c
- methods
[i
].ml_doc
);
29477 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
29478 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
29480 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
29481 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
29483 strncpy(buff
, "swig_ptr: ", 10);
29485 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
29486 methods
[i
].ml_doc
= ndoc
;
29492 /* -----------------------------------------------------------------------------*
29493 * Initialize type list
29494 * -----------------------------------------------------------------------------*/
29496 #if PY_MAJOR_VERSION < 2
29497 /* PyModule_AddObject function was introduced in Python 2.0. The following function
29498 is copied out of Python/modsupport.c in python version 2.3.4 */
29500 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
29503 if (!PyModule_Check(m
)) {
29504 PyErr_SetString(PyExc_TypeError
,
29505 "PyModule_AddObject() needs module as first arg");
29509 PyErr_SetString(PyExc_TypeError
,
29510 "PyModule_AddObject() needs non-NULL value");
29514 dict
= PyModule_GetDict(m
);
29515 if (dict
== NULL
) {
29516 /* Internal error -- modules must have a dict! */
29517 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
29518 PyModule_GetName(m
));
29521 if (PyDict_SetItemString(dict
, name
, o
))
29528 static swig_type_info
**
29529 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
29530 static PyMethodDef swig_empty_runtime_method_table
[] = {
29532 NULL
, NULL
, 0, NULL
29536 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
29537 swig_empty_runtime_method_table
);
29538 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
29539 if (pointer
&& module) {
29540 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
29542 return type_list_handle
;
29545 static swig_type_info
**
29546 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
29547 swig_type_info
**type_pointer
;
29549 /* first check if module already created */
29550 type_pointer
= SWIG_Python_GetTypeListHandle();
29551 if (type_pointer
) {
29552 return type_pointer
;
29554 /* create a new module and variable */
29555 return SWIG_Python_SetTypeListHandle(type_list_handle
);
29563 /* -----------------------------------------------------------------------------*
29564 * Partial Init method
29565 * -----------------------------------------------------------------------------*/
29567 #ifdef SWIG_LINK_RUNTIME
29571 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
29577 SWIGEXPORT(void) SWIG_init(void) {
29578 static PyObject
*SWIG_globals
= 0;
29579 static int typeinit
= 0;
29582 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
29584 /* Fix SwigMethods to carry the callback ptrs when needed */
29585 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
29587 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
29588 d
= PyModule_GetDict(m
);
29591 #ifdef SWIG_LINK_RUNTIME
29592 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
29594 # ifndef SWIG_STATIC_RUNTIME
29595 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
29598 for (i
= 0; swig_types_initial
[i
]; i
++) {
29599 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
29603 SWIG_InstallConstants(d
,swig_const_table
);
29605 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
29606 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
29607 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
29608 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
29609 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
29611 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_From_int((int)(wxSTAY_ON_TOP
)));
29614 PyDict_SetItemString(d
,"ICONIZE", SWIG_From_int((int)(wxICONIZE
)));
29617 PyDict_SetItemString(d
,"MINIMIZE", SWIG_From_int((int)(wxMINIMIZE
)));
29620 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_From_int((int)(wxMAXIMIZE
)));
29623 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_From_int((int)(wxCLOSE_BOX
)));
29626 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_From_int((int)(wxTHICK_FRAME
)));
29629 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_From_int((int)(wxSYSTEM_MENU
)));
29632 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_From_int((int)(wxMINIMIZE_BOX
)));
29635 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_From_int((int)(wxMAXIMIZE_BOX
)));
29638 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_From_int((int)(wxTINY_CAPTION_HORIZ
)));
29641 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_From_int((int)(wxTINY_CAPTION_VERT
)));
29644 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_From_int((int)(wxRESIZE_BOX
)));
29647 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_From_int((int)(wxRESIZE_BORDER
)));
29650 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_From_int((int)(wxDIALOG_NO_PARENT
)));
29653 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)(wxDEFAULT_FRAME_STYLE
)));
29656 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)(wxDEFAULT_DIALOG_STYLE
)));
29659 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_From_int((int)(wxFRAME_TOOL_WINDOW
)));
29662 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)(wxFRAME_FLOAT_ON_PARENT
)));
29665 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)(wxFRAME_NO_WINDOW_MENU
)));
29668 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_From_int((int)(wxFRAME_NO_TASKBAR
)));
29671 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_From_int((int)(wxFRAME_SHAPED
)));
29674 PyDict_SetItemString(d
,"FRAME_DRAWER", SWIG_From_int((int)(wxFRAME_DRAWER
)));
29677 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_From_int((int)(wxDIALOG_MODAL
)));
29680 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_From_int((int)(wxDIALOG_MODELESS
)));
29683 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_From_int((int)(wxUSER_COLOURS
)));
29686 PyDict_SetItemString(d
,"NO_3D", SWIG_From_int((int)(wxNO_3D
)));
29689 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)(wxFULLSCREEN_NOMENUBAR
)));
29692 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)(wxFULLSCREEN_NOTOOLBAR
)));
29695 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)(wxFULLSCREEN_NOSTATUSBAR
)));
29698 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_From_int((int)(wxFULLSCREEN_NOBORDER
)));
29701 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)(wxFULLSCREEN_NOCAPTION
)));
29704 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_From_int((int)(wxFULLSCREEN_ALL
)));
29707 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)(wxTOPLEVEL_EX_DIALOG
)));
29710 PyDict_SetItemString(d
,"USER_ATTENTION_INFO", SWIG_From_int((int)(wxUSER_ATTENTION_INFO
)));
29713 PyDict_SetItemString(d
,"USER_ATTENTION_ERROR", SWIG_From_int((int)(wxUSER_ATTENTION_ERROR
)));
29716 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_PARENT
)));
29719 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_SCREEN
)));
29722 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_From_int((int)(wxSPLASH_NO_CENTRE
)));
29725 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_From_int((int)(wxSPLASH_TIMEOUT
)));
29728 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)(wxSPLASH_NO_TIMEOUT
)));
29731 PyDict_SetItemString(d
,"SB_NORMAL", SWIG_From_int((int)(wxSB_NORMAL
)));
29734 PyDict_SetItemString(d
,"SB_FLAT", SWIG_From_int((int)(wxSB_FLAT
)));
29737 PyDict_SetItemString(d
,"SB_RAISED", SWIG_From_int((int)(wxSB_RAISED
)));
29739 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
29741 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_From_int((int)(wxSP_NOBORDER
)));
29744 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_From_int((int)(wxSP_NOSASH
)));
29747 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)(wxSP_PERMIT_UNSPLIT
)));
29750 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_From_int((int)(wxSP_LIVE_UPDATE
)));
29753 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_From_int((int)(wxSP_3DSASH
)));
29756 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_From_int((int)(wxSP_3DBORDER
)));
29759 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_From_int((int)(wxSP_NO_XP_THEME
)));
29762 PyDict_SetItemString(d
,"SP_BORDER", SWIG_From_int((int)(wxSP_BORDER
)));
29765 PyDict_SetItemString(d
,"SP_3D", SWIG_From_int((int)(wxSP_3D
)));
29768 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_From_int((int)(wxSPLIT_HORIZONTAL
)));
29771 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_From_int((int)(wxSPLIT_VERTICAL
)));
29774 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_From_int((int)(wxSPLIT_DRAG_NONE
)));
29777 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)(wxSPLIT_DRAG_DRAGGING
)));
29780 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSPLIT_DRAG_LEFT_DOWN
)));
29782 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
29783 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
29784 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
29785 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
29786 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
29787 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
29789 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_From_int((int)(wxSASH_DRAG_NONE
)));
29792 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_From_int((int)(wxSASH_DRAG_DRAGGING
)));
29795 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSASH_DRAG_LEFT_DOWN
)));
29798 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_From_int((int)(wxSW_NOBORDER
)));
29801 PyDict_SetItemString(d
,"SW_BORDER", SWIG_From_int((int)(wxSW_BORDER
)));
29804 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_From_int((int)(wxSW_3DSASH
)));
29807 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_From_int((int)(wxSW_3DBORDER
)));
29810 PyDict_SetItemString(d
,"SW_3D", SWIG_From_int((int)(wxSW_3D
)));
29813 PyDict_SetItemString(d
,"SASH_TOP", SWIG_From_int((int)(wxSASH_TOP
)));
29816 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_From_int((int)(wxSASH_RIGHT
)));
29819 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_From_int((int)(wxSASH_BOTTOM
)));
29822 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_From_int((int)(wxSASH_LEFT
)));
29825 PyDict_SetItemString(d
,"SASH_NONE", SWIG_From_int((int)(wxSASH_NONE
)));
29828 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_From_int((int)(wxSASH_STATUS_OK
)));
29831 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)(wxSASH_STATUS_OUT_OF_RANGE
)));
29833 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
29835 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_From_int((int)(wxLAYOUT_HORIZONTAL
)));
29838 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_From_int((int)(wxLAYOUT_VERTICAL
)));
29841 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_From_int((int)(wxLAYOUT_NONE
)));
29844 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_From_int((int)(wxLAYOUT_TOP
)));
29847 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_From_int((int)(wxLAYOUT_LEFT
)));
29850 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_From_int((int)(wxLAYOUT_RIGHT
)));
29853 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_From_int((int)(wxLAYOUT_BOTTOM
)));
29856 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_From_int((int)(wxLAYOUT_LENGTH_Y
)));
29859 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_From_int((int)(wxLAYOUT_LENGTH_X
)));
29862 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)(wxLAYOUT_MRU_LENGTH
)));
29865 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_From_int((int)(wxLAYOUT_QUERY
)));
29867 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
29868 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
29869 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
29871 // Map renamed classes back to their common name for OOR
29872 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
29873 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
29874 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
29876 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
29877 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
29878 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
29879 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
29880 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
29881 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
29882 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
29883 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
29884 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
29885 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
29886 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
29887 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
29888 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
29890 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_From_int((int)(wxCHOICEDLG_STYLE
)));
29893 PyDict_SetItemString(d
,"TextEntryDialogStyle", SWIG_From_int((int)(wxTextEntryDialogStyle
)));
29895 SWIG_addvarlink(SWIG_globals
,(char*)"GetPasswordFromUserPromptStr",_wrap_GetPasswordFromUserPromptStr_get
, _wrap_GetPasswordFromUserPromptStr_set
);
29897 PyDict_SetItemString(d
,"FR_DOWN", SWIG_From_int((int)(wxFR_DOWN
)));
29900 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_From_int((int)(wxFR_WHOLEWORD
)));
29903 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_From_int((int)(wxFR_MATCHCASE
)));
29906 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_From_int((int)(wxFR_REPLACEDIALOG
)));
29909 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_From_int((int)(wxFR_NOUPDOWN
)));
29912 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_From_int((int)(wxFR_NOMATCHCASE
)));
29915 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_From_int((int)(wxFR_NOWHOLEWORD
)));
29917 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
29918 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
29919 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
29920 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
29921 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
29923 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_From_int((int)(4001)));
29926 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_From_int((int)(4001)));
29929 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_From_int((int)(4002)));
29932 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_From_int((int)(4003)));
29935 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_From_int((int)(4004)));
29938 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_From_int((int)(4005)));
29941 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_From_int((int)(4100)));
29944 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_From_int((int)(4600)));
29946 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
29947 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
29949 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_From_int((int)(wxPRINT_MODE_NONE
)));
29952 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_From_int((int)(wxPRINT_MODE_PREVIEW
)));
29955 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_From_int((int)(wxPRINT_MODE_FILE
)));
29958 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_From_int((int)(wxPRINT_MODE_PRINTER
)));
29961 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_From_int((int)(wxPRINT_MODE_STREAM
)));
29964 PyDict_SetItemString(d
,"PRINTBIN_DEFAULT", SWIG_From_int((int)(wxPRINTBIN_DEFAULT
)));
29967 PyDict_SetItemString(d
,"PRINTBIN_ONLYONE", SWIG_From_int((int)(wxPRINTBIN_ONLYONE
)));
29970 PyDict_SetItemString(d
,"PRINTBIN_LOWER", SWIG_From_int((int)(wxPRINTBIN_LOWER
)));
29973 PyDict_SetItemString(d
,"PRINTBIN_MIDDLE", SWIG_From_int((int)(wxPRINTBIN_MIDDLE
)));
29976 PyDict_SetItemString(d
,"PRINTBIN_MANUAL", SWIG_From_int((int)(wxPRINTBIN_MANUAL
)));
29979 PyDict_SetItemString(d
,"PRINTBIN_ENVELOPE", SWIG_From_int((int)(wxPRINTBIN_ENVELOPE
)));
29982 PyDict_SetItemString(d
,"PRINTBIN_ENVMANUAL", SWIG_From_int((int)(wxPRINTBIN_ENVMANUAL
)));
29985 PyDict_SetItemString(d
,"PRINTBIN_AUTO", SWIG_From_int((int)(wxPRINTBIN_AUTO
)));
29988 PyDict_SetItemString(d
,"PRINTBIN_TRACTOR", SWIG_From_int((int)(wxPRINTBIN_TRACTOR
)));
29991 PyDict_SetItemString(d
,"PRINTBIN_SMALLFMT", SWIG_From_int((int)(wxPRINTBIN_SMALLFMT
)));
29994 PyDict_SetItemString(d
,"PRINTBIN_LARGEFMT", SWIG_From_int((int)(wxPRINTBIN_LARGEFMT
)));
29997 PyDict_SetItemString(d
,"PRINTBIN_LARGECAPACITY", SWIG_From_int((int)(wxPRINTBIN_LARGECAPACITY
)));
30000 PyDict_SetItemString(d
,"PRINTBIN_CASSETTE", SWIG_From_int((int)(wxPRINTBIN_CASSETTE
)));
30003 PyDict_SetItemString(d
,"PRINTBIN_FORMSOURCE", SWIG_From_int((int)(wxPRINTBIN_FORMSOURCE
)));
30006 PyDict_SetItemString(d
,"PRINTBIN_USER", SWIG_From_int((int)(wxPRINTBIN_USER
)));
30009 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_From_int((int)(wxPRINTER_NO_ERROR
)));
30012 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_From_int((int)(wxPRINTER_CANCELLED
)));
30015 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_From_int((int)(wxPRINTER_ERROR
)));
30018 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_From_int((int)(wxPREVIEW_PRINT
)));
30021 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_From_int((int)(wxPREVIEW_PREVIOUS
)));
30024 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_From_int((int)(wxPREVIEW_NEXT
)));
30027 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_From_int((int)(wxPREVIEW_ZOOM
)));
30030 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_From_int((int)(wxPREVIEW_FIRST
)));
30033 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_From_int((int)(wxPREVIEW_LAST
)));
30036 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_From_int((int)(wxPREVIEW_GOTO
)));
30039 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_From_int((int)(wxPREVIEW_DEFAULT
)));
30042 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_From_int((int)(wxID_PREVIEW_CLOSE
)));
30045 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_From_int((int)(wxID_PREVIEW_NEXT
)));
30048 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)(wxID_PREVIEW_PREVIOUS
)));
30051 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_From_int((int)(wxID_PREVIEW_PRINT
)));
30054 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_From_int((int)(wxID_PREVIEW_ZOOM
)));
30057 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_From_int((int)(wxID_PREVIEW_FIRST
)));
30060 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_From_int((int)(wxID_PREVIEW_LAST
)));
30063 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_From_int((int)(wxID_PREVIEW_GOTO
)));
30066 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");